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 }}'
È possibile includere facoltativamente l'URL del webhook per ricevere una notifica in caso di successo o fallimento dell'attività.
Campo di richiesta facoltativo
{"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"}
Schema
Campi di input per l'endpoint e la modalità selezionati.
Campo
Tipo
Necessario
Descrizione
prompt
string
Sì
Text prompt describing the content to generate.
aspectRatio
string
NO
Output aspect ratio, as width:height (e.g. 16:9).
duration
number
NO
The duration of the generated video, in seconds.
resolution
string
NO
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
style
string
NO
Visual style preset applied to the generation.
mode
string
NO
Generation mode of the model (e.g. a faster or higher-quality tier).
seed
integer
NO
Random seed for reproducible generation.
generateAudio
boolean
NO
Generate natural-sounding, fitting audio for the output video.