Skip to main content
POST
/
v1
/
audio
/
speech
curl https://www.qingbo.dev/v1/audio/speech \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1",
    "voice": "nova",
    "input": "欢迎使用 清波 API 文字转语音服务。"
  }' \
  --output output.mp3

Documentation Index

Fetch the complete documentation index at: https://docs.qingbo.dev/llms.txt

Use this file to discover all available pages before exploring further.

Synchronous endpoint — returns the audio stream directly when the request completes.
curl https://www.qingbo.dev/v1/audio/speech \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1",
    "voice": "nova",
    "input": "欢迎使用 清波 API 文字转语音服务。"
  }' \
  --output output.mp3

Available Models

Model IDDescription
tts-1Standard quality, low latency
tts-1-hdHigh-definition quality

Request Parameters

model
string
required
Model ID: tts-1, tts-1-hd
input
string
required
The text to convert.
voice
string
default:"alloy"
Voice: alloy, echo, fable, onyx, nova, shimmer

Response

Returns an audio file stream (MP3 format) — save it directly to a file.