#Custom GPT Action to upload Dalle generated image

1 messages · Page 1 of 1 (latest)

north owl
#

Hi, I am trying to build a custom GPT with Actions which has the ability to upload an image it has generated with Dalle to the external API.
The API side has plenty of logging showing how the packet is being received. The custom GPT attempts to use the Action, but regardless of how I set up the schema to use form-data or octet-stream, the GPT JIT plugin always sends a form-data container of two curly brackets without any file.
Is there any Custom GPT documentation you can direct me to please?

prisma steppeBOT
#

Hi @north owl. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the knowledge sources provided, it seems that there's currently no direct way of using image input and directly sending this to an external API for further processing. The only two methods that have been figured out so far are:

  1. Providing the user with a link where they can upload the file. Once the user uploads the file on the provided link, you can then use that image as an input to the API, get the response and send it back to the custom GPT which can be used to generate a response for the user.
  2. Directly asking the user for the image link, and sending it as an input to the external API. Then on the backend, you need to extract the image from this link, do the processing, and send it back to the custom GPT that can be used to generate a response for the user. Source (https://community.openai.com/t/581228)

For more information on how to build a GPT with an action, you can refer to the OpenAI platform documentation (https://platform.openai.com/docs/actions/getting-started). You can also familiarize yourself with the GPT policies (https://openai.com/policies/usage-policies#:~:text=or educational purposes.-,Building with ChatGPT,-Shared GPTs allow) and check out the GPT data privacy FAQ's (https://help.openai.com/en/articles/8554402-gpts-data-privacy-faqs) and common GPT questions (https://help.openai.com/en/articles/8554407-gpts-faq).

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