APIMart
Gemini Omni Flash Preview model icon
Video

Gemini Omni Flash Preview API

Gemini Omni Flash Preview API on APIMart provides streamlined text-to-video, image-to-video, and video-to-video generation. Send model and prompt through APIMart's unified video generation endpoint, making the model easy to test, integrate, and scale.

Text to VideoImage to VideoVideo to Video

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
39 characters

The RUN price estimates 10 seconds of output; final charges are based on actual token usage.

Output

Video link valid for 72 hours

Gemini Omni Flash Preview API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
gemini-omni-flash-preview720P0.88Credits(~$0.088)/sec0.836Credits(~$0.0836)/sec0.792Credits(~$0.0792)/sec1.1Credits(~$0.11)/sec20%

* Actual costs are subject to final output.

gemini-omni-flash-preview

Pricing Details

Transparent pricing with no hidden fees. Pay only for what you use.

Token Pricing

Per 1M tokens

RateGoldCurrent pricePlatinumDiamond
Input12~$1.211.4~$1.1410.8~$1.08
Output140.04~$14.004133.038~$13.3038126.036~$12.6036

Gemini Omni Flash Preview API - Create AI Videos from Prompts

Access Gemini Omni Flash Preview API on APIMart for fast text-to-video generation. The playground uses a simple model-and-prompt request, so developers can generate videos with a clean, production-friendly workflow.

50K+

Active Users

99.9%

Uptime

2x

Faster

—

Cost Savings

Gemini Omni Flash Preview API Examples: Text to Video and Image to Video

Submit an asynchronous video task, then query the task ID until the video is ready.

  1. 1

    Authenticate Your Requests

    Save your APIMart API key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> with every request.

  2. 2

    Submit a gemini-omni-flash-preview Task

    POST model, prompt and the parameters you need to /v1/videos/generations and read data[0].task_id from the response. The example.com URLs are placeholders; replace them with your own public HTTP(S) URLs.

  3. 3

    Retrieve the Video Result

    Poll GET /v1/tasks/{task_id} until status is completed, then read data.result.videos[0].url[0] and the final charge in cost. If status is failed, check error.message. APIMart keeps results for 72 hours, so download the videos you want to keep.

    See the APIMart API documentation for authentication and task status details.

POST /v1/videos/generations
curl -X POST https://api.apimart.ai/v1/videos/generations \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-omni-flash-preview",
    "prompt": "Aerial shot over a misty mountain lake at sunrise, birds flying, slow forward camera move, soft wind and distant birdsong.",
    "aspect_ratio": "16:9"
  }'

Gemini Omni Flash Preview API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: gemini-omni-flash-previewFixed to gemini-omni-flash-preview.
promptstringOptionalDefault: —Scene description for text to video, or the motion, style or edit instruction for image and video inputs. Required unless you send at least one image or video.
resolutionstringOptionalDefault: 720pOnly 720p is supported.
aspect_ratiostringOptionalDefault: 16:916:9 landscape or 9:16 portrait. Any other value is treated as 16:9.
image_urlsarrayOptionalDefault: —Reference images as HTTP(S) URLs, up to 16. Describe how multiple subjects interact in the prompt.
video_urlsarrayOptionalDefault: —One reference video or video to edit, 1–24 seconds. Cannot be combined with extend_from_task_id.
extend_from_task_idstringOptionalDefault: —ID of one of your earlier generation tasks to continue without uploading the video again. Cannot be combined with video_urls.

Gemini Omni API Model Family

Compare Gemini Omni video models on APIMart. One API key calls every version; see each model page for live pricing.

ModelBest forResolutionDuration
Gemini Omni 1.2 Flash APILatest version: clips up to 15 seconds with audio, references, video editing and extension360p / 720p / 1080p / 4K3–15s
Gemini Omni 1.1 Flash APIUp to 10 images, first and last frames, video editing and extension360p / 720p / 1080p / 4K3–10s
Gemini Omni 1.1 Flash Ext APIDuration set in the request, priced by resolution and duration (reference video billed per second); text, one image, reference video or three-image fusion360p / 720p / 1080p / 4K4 / 6 / 8 / 10s
Gemini Omni Flash Preview APIThis page720p clips from text, up to 16 reference images or one video720p3–10s