Gemini Omni 1.2 Flash
Generate 3–15 second videos with audio at 720p, in 16:9 or 9:16, from text or up to three reference images. Defaults to 8 seconds. Billed per second.
Price
$0.0836/s
$0.07524/s
Endpoint
/videos
Delivery pattern
Async task lifecycle
Availability
Available now
API documentation
Build and copy the request
Choose the options this model accepts. The code below updates as you choose.
https://apiking.ai/v1/videosBearer API keyAsync taskOptionsOnly options published for this model are shown.
# Requires curl and jq
API_KEY="${API_KEY:-YOUR_API_KEY}"
# 1. Submit once
SUBMITTED=$(curl --fail-with-body -sS https://apiking.ai/v1/videos \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: model-docs-$(date +%s)-$$" \\
-d '{
"model": "Gemini Omni 1.2 Flash",
"prompt": "A cinematic scene with careful composition",
"duration": 8,
"size": "16:9",
"resolution": "720p"
}')
TASK_ID=$(printf '%s' "$SUBMITTED" | jq -r '.task_id // .id // empty')
if [ -z "$TASK_ID" ]; then
printf '%s\n' "$SUBMITTED" >&2
exit 1
fi
echo "task_id=$TASK_ID"
# 2. Poll until terminal
while true; do
STATUS_JSON=$(curl --fail-with-body -sS \
"https://apiking.ai/v1/videos/$TASK_ID" \
-H "Authorization: Bearer $API_KEY")
STATUS=$(printf '%s' "$STATUS_JSON" | jq -r '.status // empty' | tr '[:upper:]' '[:lower:]')
echo "status=$STATUS"
case "$STATUS" in
completed|succeeded|success) break ;;
failed|failure|cancelled|canceled)
printf '%s\n' "$STATUS_JSON" | jq .
exit 1
;;
esac
sleep 5
done
# 3. Fetch the final result
curl --fail-with-body -sS \
"https://apiking.ai/v1/videos/$TASK_ID/content" \
-H "Authorization: Bearer $API_KEY" | jq .- 1Submit the task
- 2Poll the status
- 3Fetch the content
Parameter reference
modelExact model identifier for this request.
gemini-omni-1.2-flashpromptInstruction describing the desired result.
durationClip duration in seconds.
sizeOutput aspect ratio or dimensions.
16:99:16resolutionRequested output resolution.
720pimagesUp to three public subject reference image URLs.
Response lifecycle
Task status, terminal states, and result response examples.
Response lifecycle
Task status, terminal states, and result response examples.
{
"id": "task_xxx",
"task_id": "task_xxx",
"object": "video",
"model": "Gemini Omni 1.2 Flash",
"status": "queued"
}Waiting
queued · submitted · in_progress · processing
Success
completed · succeeded · success
Failure
failed · failure · cancelled · canceled
Errors and production
Retry rules, idempotency, and the minimum production checklist.
Errors and production
Retry rules, idempotency, and the minimum production checklist.
400 / 422Fix the request fields or unsupported option; do not retry unchanged.
401Check that the API key is present, active, and sent as a Bearer token.
402The account balance is insufficient.
409The Idempotency-Key is processing or was reused with another body.
429Back off according to Retry-After before retrying.
5xxRetry with exponential backoff and keep the original Idempotency-Key.
- Keep API keys on your server for public mobile and browser applications.
- Set a unique Idempotency-Key for every billable async operation.
- Persist task_id so polling can resume after a restart.
- Use a timeout for every HTTP request and surface the request ID in support reports.
- Read live model metadata instead of hard-coding prices and supported options.
Price and tiers
List price, for everyone.
Per-second price
$0.0836/s
The price shown here is exactly what you are billed — failed calls are refunded automatically.
Gemini Omni 1.2 Flash at a glance
- Model ID
- Gemini Omni 1.2 Flash
- Type
- Video generation
- Vendor
- Resolutions
- 720p
- Aspect ratios
- 16:9 · 9:16
- Reference inputs
- Images
- Endpoint
- POST /v1/videos
- Delivery
- Async task: poll it or get a webhook
- Billed by
- Per second of output
What Gemini Omni 1.2 Flash costs
- A 5-second video$0.418
- A 10-second video$0.836
At the list price. Failed calls are not charged.
Common questions
How much does the Gemini Omni 1.2 Flash API cost?
Gemini Omni 1.2 Flash costs $0.0836/s on APIKing. Pay as you go from your balance.
How do I call the Gemini Omni 1.2 Flash API?
Send a request to https://apiking.ai/v1/videos with your APIKing key as a Bearer token and set the model to Gemini Omni 1.2 Flash. The call returns a task. Poll it until it finishes, or set a webhook to be told when it does.
What is the model ID of Gemini Omni 1.2 Flash?
Set the model parameter to Gemini Omni 1.2 Flash.
Which resolutions and lengths does Gemini Omni 1.2 Flash support?
Resolutions: 720p.
Can Gemini Omni 1.2 Flash work from reference images or videos?
Yes. Reference inputs: Images.
Am I charged when a Gemini Omni 1.2 Flash call fails?
A failed call or a failed generation is not charged. Tasks are estimated first and settled at what they actually used.
Compare Gemini Omni 1.2 Flash with similar models
| Model | Vendor | Price | Spec |
|---|---|---|---|
| Gemini Omni 1.2 Flash | $0.0836/s | Up to 720p | |
| Wan 3.0 | Wan | From $0.028109/s | Up to 1080P · up to 30 s |
| Grok Imagine 1.5 Video | Grok | From $0.009996/s | Up to 720p · up to 15 s |
| Muse Video Ext | Meta | $0.02305 / request | Up to 720p · up to 10 s |
| Seedance 2.0 Mini | ByteDance | From $0.016381/s | Up to 720p · up to 15 s |
| Seedance 2.5 | ByteDance | From $0.086712/s | Up to 1080p · up to 30 s |