{"schema":"kovapi.model-page/1","model":"gemini-omni-1.2-flash","family":["gemini-omni-1.2-flash"],"name":"Gemini Omni 1.2 Flash","page":"https://kovapi.com/zh/model/gemini-omni-1.2-flash","markdown":"https://kovapi.com/zh/model/gemini-omni-1.2-flash.md","docs":"https://kovapi.com/zh/docs/gemini-omni-1.2-flash","updated":"2026-11-12","endpoint":{"submit":"POST https://kovapi.com/v1/videos/generations","poll":"GET https://kovapi.com/v1/videos/jobs/{id}","async":true,"submit_status":202,"result":"data[0].url"},"params":{"model":{"type":"string","enum":["gemini-omni-1.2-flash"]},"prompt":{"type":"string","max_chars":20000},"duration":{"type":"integer","min":3,"max":15,"unit":"second","alias":"seconds","max_with_frames":10,"edit":"ignored: the output is as long as the source video"},"resolution":{"type":"string","enum":["720P","1080P","4K"],"default":"720P"},"size":{"type":"string","enum":["16:9","9:16"],"alias":"aspect_ratio"},"images":{"type":"array","items":"https URL","max":{"first_frame":1,"first_and_last_frame":2,"reference":3,"with_video_urls":5},"note":"name them @Image1, @Image2 ... in the prompt"},"image_role":{"type":"string","enum":["first_frame","reference"],"default":"1 image: first_frame; 2-3 images: reference; with video_urls: reference"},"callback_url":{"type":"string","note":"webhook when the job ends"},"video_urls":{"type":"array","items":"https URL (mp4 / mov)","max":1,"role":"source video to edit","source_seconds":[1,15],"billed":"source seconds x the per-second rate of the chosen resolution"}},"modes":[{"mode":"t2v","title":"文生视频","send":"只传 prompt 和生成参数，duration 填整数秒。","get":"按文字生成画面、镜头和声音；台词、音乐、音效都写进提示词。","limits":"3–15 秒，不传 duration 时按 10 秒。"},{"mode":"first_frame","title":"首帧","send":"images 放 1 张图。只传 1 张时默认就是首帧，也可以写明 image_role: first_frame。","get":"成片从这张图开始，按提示词里的动作和运镜往下拍。","limits":"最长 10 秒。"},{"mode":"first_last","title":"首尾帧","send":"images 放 2 张图并写 image_role: first_frame：第 1 张是首帧，第 2 张是尾帧。","get":"从第一张画面过渡到第二张，中间的运动和镜头按提示词生成。","limits":"最长 10 秒。"},{"mode":"multi_ref","title":"参考图","send":"images 放图片：2–3 张时默认就是参考图，只有 1 张时写 image_role: reference。提示词里写清每张图是谁、是什么。","get":"图里的人物、宠物、商品或画风出现在新画面里，不当作某一帧。","limits":"最多 3 张，3–15 秒。"},{"mode":"video_edit","title":"视频编辑","send":"video_urls 放 1 段源视频（mp4 / mov），提示词写要改什么；可以再带参考图，用 @Image1 点名。","get":"按指令换画风、改文字、加减物体，没提到的部分尽量保持原样。","limits":"源视频 1–15 秒，参考图最多 5 张；成片和源视频一样长，按源视频秒数计费。"}],"pricing":{"currency":"USD","unit":"second","tiers":{"720P":{"usd_per_second":"$0.035","official_usd_per_second":"$0.07","save":"50%"},"1080P":{"usd_per_second":"$0.05","official_usd_per_second":"$0.104","save":"51%"},"4K":{"usd_per_second":"$0.10","official_usd_per_second":"$0.209","save":"52%"}},"billed_seconds":"output seconds; an edit bills the source video seconds (whole seconds)","notes":["生成：所选分辨率的每秒单价 × 成片秒数，参考图不另收费。","视频编辑：同样的每秒单价 × 源视频秒数（按整秒，不到 1 秒的部分截掉）。计算器里选「视频编辑」就能算。","提交时预扣，成功后按同一金额结算；生成失败全额退回。"]},"retention_days":7,"limits":["图片怎么算：1 张默认作首帧，2–3 张默认作参考图。要 1 张图当参考，写 image_role: reference；要首尾帧，2 张图加 image_role: first_frame。带了源视频时，图片一律按参考图使用。","视频编辑时 duration 不起作用：成片和源视频一样长，不是整秒的部分会截掉，例如 4.5 秒的视频按 4 秒编辑和计费。size 不写时跟随源视频的横竖。编辑不能同时给首尾帧。","@Image1、@Image2 按上传顺序编号。生成时它会被换成「参考图1」这类说法交给模型；编辑时直接绑定到对应那张图，没被点名的图也会一起交给模型。","每条成片都带声音，audio: false 会被拒。不想要的内容直接写进提示词，例如「No dialogue」「No music」；negative_prompt 和 system_prompt 会被拒，不扣费。"],"examples":[{"id":"kv-cat","title":"虎斑猫：一个镜头拍到底","mode":"t2v","source":"kovapi","official_no":null,"params":{"duration":10,"resolution":"720P","size":"16:9"},"cost":"$0.35","video":"https://img.kovapi.com/i/mp-c12a02b55c1bc34ba139487d.mp4","poster":"https://img.kovapi.com/i/mp-a715b6be02573c9c18639a55.webp","prompt":"Continuous, unbroken handheld shot of a fluffy tabby cat sitting on a sunny windowsill, looking out into a leafy garden. The cat's tail twitches slowly, and its ears rotate slightly toward ambient noises. Sunbeams illuminate dust motes in the air. Sound design: Gentle breeze, distant bird chirps. No dialogue.","inputs":{"images":[]}},{"id":"kv-airplane","title":"纸飞机穿过图书馆","mode":"t2v","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"1080P","size":"16:9"},"cost":"$0.40","video":"https://img.kovapi.com/i/mp-179512a5c3b6c91fa7b10f56.mp4","poster":"https://img.kovapi.com/i/mp-244f4226b110c454ff0bb930.webp","prompt":"A single unbroken tracking shot following a paper airplane gliding through a bustling library.","inputs":{"images":[]}},{"id":"kv-portal","title":"时间码：15 秒走进传送门","mode":"t2v","source":"kovapi","official_no":null,"params":{"duration":15,"resolution":"1080P","size":"16:9"},"cost":"$0.75","video":"https://img.kovapi.com/i/mp-29f31c6396192e4adf2ae1e3.mp4","poster":"https://img.kovapi.com/i/mp-52be37c98229ec5bcef8c827.webp","prompt":"[0-5s] A person is walking down a quiet street\n[5-10s] They stop and turn around toward a glowing doorway\n[10-15s] They start running into the portal","inputs":{"images":[]}},{"id":"kv-sign","title":"路牌、店招和车牌上的字","mode":"t2v","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"720P","size":"16:9"},"cost":"$0.28","video":"https://img.kovapi.com/i/mp-add537be3ae6b285aae5d047.mp4","poster":"https://img.kovapi.com/i/mp-8e05906fa84bda760855a07d.webp","prompt":"There is a street sign that says: \"This is an AI generation by Omni\", there is a storefront that says: \"All you need AI\", there's a car with the number plate: \"OMNI1.2\"","inputs":{"images":[]}},{"id":"kv-city","title":"4K 竖屏：赛博朋克城市","mode":"t2v","source":"kovapi","official_no":null,"params":{"duration":6,"resolution":"4K","size":"9:16"},"cost":"$0.60","video":"https://img.kovapi.com/i/mp-78147b0630d708927a07f2cd.mp4","poster":"https://img.kovapi.com/i/mp-88d2e5f8bb47469347cfeabe.webp","prompt":"A futuristic city with neon lights and flying cars, cyberpunk style","inputs":{"images":[]}},{"id":"kv-bakery","title":"首帧：让街景照片动起来","mode":"first_frame","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"720P","size":"16:9","image_role":"first_frame"},"cost":"$0.28","video":"https://img.kovapi.com/i/mp-7d449482e0fc8a7d8cc45039.mp4","poster":"https://img.kovapi.com/i/mp-a643a6d039bdc7e3c7363ac8.webp","prompt":"The camera slowly pushes in toward the bakery window. Inside, a baker in a white apron places a fresh tray of golden croissants in the window display. A pigeon lands on the bicycle basket, looks around and flutters away. In a single continuous shot. Sound design: quiet morning street ambience, a distant church bell, pigeon wings flapping. No dialogue. No music.","inputs":{"images":["https://img.kovapi.com/i/mp-b7c2b45a774cc22b88c191f2.png"]}},{"id":"kv-seasons","title":"首尾帧：从夏日清晨到雪夜星空","mode":"first_last","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"1080P","size":"16:9","image_role":"first_frame"},"cost":"$0.40","video":"https://img.kovapi.com/i/mp-05622ab6ca908a072b78254b.mp4","poster":"https://img.kovapi.com/i/mp-4b517912f115e0aeda4797ad.webp","prompt":"A smooth cinematic transition from a lush green forest at sunrise to a snowy forest under a starry night sky.","inputs":{"images":["https://img.kovapi.com/i/mp-d76700384255b66384f59138.jpg","https://img.kovapi.com/i/mp-601efc3d56bcd883c7565db0.jpg"]}},{"id":"kv-yarn","title":"参考图：猫和毛线球","mode":"multi_ref","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"720P","size":"16:9","image_role":"reference"},"cost":"$0.28","video":"https://img.kovapi.com/i/mp-82df85e079207c922446172d.mp4","poster":"https://img.kovapi.com/i/mp-04f37e5494dce6200f7c8ea6.webp","prompt":"A cat playfully batting at a ball of yarn.","inputs":{"images":["https://img.kovapi.com/i/mp-8a3ed962b9a5b10874c8645d.png","https://img.kovapi.com/i/mp-f62963a2437f9b0fd21e4342.jpg"]}},{"id":"kv-coffee","title":"商品广告：人物和包装都照参考图","mode":"multi_ref","source":"kovapi","official_no":null,"params":{"duration":10,"resolution":"1080P","size":"16:9","image_role":"reference"},"cost":"$0.50","video":"https://img.kovapi.com/i/mp-e1dd3e4ef52fd3d2cc17da18.mp4","poster":"https://img.kovapi.com/i/mp-e89e9734f10c92758f159f32.webp","prompt":"The barista from the first image stands behind a wooden cafe counter in the morning. She picks up the coffee bag from the second image, turns it so the label faces the camera, opens it and pours whole beans into a grinder. Close-up of the beans, then a medium shot as she smiles at the camera and says: \"Freshly roasted, every Monday.\" Keep the label text sharp and readable. Warm morning light. Sound design: cafe ambience, beans rattling into the grinder, the grinder starting. No music.","inputs":{"images":["https://img.kovapi.com/i/mp-1d600f5a04da572b6a4c2bc2.jpg","https://img.kovapi.com/i/mp-804b9708cd179c2ec07a7543.jpg"]}},{"id":"kv-anime","title":"视频编辑：一句话改成动画","mode":"video_edit","source":"kovapi","official_no":null,"params":{"duration":10,"resolution":"720P","size":"16:9"},"cost":"$0.35","video":"https://img.kovapi.com/i/mp-905cc7d194d76bd05fe02ed9.mp4","poster":"https://img.kovapi.com/i/mp-6812dcb4b3d8e1ba30602106.webp","prompt":"Make this video anime","inputs":{"images":[],"video_urls":["https://img.kovapi.com/i/mp-c12a02b55c1bc34ba139487d.mp4"]}},{"id":"kv-signtext","title":"视频编辑：只改路牌上的字","mode":"video_edit","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"720P","size":"16:9"},"cost":"$0.28","video":"https://img.kovapi.com/i/mp-ee06321042c206161cb6ee34.mp4","poster":"https://img.kovapi.com/i/mp-31eda7cfb32de410807c6193.webp","prompt":"Change the text on the sign to say \"Omni Flash\"","inputs":{"images":[],"video_urls":["https://img.kovapi.com/i/mp-add537be3ae6b285aae5d047.mp4"]}},{"id":"kv-invisible","title":"视频编辑：让小提琴消失","mode":"video_edit","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"720P","size":"16:9"},"cost":"$0.28","video":"https://img.kovapi.com/i/mp-ff452614135cc0c0c6899ffe.mp4","poster":"https://img.kovapi.com/i/mp-3d552c1726df995298a811ef.webp","prompt":"Make the violin invisible.","inputs":{"images":[],"video_urls":["https://img.kovapi.com/i/mp-5e0b9ff56c3378f85dd34815.mp4"]}},{"id":"kv-hat","title":"视频编辑 + 参考图：戴上指定的帽子","mode":"video_edit","source":"kovapi","official_no":null,"params":{"duration":8,"resolution":"720P","size":"16:9"},"cost":"$0.28","video":"https://img.kovapi.com/i/mp-19f905c62d058768f7273e73.mp4","poster":"https://img.kovapi.com/i/mp-4e627ecb3476d713c51b5f22.webp","prompt":"Put the hat from @Image1 on this person. Keep everything else the same.","inputs":{"images":["https://img.kovapi.com/i/mp-f336123368a69708fd348e71.jpg"],"video_urls":["https://img.kovapi.com/i/mp-5e0b9ff56c3378f85dd34815.mp4"]}}],"faq":[{"q":"Gemini Omni 1.2 Flash 是什么？","a":"Google 2026 年 11 月发布的视频生成与编辑模型，是 Gemini Omni Flash 的新一代。在 KovAPI 用 gemini-omni-1.2-flash 调用，支持文生视频、首帧、首尾帧、参考图和视频编辑，成片自带声音。"},{"q":"能生成多长的视频？","a":"文生视频和参考图 3–15 秒，按整秒任选，不传 duration 时 10 秒；首帧、首尾帧最长 10 秒；视频编辑的成片和源视频一样长。"},{"q":"支持哪些分辨率和画幅？","a":"720P / 1080P / 4K，默认 720P；画幅 16:9 / 9:16；24 fps。Google 官方说明 1080P 和 4K 是高清放大。其他取值提交时直接报错，不扣费。"},{"q":"首帧和首尾帧怎么传？","a":"首帧：images 放 1 张图即可。首尾帧：images 放 2 张图，并写 image_role: first_frame，第 1 张是首帧、第 2 张是尾帧。两种用法都最长 10 秒。"},{"q":"参考图最多几张？怎么在提示词里点名？","a":"生成时最多 3 张，视频编辑时最多 5 张。按上传顺序是 @Image1、@Image2……，在提示词里写清每张图是谁、是什么，例如「The woman from the first image」。"},{"q":"视频编辑怎么用？","a":"把 1 段 1–15 秒的视频（mp4 / mov）放进 video_urls，提示词写要改什么，例如「Make this video anime」。只改一处时加一句「Keep everything else the same」。需要加指定的东西时，再带参考图并用 @Image1 点名。"},{"q":"视频编辑怎么计费？","a":"和生成同样的每秒单价，按源视频秒数计费，例如 720P 是 $0.035/秒；不是整秒的部分截掉，例如 4.5 秒按 4 秒。duration 对编辑不起作用。"},{"q":"能用中文写提示词吗？","a":"可以。我们用中文写同一段虎斑猫提示词，成片和英文版一致。Google 官方只对英文做过完整评估，复杂的镜头和台词要求用英文写更稳；画面里要出现的文字照原样写在引号里。"},{"q":"能关掉声音吗？","a":"不能，每条成片都带音轨，audio: false 会被拒。可以在提示词里写「No music」「No dialogue」只留环境音；要完全无声的素材，下载后去掉音轨。"},{"q":"能用真人照片吗？","a":"可以用，但会经过 Google 的内容审核。我们用普通人的照片测试：作首帧 2 次都出片，作参考图 2 次里 1 次被拒；公众人物的照片被拒。被拒的任务不计费。请确认你有权使用照片中的肖像。"},{"q":"出片要多久？","a":"近 7 天真实调用的中位耗时为 57 秒，90% 在 102 秒内完成。排队时可以读取 queue_position 与 eta_seconds，以任务的实际状态为准。"},{"q":"生成失败会扣钱吗？","a":"生成失败，未计费，可原样重新提交。提交时的预扣会全额退回，同一任务的自动重试只结算一次。"},{"q":"成片能保存多久？","a":"成片和上传的素材保留 7 天，到期自动删除，请及时下载保存。"},{"q":"和上一代 Gemini Omni Flash 有什么区别？","a":"1.2 的时长 3–15 秒逐秒可选（上一代只有 6 / 8 / 10 秒），多了 4K 和视频编辑，参考图的还原度更高；在 KovAPI 两者同价。上一代的页面仍可使用。"},{"q":"和 Veo 3.1 怎么选？","a":"Veo 3.1 在 KovAPI 是固定 8 秒、按条计费；Omni 1.2 的时长按秒任选、按秒计费，还能编辑已有视频、出 4K。要对比画面，用同一段提示词在两个模型上各跑一条。"}],"notes_for_ai":["型号 id 为 gemini-omni-1.2-flash，使用 POST /v1/videos/generations 提交，返回 HTTP 202 和任务号 id；用 GET /v1/videos/jobs/ 加任务号查询结果。","resolution 可选 720P / 1080P / 4K，默认 720P（720p、2160p 等写法也认）；size 可选 16:9 / 9:16。seconds 是 duration 的别名，aspect_ratio 是 size 的别名。","duration 为 3–15 的整数，默认 10；带首帧或首尾帧时最长 10。","图片放 images：1 张默认首帧，2–3 张默认参考图；image_role 可选 first_frame 或 reference。参考图最多 3 张。","视频编辑：video_urls 放 1 段 1–15 秒的视频（也认 video_url、video_references），可再带最多 5 张图；成片和源视频一样长，按源视频整秒计费，duration 不起作用。","也认这些字段：first_frame_image、last_frame_image、image_urls、image_with_roles、omni_reference_task_type（auto / text_to_video / image_to_video / reference / reference_to_video / edit）。","audio: false、negative_prompt、system_prompt 会被拒（HTTP 400，不扣费）；成片总带音轨。","计费：所选分辨率的每秒单价 × 成片秒数，720P $0.035/秒、1080P $0.05/秒、4K $0.10/秒；视频编辑按源视频秒数。"],"measured":{"p50_seconds":57.2,"p90_seconds":102.5,"success_pct":45.1,"window_days":7}}