Seedance 2.5 video editing

Before use, press Access Basics to set SHANHAI_BASE_URL (this site’s root address) and SHANHAI_API_KEY (this site’s token). The following command is suitable for Bash; the material example address must be replaced with a real address that can be downloaded directly.

Describe what to keep and what to change. This example preserves the source duration and aspect ratio.

Request Example

curl --fail-with-body "$SHANHAI_BASE_URL/v1/videos" \
  -H "Authorization: Bearer $SHANHAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedance-2-5-260628",
    "prompt": "保留船的动作与镜头轨迹,把天空换成晚霞。",
    "metadata": {
      "omni_reference_task_type": "edit", "duration": -1, "ratio": "adaptive", "resolution": "720p",
      "content": [{"type": "video_url", "role": "reference_video", "video_url": {"url": "https://media.example.com/boat.mp4"}}]
    }
  }'

Seedance portrait photos and videos · Video task status and downloads

encountered a problem

If you encounter problems with calling or configuration, please contact the site customer service and provide the model name, error time and error information to facilitate troubleshooting.