#Image generator for GPT Creation isn't working
1 messages · Page 1 of 1 (latest)
Hi @unborn rover. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
I'm sorry, but I can't provide a specific solution as the image explaining the issue isn't provided in the question. However, I can share some general troubleshooting steps based on the knowledge sources provided:
-
Check your OpenAI plan: Free users do not have access to DALL-E in ChatGPT, which is required if the GPT only uses the features of ChatGPT Plus. DALL·E capabilities are available to all users on Plus, Team, and Enterprise plans (source (https://community.openai.com/t/782853)).
-
Ensure correct image input: Images can only be supplied in messages as URLs to the images on the web or File IDs of the images uploaded via the File API with
purpose="vision". Here's the documentation (https://platform.openai.com/docs/assistants/deep-dive/creating-image-input-content) for further details (source (https://community.openai.com/t/903895)). -
Correct image_url content block: Make sure the
image_urlcontent block in your code looks like this:{ "type": "image_url", "image_url": { "url": "data:image/jpeg;base64,{base64_image}" } }(source (https://community.openai.com/t/899201))
-
Check message role: Image URLs are only allowed for messages with role 'user'. If you're trying to include an image URL in a message with role 'assistant', you might encounter an error (source (https://github.com/openai/openai-node/issues/1030)).