Gemini Omni Flash 1.2
Text to video · Image to video · Video editing
Starting price $0.0433 / second
By Google
Google's Gemini Omni Flash 1.1 makes clips of 3 to 10 seconds with sound from a prompt, a first frame or a set of reference images and videos.
google/gemini-omni-flash/v1.1/text-to-videoThis model has other modes with their own ids: google/gemini-omni-flash/v1.1/image-to-video, google/gemini-omni-flash/v1.1/reference-to-video.
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-omni-flash/v1.1/text-to-video",
"input": {
"prompt": "A street musician plays a violin under a stone archway at night. Warm lamplight falls on him, coins clink into his case, and the camera slowly pushes in toward his hands."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "google/gemini-omni-flash/v1.1/text-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"A street musician plays a violin under a stone archway at night. Warm lamplight falls on him, coins clink into his case, and the camera slowly pushes in toward his hands."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
promptrequired | string | The text prompt describing the video you want to generate. |
aspect_ratio | string (enum) | The aspect ratio of the generated video. |
resolution | string (enum) | The resolution of the generated video. |
duration | number (enum) | The duration of the generated video, in seconds. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Gemini Omni Flash 1.1 renders landscape 16:9 or vertical 9:16 video at 360p, 720p, 1080p or 4K, from 3 to 10 seconds long. Camera moves and sound are described in plain words in the prompt.
The image mode animates a first frame and, if you add an end image, moves between the two. The reference mode takes up to 10 images and up to 3 short videos for the people, objects or motion you want in the clip.
Check motion continuity and whether audible events occur at the right moment.