tencent cloud

Feedback

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" } ] } }
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support