seedinteger
Random seed (0-2147483647) for reproducible results. Omit for a random seed; the same seed may still produce slightly different results.
최소값: 0
최대값: 2147483647
alibaba/wan/3.0/video-editWan 3.0 Video Edit by Alibaba restyles or modifies an input video from a text instruction, optionally guided by reference images and audio, keeping the original length.
모델 사용해 보기
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 10
다음에 무엇을 하시겠습니까?
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
{
"prompt": "Convert the entire scene to clay style",
"video": "https://static.sandbase.ai/examples/d2c29bdb-fa51-4c8d-8cdc-f3bfa6f5fccc/input/fe903192-9db0-40ad-8d3f-149e3cd21c99.mp4"
}{
"prompt": "Edit the video, change the man's dialogue to: \"The deal is done. Now... we disappear.\"",
"video": "https://static.sandbase.ai/examples/74ce2b92-9d62-4a4a-8f9a-2d3180b7336b/input/f5c743b3-3244-444b-a631-1f7d7091f7ab.mp4"
}{
"images": [
"https://static.sandbase.ai/examples/b05d3383-cab9-4358-8672-2868922f0b3e/input/c21f77b4-3386-43ba-8e42-ccbfbd3db5c5.png",
"https://static.sandbase.ai/examples/b05d3383-cab9-4358-8672-2868922f0b3e/input/a563aa03-d3a5-4a4a-9353-af2780d6add2.png",
"https://static.sandbase.ai/examples/b05d3383-cab9-4358-8672-2868922f0b3e/input/ae8e00c2-cd2a-44d9-93f2-aada9604ff4c.png"
],
"prompt": "Edit the video: the woman in Video 1 puts on the hat from Image 1, naturally fitting her head shape. The man in Video 1 puts on the hat from Image 2, naturally fitting his head shape. The man's russet-brown shirt is replaced with the blue washed loose denim shirt from Image 3, with the collar open and sleeves rolled up to the forearms. The movements, other clothing, and the rest of the scene remain unchanged.",
"video": "https://static.sandbase.ai/examples/b05d3383-cab9-4358-8672-2868922f0b3e/input/154795e4-429e-43ba-b751-929cee0ca615.mp4"
}Change an existing clip with a sentence: restyle it, swap a subject or prop, or rework the setting. Optional reference images and audio guide the change. The result keeps the length and framing of the source.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 5,000 characters. |
video | video URL, required | — | Source clip, Video 1 in the prompt. MP4/MOV, 1–15s, ≥16fps, 240–4096px per side, ≤100MB. |
images | image URL[] (≤10) | — | Referenced as Image 1, Image 2, … |
audios | audio URL[] (≤5) | — | WAV/MP3, 1–15s each, 15s total, ≤15MB. Referenced as Audio 1, … |
resolution | 480p / 720p / 1080p | 720p | Sets the per-second rate. |
generate_audio | boolean | true | Native dialogue, music, and effects. Same price on or off. |
seed | integer 0–2147483647 | random | Fix it to compare prompt changes. |
prompt_extend | boolean | true | LLM rewrites the prompt before generating. Set false to keep it verbatim. |
There is no duration field; the output is as long as the source.
Like the official Wan 3.0 rate, billing counts the source clip and the edited output, which are the same length, so each source second bills twice: $0.10 at 480p, $0.20 at 720p, $0.40 at 1080p. References are not metered.
| Source clip | Billed | 480p | 720p | 1080p |
|---|---|---|---|---|
| 2s | 4s | $0.20 | $0.40 | $0.80 |
| 5s | 10s | $0.50 | $1.00 | $2.00 |
| 10s | 20s | $1.00 | $2.00 | $4.00 |
| 15s | 30s | $1.50 | $3.00 | $6.00 |
The quote shown before submission assumes a 5-second source ($1.00 at 720p); the final charge uses the measured length. Failed runs are not charged. Output files are copied to SandBase storage and the returned URL stays valid for 7 days; download anything you need to keep.
Other Wan 3.0 endpoints: alibaba/wan/3.0/video (all modes in one schema), alibaba/wan/3.0/text-to-video, alibaba/wan/3.0/image-to-video, alibaba/wan/3.0/reference-to-video, alibaba/wan/3.0/video-extend.
빌드를 시작하세요
SandBase Unified Run API를 통해 이 모델을 제출하세요.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "alibaba/wan/3.0/video-edit",
"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260402/ldnfdf/wan2.7-videoedit-style-change.mp4",
"resolution": "720p",
"prompt_extend": true,
"generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"SandBase API 키를 생성해 서버 환경에 설정하세요. 모든 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
seedintegerRandom seed (0-2147483647) for reproducible results. Omit for a random seed; the same seed may still produce slightly different results.
최소값: 0
최대값: 2147483647
videostring필수URL of the input video (MP4 or MOV; 1-15 seconds, at least 16 fps, 240-4096px per side, under 100MB).
audiosarrayUp to 5 optional reference audio URLs (WAV or MP3; 1-15s each, 15s total, under 15MB each).
imagesarrayUp to 10 optional reference image URLs (JPEG, PNG, BMP, or WebP; up to 20MB each). Refer to them in the prompt as Image 1, Image 2, and so on.
promptstring필수Text instruction describing the editing. Refer to the input video as Video 1 and to reference images or audio as Image 1, Audio 1, and so on.
resolutionstringOutput video resolution tier.
기본값: "720p"
가능한 값: "480p", "720p", "1080p"
prompt_extendbooleanLet the model rewrite your prompt with an LLM before generating. Helps short prompts but adds latency. Set false to use the prompt exactly as written.
기본값: true
generate_audiobooleanGenerate a synchronized audio track. Pricing is the same either way.
기본값: true
{
"model": "alibaba/wan/3.0/video-edit",
"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260402/ldnfdf/wan2.7-videoedit-style-change.mp4",
"resolution": "720p",
"prompt_extend": true,
"generate_audio": true
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
[
{
"poster": "https://static.sandbase.ai/examples/posters/cf8c6f43ea34032d01f8.jpg",
"source": "Alibaba Cloud",
"source_url": "https://www.alibabacloud.com/help/en/model-studio/wan3-video-generation-guide",
"url": "https://static.sandbase.ai/examples/d2c29bdb-fa51-4c8d-8cdc-f3bfa6f5fccc/output/fdf7f5e2-5cdd-49c3-b6e5-b1e835618cee.mp4"
}
]