Discussions

Ask a Question
Back to All

Error upload image with API

Hi. I got error :

400 bad request
{
"kind": "BadRequestError",
"description": "exactly one of image or source_url is required"
}

when trying upload image with api.

I use raw json format for send body POST request from postman service to https://api.d-id.com/images URL:

{
"source_url": "https://raw.githubusercontent.com/yuliannazarova/didimage/main/IMG_1190.jpg"
}

Also tryed various formats (raw, form-data) of data send, try another service for test api request, also tryed import from generated in my panel d-id curl request but still got error. Help please 😀