Seedance 1.5 Pro (Discontinued)
Discontinued: Seedance 1.5 Pro is no longer available for new generation tasks.
Overview
Seedance 1.5 Pro is a high-quality video generation model that supports both text-to-video and image-to-video generation. This model features precise audio-visual synchronization and film-grade camera work, with support for audio generation.
Test API KEY: key_00000000000000000000000000000000Endpoints
1. Create Task
Request
POST https://api.pixwithapi.online/api/task/createHeaders
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | Yes |
| Api-Key | {API_KEY} | Yes |
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | The input prompt (e.g., “A cat walking in the garden”) |
| image_urls | array | Conditional | [“https://cdn.pixwithapi.online/xxx.jpg ”]. Provide 1 image for image-to-video mode. |
| model_id | string | Yes | 2-38 |
| options | object | Yes | Configuration options for the task |
| options.prompt_optimization | boolean | Yes | If true, all prompt words will be automatically translated into English. |
| options.aspect_ratio | string | Yes | Aspect ratio of the output. Valid values: '16:9', '4:3', '1:1', '3:4', '9:16', '21:9'. Default: '16:9'. |
| options.resolution | string | Yes | Resolution of the output. Valid values: '480p', '720p'. Default: '480p'. |
| options.duration | int | Yes | Duration in seconds. Valid values: 4, 8, 12. Default: 4. |
| options.sound | boolean | Yes | If true, audio will be generated for the video. Default: false. |
Example Request - Text-to-Video
{
"prompt": "A cat walking in the garden",
"model_id": "2-38",
"options": {
"prompt_optimization": true,
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8,
"sound": false
}
}Example Request - Image-to-Video
{
"prompt": "The cat in the image starts walking gracefully",
"image_urls": [
"https://cdn.pixwithapi.online/images/example_cat.jpeg"
],
"model_id": "3-38",
"options": {
"prompt_optimization": true,
"aspect_ratio": "16:9",
"resolution": "480p",
"duration": 12,
"sound": true
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | 1=success, 0=error |
| message | string | Success and failure messages |
| data | object | |
| data.task_id | string | |
| data.estimated_time | int | Estimated time in seconds (base: 120s, 8s duration: ~156s, 12s duration: ~180s) |
Response
{
"code": 1,
"message": "success",
"data": {
"task_id": "d425ab4dc256f0ebaa84862b9cea8a3d",
"estimated_time": 120
}
}Last updated on