Vidu 2.0 (reference-to-video) API
MartLLM에서 Vidu 2.0 (reference-to-video)(으)로 동영상 만들기.
더 보기
제작: Vidu. MartLLM은 이 모델을 직접 실행하지 않습니다. MartLLM에서는 판매자들이 자기 제공업체 계정으로 이 모델을 제공합니다.
요청
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "vidu/vidu-2-0-reference-to-video",
"prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
"resolution": "720p",
"duration_seconds": 4,
"aspect_ratio": "16:9",
"image_url": "https://example.com/photo.jpg"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}UBERLLM_API_KEY에 키를 설정하세요. status가 "succeeded"가 될 때까지 5초마다 /v1/video/generations/<job id>를 조회한 뒤, 키로 파일을 다운로드하세요. 실패한 작업은 이유가 표시되며 요금이 청구되지 않습니다. 전체 API 가이드
옵션
- 작업
- 이미지→동영상, 참조 이미지
- 해상도
- 720p
- 길이
- 4초
- 화면 비율
- 16:9, 9:16, 1:1
- 입력 이미지
- 최대 3
- 과금 단위
- 동영상 1초당
- 모델 ID
vidu/vidu-2-0-reference-to-video
Vidu 2.0 (reference-to-video) 사용해 보기
설정
시작 이미지
왼쪽 설정과 같은 요청으로, 바로 복사할 수 있습니다.
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "vidu/vidu-2-0-reference-to-video",
"prompt": "",
"resolution": "720p",
"duration_seconds": 4,
"aspect_ratio": "16:9"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}Vidu 2.0 (reference-to-video) API가 잘하는 것
- 요청 한 번에 최대 4초 클립.
- 내 이미지를 그대로 첫 프레임으로 사용.
- 인물, 제품, 장소 참조 이미지 최대 3장.
- 화면 비율: 16:9, 9:16, 1:1.
시작용 예시
01
사진에 생동감 주기
Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged
내 이미지로
02
제품 사진 회전
The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background
내 이미지로
03
정지 장면 움직이기
The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame
내 이미지로
Vidu 2.0 (reference-to-video) API 파라미터
| 파라미터 | 유형 | 설명 |
|---|---|---|
| model | vidu/vidu-2-0-reference-to-video | 필수 |
| prompt | string | 필수. What to make. |
| image_url | string | 이 중 하나. The first frame: an https:// link or a data: URI. |
| input_images | array<string>, 최대 3 | 이 중 하나. Several pictures (https:// links or data: URIs). |
| resolution | 720p | 선택 · 720p. The seller needs one: left out, 720p is sent. |
| duration_seconds | 4 | 선택. Length in seconds. Left out: the model's shortest. |
| aspect_ratio | 16:9, 9:16, 1:1 | 선택 · 16:9. Shape of the video. The seller needs one: left out, 16:9 is sent. |
GET https://api.martllm.com/v1/models/vidu/vidu-2-0-reference-to-video 기준: API가 모든 요청에 적용하는 규칙과 같습니다.
Vidu 모델 비교
| 모델 | 모델 ID | 최저가(초당) | 최대 | 최장 |
|---|---|---|---|---|
| Vidu 2.0 (reference-to-video) | vidu/vidu-2-0-reference-to-video | 720p | 4초 | |
| Vidu Q3 Text-to-Video | vidu/vidu-q3-text-to-video | $0.14 | 16초 | |
| Vidu Q3 (image-to-video) | vidu/vidu-q3-image-to-video | $0.0666 | 1080p | 16초 |
| Vidu Q3 Turbo Text to Video | vidu/viduq3-turbo-text-to-video | $0.0317 | 1080p | 16초 |
| Vidu Q3 Turbo Image to Video | vidu/viduq3-turbo-image-to-video | $0.0317 | 1080p | 16초 |
| Vidu Q4 | vidu/vidu-q4-image-to-video | $0.0403 | 4k | 16초 |
| Vidu Q4 Reference | vidu/vidu-q4-reference-to-video | $0.0403 | 4k | 16초 |
| Vidu 2.0 (text-to-video) | vidu/vidu-2-0-text-to-video | $0.0571 | 720p | 8초 |
| Vidu Q1 (reference-to-video) | vidu/vidu-q1-reference-to-video | $0.0762 | 1080p | 5초 |
| Vidu Q1 (text-to-video) | vidu/vidu-q1-text-to-video | $0.0762 | 1080p | 5초 |
Vidu 2.0 (reference-to-video) API 자주 묻는 질문
Vidu 2.0 (reference-to-video) 가격은 얼마인가요?
Vidu 2.0 (reference-to-video)은(는) 표시된 가격대로 청구되며 MartLLM 수수료는 붙지 않습니다. 실패한 요청은 비용이 없습니다.
Vidu 2.0 (reference-to-video)(으)로 동영상 만드는 방법은?
Send a POST to https://api.martllm.com/v1/video/generations with your MartLLM key, model "vidu/vidu-2-0-reference-to-video" and a prompt. You get a job id back; ask https://api.martllm.com/v1/video/generations/<job id> until it says "succeeded", then download it from https://api.martllm.com/v1/media/artifacts/<job id>/0.