Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/generateTask/seedance-1-5-pro | Создание задачи генерации |
| GET | /api/v1/statusTask/seedance-1-5-pro | Запрос статуса задачи |
Authentication
Все запросы требуют API Key в заголовке:Request Body
Parameters
async (polling) или callback (webhook)
Callback URL, обязателен при request_type=callback (условно)
Стратегия маршрутизации: auto, value или official
Параметры входа модели
text-to-video— Generate video from textimage-to-video— Generate video from image (supports 1-2 images for end frame control)
Example
Text-to-VideoResponse
POST /api/v1/generateTask/seedance-1-5-pro
При успехе возвращает taskId для последующих запросов статуса. Success:GET /api/v1/statusTask/seedance-1-5-pro
Запрос статуса выполнения задачи и результатов по taskId.Status Response Fields
Уникальный идентификатор задачи.
Текущее состояние задачи: pending, processing, success или failed.
JSON-строка с массивом resultUrls. Присутствует только при success. Парсите через JSON.parse().
Код ошибки. Присутствует только при state=failed. См. Error Codes.
Читаемое сообщение об ошибке. Присутствует только при state=failed.
Timestamp создания задачи (Unix миллисекунды).
Timestamp завершения задачи (Unix миллисекунды).
Длительность обработки в миллисекундах.
Error Codes
| Code | Description |
|---|---|
| 400 | Неверные параметры или ошибка запроса |
| 401 | Недействительный или отсутствующий API Key |
| 429 | Превышен лимит запросов |
| Fail Code | Description |
|---|---|
CONTENT_VIOLATION | Контент нарушает правила безопасности |
INVALID_IMAGE_URL | Не удаётся получить доступ к URL изображения |
Rate Limits
| Limit | Value |
|---|---|
| Requests | 10000 / minute |
| Concurrent tasks | 1000 |
Tips
- Generation time:
- 4-second video: ~40-60 seconds
- 8-second video: ~60-90 seconds
- 12-second video: ~90-120 seconds
- Submit task, wait 50 seconds, then poll every 5 seconds
- Callback mode: Video generation takes time, strongly recommend using
callbackmode. - Video expiration: Result URLs are valid for 15 days. Download promptly.
- Content moderation: Prompts must comply with content safety guidelines.
- Audio generation: Seedance 1.5 Pro supports audio generation:
sound: true: Auto-generates matching ambient sounds and background musicsound: false: Generates silent video- Describe sound effects in prompt for better audio (e.g., “ocean waves”, “bird sounds”)
- End frame control:
image-to-videomode supports 2 images:- 1st image: Video start frame
- 2nd image: Video end frame
- Enables precise start/end control, ideal for transitions and scene changes
- Fixed lens:
fixed_lens: true: Camera stays still, ideal for product showcases, close-upsfixed_lens: false: Allows dynamic camera movement (dolly, pan, etc.)
- Resolution selection:
480p: Fast generation, for previews and social media720p: High quality, for most publishing scenarios
- Duration: Supports 4/8/12 second options, billed per second.
- Aspect ratio suggestions:
1:1: Square, for social media (default)16:9: Landscape, for traditional video platforms9:16: Portrait, for short video platforms21:9: Ultra-wide, for cinematic feel
- Prompt tips:
- Describe both visual and audio effects for better synchronization
- Specify camera movement (e.g., “slow dolly in”, “orbiting shot”)
- Describe dynamic elements (e.g., “drifting clouds”, “swaying leaves”)
- Image formats:
image_urlssupports JPG, PNG, WebP, max 10MB per image.