tencent cloud

DokumentasiMedia Processing Service

Voice Clone

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-11 20:08:29
Diterjemahkan oleh AI

Feature Introduction

Quickly clone and generate a voice ID based on the reference audio for later use in TTS.

Prerequisites

Before using this feature, you need to complete the following preliminary operations:
Register or log in to a Tencent Cloud account, activate MPS, and complete the service role authorization.
If you use a Tencent Cloud sub-account, ensure the account has sufficient permissions to use MPS.
For detailed guidance, see Getting Started. For account authorization issues, see the Account Authorization document.

Specifying a Voice Replication Engine

MPS voice cloning supports a wide range of engines. Some commonly used engines include:
Engine
Feature
MiniMax
Balanced capabilities with long text support. Suitable for scenarios such as audiobooks, Chinese content factories, and digital human conversations.
Note:
A voice ID cloned with a specified engine can only be used for TTS with that engine.
For a complete list, contact us. Also, provide necessary information such as use cases and usage for evaluation.

Billing Overview

A "voice cloning" fee is charged for each successful task that uses the voice cloning capability. For detailed pricing, see Billing Overview.
Note:
Currently, a "voice cloning" fee is charged whenever a voice cloning task succeeds.
When voice cloning is performed with the MiniMax engine, a temporary voice and a preview audio are generated first, and only a preview fee is charged. The voice is stored and a "voice cloning" fee is charged only after the voice is used for formal TTS within 7 days.

Initiating a Voice Replication Task

Call the Voice Cloning API and pass in the audio to be cloned to achieve fast cloning. You can specify an engine by extending ExtParam. If not specified, MiniMax is used by default.
ExtParam Parameter
Type
Required
Description
engine
String
No
Specifies the engine name and supports minimax and others.
Note:
There is no limit on the duration of the input audio. To improve cloning quality, we recommend keeping the duration between 10 and 20 seconds and ensuring the audio contains only clear speech from a single speaker.
Input example:
{
"AudioData": "UklGRghoAABXQVZFZm10IBAAAAABAAEAgD4AAAB...", // Base64-encoded audio
"AudioLang": "zh",
"VoiceProfile": {
"Name": "my-clone-voice"
},
"Text": "Hello, this is a preview audio for verifying the cloned voice."
"TextLang": "zh",
"ExtParam": "{\\"engine\\":\\"minimax\\"}"
}
Output example:
{
"Response": {
"ErrorCode": 0,
"Msg": "success",
"VoiceId": "v1_jRFTM0hdReIsnPll+lDRCpW6+3Drq0RcmXwUTiCOGUiTuv3aNPOainIwzGPtKXaeLGs=",
"RequestId": "15468f21-9d4a-4958-b652-454d6f7646ea"
}
}

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan