StepFun API
Generates speech audio from the provided text using StepFun Text-to-Speech service
Request Body
application/json
Optionaltext
RequiredstringMinimum length:
1
Maximum length: 1024
voice
stringDesired voice. Either voice_id or timber_weights must be given as part of the parameters. Both system voice ids and cloned voice ids are supported
Default:
"male-qn-qingse"
token
RequiredstringStepFun API key for authentication
Minimum length:
1
volume
numberVolume of the speech
Minimum:
0.1
Maximum: 2
model
stringThe model to be used for the speech
Audio file containing the generated speech