属性
参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| language_code | Optional BCP-47 language tag in lowercase. Examples: en-us, cmn-cn, ja-jp. The model can also detect the language from the transcript. | string | 否 | - |
| style | Optional delivery direction for single-speaker synthesis. Not spoken aloud. | string | 否 | - |
| text | Verbatim transcript. Required for single-speaker synthesis. | string | 否 | - |
| voice | Required for single-speaker synthesis. Prebuilt voice name, extended voice-library ID, or a designed/replicated voice ID (voice_… or voicekey_…). No spaces. | string | 否 | - |
| speakers | Exactly two speakers for dialogue. Use with turns. | object[] | 否 | - |
| turns | Dialogue turns in order. Each speaker must match a name in speakers, case-sensitively. | object[] | 否 | - |
价格
输入图片($/img): 0.0000
输入视频($/sec): 0.0000
单位: $/M chars
| 价格 |
|---|
| $12.1250/M chars |
