Gemini Omni
Gemini Omni is Google's multimodal video generation model — the successor direction for Veo. One model covers text-to-video, image-to-video, reference-guided generation, editing, and extension, and it generates an audio track (voice, music, sound effects) by default — you control it through the prompt.
https://llm.siraya.ai/v1/videos/generations
Supported Models
| Model ID | Description |
|---|---|
gemini-omni-1.1-flash-preview |
Gemini Omni 1.1 Flash, video generation with audio |
Header
Body
1280x720. A standard size resolves to resolution + aspect_ratio; if you send both, they must agree with size or the request returns a 400.
edit vs extend (both take a source video). Vendor parameters are always top-level fields on this model; `extra_body` is not accepted.
false, the request waits for generation to finish and returns the completed video URL. When true, it returns immediately with a video id you poll for status. See Asynchronous generation.
async is true. An http(s) URL the router will POST to once generation completes (or fails), so you don't have to poll.
Not supported
seed, generate_audio (audio is always generated — steer it with the prompt), negative_prompt, and output_format have no effect on this model and are dropped; extra_body is refused with a 400 — send vendor parameters like task at the top level instead.
curl https://llm.siraya.ai/v1/videos/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_KEY>" \
-d '{
"model": "gemini-omni-1.1-flash-preview",
"prompt": "A cute baby sea otter",
"seconds": 5,
"resolution": "720p"
}'
Edit a source video (explicit task):
curl https://llm.siraya.ai/v1/videos/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_KEY>" \
-d '{
"model": "gemini-omni-1.1-flash-preview",
"prompt": "Remove the violin from the scene, keep everything else unchanged",
"task": "edit",
"input_references": [
{ "type": "video", "url": "https://example.com/source.mp4" }
]
}'
import requests
url = "https://llm.siraya.ai/v1/videos/generations"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <API_KEY>"
}
data = {
"model": "gemini-omni-1.1-flash-preview",
"prompt": "A cute baby sea otter",
"seconds": 5,
"resolution": "720p"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Example Response
{
"created": 1760347750,
"data": [
{
"url": "https://resources.siraya.ai/v1/videos/video_n6Sn-1aIT3z8x.../content"
}
],
"error": {}
}
With "async": true the status response has no output_url; download the result from GET /v1/videos/{video_id}/content. See Asynchronous generation.