Gemini Omni 1.2 Flash
تحويل النص إلى فيديوالصورة إلى فيديومرجع للفيديومن $ 0,023 / س
Met Gemini Omni 1.2 Flash kunt u video's tot 15 seconden maken en bewerken met native audio, een sterkere referentieconsistentie en een verfijndere, meer natuurlijke spraakweergave.
مدخل
وضع
أكمل الحقول المطلوبة لعرض السعر
Text To Video · 360p · 5s
الناتج
خامل| المدة | دقة | يكتب | سعر |
|---|---|---|---|
| output second | 360p | الصورة إلى فيديو | $ 0,023 / s |
| مرجع للفيديو | $ 0,023 / s | ||
| تحويل النص إلى فيديو | $ 0,023 / s | ||
| 720p | الصورة إلى فيديو | $ 0,07 / s | |
| الصورة إلى فيديو | $ 0,0552 / s | ||
| مرجع للفيديو | $ 0,07 / s | ||
| مرجع للفيديو | $ 0,0552 / s | ||
| تحويل النص إلى فيديو | $ 0,07 / s | ||
| تحويل النص إلى فيديو | $ 0,0552 / s | ||
| 1080p | الصورة إلى فيديو | $ 0,104 / s | |
| الصورة إلى فيديو | $ 0,1464 / s | ||
| الصورة إلى فيديو | $ 0,0918 / s | ||
| مرجع للفيديو | $ 0,104 / s | ||
| مرجع للفيديو | $ 0,1464 / s | ||
| مرجع للفيديو | $ 0,0918 / s | ||
| تحويل النص إلى فيديو | $ 0,104 / s | ||
| تحويل النص إلى فيديو | $ 0,1464 / s | ||
| تحويل النص إلى فيديو | $ 0,0918 / s | ||
| 4K | الصورة إلى فيديو | $ 0,209 / s | |
| الصورة إلى فيديو | $ 0,3294 / s | ||
| مرجع للفيديو | $ 0,209 / s | ||
| مرجع للفيديو | $ 0,3294 / s | ||
| تحويل النص إلى فيديو | $ 0,209 / s | ||
| تحويل النص إلى فيديو | $ 0,3294 / s |
* يتم احتساب الرسوم الفعلية بناءً على المخرجات النهائية.
نقطة النهاية
POST
https://pollo.ai/api/platform/v1/generation/google/gemini-omni-1-2-flash/videoوضع
المصادقة
قم بتمرير مفتاح API الخاص بك في رأس طلب x-api-key.
x-api-key: YOUR_API_KEYعرض مفاتيح واجهة برمجة التطبيقاتإرسال المهمة
أنشئ مهمة لتوليد النموذج.
طلب
curl -X POST 'https://pollo.ai/api/platform/v1/generation/google/gemini-omni-1-2-flash/video' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"input": {
"prompt": "A close-up of raindrops rippling across a still pond in slow motion, natural daylight",
"aspectRatio": "16:9",
"duration": 5,
"resolution": "360p"
}
}'الرد (200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"status": "pending"
}تحقق من الحالة
قم باستطلاع نقطة نهاية حالة المهمة حتى يكتمل الإنشاء.
طلب HTTP
GET /api/platform/v1/generation/{taskId}/status HTTP/1.1
Host: pollo.ai
x-api-key: YOUR_API_KEYالرد (200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"credit": 12,
"costUsd": 0.12,
"generations": [
{
"id": "generation_01",
"createdDate": "2026-07-13T07:00:00.000Z",
"updatedDate": "2026-07-13T07:00:12.000Z",
"status": "succeeded",
"failMsg": null,
"url": "https://example.com/output.mp4",
"mediaType": "video"
}
]
}Webhook
يمكنك تضمين webhookUrl اختياريًا لتلقي رد اتصال عند نجاح المهمة أو فشلها.
حقل طلب اختياري
{
"input": {
"prompt": "A close-up of raindrops rippling across a still pond in slow motion, natural daylight",
"aspectRatio": "16:9",
"duration": 5,
"resolution": "360p"
},
"webhookUrl": "https://example.com/webhooks/pollo"
}مخطط
حقول إدخال لنقطة النهاية والوضع المحددين.
| مجال | يكتب | مطلوب | وصف |
|---|---|---|---|
| prompt | string | نعم | Text prompt describing the content to generate. |
| aspectRatio | string | لا | Output aspect ratio, as width:height (e.g. 16:9). |
| duration | integer | لا | The duration of the generated video, in seconds. |
| resolution | string | لا | Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive. |
أخطاء
رموز الاستجابة الشائعة لواجهات برمجة التطبيقات العامة.
- 400
- إدخال غير صالح أو قيد نموذج غير صالح
- 401
- مفتاح API مفقود أو غير صالح
- 403
- لا يملك مفتاح API صلاحية الوصول
- 404
- لم يتم العثور على النموذج أو المهمة
Modeldocumentatie volgt binnenkort.