AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationPixVerse

PixVerse Create custom voice

Create a custom TTS voice from uploaded audio.

POST/openapi/v2/video/tts_speaker

Authorization

bearerAuth
AuthorizationBearer <token>

Use a platform API key in the format Authorization: Bearer your-api-key.

In: header

Header Parameters

Ai-trace-id?string

Optional unique trace value; generated by the platform if omitted. Not an idempotency key.

Accept-Language?string

Optional language preference for resource APIs.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

Use the returned result

First upload audio to obtain an audio media ID belonging to this account, then provide audio_media_id and a unique voice name. After success, save Resp.speaker_id for the text-and-voice mode of Lip-sync video.

PixVerse create custom voice — official documentationView the corresponding upstream protocol definition.