{"data":[{"overviewHtml":"\u003ch2\u003eGemini Omni 1.2 Flash API Guide for Reference Images and Frame Transitions\u003c/h2\u003e\u003cp\u003eGemini Omni 1.2 Flash makes short videos with audio from written prompts, product photos, or storyboards. OpenAny offers text-to-video, image-to-video with a first frame and optional last frame, and video generation with multiple reference images. Use frames to set how a shot begins and ends, or use several references to guide the look of a product, setting, or material. \u003ca href=\"https://deepmind.google/models/model-cards/gemini-omni-1-2-flash/\"\u003eGoogle DeepMind model card\u003c/a\u003e · \u003ca href=\"https://openany.si/api/v1/key-market/model-prices?modelid=gemini-omni-1.2-flash\"\u003eOpenAny route parameters\u003c/a\u003e\u003c/p\u003e\u003ch3\u003eExample output\u003c/h3\u003e\u003cp\u003e\u003ca href=\"https://storage.googleapis.com/gweb-uniblog-publish-prod/original_videos/Pantheon_Tour_Demo_FuU0KUh.mp4\"\u003eWatch Google\u0026#39;s Pantheon fly-through\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003ca href=\"https://storage.googleapis.com/gweb-uniblog-publish-prod/original_videos/Ramen_Bar_Demo_jeWGtqx.mp4\"\u003eWatch Google\u0026#39;s ramen shop opening and closing frame comparison\u003c/a\u003e\u003c/p\u003e\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003cth\u003e\u003cp\u003eExample\u003c/p\u003e\u003c/th\u003e\u003cth\u003e\u003cp\u003eInput and action\u003c/p\u003e\u003c/th\u003e\u003cth\u003e\u003cp\u003eWhat to check\u003c/p\u003e\u003c/th\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003ePantheon fly-through\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eTwo architectural references guide a camera through the plaza and bronze doors and up toward the dome.\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eCheck whether the layout makes sense as the camera moves indoors and whether the shot feels continuous.\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003eRamen shop transition\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eAn exterior opening frame and an interior closing frame guide a forward move into the shop.\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eCheck how the two frames connect and whether the furniture stays consistent during the move.\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\u003cp\u003eGoogle published both demos. The ramen shop clip compares versions 1.1 and 1.2 side by side. The OpenAny quickstart below lets you try a similar continuous move. \u003ca href=\"https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/\"\u003eGoogle announcement and demos\u003c/a\u003e\u003c/p\u003e\u003ch3\u003eModes and settings\u003c/h3\u003e\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003cth\u003e\u003cp\u003eMode\u003c/p\u003e\u003c/th\u003e\u003cth\u003e\u003cp\u003eInput\u003c/p\u003e\u003c/th\u003e\u003cth\u003e\u003cp\u003eDuration\u003c/p\u003e\u003c/th\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003eText to video\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eDescribe the subject, movement, camera path, and sound in one prompt.\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003e3–15 seconds\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003eFirst and optional last frame to video\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eSupply one \u003ccode\u003efirst_frame\u003c/code\u003e and optionally one \u003ccode\u003elast_frame\u003c/code\u003e.\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003e3–15 seconds with only a first frame, or 3–10 seconds with a last frame\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003eReference images to video\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003eSupply one to six images with the \u003ccode\u003ereference_image\u003c/code\u003e role. Explain what each image should guide.\u003c/p\u003e\u003c/td\u003e\u003ctd\u003e\u003cp\u003e3–15 seconds\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\u003cp\u003eAll three OpenAny modes offer \u003ccode\u003e360p\u003c/code\u003e or \u003ccode\u003e720p\u003c/code\u003e, in \u003ccode\u003e16:9\u003c/code\u003e or \u003ccode\u003e9:16\u003c/code\u003e, with one clip per task. Use publicly accessible HTTPS URLs for images.\u003c/p\u003e\u003ch3\u003eQuickstart\u003c/h3\u003e\u003cp\u003eIn the OpenAny Playground, choose \u003cstrong\u003eText to video\u003c/strong\u003e. This prompt generates one continuous shot from the street into a bookstore. Send a POST request to \u003ccode\u003ehttps://api.openany.si/v1/videos\u003c/code\u003e with the header \u003ccode\u003eAuthorization: Bearer $OPENANY_API_KEY\u003c/code\u003e.\u003c/p\u003e\u003cpre\u003e\u003ccode class=\"language-json\"\u003e{\n  \u0026#34;model\u0026#34;: \u0026#34;gemini-omni-1.2-flash\u0026#34;,\n  \u0026#34;route\u0026#34;: { \u0026#34;provider\u0026#34;: \u0026#34;yir\u0026#34; },\n  \u0026#34;route_mode\u0026#34;: \u0026#34;balanced\u0026#34;,\n  \u0026#34;input\u0026#34;: {\n    \u0026#34;type\u0026#34;: \u0026#34;text\u0026#34;,\n    \u0026#34;prompt\u0026#34;: \u0026#34;One continuous eye-level dolly shot from a rain-wet sidewalk through the open door of a small bookstore. Pass a row of shelves and stop on a warm reading lamp beside an armchair. Maintain a steady walking pace and consistent lighting transitions. Include distant rain fading into quiet indoor ambience, with no dialogue.\u0026#34;\n  },\n  \u0026#34;parameters\u0026#34;: {\n    \u0026#34;duration\u0026#34;: 8,\n    \u0026#34;resolution\u0026#34;: \u0026#34;720p\u0026#34;,\n    \u0026#34;aspect_ratio\u0026#34;: \u0026#34;16:9\u0026#34;,\n    \u0026#34;n\u0026#34;: 1\n  }\n}\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003ePoll \u003ccode\u003eGET /v1/videos/{task_id}\u003c/code\u003e and retrieve the video URL from the result\u0026#39;s file list when the task succeeds. Check the layout around the doorway, the change in lighting, and whether the camera comes to rest at the reading nook. If you have an exterior image and an interior image, try the first-and-last-frame mode and keep the clip within 10 seconds.\u003c/p\u003e\u003ch3\u003eGeneration and editing\u003c/h3\u003e\u003cp\u003eGoogle also demonstrates conversational editing of previously generated clips. The OpenAny modes covered here generate new clips through the asynchronous video API. \u003ca href=\"https://cloud.google.com/blog/products/ai-machine-learning/gemini-omni-1-2-flash-generally-available\"\u003eGoogle\u0026#39;s native API capabilities\u003c/a\u003e\u003c/p\u003e","importedInterface":{"status":"available","protocol":"yir-standard","sourceUrl":"https://yir.ai/docs/models/google/gemini-omni-1-2-flash","upstreamModel":"google/gemini-omni-1.2-flash","formats":[{"exampleEditKey":"8f40d6919210ac575d0a8099a57784133b68b6f00d29f93871fa65d6ab02ed12","exampleVersion":"5caeab5d05d83479ad89f3cffa935b5f8dd900908a8cc40bbee7c048a0cf5d40","jsonSchema":{"type":"object","required":["model","input","parameters"],"properties":{"input":{"type":"object","required":["type","prompt"],"properties":{"type":{"const":"text"},"prompt":{"type":"string","minLength":1,"description":"Describe the scene, motion, and camera movement in English or your preferred language."}},"additionalProperties":false},"model":{"type":"string","const":"gemini-omni-1.2-flash"},"route":{"type":"object","properties":{"provider":{"const":"yir"}}},"parameters":{"type":"object","properties":{"n":{"enum":[1],"type":"integer","default":1,"description":"Each submitted job generates one video."},"duration":{"type":"integer","default":10,"maximum":15,"minimum":3,"description":"Output length in whole seconds."},"resolution":{"enum":["360p","720p"],"type":"string","default":"720p","description":"Output video resolution."},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio of the output. Available values depend on the selected input mode."}},"additionalProperties":false},"route_mode":{"type":"string","default":"balanced"}}},"id":"yir:google/gemini-omni-1.2-flash:text","model":"gemini-omni-1.2-flash","provider":"yir","endpointPath":"/v1/videos","upstreamPath":"/v1/videos/generations","queryEndpointPath":"/v1/videos/{task_id}","upstreamQueryPath":"/v1/jobs/{task_id}","requestKind":"video","inputMode":"text","displayName":"Text to video","description":"Submit a Yir Standard video job, then query its task ID to retrieve the result.","prompt":"A paper lantern drifts across a still lake at dusk. The camera follows it slowly as ripples catch the light.","systemPrompt":"","resolution":"720p","requestTemplate":{"input":{"prompt":"A paper lantern drifts across a still lake at dusk. The camera follows it slowly as ripples catch the light.","type":"text"},"model":"gemini-omni-1.2-flash","parameters":{"aspect_ratio":"16:9","duration":10,"n":1,"resolution":"720p"},"route":{"provider":"yir"},"route_mode":"balanced"},"parameterSchema":[{"name":"prompt","label":"Prompt","description":"Describe the scene, movement, and camera behavior.","type":"textarea","valueType":"string","path":"/input/prompt","required":true,"defaultValue":"A paper lantern drifts across a still lake at dusk. The camera follows it slowly as ripples catch the light.","minLength":1},{"name":"duration","label":"Duration (seconds)","description":"Output length in whole seconds.","type":"number","valueType":"integer","path":"/parameters/duration","required":false,"defaultValue":10,"min":3,"max":15},{"name":"resolution","label":"Resolution","description":"Output video resolution.","type":"select","valueType":"string","path":"/parameters/resolution","required":false,"defaultValue":"720p","options":["360p","720p"],"allowedValues":["360p","720p"]},{"name":"aspect_ratio","label":"Aspect ratio","description":"Aspect ratio of the output. Available values depend on the selected input mode.","type":"select","valueType":"string","path":"/parameters/aspect_ratio","required":false,"defaultValue":"16:9","options":["16:9","9:16"],"allowedValues":["16:9","9:16"]},{"name":"n","label":"Outputs per job","description":"Each submitted job generates one video.","type":"number","valueType":"integer","path":"/parameters/n","required":false,"defaultValue":1,"min":1,"max":1,"readOnly":true,"allowedValues":[1]}],"responseBody":{"id":"YOUR_TASK_ID","model":"google/gemini-omni-1.2-flash","object":"job","status":"queued","parameters":{"n":1,"duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"queryResponseBody":{"id":"YOUR_TASK_ID","model":"google/gemini-omni-1.2-flash","object":"job","result":{"files":[{"url":"https://example.com/YOUR_GENERATED_VIDEO.mp4","media_type":"video/mp4"}],"availability":"available"},"status":"succeeded","parameters":{"n":1,"duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"queryResponseOrigin":"derived_from_official","queryResponseContainsPlaceholders":true,"responseOrigin":"derived_from_official","responseContainsPlaceholders":true,"requestOrigin":"platform_template","sourceUrl":"https://yir.ai/docs/models/google/gemini-omni-1-2-flash","isDefault":true,"active":true,"sortOrder":0},{"exampleEditKey":"9cd61432a260e5b279137fabf8a918e602388fe90e26818054f3dbefecf69ad8","exampleVersion":"d429710668dc02bba58a1d11e5aa67d0be3d42349cf4a03f17d80dbed745a7d5","jsonSchema":{"type":"object","allOf":[{"if":{"properties":{"input":{"properties":{"references":{"contains":{"properties":{"role":{"const":"last_frame"}}}}}}}},"then":{"properties":{"parameters":{"properties":{"duration":{"maximum":10}}}}}}],"required":["model","input","parameters"],"properties":{"input":{"type":"object","required":["type","prompt","references"],"properties":{"type":{"const":"image"},"prompt":{"type":"string","minLength":1,"description":"Describe the scene, motion, and camera movement in English or your preferred language."},"references":{"type":"array","allOf":[{"contains":{"properties":{"role":{"const":"first_frame"}}},"maxContains":1,"minContains":1},{"contains":{"properties":{"role":{"const":"last_frame"}}},"maxContains":1,"minContains":0}],"items":{"type":"object","required":["role","url"],"properties":{"url":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"role":{"enum":["first_frame","last_frame"]}},"additionalProperties":false},"maxItems":2,"minItems":1}},"additionalProperties":false},"model":{"type":"string","const":"gemini-omni-1.2-flash"},"route":{"type":"object","properties":{"provider":{"const":"yir"}}},"parameters":{"type":"object","properties":{"n":{"enum":[1],"type":"integer","default":1,"description":"Each submitted job generates one video."},"duration":{"type":"integer","default":10,"maximum":15,"minimum":3,"description":"Output length in whole seconds."},"resolution":{"enum":["360p","720p"],"type":"string","default":"720p","description":"Output video resolution."},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio of the output. Available values depend on the selected input mode."}},"additionalProperties":false},"route_mode":{"type":"string","default":"balanced"}}},"id":"yir:google/gemini-omni-1.2-flash:image","model":"gemini-omni-1.2-flash","provider":"yir","endpointPath":"/v1/videos","upstreamPath":"/v1/videos/generations","queryEndpointPath":"/v1/videos/{task_id}","upstreamQueryPath":"/v1/jobs/{task_id}","requestKind":"video","inputMode":"image","displayName":"First and optional last frame to video","description":"Submit a Yir Standard video job, then query its task ID to retrieve the result.","prompt":"Animate the reference image with a slow camera push and gentle natural movement. Keep the original composition recognizable.","systemPrompt":"","resolution":"720p","requestTemplate":{"input":{"prompt":"Animate the reference image with a slow camera push and gentle natural movement. Keep the original composition recognizable.","references":[{"role":"first_frame","url":"https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=800"}],"type":"image"},"model":"gemini-omni-1.2-flash","parameters":{"aspect_ratio":"16:9","duration":10,"n":1,"resolution":"720p"},"route":{"provider":"yir"},"route_mode":"balanced"},"parameterSchema":[{"name":"prompt","label":"Prompt","description":"Describe the scene, movement, and camera behavior.","type":"textarea","valueType":"string","path":"/input/prompt","required":true,"defaultValue":"Animate the reference image with a slow camera push and gentle natural movement. Keep the original composition recognizable.","minLength":1},{"name":"references","label":"Reference image URLs (JSON)","description":"Supply one first_frame HTTPS image URL. You may add one last_frame HTTPS image URL. With a last frame the duration must be 10 seconds or less.","type":"json","path":"/input/references","required":true,"defaultValue":[{"role":"first_frame","url":"https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=800"}],"minItems":1,"maxItems":2,"referenceUrlOnly":true,"referenceRole":"first_frame","referenceConstraints":{"max_references":2,"min_references":1,"allowed_reference_roles":["first_frame","last_frame"],"reference_counts_by_role":{"last_frame":{"maximum":1,"minimum":0},"first_frame":{"maximum":1,"minimum":1}},"required_reference_roles":["first_frame"],"max_duration_by_reference_role":{"last_frame":10}}},{"name":"duration","label":"Duration (seconds)","description":"Output length in whole seconds.","type":"number","valueType":"integer","path":"/parameters/duration","required":false,"defaultValue":10,"min":3,"max":15},{"name":"resolution","label":"Resolution","description":"Output video resolution.","type":"select","valueType":"string","path":"/parameters/resolution","required":false,"defaultValue":"720p","options":["360p","720p"],"allowedValues":["360p","720p"]},{"name":"aspect_ratio","label":"Aspect ratio","description":"Aspect ratio of the output. Available values depend on the selected input mode.","type":"select","valueType":"string","path":"/parameters/aspect_ratio","required":false,"defaultValue":"16:9","options":["16:9","9:16"],"allowedValues":["16:9","9:16"]},{"name":"n","label":"Outputs per job","description":"Each submitted job generates one video.","type":"number","valueType":"integer","path":"/parameters/n","required":false,"defaultValue":1,"min":1,"max":1,"readOnly":true,"allowedValues":[1]}],"responseBody":{"id":"YOUR_TASK_ID","model":"google/gemini-omni-1.2-flash","object":"job","status":"queued","parameters":{"n":1,"duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"queryResponseBody":{"id":"YOUR_TASK_ID","model":"google/gemini-omni-1.2-flash","object":"job","result":{"files":[{"url":"https://example.com/YOUR_GENERATED_VIDEO.mp4","media_type":"video/mp4"}],"availability":"available"},"status":"succeeded","parameters":{"n":1,"duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"queryResponseOrigin":"derived_from_official","queryResponseContainsPlaceholders":true,"responseOrigin":"derived_from_official","responseContainsPlaceholders":true,"requestOrigin":"platform_template","sourceUrl":"https://yir.ai/docs/models/google/gemini-omni-1-2-flash","isDefault":false,"active":true,"sortOrder":1},{"exampleEditKey":"0f563cdf7ea22b5270d01ff6e9c85ff8cfc8bf2a07bb31aa6fbaa963afb66aad","exampleVersion":"65b36a0c1c0178b1b6c4abbe43935ecb683277f9945b89fc2bd7ef1967b0a443","jsonSchema":{"type":"object","required":["model","input","parameters"],"properties":{"input":{"type":"object","required":["type","prompt","references"],"properties":{"type":{"const":"reference"},"prompt":{"type":"string","minLength":1,"description":"Describe the scene, motion, and camera movement in English or your preferred language."},"references":{"type":"array","items":{"type":"object","required":["role","url"],"properties":{"url":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"role":{"const":"reference_image"}},"additionalProperties":false},"maxItems":6,"minItems":1}},"additionalProperties":false},"model":{"type":"string","const":"gemini-omni-1.2-flash"},"route":{"type":"object","properties":{"provider":{"const":"yir"}}},"parameters":{"type":"object","properties":{"n":{"enum":[1],"type":"integer","default":1,"description":"Each submitted job generates one video."},"duration":{"type":"integer","default":10,"maximum":15,"minimum":3,"description":"Output length in whole seconds."},"resolution":{"enum":["360p","720p"],"type":"string","default":"720p","description":"Output video resolution."},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio of the output. Available values depend on the selected input mode."}},"additionalProperties":false},"route_mode":{"type":"string","default":"balanced"}}},"id":"yir:google/gemini-omni-1.2-flash:reference","model":"gemini-omni-1.2-flash","provider":"yir","endpointPath":"/v1/videos","upstreamPath":"/v1/videos/generations","queryEndpointPath":"/v1/videos/{task_id}","upstreamQueryPath":"/v1/jobs/{task_id}","requestKind":"video","inputMode":"reference","displayName":"Reference images to video","description":"Submit a Yir Standard video job, then query its task ID to retrieve the result.","prompt":"Animate the reference image with a slow camera push and gentle natural movement. Keep the original composition recognizable.","systemPrompt":"","resolution":"720p","requestTemplate":{"input":{"prompt":"Animate the reference image with a slow camera push and gentle natural movement. Keep the original composition recognizable.","references":[{"role":"reference_image","url":"https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=800"}],"type":"reference"},"model":"gemini-omni-1.2-flash","parameters":{"aspect_ratio":"16:9","duration":10,"n":1,"resolution":"720p"},"route":{"provider":"yir"},"route_mode":"balanced"},"parameterSchema":[{"name":"prompt","label":"Prompt","description":"Describe the scene, movement, and camera behavior.","type":"textarea","valueType":"string","path":"/input/prompt","required":true,"defaultValue":"Animate the reference image with a slow camera push and gentle natural movement. Keep the original composition recognizable.","minLength":1},{"name":"references","label":"Reference image URLs (JSON)","description":"Supply one to six public HTTPS image URLs, each with the reference_image role.","type":"json","path":"/input/references","required":true,"defaultValue":[{"role":"reference_image","url":"https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=800"}],"minItems":1,"maxItems":6,"referenceUrlOnly":true,"referenceRole":"reference_image","referenceConstraints":{"max_references":6,"min_references":1,"allowed_reference_roles":["reference_image"],"reference_counts_by_role":{"reference_image":{"maximum":6,"minimum":1}},"required_reference_roles":["reference_image"]}},{"name":"duration","label":"Duration (seconds)","description":"Output length in whole seconds.","type":"number","valueType":"integer","path":"/parameters/duration","required":false,"defaultValue":10,"min":3,"max":15},{"name":"resolution","label":"Resolution","description":"Output video resolution.","type":"select","valueType":"string","path":"/parameters/resolution","required":false,"defaultValue":"720p","options":["360p","720p"],"allowedValues":["360p","720p"]},{"name":"aspect_ratio","label":"Aspect ratio","description":"Aspect ratio of the output. Available values depend on the selected input mode.","type":"select","valueType":"string","path":"/parameters/aspect_ratio","required":false,"defaultValue":"16:9","options":["16:9","9:16"],"allowedValues":["16:9","9:16"]},{"name":"n","label":"Outputs per job","description":"Each submitted job generates one video.","type":"number","valueType":"integer","path":"/parameters/n","required":false,"defaultValue":1,"min":1,"max":1,"readOnly":true,"allowedValues":[1]}],"responseBody":{"id":"YOUR_TASK_ID","model":"google/gemini-omni-1.2-flash","object":"job","status":"queued","parameters":{"n":1,"duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"queryResponseBody":{"id":"YOUR_TASK_ID","model":"google/gemini-omni-1.2-flash","object":"job","result":{"files":[{"url":"https://example.com/YOUR_GENERATED_VIDEO.mp4","media_type":"video/mp4"}],"availability":"available"},"status":"succeeded","parameters":{"n":1,"duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"queryResponseOrigin":"derived_from_official","queryResponseContainsPlaceholders":true,"responseOrigin":"derived_from_official","responseContainsPlaceholders":true,"requestOrigin":"platform_template","sourceUrl":"https://yir.ai/docs/models/google/gemini-omni-1-2-flash","isDefault":false,"active":true,"sortOrder":2}],"missing":[]},"id":"96e6e0bb-18e5-448c-aa35-185d47a4e620","routeId":"8a72f16a-76a5-4fec-ac48-9d0d1f9429e5","model":"gemini-omni-1.2-flash","provider":"yir","modelSource":"platform","providerKind":"third_party","providerLogoUrl":"https://yir.ai/images/model-manufacturers/google.png","upstreamPath":[{"type":"generations","path":"/v1/videos/generations","method":"POST","default":true,"task_kind":"text2video"},{"type":"get","path":"/v1/jobs/{task_id}","method":"GET","default":true,"task_kind":"text2video"}],"curlExample":"","bodySchema":{"type":"object","oneOf":[{"type":"object","required":["model","input","parameters"],"properties":{"input":{"type":"object","required":["type","prompt"],"properties":{"type":{"const":"text"},"prompt":{"type":"string","minLength":1,"description":"Describe the scene, motion, and camera movement in English or your preferred language."}},"additionalProperties":false},"model":{"type":"string","const":"gemini-omni-1.2-flash"},"route":{"type":"object","properties":{"provider":{"const":"yir"}}},"parameters":{"type":"object","properties":{"n":{"enum":[1],"type":"integer","default":1,"description":"Each submitted job generates one video."},"duration":{"type":"integer","default":10,"maximum":15,"minimum":3,"description":"Output length in whole seconds."},"resolution":{"enum":["360p","720p"],"type":"string","default":"720p","description":"Output video resolution."},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio of the output. Available values depend on the selected input mode."}},"additionalProperties":false},"route_mode":{"type":"string","default":"balanced"}}},{"type":"object","allOf":[{"if":{"properties":{"input":{"properties":{"references":{"contains":{"properties":{"role":{"const":"last_frame"}}}}}}}},"then":{"properties":{"parameters":{"properties":{"duration":{"maximum":10}}}}}}],"required":["model","input","parameters"],"properties":{"input":{"type":"object","required":["type","prompt","references"],"properties":{"type":{"const":"image"},"prompt":{"type":"string","minLength":1,"description":"Describe the scene, motion, and camera movement in English or your preferred language."},"references":{"type":"array","allOf":[{"contains":{"properties":{"role":{"const":"first_frame"}}},"maxContains":1,"minContains":1},{"contains":{"properties":{"role":{"const":"last_frame"}}},"maxContains":1,"minContains":0}],"items":{"type":"object","required":["role","url"],"properties":{"url":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"role":{"enum":["first_frame","last_frame"]}},"additionalProperties":false},"maxItems":2,"minItems":1}},"additionalProperties":false},"model":{"type":"string","const":"gemini-omni-1.2-flash"},"route":{"type":"object","properties":{"provider":{"const":"yir"}}},"parameters":{"type":"object","properties":{"n":{"enum":[1],"type":"integer","default":1,"description":"Each submitted job generates one video."},"duration":{"type":"integer","default":10,"maximum":15,"minimum":3,"description":"Output length in whole seconds."},"resolution":{"enum":["360p","720p"],"type":"string","default":"720p","description":"Output video resolution."},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio of the output. Available values depend on the selected input mode."}},"additionalProperties":false},"route_mode":{"type":"string","default":"balanced"}}},{"type":"object","required":["model","input","parameters"],"properties":{"input":{"type":"object","required":["type","prompt","references"],"properties":{"type":{"const":"reference"},"prompt":{"type":"string","minLength":1,"description":"Describe the scene, motion, and camera movement in English or your preferred language."},"references":{"type":"array","items":{"type":"object","required":["role","url"],"properties":{"url":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"role":{"const":"reference_image"}},"additionalProperties":false},"maxItems":6,"minItems":1}},"additionalProperties":false},"model":{"type":"string","const":"gemini-omni-1.2-flash"},"route":{"type":"object","properties":{"provider":{"const":"yir"}}},"parameters":{"type":"object","properties":{"n":{"enum":[1],"type":"integer","default":1,"description":"Each submitted job generates one video."},"duration":{"type":"integer","default":10,"maximum":15,"minimum":3,"description":"Output length in whole seconds."},"resolution":{"enum":["360p","720p"],"type":"string","default":"720p","description":"Output video resolution."},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio of the output. Available values depend on the selected input mode."}},"additionalProperties":false},"route_mode":{"type":"string","default":"balanced"}}}]},"matchRules":{},"isLowestPrice":true,"isDefaultRoute":false,"routes":1,"prompt":23200,"completion":0,"imageCompletion":0,"partnerPriceMultiplierBps":10000,"partnerPrompt":23200,"partnerCompletion":0,"promptSource":23200,"completionSource":0,"imageCompletionSource":0,"currency":"USD","active":true,"sortOrder":0,"billingType":"duration","billingUnit":"second","modalities":["video"],"outModalities":["video"],"description":"Generate 360p or 720p video with native audio using the Gemini Omni 1.2 Flash API. Use text or up to six reference images for a 3–15 second clip, or set a first frame with an optional last frame. A clip with a last frame can run up to 10 seconds. Make a product demo from photos taken at different angles, or connect two storyboard images into a shot that moves through a shop entrance. Find video generation request examples, supported parameters, and usage pricing on the model page.","descriptionTranslations":{"ar":"أنشئ فيديو بدقة 360p أو 720p مع صوت مولّد باستخدام واجهة Gemini Omni 1.2 Flash API. استخدم نصاً أو ما يصل إلى 6 صور مرجعية لإنشاء مقطع من 3 إلى 15 ثانية، أو حدّد الإطار الأول مع إمكانية إضافة إطار أخير. عند تحديد الإطار الأخير، تكون المدة القصوى 10 ثوانٍ. أنشئ فيديو لعرض منتج من صور بزوايا مختلفة، أو صِل صورتين من لوحة المشاهد لإنشاء لقطة تدخل المتجر عبر الباب. تجد أمثلة طلبات توليد الفيديو والمعلمات المتاحة وأسعار الاستخدام في صفحة تفاصيل النموذج.","ja":"Gemini Omni 1.2 Flash API では、360p または 720p の音声付き動画を生成できます。テキストや最大 6 枚の参照画像から 3～15 秒のクリップを作成できます。開始フレームを指定し、終了フレームを追加する場合は最長 10 秒です。異なる角度の商品写真から紹介動画を作ったり、絵コンテの 2 枚をつないで店内へ入るショットを作ったりできます。モデル詳細ページで、動画生成のリクエスト例、利用可能なパラメータ、利用料金を確認できます。","zh":"通过 Gemini Omni 1.2 Flash API 生成 360p 或 720p 有声视频。你可以用文字或最多 6 张参考图生成 3–15 秒的短片，也可以指定首帧和可选尾帧，带尾帧时最长 10 秒。适合用多角度商品照片制作电商展示短片，或把两张分镜图连成推门进店的镜头。接入前可以在详情页查看视频生成的请求示例、可用参数和用量价格。"},"supportedFeatures":[],"pricingTiers":[{"actualCompletion":0,"actualPrompt":23200,"catalogReferences":[],"completion":0,"importPricingMapping":{"status":"mapped","reviews":[],"sourcePricing":null},"label":"360p · Estimated output","partnerCompletion":0,"partnerPrompt":23200,"prompt":23200,"rangeStart":0,"resolution":"360p"},{"actualCompletion":0,"actualPrompt":69500,"catalogReferences":[],"completion":0,"label":"720p · Estimated output","partnerCompletion":0,"partnerPrompt":69500,"prompt":69500,"rangeStart":0,"resolution":"720p"}],"timePricingRules":[],"latency":221,"routeStatus":"active","operations":[],"operationRegistry":{"model":"gemini-omni-1.2-flash","operations":[],"availableModes":[]},"createdAt":"2026-11-09T03:58:18Z","updatedAt":"2026-11-09T06:30:32Z"}]}