Discussions

Ask a Question
Back to All

504 Gateway Error on posting to /talks

I got the following error(504): {"message": "Endpoint request timed out"}

This is the endpoint.

endpoint = "https://api.d-id.com/talks"

This is my payload.

payload = {
"script": {
"type": "text",
"subtitles": "false",
"provider": {
"type": "elevenlabs",
"voice_id": voide_id,
"model_id": "eleven_multilingual_v2"
},
"ssml": "false",
"input": text
},
"config": {
"fluent": "false",
"pad_audio": "0.0"
},
"source_url": "https://...jpeg",
}