v1

latestOpenAPI 3.0.32026-07-241112213.6 KB

New Endpoint

This is your first endpoint! Edit this page to start documenting your API.

post/v1/voice/text2voice/task/submit

Headers

Topview-Uidstring required
Authorizationstring required

Request body

voiceIdstring required

voiceId. Get it from interface Voice Query

voiceTextstring

voiceText can use the<break time=\ "1.0s "/>tag to specify how long to pause at the break location (0.1-99.9, up to one decimal place). </br>

Example: welcome to <break time=\ "1.0s "/> topview.When reading "to", there will be a pause of 1 seconds, and then continue reading "topview".

voiceSpeednumber required

voiceSpeed. If it is empty, default 1. The effective range is [0.8 ~ 1.2]

emotionName'happy' | 'neutral' | 'surprised' | 'angry' | 'sad' | 'fearful' | 'disgusted'
noticeUrlstring

NoticeUrl. Please refer to the API documentation for details NoticeUrl

boardIdstring

Board ID (optional). If provided, the task will be associated with this board.

Response

codestring required

Response code

messagestring

Response message