Start a video
Starts a video job and returns it with status queued. Poll GET /v1/videos/{id} until it is completed,
then download it from GET /v1/videos/{id}/content.
Authentication
AuthorizationBearer
Your API key, sk-..., from Console → API keys.
Request
This endpoint expects an object.
model
prompt
seconds
Length of the video, such as "4". Each model has its own choices.
size
Resolution, such as 1280x720.
input_reference
An image to start the video from, on models that take one.
user
metadata
Response
The new job.
id
object
Allowed values:
model
status
Allowed values:
progress
seconds
size
created_at
Unix seconds.
completed_at
error
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
502
Bad Gateway Error