Skip to main content
POST
Generate video using AI
Generate short AI-powered video clips from text prompts. Specify the duration between 5-8 seconds for optimal results.
  • Duration must be an integer between 5 and 8 seconds inclusive
  • Generation is asynchronous; access the .stream_url property to retrieve the completed video
  • Use callback_url parameter for webhook notification when generation completes
  • Video IDs have an m- prefix (e.g., m-a1b2c3d4)

Generative Media Guide

Learn about all AI generation capabilities

AI Ad Films Tutorial

Create compelling AI-generated advertisements

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

collection_id
string
required
Example:

"default"

Body

application/json
prompt
string
required
Example:

"A cat playing with a ball"

duration
number
Example:

5

callback_url
string
Example:

"https://webhook.example.com/callback"

Response

200 - application/json

Video generation started

success
boolean
Example:

true

status
enum<string>
Available options:
processing,
done,
failed
Example:

"processing"

data
object