curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "veo-3.1-generate-preview",
"prompt": "An orange cat walks through a neon city on a rainy night, cinematic push-in, ambient sound",
"seconds": "8",
"size": "1280x720",
"metadata": {
"resolution": "1080p",
"aspectRatio": "16:9",
"negativePrompt": "blurry, watermark, distorted, low quality"
}
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "veo-3.1-generate-preview",
"status": "queued",
"progress": 0,
"created_at": 1775025000
}Veo
Create video
Create a Veo 3.1 video task.
Path: POST https://api.omniall.ai/v1/videos
Use cases: text-to-video · first frame · first+last frame · reference images (standard model only).
Auth: Authorization: Bearer sk-...
POST
/
v1
/
videos
curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "veo-3.1-generate-preview",
"prompt": "An orange cat walks through a neon city on a rainy night, cinematic push-in, ambient sound",
"seconds": "8",
"size": "1280x720",
"metadata": {
"resolution": "1080p",
"aspectRatio": "16:9",
"negativePrompt": "blurry, watermark, distorted, low quality"
}
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "veo-3.1-generate-preview",
"status": "queued",
"progress": 0,
"created_at": 1775025000
}Headers
Example:
"Bearer sk-..."
Body
application/json