{
"generationId": "<string>",
"voiceId": "<string>",
"text": "<string>",
"finalText": true,
"cancel": true,
"sampleRate": 123
}
{
"type": "<string>",
"generationId": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"error": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"audio": "<string>"
}
Input message for text-to-speech generation
Message sent when text-to-speech generation is complete
Message sent when text-to-speech generation encounters an error
Message sent with audio data chunks during text-to-speech generation
{
"generationId": "<string>",
"voiceId": "<string>",
"text": "<string>",
"finalText": true,
"cancel": true,
"sampleRate": 123
}
{
"type": "<string>",
"generationId": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"error": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"audio": "<string>"
}
{
"generationId": "<string>",
"voiceId": "<string>",
"text": "<string>",
"finalText": true,
"cancel": true,
"sampleRate": 123
}
{
"type": "<string>",
"generationId": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"error": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"audio": "<string>"
}
Input message for text-to-speech generation
Message sent when text-to-speech generation is complete
Message sent when text-to-speech generation encounters an error
Message sent with audio data chunks during text-to-speech generation
{
"generationId": "<string>",
"voiceId": "<string>",
"text": "<string>",
"finalText": true,
"cancel": true,
"sampleRate": 123
}
{
"type": "<string>",
"generationId": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"error": "<string>"
}
{
"type": "<string>",
"generationId": "<string>",
"audio": "<string>"
}