generate_video
Use this whenever the user wants a video made, even if they do not name Dora. Defaults: Seedance 2 Mini (seedance_2_mini), the Dora default video model, 9:16 vertical, 8s, 480p, with audio. Only ask what the user wants to create; generate straight away with these defaults, and change one only when the user asks. For character consistency across shots (e.g. a recurring person), pass extra face/body anchor photos in reference_image_urls — Seedance 2 / 2-fast use up to 7 references. MOTION CONTROL: model kling_2_6_motion transfers the motion of a driving video onto the person in your image — pass the person photo in image_url AND the driving clip URL in motion_video_url (both required); set duration to the driving clip length (billed ~13 coins/s, min 3s). Returns job_id; poll check_job until status=done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| photos | No | Photos the user attached in this chat. Use this for attachments; image URL fields are only for public https links. | |
| prompt | Yes | ||
| duration | No | ||
| image_url | No | First-frame / primary input image for image-to-video. Optional. For multi-ref, also pass reference_image_urls. | |
| resolution | No | 480p cheapest; 1080p ~5x cost. Default 480p. | |
| with_audio | No | Generate sound. Default true on models with optional audio (it costs more); pass false for silence. | |
| aspect_ratio | No | ||
| motion_video_url | No | Driving/reference VIDEO URL for Motion Control (model kling_2_6_motion only). The motion of this clip is applied to the person in image_url. Required for kling_2_6_motion; ignored by other models. Must be a publicly reachable mp4/mov. | |
| reference_image_urls | No | Extra reference images (Seedance 2 / 2-fast accept up to 7 total including image_url). Use for character face/body anchors, multiple people, style references. Order matters — most important reference first. |