POST /generate endpoint as images — the model you specify determines whether image or video logic runs.
Key Differences from Image Generation
Before sending a video request, note these differences from the image flow:durationis required — supported values are"5","8", or"15"(plain number strings, no unit suffix)promptis recommended — pass a direct prompt string instead of a scene for the most control over the outputprompttakes priority — whenpromptis present, anysceneorsceneIdvalue is ignored entirelycategoryis optional — for video models it falls back to the model-wide default when omitted
Required Fields
Example Request
The example below uses a directprompt string — the recommended approach for video generation.
Response
GET /status with the returned task_id to track the generation and retrieve the video URL once complete.
Error Reference
Next Steps
Poll for Status
Track your video generation and retrieve the finished file URL.
Image Generation
Generate static product images using the same endpoint.