Doubao TTS 2.0 Powered | Hyper-Realistic Emotion | Multi-Dimension Control | Complex Formula Accuracy
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"text":"Protecting our planet is not just a choice, but a responsibility we all share. Every small action counts: saving water, reducing waste, choosing reusable products, and planting more trees. Let’s care for nature, cut down pollution, and keep our air clean, our rivers clear, and our earth green. Together, we can build a healthier, more sustainable home for ourselves and for future generations.","speaker":"zh_male_shaonianzixin_uranus_bigtts","format":"mp3","sample_rate":"24000","speech_rate":0,"loudness_rate":0,"enable_subtitle":false,"max_length_to_filter_parenthesis":100,"disable_markdown_filter":false,"disable_emoji_filter":false,"enable_latex_tn":false}
Request Code 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'https://www.runninghub.ai/openapi/v2/bytedance/doubao-seed-tts-2.0' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"text": "Protecting our planet is not just a choice, but a responsibility we all share. Every small action counts: saving water, reducing waste, choosing reusable products, and planting more trees. Let’s care for nature, cut down pollution, and keep our air clean, our rivers clear, and our earth green. Together, we can build a healthier, more sustainable home for ourselves and for future generations.",
"speaker": "zh_male_shaonianzixin_uranus_bigtts",
"format": "mp3",
"sample_rate": "24000",
"speech_rate": 0,
"loudness_rate": 0,
"enable_subtitle": false,
"max_length_to_filter_parenthesis": 100,
"disable_markdown_filter": false,
"disable_emoji_filter": false,
"enable_latex_tn": false
}'