cURL
curl --request POST \ --url https://api.zapperapi.com/{instanceId}/messages/text-to-speech \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "jid": "<string>", "text": "<string>", "voiceId": "<string>" }'
Envia áudio a partir de texto, utilizando a API do ElevenLabs. É necessário cadastrar a API Key da ElevenLabs no endpoint POST /text-to-speech/key
POST /text-to-speech/key
Chave privada da API
Default Response