Alibaba 로고Alibaba동영상

Wan 2.1 (image-to-video) API

MartLLM에서 Wan 2.1 (image-to-video)(으)로 동영상 만들기.

wan/wan-2-1-image-to-videoClaude에 연결API 키 받기
더 보기

제작: Alibaba. MartLLM은 이 모델을 직접 실행하지 않습니다. MartLLM에서는 판매자들이 자기 제공업체 계정으로 이 모델을 제공합니다.

요청

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan/wan-2-1-image-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": "480p",
  "duration_seconds": 5,
  "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 가이드

옵션

작업
이미지→동영상, 참조 이미지
해상도
480p, 720p
길이
5초, 10초
화면 비율
16:9, 9:16
입력 이미지
최대 1
과금 단위
동영상 1초당
내 LoRA
최대 3
모델 ID
wan/wan-2-1-image-to-video

Wan 2.1 (image-to-video) 사용해 보기

설정

시작 이미지

.safetensors 파일 링크 또는 여기서 학습한 LoRA의 링크. JSON 탭에서는 최대 3개.

왼쪽 설정과 같은 요청으로, 바로 복사할 수 있습니다.

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan/wan-2-1-image-to-video",
  "prompt": "",
  "resolution": "480p",
  "duration_seconds": 5
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

Wan 2.1 (image-to-video) API가 잘하는 것

  • 요청 한 번에 최대 10초 클립.
  • 내 이미지를 그대로 첫 프레임으로 사용.
  • 인물, 제품, 장소 참조 이미지 최대 1장.
  • 출력 해상도: 480p, 720p.
  • 화면 비율: 16:9, 9:16.

시작용 예시

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

내 이미지로 · 5초

02

제품 사진 회전

The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background

내 이미지로 · 5초

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

내 이미지로

Wan 2.1 (image-to-video) API 파라미터

파라미터유형설명
modelwan/wan-2-1-image-to-video필수
promptstring필수. What to make.
image_urlstring이 중 하나. The first frame: an https:// link or a data: URI.
input_imagesarray<string>, 최대 1이 중 하나. Several pictures (https:// links or data: URIs).
resolution480p, 720p선택 · 480p. The seller needs one: left out, 480p is sent.
duration_seconds5, 10선택. Length in seconds. Left out: the model's shortest.
aspect_ratio16:9, 9:16선택. Shape of the video.
lorasarray<object>, 최대 3선택. Optional: up to 3 LoRAs to apply (a style or a person you trained). Each path is an https:// link to the weights, a file id from POST /v1/files (.safetensors), or the file link of your own finished training job.

GET https://api.martllm.com/v1/models/wan/wan-2-1-image-to-video 기준: API가 모든 요청에 적용하는 규칙과 같습니다.

Wan 모델 비교

모델모델 ID최저가(초당)최대최장
Wan 2.1 (image-to-video)wan/wan-2-1-image-to-video720p10초
Wan 2.7 Text-to-Videowan/wan-2-7-text-to-video$0.1115초
Wan 2.2 A14B Text-to-Videowan/wan-2-2-a14b-text-to-video$0.02865초
Wan 2.5 Preview Text-to-Videowan/wan-2-5-preview-text-to-video$0.033610초
Wan 2.6 Text-to-Videowan/wan-2-6-text-to-video$0.1115초
Wan 2.6 Flash Image-to-Videowan/wan-2-6-flash-image-to-video$0.0341080p15초
Wan 2.7 (image-to-video)wan/wan-2-7-image-to-video$0.08621080p15초
Wan 2.5 Preview (image-to-video)wan/wan-2-5-preview-image-to-video$0.06711080p10초
Wan 2.6 (image-to-video)wan/wan-2-6-image-to-video$0.06711080p15초
Wan 2.7 (reference-to-video)wan/wan-2-7-reference-to-video$0.03361080p10초

Wan 2.1 (image-to-video) API 자주 묻는 질문

Wan 2.1 (image-to-video) 가격은 얼마인가요?

Wan 2.1 (image-to-video)은(는) 표시된 가격대로 청구되며 MartLLM 수수료는 붙지 않습니다. 실패한 요청은 비용이 없습니다.

Wan 2.1 (image-to-video)(으)로 동영상 만드는 방법은?

MartLLM key, 모델 "wan/wan-2-1-image-to-video", 그리고 프롬프트를 사용하여 https://api.martllm.com/v1/video/generations로 POST 요청을 보내세요. job id를 받게 됩니다. https://api.martllm.com/v1/video/generations/<job id>에 요청하여 "succeeded"라고 표시될 때까지 확인한 다음, https://api.martllm.com/v1/media/artifacts/<job id>/0에서 다운로드하세요.

가이드

비슷한 모델과 비교