Jak korzystać z Vidu Q4 referencje do wideo
-
Zbierz referencje: podaj od 1 do 15 adresów URL obrazów w images_list oraz opcjonalnie do 3 klipów MP3 (po 3-12 sekund) w audios_list.
-
Napisz prompt: odwołuj się do danych wejściowych według kolejności, na przykład: In the scene of reference image 1, the person in reference image 2 turns and says: "What are you doing?"
-
Skonfiguruj wynik: ustaw aspect_ratio (16:9, 9:16, 1:1, 4:3, 3:4), resolution (od 540p do 4k), duration (3-16 s) i audio.
-
Wyślij i odbierz wynik: endpoint jest asynchroniczny — odpytuj /api/v1/predictions/{request_id}/result lub przekaż webhook_url.
curl -X POST https://api.muapi.ai/api/v1/vidu-q4-reference-to-video \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"prompt": "In the scene of reference image 1, the person in reference image 2 turns to the person in reference image 3 and says: What are you doing?", "images_list": ["https://example.com/scene.png", "https://example.com/person-a.png", "https://example.com/person-b.png"], "resolution": "1080p", "duration": 5, "aspect_ratio": "16:9", "audio": true}'