Trigger a server-side video render. Returns a run ID that can be polled via GET /api/tasks/runs to check status and retrieve the rendered video URL when complete. Authentication is handled via the x-api-key header or Authorization Bearer token.
Your Recoup API key. Learn more.
Video render configuration including the composition ID, input props, and output settings
The composition ID to render (e.g., "SocialPost", "UpdatesAnnouncement", "CommitShowcase")
"SocialPost"
Input props to pass to the composition. Structure depends on the composition being rendered.
{
"videoUrl": "https://fal.media/example.mp4",
"captionText": "my brain has 100 tabs open",
"hasAudio": false
}Output video width in pixels
1 <= x <= 3840720
Output video height in pixels
1 <= x <= 38401280
Frames per second for the output video
1 <= x <= 6030
Total number of frames to render. At 30 fps, 240 frames = 8 seconds.
1 <= x <= 1800240
Video codec for the output file
h264, h265, vp8, vp9 "h264"
Render task triggered successfully. Use the returned runId with GET /api/tasks/runs to poll for completion.
Indicates the render task has been triggered and is processing
processing The Trigger.dev run ID for the render task. Use this with GET /api/tasks/runs to check the status and retrieve the rendered video URL when complete.
"run_abc123def456"