Generate a video. Set mode to control what kind of video you get:
prompt — create a video from a text descriptionanimate — animate a still imagereference — use an image as a style/subject reference (not the first frame)extend — continue an existing videofirst-last — generate a video that transitions between two imageslipsync — sync face movement to an audio clipIf mode is omitted, it’s inferred from the inputs you provide.
Your Recoup API key. Learn more.
Video generation parameters
Required. Image URL used as the input frame. The underlying model (fal-ai/veo3.1/fast/image-to-video) requires an image — text-only prompt mode is not supported. Generate an image first via POST /api/content/image if needed.
Optional template ID. When provided, the template's video config (moods, movements) is used as the motion prompt. Caller params override template defaults. See GET /api/content/templates for available options.
What kind of video to generate. If omitted, inferred from the inputs you provide.
prompt, animate, reference, extend, first-last, lipsync Text describing the video content, motion, or how to continue/extend
End frame image URL. Only used with first-last mode
Video URL to extend. Only used with extend mode (max 8 seconds input)
Audio URL for lipsync mode. The generated face will move in sync with this audio
Aspect ratio of the output video
auto, 16:9, 9:16 Duration of the generated video
4s, 6s, 7s, 8s Output resolution
720p, 1080p, 4k Describe what you do NOT want in the video
Generate audio for the video
Override the model. Auto-selected based on mode if omitted