I am sending a Dall-e image edit request. The API works fine, when the image is small (under 300 kb). But a bit over, and it just returns this:
{
"error": {
"message": "Error in request. Please check your input.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
I can’t really figure it out since the docs say that any PNG under 4MB is fine.
The rest of my request is (form data):
prompt: "A cute baby otter going to space"
model: "dall-e-2"
image: <the file above>
The photo above is originally just under 2mb. Am I missing anything obvious?