Seedance 2 VIP Extend Video API: AI Video Generation

Generate videos from text with Seedance 2 VIP Extend Video via the Muapi REST API. Pay per generation — no subscription needed.

Seedance 2 VIP Extend Video API Reference

Endpoint

POST https://api.muapi.ai/api/v1/sd-2-vip-extend

Submit a job with your MuApi API key in the x-api-key header, then poll https://api.muapi.ai/api/v1/predictions/{request_id}/result until status is completed.

Parameters

NameTypeRequiredDescription
request_idstringYesRequest ID of the original Seedance 2.0 video generation.
promptstringNoOptional prompt to guide the extension. Reference additional images with @image2…@image9, videos with @video1…@video3, and audio with @audio1…@audio3 — the source video's last frame is always @image1.
images_listarrayNoUp to 8 additional reference image URLs (JPEG/PNG/WebP). Each Nth image corresponds to @image(N+1) in the prompt (the source video's last frame is @image1).
video_filesarrayNoUp to 3 reference video clip URLs (MP4, max 15s each). Each Nth video corresponds to @videoN in the prompt.
audio_filesarrayNoUp to 3 reference audio clip URLs (MP3/WAV, total max 15s). Each Nth audio corresponds to @audioN in the prompt.
aspect_ratiostringNoOutput video aspect ratio (only used when reference images/videos/audio are provided).Options: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16Default: "16:9"
durationintNoLength of the extension clip in seconds.Default: 5
qualitystringNoOptions: high, basicDefault: "basic"

cURL example

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/sd-2-vip-extend \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"request_id":"<request_id>"}' | jq -r .request_id)

curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"

Python example

import os, time, requests

API = "https://api.muapi.ai/api/v1"
headers = {"x-api-key": os.environ["MUAPI_API_KEY"]}

r = requests.post(f"{API}/sd-2-vip-extend", headers=headers, json={"request_id":"<request_id>"})
request_id = r.json()["request_id"]

while True:
    res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json()
    if res["status"] == "completed":
        print(res["outputs"]); break
    if res["status"] == "failed":
        raise RuntimeError(res.get("error"))
    time.sleep(3)

Full docs and agent/MCP integration: llms.txt. Get an API key at muapi.ai/access-keys.

Seedance 2 VIP Extend Video API: AI Video Generation