generate
Create images or videos from text descriptions. For video, poll with the returned job ID to retrieve the result.
Instructions
Generate an image or video from a text prompt. Video is async: first call returns job_id; call again with job_id to poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | poor | |
| model | No | ||
| job_id | No | ||
| prompt | Yes | ||
| provider | No | ||
| media_type | Yes | ||
| output_mode | No | both | |
| aspect_ratio | No | 16:9 | |
| duration_seconds | No | ||
| reference_image_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||