Edit and transform videos with Seedance 2.5 Video Edit via the Muapi REST API. Pay per generation — no subscription needed.
POST https://api.muapi.ai/api/v1/seedance-2.5-video-editSubmit 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.
| Name | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Instructions for the edit — lighting, style, weather, environment, or specific elements to change. Automatically prefixed with "Edit the input video." |
| video_url | string | Yes | URL of the video to edit. Videos longer than 30s are trimmed to 30s. |
| images_list | array | No | Reference image URLs guiding subject identity or style. Up to 30 images. |
| audios_list | array | No | Reference audio URLs guiding audio generation. Up to 10 files. |
| duration | int | No | The duration of the generated video in seconds.Default: 5 |
| aspect_ratio | string | No | Aspect ratio of the output video.Options: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21Default: "16:9" |
| generate_audio | boolean | No | Whether to generate new audio. If false, the input video's original audio is preserved.Default: true |
| seed | int | No | Random seed for reproducible generation. Use -1 for random. |
| high_bitrate | boolean | No | Enable high bitrate mode for better visual fidelity. Produces larger files.Default: false |
REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/seedance-2.5-video-edit \
-H "x-api-key: $MUAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"<prompt>","video_url":"https://example.com/your-video_url"}' | jq -r .request_id)
curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"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}/seedance-2.5-video-edit", headers=headers, json={"prompt":"<prompt>","video_url":"https://example.com/your-video_url"})
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.