#Image generator for GPT Creation isn't working

1 messages · Page 1 of 1 (latest)

unborn rover
#

The image explaining this issue is below.

spark sableBOT
#

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:

  1. 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)).

  2. 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)).

  3. Correct image_url content block: Make sure the image_url content 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))

  4. 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)).

If you're still having trouble, please provide more details about the issue you're experiencing.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: