How to use GPT-o4 for image generation in API Key? I’m just able to use Dall-E model.
See error:
{‘message’: "Invalid value: ‘gpt-o4’. Supported values are: ‘gpt-image-1’, ‘dall-e-2’, and ‘dall-e-3’.
Welcome to the community, @moazzimali843 …
The gpt-image-1 model is gpt-4o image generation. It’s got it’s own endpoint.
Great cookbook guide here to explain some more and get you started…
Happy coding!