属性
参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| 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 single-speaker delivery direction (emotion, pace, tone). Not spoken aloud. Max 8,192 characters, counted together with text. | string | 否 | - |
| text | Verbatim transcript for single-speaker synthesis. Required in single-speaker mode. Do not include stage directions here. Inline vocal events use angle brackets. Together with style, the request must stay within 8,192 characters. | 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. Max 256 characters. | string | 否 | - |
| speakers | Required for two-speaker synthesis. Exactly two speakers. Omit this field for single-speaker calls. | object[] | 否 | - |
| turns | Required for two-speaker synthesis. One object per spoken turn, in order. Each speaker must match a name in speakers, case-sensitively. All turns produce one WAV file. The sum of all turn text and trimmed style must stay within 8,192 Unicode characters. | object[] | 否 | - |
价格
输入图片($/img): 0.0000
输入视频($/sec): 0.0000
单位: $/M chars
| 价格 |
|---|
| $20.0000/M chars |
