Skip to main content
POST
GLM Voice Clone
Uses voice cloning technology to synthesize speech with a specified voice timbre and text content based on a sample audio.

Request Headers

string
required
Enum: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
Text content of the sample audio (optional).
string
required
Target text content for the generated preview audio.
string
required
URL of the sample audio. File size must not exceed 10MB. Recommended audio duration is between 3 and 30 seconds.
string
required
A unique voice name identifier.

Response

string
Voice timbre identifier.
string
URL of the generated preview audio file.