curl-X POST 'https://pollo.ai/api/platform/v1/generation/pixverse/pixverse-v3-5/video'\-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": "16:9", "duration": 5, "resolution": "360p", "style": "auto", "mode": "normal", "generateAudio": true }}'
يمكنك تضمين 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":"16:9","duration":5,"resolution":"360p","style":"auto","mode":"normal","generateAudio":true},"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
number
لا
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.
style
string
لا
Visual style preset applied to the generation.
mode
string
لا
Generation mode of the model (e.g. a faster or higher-quality tier).
seed
integer
لا
Random seed for reproducible generation.
generateAudio
boolean
لا
Generate natural-sounding, fitting audio for the output video.