Skip to content

when using gpt-image-1 model, the client.image.edit () function does not work, only the client.images.generate () function does. #1840

Open
@Arturo-Quiroga-MSFT

Description

@Arturo-Quiroga-MSFT

[optional format]

Identify the file to be fixed
The name of the file containing the problem.
https://github.com/openai/openai-cookbook/blob/main/examples/Generate_Images_With_GPT_Image.ipynb

Describe the problem
when using the client.images.edit function I get the error shown in the screenshot. The client.images.generate function works well, but the client.images.edit function does not.

Image

Describe a solution
be able to edit images using client.images.edit function, which used to work 3 weeks ago, now it does not.

Screenshots

Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions