Menu

Gemini Omni 1.2 Flash now available on AI Gateway - Vercel
πŸ“°

Gemini Omni 1.2 Flash now available on AI Gateway - Vercel

Vercel NewsΒ·Jerilyn ZhengΒ·5 days ago
#miCCyoLr
#vercel#gateway#gemini#omni#flash
Reading 0:00
15s threshold

Gemini Omni 1.2 Flash from Google is now available on AI Gateway. Generate videos from text prompts with one API key and no separate Google account.

Gemini Omni 1.2 Flash generates 3–15 second videos with native audio and edits 3–15 second source clips with up to six reference images. Extend videos by 3–10 seconds per call, up to 30 seconds total, or refine generated clips in follow-up calls using previousInteractionId . Output supports 360p, 720p, 1080p, and 4K in 16:9 or 9:16. Use generateText or streamText in AI SDK to receive the generated video as a file.

Copy link to heading Generate a video

Use google/gemini-omni-1.2-flash as the model name. This example generates a three-second, 360p clip and saves it as video.mp4 :

Copy link to heading Receive video in a streaming response

With streamText , read fullStream to handle generated files as they arrive.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.