Models › doubao-seed-tts-2-0

doubao-seed-tts-2-0 API

doubao-seed-tts-2-0 is a speech model from Volcengine, available on OneFast API behind the same API key as every other model in the catalog.

Pricing

UsagePrice (USD)
Input$44.7762 / 1M tokens
Output$44.7762 / 1M tokens

Billed per 1M tokens, pay as you go in USD. Failed requests are not billed. The price shown is the public list price; after signing in, the console shows the price for your own account.

Model details

Model IDdoubao-seed-tts-2-0
ProviderVolcengine
TypeAudio

Endpoints

  • POST /v1/audio/speech — Text-to-speech (docs)

Quickstart

Create an API key in the console, then call the API:

curl https://api.onefast.ai/v1/audio/speech \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seed-tts-2-0",
    "input": "Hello, and welcome to our service.",
    "response_format": "mp3"
  }' --output speech.mp3

More examples: Text-to-speech docs · Quickstart.