Endpoint
Overview
Submit a video or image render job to the Modal rendering pipeline. This endpoint returns a job ID immediately, which can be used to check status and download the rendered output when complete.Request Body
Type of output to generate
video: Renders a full video (MP4) - supports all segment typesimage: Renders a static image (PNG/JPEG) - only supports text and image segments
Editor configuration defining the compositionRequired properties:
width(number): Canvas width in pixelsheight(number): Canvas height in pixelsfps(number): Frames per second (for video)duration(number): Duration in milliseconds (for video)channels(array): Array of channels, each containing segments
Set to
true to use the built-in example configuration for testingOutput format for image renders (only used when
output_type: 'image')png: Lossless, supports transparencyjpeg: Lossy compression, smaller file size
Response
Job submission response
