Seedance 2.5
Seedance 2.5 Reference to Video generates videos from images, videos, or audio inputs with customizable duration, resolution, aspect ratio, and output format. It supports image-to-video and video-to-video transformations, allowing creative control through prompts and audio integration.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "bytedance/seedance-2.5/reference-to-video", { input: { "draft": false, "duration": 5, "resolution": "720p", "aspect_ratio": "16:9", "bitrate_mode": "high", "generate_audio": true }, withPolling: true, },); console.log(result);Calling the API
Use bytedance/seedance-2.5/reference-to-video with the Higgsfield API. Keep credentials on your server.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "bytedance/seedance-2.5/reference-to-video", { input: { "draft": false, "duration": 5, "resolution": "720p", "aspect_ratio": "16:9", "bitrate_mode": "high", "generate_audio": true }, withPolling: true, },); console.log(result);Request parameters
promptstring · optional
Write your prompt here
{
"type": "string",
"minLength": 1,
"description": "Write your prompt here"
}draftboolean · optional
Generate a 480p MP4 draft with standard bitrate for later finalization.
Default: false
{
"type": "boolean",
"default": false,
"description": "Generate a 480p MP4 draft with standard bitrate for later finalization."
}durationinteger · optional
duration
Default: 5
{
"type": "integer",
"default": 5,
"maximum": 30,
"minimum": 4
}audio_urlsarray · optional
audio urls
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 10,
"minItems": 1
}image_urlsarray · optional
image urls
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 30,
"minItems": 1
}resolutionstring · optional
resolution
Options: 480p, 720p, 1080p
Default: "720p"
{
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"default": "720p"
}video_urlsarray · optional
video urls
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 10,
"minItems": 1
}aspect_ratiostring · optional
aspect ratio
Options: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9
Default: "16:9"
{
"enum": [
"16:9",
"4:3",
"1:1",
"3:4",
"9:16",
"21:9"
],
"type": "string",
"default": "16:9"
}bitrate_modestring · optional
bitrate mode
Options: standard, high
Default: "high"
{
"enum": [
"standard",
"high"
],
"type": "string",
"default": "high"
}generate_audioboolean · optional
generate audio
Default: true
{
"type": "boolean",
"default": true
}Price
Standard self-serve rates in USD per second of generated video. - Without video input: 480p: $0.1177; 720p: $0.2647; 1080p: $0.6518. - With video input: 480p: $0.1387; 720p: $0.3264; 1080p: $0.7858. Total price = selected rate × output duration in seconds. Input video duration is not added to the billed duration. Image or audio references alone use the rate without video input.
View all pricing