Discussions
Getting 401 Unauthorized
2 days ago by shsgamidov
Hello, I'm getting a 401 error when trying to generate a test video using the api using endpoint POST https://api.d-id.com/talks. I try it right in the example on the page.
curl --request POST
--url https://api.d-id.com/talks
--header 'accept: application/json'
--header 'authorization: Bearer '
--header 'content-type: application/json'
--data '
{
"source_url": "https://d-id-public-bucket.s3.us-west-2.amazonaws.com/alice.jpg",
"script": {
"type": "text",
"subtitles": "false",
"provider": {
"type": "microsoft",
"voice_id": "Sara"
},
"input": "Making videos is easy with D-ID",
"ssml": "false"
},
"config": {
"fluent": "false"
}
}
'
I take directly from the page https://studio.d-id.com/account-settings. what could be the problem?