Seedance 2.5 — Video extend API
Video extend with Seedance 2.5: request parameters, examples and response handling.
Endpoint: POST https://api.higgsfield.ai/bytedance/seedance-2.5/video-extend
Endpoint ID: bytedance/seedance-2.5/video-extend
#Usage notes
- Use publicly accessible media URLs; asset:// references are rejected for these endpoints.
- The source video_url counts toward the 10-video limit, so include at most 9 additional video_urls. At most 50 media items are accepted across the source video and all reference arrays.
- Videos and audio may be trimmed or padded during preprocessing to fit their respective 30-second total budgets. Output framing follows the source video.
- duration is an integer from 4 to 30 seconds, with default 5.
#Quick start
Replace the example media URLs with publicly accessible URLs for your own files before submitting.
curl --request POST \
--url https://api.higgsfield.ai/bytedance/seedance-2.5/video-extend \
--header "Authorization: Key ${HF_API_KEY_ID}:${HF_API_KEY_SECRET}" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: ${IDEMPOTENCY_KEY}" \
--data '{
"prompt": "A cinematic wide shot of ocean waves at sunset, with gentle camera movement.",
"video_url": "https://example.com/input.mp4"
}'
import higgsfield_client
arguments = (
{'prompt': 'A cinematic wide shot of ocean waves at sunset, with gentle camera '
'movement.',
'video_url': 'https://example.com/input.mp4'}
)
result = higgsfield_client.subscribe(
"bytedance/seedance-2.5/video-extend",
arguments=arguments,
)
print(result["video"]["url"])
import { config, higgsfield } from "@higgsfield/client/v2";
config({ credentials: process.env.HF_CREDENTIALS });
const result = await higgsfield.subscribe("bytedance/seedance-2.5/video-extend", {
input:
{
"prompt": "A cinematic wide shot of ocean waves at sunset, with gentle camera movement.",
"video_url": "https://example.com/input.mp4"
},
withPolling: true,
});
if (result.status === "completed") {
console.log(result.video?.url);
}
#Input schema
prompt string required
Write your prompt here
Minimum characters: 1.
duration integer (default: 5)
Requested output duration in seconds.
Minimum: 4.
Maximum: 30.
video_url string required
Public URL of the source video.
Format: uri.
audio_urls array
Ordered public audio reference URLs.
Minimum items: 1.
Maximum items: 10.
Each item: string. Format: uri.
image_urls array
Ordered public image reference URLs.
Minimum items: 1.
Maximum items: 30.
Each item: string. Format: uri.
resolution string (default: 720p)
Output resolution tier.
Allowed values: "480p", "720p", "1080p".
video_urls array
Ordered public video reference URLs.
Minimum items: 1.
Maximum items: 10.
Each item: string. Format: uri.
bitrate_mode string (default: high)
Allowed values: "standard", "high".
generate_audio boolean (default: true)
Generate audio with the video.
Complete JSON schema
{
"type": "object",
"required": [
"prompt",
"video_url"
],
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"description": "Write your prompt here"
},
"duration": {
"type": "integer",
"default": 5,
"maximum": 30,
"minimum": 4
},
"video_url": {
"type": "string",
"format": "uri"
},
"audio_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 10,
"minItems": 1
},
"image_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 30,
"minItems": 1
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"default": "720p"
},
"video_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 10,
"minItems": 1
},
"bitrate_mode": {
"enum": [
"standard",
"high"
],
"type": "string",
"default": "high"
},
"generate_audio": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}
#Response
Submission returns a request handle. Poll status_url until status is completed, or use webhooks.
{
"status": "queued",
"request_id": "REQUEST_ID",
"status_url": "https://api.higgsfield.ai/requests/REQUEST_ID/status",
"cancel_url": "https://api.higgsfield.ai/requests/REQUEST_ID/cancel"
}
A completed response includes the following output fields:
{
"status": "completed",
"request_id": "REQUEST_ID",
"video": {
"url": "https://example.com/output.mp4"
}
}
See idempotent requests, polling, request errors and authentication for shared request handling.