Skip to main content
POST
Generate Voice Candidates

Autorisations

x-api-key
string
header
requis

API key for authentication. Passed via the x-api-key header.

Corps

application/json
prompt
string
requis

The voice description, up to 500 characters. Must contain actual text, not only spaces.

Required string length: 1 - 500
language
enum<string>
requis

Language the voice will speak. Shapes the accent and the delivery.

Options disponibles:
en,
fr,
es,
pt,
de
n_samples
integer
défaut:1

Number of candidate voices to sample from the description. All candidates in one request are variations on the same character.

Plage requise: 1 <= x <= 5
json_config
VoiceGeneratorConfig · object | null

Advanced sampling options for voice generation. The defaults are tuned, so send only the keys you need.

Réponse

Successful Response

embeddings
GeneratedEmbedding · object[]
requis