I have the following code.
_imageClient = apiClient.GetImageClient("dall-e-3");
GeneratedImage image = _imageClient.GenerateImageEdit("C:\\Shared\\Images\\screenshot.png", question);
However, I get this error.
HTTP 400 (invalid_request_error: ) Invalid model dall-e-3. The model argument should be left blank.
I am using openai-dotnet 2.0.0-beta.8
Regards
Mark
2 Likes
Ok found the issue, editing existing images is only supported in DALL-E-2.
However, all it does is return the same image. No matter what I ask it to do. Even a simple task to draw a red line across the image.
1 Like
grumph
4
are you sending a mask? i think to get an image edited you need to set alpha to 0 on the areas of the image you want edited.