بولوجورني الإصدار 8.2
Pollo AI
تحويل النص إلى صورةصورة إلى صورةمن 0.03 $ / صورة
يجمع تطبيق PolloJourney V8.2 بين الجماليات الجريئة وجودة الصور المصقولة والتخصيص الذكي للحصول على صور أكثر تميزًا وموثوقية.
مدخل
وضع
أكمل الحقول المطلوبة لعرض السعر
Text To Image · 1k
الناتج
خامل| دقة | يكتب | سعر |
|---|---|---|
| 1K | صورة إلى صورة | 0.03 $ |
| تحويل النص إلى صورة | 0.03 $ | |
| 2K | صورة إلى صورة | 0.045 $ |
| تحويل النص إلى صورة | 0.045 $ |
نقطة النهاية
POST
https://pollo.ai/api/platform/v1/generation/pollo-ai/pollojourney-v8-2-image/imageوضع
المصادقة
قم بتمرير مفتاح API الخاص بك في رأس طلب x-api-key.
x-api-key: YOUR_API_KEYعرض مفاتيح واجهة برمجة التطبيقاتإرسال المهمة
أنشئ مهمة لتوليد النموذج.
طلب
curl -X POST 'https://pollo.ai/api/platform/v1/generation/pollo-ai/pollojourney-v8-2-image/image' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"input": {
"prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field",
"aspectRatio": "1:1",
"resolution": "1k"
}
}'الرد (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 cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field",
"aspectRatio": "1:1",
"resolution": "1k"
},
"webhookUrl": "https://example.com/webhooks/pollo"
}مخطط
حقول إدخال لنقطة النهاية والوضع المحددين.
| مجال | يكتب | مطلوب | وصف |
|---|---|---|---|
| prompt | string | نعم | Text prompt describing the content to generate. |
| seed | number | لا | Random seed for reproducible generation. |
| aspectRatio | string | لا | Output aspect ratio, as width:height (e.g. 16:9). |
| resolution | string | لا | Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive. |
أخطاء
رموز الاستجابة الشائعة لواجهات برمجة التطبيقات العامة.
- 400
- إدخال غير صالح أو قيد نموذج غير صالح
- 401
- مفتاح API مفقود أو غير صالح
- 403
- لا يملك مفتاح API صلاحية الوصول
- 404
- لم يتم العثور على النموذج أو المهمة
ستتوفر وثائق النموذج قريباً.