Image to Video
curl --request POST \
--url https://api.modelhunter.ai/api/v1/seedance/image-to-video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"input": {
"image": "<string>",
"last_image": "<string>",
"reference_images": [
"<string>"
],
"prompt": "<string>",
"duration": 123,
"resolution": "<string>",
"ratio": "<string>",
"seed": 123,
"camera_fixed": true,
"watermark": true,
"generate_audio": true,
"return_last_frame": true
},
"webhookUrl": "<string>",
"metadata": {}
}
'import requests
url = "https://api.modelhunter.ai/api/v1/seedance/image-to-video"
payload = {
"model": "<string>",
"input": {
"image": "<string>",
"last_image": "<string>",
"reference_images": ["<string>"],
"prompt": "<string>",
"duration": 123,
"resolution": "<string>",
"ratio": "<string>",
"seed": 123,
"camera_fixed": True,
"watermark": True,
"generate_audio": True,
"return_last_frame": True
},
"webhookUrl": "<string>",
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: '<string>',
input: {
image: '<string>',
last_image: '<string>',
reference_images: ['<string>'],
prompt: '<string>',
duration: 123,
resolution: '<string>',
ratio: '<string>',
seed: 123,
camera_fixed: true,
watermark: true,
generate_audio: true,
return_last_frame: true
},
webhookUrl: '<string>',
metadata: {}
})
};
fetch('https://api.modelhunter.ai/api/v1/seedance/image-to-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.modelhunter.ai/api/v1/seedance/image-to-video",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => '<string>',
'input' => [
'image' => '<string>',
'last_image' => '<string>',
'reference_images' => [
'<string>'
],
'prompt' => '<string>',
'duration' => 123,
'resolution' => '<string>',
'ratio' => '<string>',
'seed' => 123,
'camera_fixed' => true,
'watermark' => true,
'generate_audio' => true,
'return_last_frame' => true
],
'webhookUrl' => '<string>',
'metadata' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.modelhunter.ai/api/v1/seedance/image-to-video"
payload := strings.NewReader("{\n \"model\": \"<string>\",\n \"input\": {\n \"image\": \"<string>\",\n \"last_image\": \"<string>\",\n \"reference_images\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"ratio\": \"<string>\",\n \"seed\": 123,\n \"camera_fixed\": true,\n \"watermark\": true,\n \"generate_audio\": true,\n \"return_last_frame\": true\n },\n \"webhookUrl\": \"<string>\",\n \"metadata\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.modelhunter.ai/api/v1/seedance/image-to-video")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"<string>\",\n \"input\": {\n \"image\": \"<string>\",\n \"last_image\": \"<string>\",\n \"reference_images\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"ratio\": \"<string>\",\n \"seed\": 123,\n \"camera_fixed\": true,\n \"watermark\": true,\n \"generate_audio\": true,\n \"return_last_frame\": true\n },\n \"webhookUrl\": \"<string>\",\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.modelhunter.ai/api/v1/seedance/image-to-video")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"<string>\",\n \"input\": {\n \"image\": \"<string>\",\n \"last_image\": \"<string>\",\n \"reference_images\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"ratio\": \"<string>\",\n \"seed\": 123,\n \"camera_fixed\": true,\n \"watermark\": true,\n \"generate_audio\": true,\n \"return_last_frame\": true\n },\n \"webhookUrl\": \"<string>\",\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "task_abc123",
"status": "pending",
"type": "image-to-video",
"provider": "seedance",
"model": "seedance-1-0-pro",
"created_at": "2026-01-15T10:00:00Z",
"estimated_seconds": 40
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}
Seedance
Image to Video
Animate an image into a video using ByteDance Seedance models via Volcengine Ark. Supports first frame, first+last frame, and reference image modes.
POST
/
api
/
v1
/
seedance
/
image-to-video
Image to Video
curl --request POST \
--url https://api.modelhunter.ai/api/v1/seedance/image-to-video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"input": {
"image": "<string>",
"last_image": "<string>",
"reference_images": [
"<string>"
],
"prompt": "<string>",
"duration": 123,
"resolution": "<string>",
"ratio": "<string>",
"seed": 123,
"camera_fixed": true,
"watermark": true,
"generate_audio": true,
"return_last_frame": true
},
"webhookUrl": "<string>",
"metadata": {}
}
'import requests
url = "https://api.modelhunter.ai/api/v1/seedance/image-to-video"
payload = {
"model": "<string>",
"input": {
"image": "<string>",
"last_image": "<string>",
"reference_images": ["<string>"],
"prompt": "<string>",
"duration": 123,
"resolution": "<string>",
"ratio": "<string>",
"seed": 123,
"camera_fixed": True,
"watermark": True,
"generate_audio": True,
"return_last_frame": True
},
"webhookUrl": "<string>",
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: '<string>',
input: {
image: '<string>',
last_image: '<string>',
reference_images: ['<string>'],
prompt: '<string>',
duration: 123,
resolution: '<string>',
ratio: '<string>',
seed: 123,
camera_fixed: true,
watermark: true,
generate_audio: true,
return_last_frame: true
},
webhookUrl: '<string>',
metadata: {}
})
};
fetch('https://api.modelhunter.ai/api/v1/seedance/image-to-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.modelhunter.ai/api/v1/seedance/image-to-video",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => '<string>',
'input' => [
'image' => '<string>',
'last_image' => '<string>',
'reference_images' => [
'<string>'
],
'prompt' => '<string>',
'duration' => 123,
'resolution' => '<string>',
'ratio' => '<string>',
'seed' => 123,
'camera_fixed' => true,
'watermark' => true,
'generate_audio' => true,
'return_last_frame' => true
],
'webhookUrl' => '<string>',
'metadata' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.modelhunter.ai/api/v1/seedance/image-to-video"
payload := strings.NewReader("{\n \"model\": \"<string>\",\n \"input\": {\n \"image\": \"<string>\",\n \"last_image\": \"<string>\",\n \"reference_images\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"ratio\": \"<string>\",\n \"seed\": 123,\n \"camera_fixed\": true,\n \"watermark\": true,\n \"generate_audio\": true,\n \"return_last_frame\": true\n },\n \"webhookUrl\": \"<string>\",\n \"metadata\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.modelhunter.ai/api/v1/seedance/image-to-video")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"<string>\",\n \"input\": {\n \"image\": \"<string>\",\n \"last_image\": \"<string>\",\n \"reference_images\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"ratio\": \"<string>\",\n \"seed\": 123,\n \"camera_fixed\": true,\n \"watermark\": true,\n \"generate_audio\": true,\n \"return_last_frame\": true\n },\n \"webhookUrl\": \"<string>\",\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.modelhunter.ai/api/v1/seedance/image-to-video")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"<string>\",\n \"input\": {\n \"image\": \"<string>\",\n \"last_image\": \"<string>\",\n \"reference_images\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"ratio\": \"<string>\",\n \"seed\": 123,\n \"camera_fixed\": true,\n \"watermark\": true,\n \"generate_audio\": true,\n \"return_last_frame\": true\n },\n \"webhookUrl\": \"<string>\",\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "task_abc123",
"status": "pending",
"type": "image-to-video",
"provider": "seedance",
"model": "seedance-1-0-pro",
"created_at": "2026-01-15T10:00:00Z",
"estimated_seconds": 40
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}
Body Parameters
Seedance model. Options:
seedance-1-5-pro— Latest flagship, audio-visual generation, $0.012–$0.116/secseedance-1-0-pro— Multi-shot narrative, cinematic quality, $0.024–$0.122/secseedance-1-0-pro-fast— 3x faster (first frame only), $0.010–$0.049/secseedance-1-0-lite-i2v— Lightweight, supports reference images, $0.017–$0.088/sec
Input parameters for the generation.
Show properties
Show properties
First frame image. Accepts a URL or base64-encoded data URI (
data:image/png;base64,...).Image requirements:- Formats: jpeg, png, webp, bmp, tiff, gif (1.5 Pro also supports heic, heif)
- Aspect ratio (width/height): 0.4 to 2.5
- Dimensions: 300px to 6000px per side
- Max size: 30 MB
Last frame image for first+last frame mode. Same format and requirements as
image.Supported models: 1.5 Pro, 1.0 Pro, 1.0 Lite I2V.The first and last frame images can be the same. If aspect ratios differ, the last frame is auto-cropped to match the first.Reference images for reference-image mode (1-4 images). Seedance 1.0 Lite I2V only.Use
[图1], [图2] etc. in the prompt to reference specific images for better results.Text description to guide the video generation. Supports Chinese and English.
Video length in seconds.
- 1.0 series: integer from
2to12 - 1.5 Pro: integer from
4to12
Video resolution. Options:
480p, 720p, 1080pNote: 1.0 Lite I2V reference image mode does not support 1080p.Aspect ratio. Options:
16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptiveDefault is adaptive for I2V (matches first frame). Reference image mode does not support adaptive.Random seed for reproducibility. Range:
-1 to 4294967295. -1 means random.Whether to fix the camera position. Not supported in reference image mode.
Whether to add a watermark to the video.
Seedance 1.5 Pro only. Generate synchronized audio with the video.
Return the last frame of the generated video. Useful for chaining continuous videos.
URL to receive a webhook when the task completes.
Custom key-value metadata to attach to the task.
{
"success": true,
"data": {
"id": "task_abc123",
"status": "pending",
"type": "image-to-video",
"provider": "seedance",
"model": "seedance-1-0-pro",
"created_at": "2026-01-15T10:00:00Z",
"estimated_seconds": 40
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}
⌘I