Skip to main content
POST
Generate Video

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Body

application/json
prompt
string
required
Minimum string length: 1
model
string
required

Concrete video model id; see GET /v1/media/models.

start_image
string | null
end_image
string | null
reference_images
string[] | null
duration_seconds
aspect_ratio
string | null
width
integer | null
Required range: x > 0
height
integer | null
Required range: x > 0
resolution
string | null
generate_audio
boolean | null
seed
integer | null
model_params
Model Params · object | null
idempotency_key
string | null

Keys the provider-job checkpoint: a retried call with the same key resumes the existing render instead of paying for a duplicate.

Maximum string length: 200

Response

Successful Response

The response is of type Response Mediageneratevideo · object.