curl --location --request POST 'https://router.shengsuanyun.com/api/v1/tasks/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "eleven_multilingual_v2",
"prompt": "Hello, this is a test of the text to speech system.",
"voice": {
"type": "runway-preset",
"presetId": "Clyde"
}
}'{
"code": "success",
"message": "",
"data": {
"request_id": "string",
"task_id": "string",
"action": "TEXT_TO_SPEECH",
"status": "SUBMITTING",
"fail_reason": "string",
"submit_time": 0,
"start_time": 0,
"finish_time": 0,
"progress": "85%",
"data": {
"audio_urls": [
"http://example.com"
],
"progress": 0
}
}
}