tencent cloud

Obtaining the Voice Training Text
Last updated: 2024-07-18 18:02:52
Obtaining the Voice Training Text
Last updated: 2024-07-18 18:02:52

API Description

Call this API to obtain the document content that needs to be read aloud. Then, read this text to create an audio file, which will be used as the voice production material.

Calling Protocol

HTTPS + JSON
POST /v2/ivh/assetmanager/zeroshotservice/gettext
Header Content-Type: application/json;charset=utf-8

Request Parameters

No

Response Parameter

Parameters
Type
Mandatory
Description
Texts
Array of [Text]
Yes
Selectable Text List
Text
Parameters
Type
Mandatory
Description
TextId
string
Yes
Text ID
Text
string
Yes
Text

Response Sample

{ "Header": { "Code": 0, "DialogID": "", "Message": "", "RequestID": "123" }, "Payload": { "Texts": [ { "TextId": "ec28499a-cf6d-4f7b-b7fa-4a5a54662b38", "Text": "Among the more than 300 products with discounts, meat snacks make up a larger proportion" } ] } }

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback