API ReferenceGeneration
Generate Speech
Generate speech from text using a voice profile.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request model for voice generation.
Response Body
application/json
application/json
curl -X POST "https://example.com/generate" \ -H "Content-Type: application/json" \ -d '{ "profile_id": "string", "text": "string" }'{
"id": "string",
"profile_id": "string",
"text": "string",
"language": "string",
"audio_path": "string",
"duration": 0,
"seed": 0,
"created_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}