Generate a video
carpe_video_generateQueue text-to-video, image-to-video, or reference-to-video jobs, get a free price quote first, and receive a job_id to track and download the finished MP4.
Instructions
Queue a video (Sora, Veo, Kling, Seedance, Wan, LTX, Grok Imagine…; text-to-video, image-to-video, reference-to-video). The payload is priced first (free quote) and refused locally above CARPE_MAX_PER_CALL_USD. Returns a job_id; carpe_video_status downloads the MP4 when ready (videos take minutes). Read the model constraints (durations, aspect ratios, resolutions) with carpe_model_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Other model fields passed through verbatim (seed, audio, …). | |
| model | Yes | Video model id (carpe_list_models type video / imageToVideo / referenceToVideo). | |
| route | No | "carpe" → /v1 (Carpe TEE network). "router" → /router (cheapest of Carpe and external markets). Default from CARPE_DEFAULT_ROUTE. | |
| prompt | Yes | ||
| consents | No | ONLY in answer to a NEEDS_CONSENT refusal, after the user explicitly accepted the policy text. | |
| duration | Yes | With unit, as the model lists it: "5s", "10s"… | |
| image_url | No | First frame / source image: https:// URL, data: URI, or local path (stdio). | |
| resolution | No | ||
| aspect_ratio | No | ||
| wait_seconds | No | Seconds to wait for completion before returning (default 0). Poll later with the status tool. | |
| end_image_url | No | ||
| negative_prompt | No | ||
| reference_audio_urls | No | ||
| reference_image_urls | No | ||
| reference_video_urls | No | https:// URLs preferred (35 MB request limit). | |
| reference_video_total_duration | No | Sum of the reference clip lengths, in seconds (needed for pricing when clips are given). |