For model details and recommendations, see Speech synthesis.
Sambert is available only in the China (Beijing) region.
Model Studio has released a workspace-specific domain for the China (Beijing) region: https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com. The new dedicated domain delivers superior performance and higher stability for inference requests. We recommend migrating from https://dashscope.aliyuncs.com to the new domain.
{WorkspaceId} is your workspace ID, which can be found on the Workspace Details page in the Model Studio console. The existing domain remains fully functional.
run-task
Description: Starts a speech synthesis task and sends the text to synthesize in a single request.
When to send: Send this event immediately after establishing the WebSocket connection.
Response event: The server returns a task-started event.
Sambert doesn't support streaming input or the continue-task and finish-task events. Send the full text in the input.text field of the run-task event.
|
header |
|
|
payload |