Preview persona audio
curl --request POST \
--url https://app.egma.ai/v1/persona-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"models": {
"llm": {
"provider": "<string>",
"model": "<string>"
},
"stt": {
"provider": "<string>",
"model": "<string>"
},
"tts": {
"provider": "<string>",
"model": "<string>",
"voiceId": "<string>",
"speed": 123
}
},
"controls": {
"language": "<string>",
"accent": "<string>",
"speechVolume": 1,
"backgroundVolume": 0.13351878753778457
}
}
'{
"audioBase64": "<string>",
"contentType": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"interruptionNotice": "<string>",
"voiceAccessProof": "<string>"
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Personas
Preview persona audio
Generate one short sample with the same capability and speech-rendering path used by voice simulations. This does not create a test or run.
POST
/
v1
/
persona-preview
Preview persona audio
curl --request POST \
--url https://app.egma.ai/v1/persona-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"models": {
"llm": {
"provider": "<string>",
"model": "<string>"
},
"stt": {
"provider": "<string>",
"model": "<string>"
},
"tts": {
"provider": "<string>",
"model": "<string>",
"voiceId": "<string>",
"speed": 123
}
},
"controls": {
"language": "<string>",
"accent": "<string>",
"speechVolume": 1,
"backgroundVolume": 0.13351878753778457
}
}
'{
"audioBase64": "<string>",
"contentType": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"interruptionNotice": "<string>",
"voiceAccessProof": "<string>"
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
bearerAuthsessionCookie
An Egma API key.
Body
application/json
The complete language, speech recognition, and speech synthesis selections. Read /v1/persona-form for available choices and recommendations.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Minimum string length:
1A prior short-lived proof for an existing provider voice ID.