curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_1_1_flash_ext", "params": { "prompt": "Keep the characters and outfits from the two reference images, walking in the garden", "image_url": [ "https://example.com/ref-1.jpg", "https://example.com/ref-2.jpg" ], "resolution": "1080p", "aspect_ratio": "16:9", "video_length": "6" }, "out_task_id": "omni_11_img2_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_flash_ext", "params": { "prompt": "Keep the subject and camera movement from the reference video, with cleaner lighting", "video_url": ["https://example.com/reference.mp4"], "resolution": "4K", "aspect_ratio": "16:9" }, "out_task_id": "omni_ext_v2v_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_1_1_flash_ext", "params": { "prompt": "Use the character from the reference image and follow the camera movement from the reference video", "image_url": ["https://example.com/ref-1.jpg"], "video_url": ["https://example.com/reference.mp4"], "resolution": "720p", "aspect_ratio": "16:9" }, "out_task_id": "omni_11_img_v2v_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_1_1_flash_ext", "params": { "prompt": "Keep the characters and outfits from the two reference images, walking in the garden", "image_url": [ "https://example.com/ref-1.jpg", "https://example.com/ref-2.jpg" ], "resolution": "1080p", "aspect_ratio": "16:9", "video_length": "6" }, "out_task_id": "omni_11_img2_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_flash_ext", "params": { "prompt": "Keep the subject and camera movement from the reference video, with cleaner lighting", "video_url": ["https://example.com/reference.mp4"], "resolution": "4K", "aspect_ratio": "16:9" }, "out_task_id": "omni_ext_v2v_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_1_1_flash_ext", "params": { "prompt": "Use the character from the reference image and follow the camera movement from the reference video", "image_url": ["https://example.com/ref-1.jpg"], "video_url": ["https://example.com/reference.mp4"], "resolution": "720p", "aspect_ratio": "16:9" }, "out_task_id": "omni_11_img_v2v_123456" }'
{ "error": { "code": 500, "message": "Internal server error, please try again later" }}
1.0 and 1.1 share the parameters on this page. To switch models, simply change the model field.
gemini_omni_flash_ext — Gemini Omni Flash Ext (1.0)
gemini_omni_1_1_flash_ext — Gemini Omni 1.1 Flash Ext
Authorizations
string
required
All endpoints require Bearer Token authentication.Get the API Key:Visit API Key management page to get your API Key.When using it, add the following to the request header:
Authorization: Bearer YOUR_API_KEY
Body
string
required
Model name, choose one of two:
gemini_omni_flash_ext
gemini_omni_1_1_flash_ext
Parameter fields are the same; do not pass type.
object
required
Model parameter object.
Show params Object Properties
string
required
Text description for video generation. Required.
string
default:"6"
Generated video duration in seconds. Accepts strings only:
"4"
"6" - Default
"8"
"10"
Do not pass this field when a reference video is provided; the output duration follows the uploaded video.
Do not pass 3, 5, 7, 9, or other durations in seconds. Enum validation requires a string; please pass "6" instead of the number 6.
string
default:"720p"
Output resolution:
720p - Default
1080p
4K
720p and 1080p are the same price; 4K is more expensive.
string
default:"16:9"
Video aspect ratio:
16:9 - Landscape, Default
9:16 - Portrait
string | string[]
Reference image URL(s), must be directly accessible via the public network. Can also be passed as a single string. If omitted, text-to-video generation will be performed.
Up to 7 images, 2 images allowed
Short edge no less than 300px, up to 10MB per image
When passed together with a reference video, number of images + 2 must be ≤ 7.
string | string[]
Reference video URL, optional, up to 1 video. Can also be passed as a single string. Can be passed together with reference images.Video requirements:
Formats: MP4, MOV
Duration not exceeding 10 seconds
Up to 100MB
Short edge no less than 300px
Do not pass video_length when passing a reference video; output duration follows the uploaded video, up to 10 seconds. Reference video counts as 2 slots towards the 7-slot quota.
string
required
Initiator task ID.User-defined task identifier, required. Only letters, numbers, underscores, and hyphens are supported, with a length of 1-64 characters. You can use this ID later to query the task status and results.
Response
string
Caller task ID, can be used to query results.
string
Initial status, usually "pending".
number
Estimated credits consumed by this task.
string
Creation time, ISO format.
Query Task
Both models use asynchronous video generation. After submitting a task, please use out_task_id to query the task status. You can also refer to Get Task Status.
string
required
The initiator task ID passed when submitting the task.
Once the query succeeds and is completed, the output array in the response will contain the generated video, with each element containing a video field.
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_1_1_flash_ext", "params": { "prompt": "Keep the characters and outfits from the two reference images, walking in the garden", "image_url": [ "https://example.com/ref-1.jpg", "https://example.com/ref-2.jpg" ], "resolution": "1080p", "aspect_ratio": "16:9", "video_length": "6" }, "out_task_id": "omni_11_img2_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_flash_ext", "params": { "prompt": "Keep the subject and camera movement from the reference video, with cleaner lighting", "video_url": ["https://example.com/reference.mp4"], "resolution": "4K", "aspect_ratio": "16:9" }, "out_task_id": "omni_ext_v2v_123456" }'
curl --request POST \ --url https://aireiter.com/api/openapi/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini_omni_1_1_flash_ext", "params": { "prompt": "Use the character from the reference image and follow the camera movement from the reference video", "image_url": ["https://example.com/ref-1.jpg"], "video_url": ["https://example.com/reference.mp4"], "resolution": "720p", "aspect_ratio": "16:9" }, "out_task_id": "omni_11_img_v2v_123456" }'