Jobs
Generate a video
POST
/api/v1/jobs
Start a video generation job. With `template_id`, uses that template's settings and requires an image (`image_url` or `dropbox_path`). Without `template_id`, pass `prompt` plus optional `model`/`ratio`/`duration` for templateless generation (text-to-video when no image is provided).
Authentication
Send your API key in the Authorization header:
Authorization: Bearer <key>.
Create a key.
Body parameters
| Name | Type | Description |
|---|---|---|
template_id |
integer | Template to use. Omit for templateless generation with prompt. |
prompt |
string | Text prompt (required when template_id is omitted). |
model |
string | Video model (gen4.5, gen4_turbo, veo3, veo3.1, veo3.1_fast, seedance2, seedance2_fast, seedance2_mini, happyhorse_1_0, gemini_omni_flash). gen4_turbo requires an image. |
ratio |
string | Aspect ratio, e.g. 1280:720. |
duration |
integer | Duration in seconds (model-dependent; defaults to 8 for chat/MCP generation). |
include_audio |
boolean | Include audio (Veo 3.1 and Seedance models only). |
dropbox_path |
string | Path of the source image in the user's Dropbox, e.g. /photos/cat.jpg. |
image_url |
string | Public http(s) URL of the source image (JPEG, PNG or WebP). |
source_connection_id |
integer | Storage connection to read dropbox_path from. |
destination_folder |
string | Destination folder for the finished video. |
destination_folder_ref |
string | Google Drive folder id when destination_folder is a Drive destination. |
destination_connection_id |
integer | Storage connection to deliver into when destination_folder is set. |