curl-X POST 'https://pollo.ai/api/platform/v1/generation/minimax/minimax-h3-lite/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", "resolution": "480p", "duration": 5, "aspectRatio": "auto" }}'
Opcionalmente, inclua o webhookUrl para receber uma notificação quando a tarefa for concluída com sucesso ou falhar.
Campo de solicitação opcional
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","resolution":"480p","duration":5,"aspectRatio":"auto"},"webhookUrl":"https://example.com/webhooks/pollo"}
Esquema
Campos de entrada para o ponto de extremidade e o modo selecionados.
Campo
Tipo
Obrigatório
Descrição
prompt
string
Sim
Text prompt describing the content to generate.
resolution
string
Não
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.