Skip to main content
POST
Video generation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

Video model id from GET /v1/models.

Example:

"sora-2"

prompt
string
Example:

"A futuristic city at sunset"

Response

Business response containing data.task_id when code=0.