generate
Generate speech synchronously from text and return audio ID, duration, and WAV file path. Use submit_generation for long-running tasks.
Instructions
同步生成,长耗时优先使用 submit_generation。完整生成语音,返回 id、duration 和音频位置。path 为本机 WAV 文件的绝对路径
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 需要朗读的正文 | |
| settings | No | 声音参数,与 HTTP API 同名,例如 modelId、voiceId、voxMode、voiceDescription、speaker、referenceText、seed、modelOptions |