curl --request POST \
--url https://api.upmore.net/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "doubao-seedance-2-0",
"content": [
{
"type": "text",
"text": "A cat playing piano in a sunlit room, cinematic lighting"
}
],
"generate_audio": true,
"resolution": "720p",
"ratio": "adaptive",
"duration": 5,
"tools": [
{
"type": "web_search"
}
],
"watermark": false
}
'import requests
url = "https://api.upmore.net/v1/video/generations"
payload = {
"model": "doubao-seedance-2-0",
"content": [
{
"type": "text",
"text": "A cat playing piano in a sunlit room, cinematic lighting"
}
],
"generate_audio": True,
"resolution": "720p",
"ratio": "adaptive",
"duration": 5,
"tools": [{ "type": "web_search" }],
"watermark": False
}
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: 'doubao-seedance-2-0',
content: [
{type: 'text', text: 'A cat playing piano in a sunlit room, cinematic lighting'}
],
generate_audio: true,
resolution: '720p',
ratio: 'adaptive',
duration: 5,
tools: [{type: 'web_search'}],
watermark: false
})
};
fetch('https://api.upmore.net/v1/video/generations', 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.upmore.net/v1/video/generations",
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' => 'doubao-seedance-2-0',
'content' => [
[
'type' => 'text',
'text' => 'A cat playing piano in a sunlit room, cinematic lighting'
]
],
'generate_audio' => true,
'resolution' => '720p',
'ratio' => 'adaptive',
'duration' => 5,
'tools' => [
[
'type' => 'web_search'
]
],
'watermark' => false
]),
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.upmore.net/v1/video/generations"
payload := strings.NewReader("{\n \"model\": \"doubao-seedance-2-0\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A cat playing piano in a sunlit room, cinematic lighting\"\n }\n ],\n \"generate_audio\": true,\n \"resolution\": \"720p\",\n \"ratio\": \"adaptive\",\n \"duration\": 5,\n \"tools\": [\n {\n \"type\": \"web_search\"\n }\n ],\n \"watermark\": false\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.upmore.net/v1/video/generations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"doubao-seedance-2-0\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A cat playing piano in a sunlit room, cinematic lighting\"\n }\n ],\n \"generate_audio\": true,\n \"resolution\": \"720p\",\n \"ratio\": \"adaptive\",\n \"duration\": 5,\n \"tools\": [\n {\n \"type\": \"web_search\"\n }\n ],\n \"watermark\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upmore.net/v1/video/generations")
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\": \"doubao-seedance-2-0\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A cat playing piano in a sunlit room, cinematic lighting\"\n }\n ],\n \"generate_audio\": true,\n \"resolution\": \"720p\",\n \"ratio\": \"adaptive\",\n \"duration\": 5,\n \"tools\": [\n {\n \"type\": \"web_search\"\n }\n ],\n \"watermark\": false\n}"
response = http.request(request)
puts response.read_body{
"task_id": "asyntask_h81efT0qwtLnzyt6VENmCZ6VXSfNxE2E"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Create video task
Creates an async video generation task. Poll the task query endpoint for the result; generation typically takes 1–5 minutes.
curl --request POST \
--url https://api.upmore.net/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "doubao-seedance-2-0",
"content": [
{
"type": "text",
"text": "A cat playing piano in a sunlit room, cinematic lighting"
}
],
"generate_audio": true,
"resolution": "720p",
"ratio": "adaptive",
"duration": 5,
"tools": [
{
"type": "web_search"
}
],
"watermark": false
}
'import requests
url = "https://api.upmore.net/v1/video/generations"
payload = {
"model": "doubao-seedance-2-0",
"content": [
{
"type": "text",
"text": "A cat playing piano in a sunlit room, cinematic lighting"
}
],
"generate_audio": True,
"resolution": "720p",
"ratio": "adaptive",
"duration": 5,
"tools": [{ "type": "web_search" }],
"watermark": False
}
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: 'doubao-seedance-2-0',
content: [
{type: 'text', text: 'A cat playing piano in a sunlit room, cinematic lighting'}
],
generate_audio: true,
resolution: '720p',
ratio: 'adaptive',
duration: 5,
tools: [{type: 'web_search'}],
watermark: false
})
};
fetch('https://api.upmore.net/v1/video/generations', 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.upmore.net/v1/video/generations",
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' => 'doubao-seedance-2-0',
'content' => [
[
'type' => 'text',
'text' => 'A cat playing piano in a sunlit room, cinematic lighting'
]
],
'generate_audio' => true,
'resolution' => '720p',
'ratio' => 'adaptive',
'duration' => 5,
'tools' => [
[
'type' => 'web_search'
]
],
'watermark' => false
]),
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.upmore.net/v1/video/generations"
payload := strings.NewReader("{\n \"model\": \"doubao-seedance-2-0\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A cat playing piano in a sunlit room, cinematic lighting\"\n }\n ],\n \"generate_audio\": true,\n \"resolution\": \"720p\",\n \"ratio\": \"adaptive\",\n \"duration\": 5,\n \"tools\": [\n {\n \"type\": \"web_search\"\n }\n ],\n \"watermark\": false\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.upmore.net/v1/video/generations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"doubao-seedance-2-0\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A cat playing piano in a sunlit room, cinematic lighting\"\n }\n ],\n \"generate_audio\": true,\n \"resolution\": \"720p\",\n \"ratio\": \"adaptive\",\n \"duration\": 5,\n \"tools\": [\n {\n \"type\": \"web_search\"\n }\n ],\n \"watermark\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upmore.net/v1/video/generations")
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\": \"doubao-seedance-2-0\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"A cat playing piano in a sunlit room, cinematic lighting\"\n }\n ],\n \"generate_audio\": true,\n \"resolution\": \"720p\",\n \"ratio\": \"adaptive\",\n \"duration\": 5,\n \"tools\": [\n {\n \"type\": \"web_search\"\n }\n ],\n \"watermark\": false\n}"
response = http.request(request)
puts response.read_body{
"task_id": "asyntask_h81efT0qwtLnzyt6VENmCZ6VXSfNxE2E"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The video generation model to use.
doubao-seedance-2-0, doubao-seedance-2-0-fast, doubao-seedance-2-0-mini "doubao-seedance-2-0"
Input content items. Text-to-video uses a single text item; add image_url / video_url / audio_url items for image-to-video, multimodal reference, video editing, or extension. First-frame, first+last-frame, and multimodal-reference modes are mutually exclusive.
Show child attributes
Show child attributes
[
{
"type": "text",
"text": "A cat playing piano in a sunlit room, cinematic lighting"
}
]Generate synchronized voice, sound effects, and background music.
Output resolution.
480p, 720p, 1080p Output aspect ratio.
16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive Video duration in seconds.
4 <= x <= 15Enable web-search-enhanced generation (text-to-video only).
Show child attributes
Show child attributes
Add a watermark to the output video.
Response
Task created
Platform task ID; pass it to the task query endpoint.
"asyntask_h81efT0qwtLnzyt6VENmCZ6VXSfNxE2E"