Seedance 2.0 — Image to video API
Image to video with Seedance 2.0: request parameters, examples and response handling.
Endpoint: POST https://api.higgsfield.ai/bytedance/seedance-2.0/image-to-video
Endpoint ID: bytedance/seedance-2.0/image-to-video
#Usage notes
- Use publicly accessible media URLs; asset:// references are rejected for these endpoints.
- The prompt is optional. Output framing follows image_url; end_image_url is the optional last frame.
#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.0/image-to-video \
--header "Authorization: Key ${HF_API_KEY_ID}:${HF_API_KEY_SECRET}" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: ${IDEMPOTENCY_KEY}" \
--data '{
"image_url": "https://example.com/input.jpg"
}'
import higgsfield_client
arguments = (
{'image_url': 'https://example.com/input.jpg'}
)
result = higgsfield_client.subscribe(
"bytedance/seedance-2.0/image-to-video",
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.0/image-to-video", {
input:
{
"image_url": "https://example.com/input.jpg"
},
withPolling: true,
});
if (result.status === "completed") {
console.log(result.video?.url);
}
#Input schema
prompt string
Write your prompt here
Minimum characters: 1.
duration integer (default: 5)
Requested output duration in seconds.
Minimum: 4.
Maximum: 15.
image_url string required
Public URL of the input image.
Format: uri.
resolution string (default: 720p)
Output resolution tier.
Allowed values: "480p", "720p", "1080p", "4k".
end_image_url string
Format: uri.
generate_audio boolean (default: true)
Generate audio with the video.
Complete JSON schema
{
"type": "object",
"required": [
"image_url"
],
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"description": "Write your prompt here"
},
"duration": {
"type": "integer",
"default": 5,
"maximum": 15,
"minimum": 4
},
"image_url": {
"type": "string",
"format": "uri"
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p",
"4k"
],
"type": "string",
"default": "720p"
},
"end_image_url": {
"type": "string",
"format": "uri"
},
"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.