ComfyUI Node
Gemini Omni 1.1 Flash
Gemini Omni 1.1 Flash OpenAPI Specification
Gemini Omni 1.1 Flash
- image_urls
- first_frame_url
- last_frame_url
- video
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄promptCreate a futuristic night city short film with a slow push-in shot as the character walks out from a neon-lit street.►
◄duration4►
◄audio_ids[
"audio_01hx8p0demo"
]►
◄video_list[
{
"url": "https://example.com/assets/source-video.mp4",
"start": 0,
"ends": 10
}
]►
◄character_ids[
"character_01hx8p0demo"
]►
◄aspect_ratio16:9►
◄seed0►
◄resolution720p►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Video/Google/Gemini Omni
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Create a futuristic night city short film with a slow push-in shot as the character walks out from a neon-lit street. | The video prompt, used to describe the visual content, style, cinematography, or character actions of the target video. |
| duration | COMBO | 4 | The duration of the generated video, in seconds. Valid values are 4, 6, 8, and 10. This parameter only takes effect when there is no video input. If video input is used, the output duration is determined by the model, and the `duration` parameter will be ignored. Note: When video input is provided, the output duration is automatically determined by the model. In this case, the `duration` parameter will not take effect. |
| image_urlsopt | IMAGE | — | |
| audio_idsopt | STRING | [ "audio_01hx8p0demo" ] | An array of audio IDs generated by the `gemini-omni-audio` interface. Used to provide narration, dialogue, background music, or sound references for the video. Up to 3 items. Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time. |
| video_listopt | STRING | [ { "url": "https://example.com/assets/source-video.mp4", "start": 0, "ends": 10 } ] | An array of video clips. Each element describes a video asset that can be used for generation and its trimming time range. Video limitations: - Each file must not exceed `100MB` - Video duration must not exceed `30s` - `ends` should be greater than `start` - The difference between the end and start times must not exceed `10s` - Maximum of 1 item, occupying two image slots - Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time. |
| first_frame_urlopt | IMAGE | — | |
| last_frame_urlopt | IMAGE | — | |
| character_idsopt | STRING | [ "character_01hx8p0demo" ] | An array of character IDs generated by the `gemini-omni-character` interface. Used to provide character appearance, identity, or person references for the video. Each character_id occupies 1 image slot; the basic maximum is 7. If `video_list` is provided at the same time, `video_list` occupies 2 image slots, and a maximum of 3 character_ids can be provided. Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time.If the incoming character_id is a dual-image set [portrait + body], it will occupy two slots. |
| aspect_ratioopt | COMBO | 16:9 | The aspect ratio of the generated video. `16:9` is landscape, and `9:16` is portrait. |
| seedopt | INT | 0-2147483648–2147483647 | The random seed. Valid range: [0, 2147483647]. If not specified, the system will automatically generate a seed. A fixed seed can improve result reproducibility, but because the model itself is stochastic, results may still vary. |
| resolutionopt | COMBO | 720p | The resolution of the generated video. Valid values are 360p, 720p, 1080p, and 4k. |
| timeout_secondsopt | INT | 120030–7200 | — |
| callback_urlopt | STRING | Optional KIE callback URL. Leave empty for normal ComfyUI use. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| url | STRING | — |
| all_urls_json | STRING | — |
| task_id | STRING | — |
| raw_json | STRING | — |
| credits_consumed | FLOAT | — |
| credits_left | FLOAT | — |