- Introduction
- Quick Start Guide
- Make a request
- Chat Models
- ChatGpt
- ChatGPT (Audio)
- ChatGPT (Chat)
- Chat completion object
- Create chat completion (streaming)
- Create chat completion (non-streaming)
- Create chat image recognition (streaming)
- Create chat image recognition (streaming) base64
- Create chat image recognition (non-streaming)
- Function calling
- N choices
- Create chat function call (only non-streaming)
- Create structured output
- ChatGPT (Completions)
- ChatGPT(Embeddings)
- Anthropic Claude
- Gemini
- Image Models
- GPT-IMAGE-1
- MJ
- Ideogram
- Kling Image
- Flux
- Recraft API
- Models use Dall-e Format
- DALL·E 3POST
- Video Models
- Kling Video
- Runway ML Video
- Luma Video
- Pika Video
- Google Veo
- Minimax - Hailuo
- Seedance
- Music Model - Suno
- Illustrate
- Parameter
- Task submission
- Query interface
- Python Samples
- python openai official library (using AutoGPT, langchain, etc.)
- Python uses speech to text
- Python uses text to speech
- Python uses Embeddings
- python calls DALL·E
- python simple call openai function-calling demo
- python langchain
- python llama_index
- Python uses gpt-4o to identify pictures-local pictures
- python library streaming output
- Python uses gpt-4o to identify images
- Plug-in/software usage tutorials
- Help Center
- Tutorials
Submit Video Request
POST
/seedance/generations
Request
Body Params application/json
model
string
required
content
array [object {3}]
required
type
string
required
text
string
optional
Add Params by:
--duration:
Select 5 or 10
--resolution:
Select 480p or 1080p
--ratio
Select:
21:9
16:9
4:3
1:1
3:4
9:16
9:21
keep_ratio: The aspect ratio of the generated video is consistent with the aspect ratio of the uploaded image.
adaptive: Automatically select the most appropriate aspect ratio based on the ratio of the uploaded image.
-- camerafixed
Whether to fix the camera. Enumeration value:
true: Fixed camera. The platform will add the fixed camera in the user prompt, but the actual effect is not guaranteed.
false: Not fixed camera.
image_url
object
optional
Example
{
"model": "doubao-seedance-1-0-pro-250528",
"content": [
{
"type": "text",
"text": "A 20-year-old girl, with an oval face, delicate features, long black hair, fair skin, and ambient light, wearing a short white skirt, sitting on a bench beside the street, smiling and shaking her hair --resolution 480p --duration 5"
},
{
"type": "image_url",
"image_url": {
"url": "https://p2.a.kwimgs.com/bs2/upload-ylab-stunt/ai_portal/1731125871/6N0QrAnAeU/409-f054fa25c21a.png"
}
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/seedance/generations' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-1-0-pro-250528",
"content": [
{
"type": "text",
"text": "A 20-year-old girl, with an oval face, delicate features, long black hair, fair skin, and ambient light, wearing a short white skirt, sitting on a bench beside the street, smiling and shaking her hair --resolution 480p --duration 5"
},
{
"type": "image_url",
"image_url": {
"url": "https://p2.a.kwimgs.com/bs2/upload-ylab-stunt/ai_portal/1731125871/6N0QrAnAeU/409-f054fa25c21a.png"
}
}
]
}'
Responses
🟢200OK
application/json
Body
id
string
required
message
string
required
Example
{
"id": "cgt-20250702113430-gvkhb",
"message": "YEScale - Seedance Video Generation - Submit"
}
Modified at 2025-07-02 05:20:09