Wan and Gemini Omni
Gemini Omni 1.2 Flash Ext
Gemini Omni text and image-to-video inputs and pricing
POST
Gemini Omni 1.2 Flash Ext
Set up API authentication. Use the returned
data.taskId to query the task.
Parameters
The API model ID isgemini-omni-1.2-flash-ext.
input.promptis required, with a limit of 5,000 characters.input.durationaccepts whole seconds from 3 to 15, default 5. The first-and-last-frame mode supports up to 10 seconds.input.resolutionaccepts360p,720p,1080p, and4k, default720p. The 1080p and 4K tiers are upscaled. 4K output may omit audio.input.ratioaccepts16:9and9:16, default16:9.input.modeacceptstext-to-video,image-to-video,reference-to-video, andfirst-last-frame. Pass public image URLs ininput.imageUrls. Use one for image-to-video, two in order for first and last frames, or up to 10 for image references. If you omit the mode, the image count selects text, single-image, or image-reference generation.
Pricing
Multiply by the output duration and round the total up to a whole credit. One credit is $0.01.
Example request
Gemini Omni 1.2 Flash Ext