Seedance 2.5 Edit Video
Edit an existing video with Seedance 2.5 through the SJinn REST API
Tool Overview
Use seedance25-video-edit-api to change, replace, remove, or redo content in an existing video, including its final shot. The output follows the source video's duration and aspect ratio. To append new content after the source, use Seedance 2.5 Extend Video.
Create tasks with POST https://sjinn.ai/api/un-api/create_tool_task, using an API key in Authorization: Bearer YOUR_API_KEY. An active membership and sufficient credits are required.
Parameters
Set tool_type to seedance25-video-edit-api and provide these fields in input:
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Describe the changes to make to the source video. |
video_urls | string[] | Yes | Exactly one source video, between 4 and 30 seconds long. Additional video references are unsupported. |
image_urls | string[] | No | Up to 30 reference images; default []. |
audio_urls | string[] | No | Up to 10 reference audio files; default []. |
resolution | string | No | 480p, 720p, or 1080p; default 720p. |
All media URLs must be complete, publicly accessible HTTP/HTTPS URLs. Do not send duration, ratio, aspect_ratio, or mode; these fields are rejected. The server detects the source duration before charging credits.
Pricing
| Resolution | Credits per second |
|---|---|
| 480P | 170 |
| 720P | 350 |
| 1080P | 850 |
The billed duration is the source duration rounded up to the next whole second: ceil(source_duration) × resolution rate. For example, editing a 5.2-second video at 720P costs 6 × 350 = 2100 credits.
Request Example
curl -X POST https://sjinn.ai/api/un-api/create_tool_task \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_type": "seedance25-video-edit-api",
"input": {
"prompt": "Replace the daytime sky with a warm sunset while preserving the character and camera movement.",
"video_urls": ["https://example.com/source.mp4"],
"resolution": "720p"
}
}'
Response and Task Status
{
"success": true,
"errorMsg": "",
"error_code": 0,
"data": {
"task_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
Poll Query Task Status with the returned task_id. A successful task returns video URLs in data.output_urls. Task records retain task_type: "seedance25-video-edit-api".
The existing seedance25-video-api with input.mode: "edit" remains supported; that legacy form requires an explicit resolution.
