Documentation Index
Fetch the complete documentation index at: https://platform.stepfun.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use this API to retrieve the system default voices available for a given model. The response includes a list of voice IDs and detailed information (name, description, recommended scenarios) for each voice. When exposed to an agent, the agent can use this catalog to pick the most appropriate voice for a given scenario.Request
Method
GET
Endpoint
Query parameters
| Parameter | Type | Required | Allowed values | Description |
|---|---|---|---|---|
| model | string | Yes | step-tts-2 | The model whose system voices to query. Currently only step-tts-2 is supported. |
Request example
Response
Format
JSON
Response fields
| Field | Type | Description |
|---|---|---|
| voices | array[string] | List of system voice IDs available under this model. |
| voices-details | object | Details per voice, keyed by voice ID. |
| voices-details.<id>.voice-name | string | Voice display name. May be empty for some voices. |
| voices-details.<id>.voice-description | string | Voice description, including gender and character. |
| voices-details.<id>.recommended_scene | string | Recommended use cases, separated by 、. |
Response example
voice-name, voice-description, and recommended_scene are returned in Chinese as-is from the service. Use the voice ID (the key under voices-details) when calling the TTS API.Notes
- Each ID in
voiceshas a matching entry invoices-details; use the voice ID to look up its details. recommended_sceneis informational only — pick the voice that best fits your use case.