omni-1.2-flash

AliasGemini Omni 1.2 Flash
by GoogleVideo

Gemini Omni 1.2 Flash API by Google on TTAPI supports video generation from text or images, video editing, and continuation. Choose 360p to 4K output with per-second billing.

InputText + mediaimages or video
Output360p–4K16:9 or 9:16
FlowAsyncjobId → video URL
Pricefrom 3quota / second
Example clip16:9 preview
Seaside pottery workshop

Cinematic travel editorial film following a young ceramic artist opening her seaside workshop at sunrise. She has short curly dark hair, freckles and a relaxed, thoughtful expression. She wears a faded indigo linen shirt with rolled sleeves, cream trousers and a clay-stained canvas apron. The workshop sits inside a weathered Mediterranean building: pale peach plaster walls, arched windows, wooden shelves filled with handmade bowls, a pottery wheel and a small courtyard overlooking the sea. Morning sunlight streams through the windows, catching suspended dust and illuminating the translucent edges of unfinished porcelain. A restrained palette of terracotta, indigo, warm ivory and sea green. Tactile details: wet clay, woven linen, chipped paint and rippling water. Camera movement is quiet and deliberate, alternating intimate 85mm close-ups with wider 35mm environmental compositions. Shallow depth of field for hands and objects, deeper focus when revealing the workshop. Warm natural highlights, soft blue shadows, subtle film grain and gentle highlight bloom. Movements feel observed rather than performed. Maintain the same artist, wardrobe, pottery and workshop throughout. No dialogue, text or logos. An independent craft magazine brought to life. Shot-by-shot beat sheet — five sequential beats, compressed to fit the selected clip duration: 1. OPENING THE WORKSHOP From inside the dim workshop, the camera slowly pushes toward a closed wooden shutter. The artist opens it, letting golden sunlight sweep across the room. She pauses with one hand on the frame, looking toward the sea. Medium-wide composition, soft backlight outlining her curls. 2. PREPARING THE CLAY Close-up of her hands pressing a lump of wet clay onto the pottery wheel. Her fingers leave distinct impressions before smoothing the surface. A slow lateral camera slide reveals a shallow bowl of cloudy water and a folded linen cloth beside the wheel. 3. SHAPING THE VESSEL Three-quarter view as she leans forward and draws the spinning clay into a small rounded vessel. The camera makes a gentle partial orbit, keeping her hands and the vessel in focus. The shape changes gradually and continuously under her fingertips. 4. INSPECTING THE FINISH She lifts a finished sea-green ceramic cup toward the window and slowly turns it, examining its uneven handmade rim. Tight close-up: sunlight travels across the glaze, revealing tiny variations in color. Her softly blurred face remains behind the cup. 5. THE FIRST QUIET MOMENT In the courtyard, she sets the cup on a worn stone table and sits beside it. A breeze moves her shirt sleeve and the leaves of a nearby olive tree. The camera slowly pulls back through the doorway, framing her against the morning sea. Hold the final composition for a quiet beat.

1080p · 8s · 16:9
Examples

Gemini Video prompts, references, and results

Capabilities

What you can build with omni-1.2-flash

Text and first frame

Start from a text prompt or use one image to anchor the opening frame.

Reference media

Guide generation with up to ten reference images.

Edit or extend

Edit a source video or add 3–10 seconds to it using one public video URL.

Retrieve the finished video

Use the returned job ID to retrieve task status and the video URL, or supply a callback.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

omni-1.2-flashOfficial pricing

Generation bills the requested duration. Continuation bills only the added seconds. Editing uses the source video's actual duration. Subtract 0.15 seconds, round up, and bill at least 1 second and at most 15 seconds. The request is rejected if the duration cannot be read or the source exceeds 15 seconds.

ResolutionPrice per second
360p3 quota (≈$0.03)
720p5 quota (≈$0.05)
1080p5 quota (≈$0.05)
4K10 quota (≈$0.10)
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

GeneratePOST
/gemini/video/generations

Submit a generation, edit, or continuation job and receive data.jobId.

Official reference
FetchGET
/gemini/video/fetch

Pass the returned jobId as a required query parameter. Read the video URL at data.video_url when the job succeeds.

Official reference
POSThttps://api.ttapi.org/gemini/video/generations

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Scene and motion prompt.

modelenumrequired

Use omni-1.2-flash.

aspect_ratioenumrequired

16:9 or 9:16.

resolutionenumoptional

360p, 720p (default), 1080p, or 4K.

durationintegeroptional

3–15 seconds for text or image inputs, default 10. For extend, specify 3–10 added seconds, default 10. Omit duration for edit. The output follows the source video's length. Editing uses the source video's actual duration. Subtract 0.15 seconds, round up, and bill at least 1 second and at most 15 seconds. The request is rejected if the duration cannot be read or the source exceeds 15 seconds.

generation_typeenumconditional

frame requires one image. reference accepts one to ten images. edit and extend require exactly one video and no images. When omitted, one image is a first frame and two or more are references. A video requires edit or extend.

reference_imagesstring[]conditional

Up to ten HTTP(S) URLs. Base64 is unsupported. Image-based requests cannot include a video.

reference_videosstring[]conditional

Exactly one publicly reachable HTTP(S) URL for edit or extend. The source duration must be readable for editing.

negative_promptstringoptional

Describe content to exclude. An empty value is omitted.

hookUrlstringoptional

Callback URL for task completion or failure.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.org/gemini/video/generations \
  --header 'TT-API-KEY: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"prompt":"A slow aerial shot above a misty lake at sunrise","model":"omni-1.2-flash","aspect_ratio":"16:9","resolution":"720p","duration":10}'