Send a text prompt to a video generation model and receive a video file in return.
Text-to-video generation takes a natural-language description and produces a short video clip. It uses the same base URL and authentication as text completions, through the dedicated /v1/videos endpoint. Generation is asynchronous: you submit a job and poll for the result.
The endpoint responds 202 Accepted with a job id and a poll URL:
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Video model slug (?modality=video) |
prompt | string | Yes | Text description of the desired video |
seconds | integer | No | Requested clip length, 1–60 (default: 8; model-dependent maximum) |
On completed, the job carries a signed URL to the rendered clip:
Video models respond well to prompts that specify:
wide shot, close-up, tracking shot, slow motion.cinematic, documentary, animation, 4K.Bad: "a city"
Good: "Drone shot flying over Algiers at dawn, the Mediterranean coast visible to the north, golden light, cinematic 4K"
The url is a temporary signed link — re-polling the job returns a fresh one. The stored clip is retained for a limited time (about two weeks), so download it promptly:
Video is billed per second of output in DA. The cost of the requested seconds is held on submission and settled on completion; a failed or timed-out job releases the full hold and charges nothing. Per-second rates appear in the model catalog. See the video API reference.