Skip to main content
POST
Generate video using AI
Generate short AI-powered video clips from text prompts.
  • Use Python’s callback_url= or Node’s third positional callbackUrl 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