Use the /format endpoint to format LaTeX content. Use the JSON format: {'latex': 'your latex content'}