Gemini Omni 1.2 Flash (Reference-to-Video)
Gemini Omni 1.2 Flash makes a video that keeps characters and products from up to 6 reference images and 3 short reference clips.
Google Gemini Omni 1.2 Flash makes a new video that keeps characters, products, outfits and styles from references: up to 6 reference images (up to 3 per character, for up to 2 characters) and up to 3 reference clips of up to 3 seconds each (one clip for a video over 10 seconds). Say in the prompt how each reference is used. Sound is made with the video: 3 to 15 seconds, 360p to 4K.
Inputs: prompt (required), reference_images (image links), reference_videos (MP4 or MOV links, up to 3 seconds each; their sound is ignored), duration (default 5), resolution (720p by default), aspect_ratio (16:9 by default, or 9:16) and seed. Give at least one reference.
It does not use a picture as the first frame (use flymyai/gemini-omni-1_2-flash-i2v) and does not edit or continue a video (use flymyai/gemini-omni-1_2-flash-edit or flymyai/gemini-omni-1_2-flash-extend). Google refuses real public figures.
Price: per second of video by resolution, $0.024 at 360p, $0.07 at 720p, $0.105 at 1080p and $0.209 at 4K, plus the input and thinking tokens Google reports ($1.50 and $9.00 per 1M tokens): an image is about 1,100 input tokens and a second of 720p clip 5,792. 5 seconds at 720p from one picture cost about $0.36. A refused or failed run costs nothing.
- Image to Video
Price: From $0.024 per second of duration, depending on resolution; input tokens $1.50 per 1M, text and thinking tokens $9.00 per 1M. One run with default settings costs $0.35.
Run Gemini Omni 1.2 Flash (Reference-to-Video) via API
curl -X POST https://api.flymy.ai/api/v1/flymyai/gemini-omni-1_2-flash-ref2v/predict \
-H "X-API-KEY: $FLYMYAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Use reference image 1 for the landscape. A slow camera movement over the water","reference_images":["https://images.unsplash.com/photo-1470770841072-f978cf4d019e?w=768&q=80&fm=jpg"],"duration":5,"resolution":"720p"}'API documentation · Create a free account · Pricing