Skip to main content

Backend routes

Some backend endpoints must be implemented by for all features to work.
The default implementation uses the React Router 7 framework.

POST /api/captions

Used to generate captions for a video based on an audio file.

GET /api/font/:name

Returns the metadata for a specific font, such as available weights and styles and their corresponding Google Fonts URLs. This information is provided by the backend because the metadata of all default fonts would be more than 10MB.

POST /api/upload

Needed to create a presigned URL for uploading a file to S3.

POST /api/render

Triggers a render on Remotion Lambda.

POST /api/progress

Gets the current progress of a render on Remotion Lambda.