Vidu Q4 레퍼런스 to 비디오 사용 방법
-
참조 준비: images_list에 1-15개의 이미지 URL을, 선택적으로 audios_list에 최대 3개의 MP3 클립(각 3-12초)을 제공하세요.
-
프롬프트 작성: 입력을 순서대로 참조하세요. 예: In the scene of reference image 1, the person in reference image 2 turns and says: "What are you doing?"
-
출력 설정: aspect_ratio(16:9, 9:16, 1:1, 4:3, 3:4), resolution(540p~4k), duration(3-16초), audio를 설정하세요.
-
제출 후 결과 받기: 엔드포인트는 비동기입니다. /api/v1/predictions/{request_id}/result를 폴링하거나 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}'