Skip to content
中文
Google · Model API

Gemini Omni 1.1 Flash API Pricing

Gemini Omni 1.1 Flash API with VezAPI. Explore model capabilities, credit pricing, request parameters, and integration examples.

Text to VideoImage to VideoVideo EditingVideo to Video

Gemini Omni 1.1 Flash API documentation

Integrate Gemini Omni 1.1 Flash with your VezAPI key. The operations below share the same authentication and account balance.

Base URL: https://api.vezapi.com
Send Authorization: Bearer YOUR_VEZAPI_KEY. Use a unique Idempotency-Key for each submission; reuse it only when checking the same request.

Gemini Omni Audio

POST/api/v1/omni/audio/create
ParameterTypeDescription & constraints
audio_id
required
string

Enum voice ID, used to select a preset voice character. achernar - female, soft, high pitch achird - male, friendly, mid pitch algenib - male, raspy, low pitch algieba - male, easygoing, mid-low pitch alnilam - male, steady, mid-low pitch aoede - female, brisk, mid pitch autonoe - female, bright, mid pitch callirrhoe - female, easygoing, mid pitch charon - male, intellectual, low pitch despina - female, smooth, mid pitch enceladus - male, breathy, low pitch erinome - female, clear, mid pitch fenrir - male, lively, younger pitch gacrux - female, mature, mid pitch iapetus - male, clear, mid-low pitch kore - female, capable, mid pitch laomedeia - female, cheerful, mid-high pitch leda - female, young, mid-high pitch orus - male, steady, mid-low pitch puck - male, cheerful, mid pitch pulcherrima - genderless, forward, mid-high pitch rasalgethi - male, intellectual, mid pitch sadachbia - male, vivid, low pitch sadaltager - male, knowledgeable, mid pitch schedar - male, smooth, mid-low pitch sulafat - female, warm, mid pitch umbriel - male, smooth, low pitch vindemiatrix - female, gentle, mid pitch zephyr - female, bright, mid-high pitch zubenelgenubi - male, casual, mid-low pitch

name
required
string

Voice name. Maximum length: `210` characters.

voice_description
optional
string

Voice characteristic description used to define timbre, style, speaking rate, emotion, and other traits. Maximum length: `20000` characters.

example_dialogue
optional
string

Example dialogue, such as "Hello, I am Adam". Maximum length: `120` characters.

Request example
curl -X POST 'https://api.vezapi.com/api/v1/omni/audio/create' \
  -H 'Authorization: Bearer YOUR_VEZAPI_KEY' \
  -H 'Idempotency-Key: your-unique-request-id' \
  -H 'Content-Type: application/json' \
  -d '{
  "audio_id": "achernar",
  "name": "Your prompt"
}'
Responses and errors

HTTP 200

Request successful

ParameterTypeDescription & constraints
code
optional
integer

Status code of the request. The HTTP status is 200 even when the request fails, so always check this field: 200 means success; any other value means the request failed and msg describes the reason. Common values: 401 invalid or missing API key; 402 insufficient credits; 429 rate limit exceeded; 422 or 500 the request could not be processed (read msg and check your parameters before retrying).

data
optional
object
data.audioId
optional
string
data.name
optional
string
msg
optional
string

Gemini Omni Character

POST/api/v1/omni/character/create
ParameterTypeDescription & constraints
descriptions
required
string

Character description used to define the appearance, identity, style, clothing, or personality of the character.

image_urls
required
array

Array of character reference image URLs. Up to 2 images are supported. Index 0 is the portrait image, and index 1 is the body image. The body image is optional, but if provided, the portrait image must be present at index 0. Image limits: - Each image must be no larger than `20MB` - Use a publicly accessible image URL

minItems: 1

maxItems: 2

audio_ids
optional
array

Array of audio IDs generated by the `gemini-omni-audio` endpoint. These can be used to provide voice traits, tone, or persona guidance for the character.

character_name
optional
string

Character name

Request example
curl -X POST 'https://api.vezapi.com/api/v1/omni/character/create' \
  -H 'Authorization: Bearer YOUR_VEZAPI_KEY' \
  -H 'Idempotency-Key: your-unique-request-id' \
  -H 'Content-Type: application/json' \
  -d '{
  "descriptions": "A young female character with short silver hair and a futuristic utility jacket, calm, agile, and strongly cyberpunk in style.",
  "image_urls": [
    "https://example.com/input.png",
    "https://example.com/input.png"
  ]
}'
Responses and errors

HTTP 200

Request successful

ParameterTypeDescription & constraints
code
optional
integer

Status code of the request. The HTTP status is 200 even when the request fails, so always check this field: 200 means success; any other value means the request failed and msg describes the reason. Common values: 401 invalid or missing API key; 402 insufficient credits; 429 rate limit exceeded; 422 or 500 the request could not be processed (read msg and check your parameters before retrying).

data
optional
object
data.characterName
optional
string
data.imageUrl
optional
string
data.characterId
optional
string
data.bodyImageUrl
optional
string
msg
optional
string

Gemini Omni 1.1 Flash

POST/api/v1/jobs/createTask

Model IDs: google/gemini-omni-flash-1-1

ParameterTypeDescription & constraints
model
required
string

The model name used to generate the task. This field is required. This interface must use the `google/gemini-omni-flash-1-1` model.

Values: "google/gemini-omni-flash-1-1"

Default: "google/gemini-omni-flash-1-1"

callBackUrl
optional
string

The callback URL for task completion notifications. This parameter is optional. If provided, the system will send a POST request to this URL when the task is completed, regardless of whether it succeeds or fails. If not provided, no callback notification will be sent.

input
required
object

Input parameters for the multimodal video generation task.

input.prompt
required
string

The video prompt, used to describe the visual content, style, cinematography, or character actions of the target video.

maxLength: 20000

input.image_urls
optional
array

An array of image URLs. Multiple reference images can be uploaded to provide references for characters, scenes, styles, or storyboards. Image limitations: - Each file must not exceed `20MB` - Use publicly accessible image URLs - Maximum of 7 images - Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time.

input.first_frame_url
optional
string

The URL of the first-frame image. Used to specify the starting frame of the generated video. Note: This field is mutually exclusive with `image_urls`, `audio_ids`, `video_list`, and `character_ids` and cannot be provided at the same time.

input.last_frame_url
optional
string

The URL of the last-frame image. Used to specify the ending frame of the generated video. Note: The last-frame image cannot be used alone and must be provided together with the first-frame image (`first_frame_url`).

input.audio_ids
optional
array

An array of audio IDs generated by the `gemini-omni-audio` interface. Used to provide narration, dialogue, background music, or sound references for the video. Up to 3 items. Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time.

input.video_list
optional
array

An array of video clips. Each element describes a video asset that can be used for generation and its trimming time range. Video limitations: - Each file must not exceed `100MB` - Video duration must not exceed `30s` - `ends` should be greater than `start` - The difference between the end and start times must not exceed `10s` - Maximum of 1 item, occupying two image slots - Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time.

input.video_list[].url
required
string

The video URL. Each video file must not exceed `100MB`, and the video duration must not exceed `30s`.

input.video_list[].start
required
number

The start time, in seconds.

minimum: 0

input.video_list[].ends
required
number

The end time, in seconds. It should be greater than `start`. The difference between the end and start times must not exceed 10 seconds.

minimum: 0

input.character_ids
optional
array

An array of character IDs generated by the `gemini-omni-character` interface. Used to provide character appearance, identity, or person references for the video. Up to 3 character IDs. Each uses 1 image slot (2 if created with portrait + body images). Total slots (images + videos × 2 + character slots) ≤ 7. Note: This field is mutually exclusive with the first-frame image (`first_frame_url`) and cannot be provided at the same time.

input.duration
required
string

The duration of the generated video, in seconds. Valid values are 4, 6, 8, and 10. This parameter only takes effect when there is no video input. If video input is used, the output duration is determined by the model, and the `duration` parameter will be ignored. Note: When video input is provided, the output duration is automatically determined by the model. In this case, the `duration` parameter will not take effect.

Values: "4", "6", "8", "10"

input.aspect_ratio
optional
string

The aspect ratio of the generated video. `16:9` is landscape, and `9:16` is portrait.

Values: "16:9", "9:16"

input.resolution
optional
string

The resolution of the generated video. Valid values are 360p, 720p, 1080p, and 4k.

Values: "360p", "720p", "1080p", "4k"

Default: "720p"

input.seed
optional
integer

The random seed. Valid range: [0, 2147483647]. If not specified, the system will automatically generate a seed. A fixed seed can improve result reproducibility, but because the model itself is stochastic, results may still vary.

Request example
curl -X POST 'https://api.vezapi.com/api/v1/jobs/createTask' \
  -H 'Authorization: Bearer YOUR_VEZAPI_KEY' \
  -H 'Idempotency-Key: your-unique-request-id' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gemini-omni-flash-1-1",
  "input": {
    "prompt": "Generate a short video of a futuristic city at night, with the camera slowly pushing forward as a character emerges from a neon-lit street.",
    "duration": "8",
    "aspect_ratio": "16:9",
    "resolution": "720p"
  }
}'
Responses and errors

HTTP 200

Request successful

ParameterTypeDescription & constraints
code
optional
integer

Status code of the request. The HTTP status is 200 even when the request fails, so always check this field: 200 means success; any other value means the request failed and msg describes the reason. Common values: 401 invalid or missing API key; 402 insufficient credits; 429 rate limit exceeded; 422 or 500 the request could not be processed (read msg and check your parameters before retrying).

Values: 200, 401, 402, 404, 422, 429, 433, 455, 500, 501, 505

msg
optional
string

Response message, error description upon failure

data
required
object
data.taskId
required
string

The task ID can be used with the "Get Task Details" endpoint to query the task status.

Task status and callbacks

For asynchronous tasks, keep the returned taskId. Query GET /api/v1/jobs/recordInfo?taskId=... or provide callBackUrl when creating the task. Only the account that created a task can access it or derive new resources from it.

A timeout can mean the submission was accepted. Inspect the existing request in your dashboard; do not create another task automatically. Callback delivery is retried and may arrive more than once. Deduplicate with X-VezAPI-Event-Id.

Files, logs and billing

Generated media normally follows a 14-day provider lifetime; uploaded files expire after 24 hours. Save the files you need before expiration. VezAPI streams registered files without keeping a permanent media library. Request logs are retained for two calendar months.

Credits are reserved before submission. Final deductions match actual discounted consumption one for one. Unknown usage pauses new paid requests. If available funds cannot cover final usage while protecting other reservations, settlement stays pending until funded; model usage cannot make the wallet negative. Time-based inputs require server-side metadata reads; a failed read prevents submission.

Open full documentation →

Gemini Omni 1.1 Flash API pricing

Rates below are reference estimates; final deductions equal actual discounted consumption, one for one. At the standard pack rate, 1,000 credits ≈ $10. Larger packs reduce the effective credit price.

SpecificationCreditsUnitUSD reference
google/gemini-omni-flash-1-1, video, 360p with video input168per video$1.68
google/gemini-omni-flash-1-1, video, 720p with video input168per video$1.68
google/gemini-omni-flash-1-1, video, 1080p with video input168per video$1.68
google/gemini-omni-flash-1-1, video, 10s 360p no video input126per video$1.26
google/gemini-omni-flash-1-1, video, 10s 720p no video input126per video$1.26
google/gemini-omni-flash-1-1, video, 10s 1080p no video input126per video$1.26
google/gemini-omni-flash-1-1, video, 4k with video input252per video$2.52
google/gemini-omni-flash-1-1, video, 10s 4k no video input210per video$2.1
google/gemini-omni-flash-1-1, video, 8s 360p no video input105per video$1.05
google/gemini-omni-flash-1-1, video, 8s 720p no video input105per video$1.05
google/gemini-omni-flash-1-1, video, 8s 1080p no video input105per video$1.05
google/gemini-omni-flash-1-1, video, 8s 4k no video input189per video$1.89
google/gemini-omni-flash-1-1, video, 6s 360p no video input84per video$0.84
google/gemini-omni-flash-1-1, video, 6s 720p no video input84per video$0.84
google/gemini-omni-flash-1-1, video, 6s 1080p no video input84per video$0.84
google/gemini-omni-flash-1-1, video, 6s 4k no video input168per video$1.68
google/gemini-omni-flash-1-1, video, 4s 360p no video input63per video$0.63
google/gemini-omni-flash-1-1, video, 4s 720p no video input63per video$0.63
google/gemini-omni-flash-1-1, video, 4s 1080p no video input63per video$0.63
google/gemini-omni-flash-1-1, video, 4s 4k no video input147per video$1.47
Gemini Omni Audio0per request$0
Gemini Omni Character0per request$0