Specification Parameters
Interface
- Dual-stream interface protocol
- WebSocket · Suitable for low-latency scenarios such as real-time conversation
- Dual-stream interface address
- wss://openspeech.bytedance.com/api/v3/plan/tts/bidirection · Supports streaming text sending and streaming audio receiving
- Single-stream interface protocol
- WebSocket · Suitable for long-text broadcast
- Single-stream interface address
- wss://openspeech.bytedance.com/api/v3/plan/tts/unidirectional/stream · Send all text at once, receive audio chunks via streaming
- HTTP interface
- HTTP POST https://openspeech.bytedance.com/api/v3/plan/tts/unidirectional · Returns the complete audio at once, suitable for simple scenarios or non-real-time calls
- Authentication parameters
- X-Api-Key(专属 API Key)、X-Api-Resource-Id=seed-tts-2.0 · Official core configuration requirements
System
- Example audio output
- mp3,24000Hz · From example code audio_params, not the official spec sheet
资料下载
Comparison with Similar Products
| Specifications | 本品 · doubao-seed-tts-2.0 | kimi-k3.1-pro | 火山方舟模型 API | qwen-audio-3.1-asr-flash | doubao-seed-2.1-turbo |
|---|---|---|---|---|---|
| Main controller | — | — | — | — | — |
| NPU | — | — | — | — | — |
| Memory / VRAM | — | — | — | — | — |
| Reference unit price | Request a Quote | Request a Quote | Request a Quote | Request a Quote | Request a Quote |
| Inventory | — | — | — | — | — |
Product introduction
Prerequisites: a dedicated API Key from Volcano Ark Agent Plan is required; in the streaming TTS interface, X-Api-Resource-Id is set to seed-tts-2.0.
Interface selection (from the official documentation's interface table):
Bidirectional interface: WebSocket, wss://openspeech.bytedance.com/api/v3/plan/tts/bidirection, supports streaming text input and streaming audio output, suited to low-latency scenarios such as real-time conversation.
Unidirectional interface: WebSocket, wss://openspeech.bytedance.com/api/v3/plan/tts/unidirectional/stream, sends all text at once and receives audio chunks in a stream, suited to long-text narration.
HTTP interface: HTTP POST https://openspeech.bytedance.com/api/v3/plan/tts/unidirectional, returns the complete audio in a single response, suited to simple scenarios or non-real-time invocation.
Parameters and output: the sample code uses speaker in req_params (e.g., zh_female_gaolengyujie_uranus_bigtts, zh_female_vv_uranus_bigtts) and audio_params (format=mp3, sample_rate=24000). The bidirectional example sends text character by character with an interval of 5ms between characters, and can return usage information (requires setting X-Control-Require-Usage-Tokens-Return).
Integration notes: before running the bidirectional or unidirectional examples, you must first obtain the official protocols.py wrapper file; billing follows AFP deduction rules within the plan plus pay-as-you-go for overage, and specific pricing must be checked in the official billing documentation.
The same page also provides the Doubao streaming speech recognition model 2.0 (doubao-seed-asr-2.0, Resource-Id: volc.seedasr.sauc.duration); this record only covers the TTS model.
