Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

voice/tts - 400 Bad Request #1

Open
mupm1 opened this issue Apr 28, 2021 · 0 comments
Open

voice/tts - 400 Bad Request #1

mupm1 opened this issue Apr 28, 2021 · 0 comments

Comments

@mupm1
Copy link

mupm1 commented Apr 28, 2021

400 Bad Request https://api.amerandish.com/v1/voice/tts

{
"synthesisInput": {
"text": "سلام"
},
"voiceConfig": {
"languageCode": "fa",
"voiceId": "b6e9c993-729e-4e0f-955b-f229cf1f77ee",
"name": "speaker-01",
"gender": "female"
},
"audioConfig": {
"audioEncoding": "MP3",
"speakingRate": 1.2,
"pitch": 0.0,
"volumeGainDb": -2,
"sampleRateHertz": 16000
}
}

response -->

{
"status": 400,
"detail": "synthesis output data is not valid.",
"title": "Bad Request",
"type": "HTTPBadRequestError"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant