For the complete documentation index, see llms.txt. This page is also available as Markdown.

Text-To-Speech

Converts text into speech using a voice of your choice and returns audio.

The API responds with the synthesized speech audio file.

POST https://api.autogon.ai/api/v1/services/voice-cloning/tts/

Headers

Name
Type
Description

Content-Type*

String

application/json

Request Body

Name
Type
Description

text*

String

The text that will get converted into speech.

voice_id*

String

Unique voice ID to be used, can be gotten from Get voices endpoint.

{
    "success": true,
    "audio_url": "https://demo-voice.mp3"
}
{
    "error": "An error occured, wrong voice ID"
}

Last updated