Videos
Generate a video (async)
Queue a text-to-video generation job (optionally seeded by a library image as the start frame). Returns immediately with a job_id - poll GET /v1/jobs/{id} until status is completed. Allowed duration and resolution values depend on the chosen model.
post/v1/videos/generate
Request
- Base URL: https://contentmaschine.ai/api
- URL: https://contentmaschine.ai/api/v1/videos/generate
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)
Request body
Example request
{
"prompt": "A timelapse of clouds rolling over a mountain range at dawn"
}Response
Job queued. data also carries model, duration, resolution and aspect_ratio: the values that will be generated and billed, after defaults and snapping. A client_ref repeat gets the first response again, with the header Idempotent-Replayed: true.
Example response
{
"success": true,
"data": {
"status": "pending"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.