Skip to content
OpenAI ChatGPT Visi...
 
Notifications
Clear all

OpenAI ChatGPT Vision / DALLE3 API Integrations

20 Posts
10 Users
0 Reactions
5 Views
KyleBehrend
(@kylebehrend)
Posts: 14
Active Member
Topic starter
 

Hi all!

With the recent announcement, has anyone managed to get GPT Vision / DALLE 3 working via the API?

I'm having trouble figuring out how to 'upload' an image for Vision.
DALLE 3 is just returning errors.
I'm also eager to try out TTS if anyone has any experience with it?

Thanks!

 
Posted : 07/11/2023 2:00 am
Richard_Johannes
(@richard_johannes)
Posts: 21
Eminent Member
 

Hello,

the OpenAI App doesn't have a dedicated module for this currently, but you can utilize the Make an API Call Module.

{
    "model": "gpt-4-vision-preview",
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "PROMPT TEXT"
          },
          {
            "type": "image_url",
            "image_url": {
              "url": "IMG_URL"
            }
          }
        ]
      }
    ],
"max_tokens":3000
}
 
Posted : 07/11/2023 12:20 pm
Joel_Lignier
(@joel_lignier)
Posts: 1
New Member
 

I can confirm that the approach works. Now I’m trying to get this to work with images sent via email. I’ve tried saving the attachment to OneDrive, but GPT Vision doesn’t seem to like loading from there. So, I’m now attempting to base64 encode the image before sending it to GPT Vision.

 
Posted : 07/11/2023 1:16 pm
Gian_Giannotti
(@gian_giannotti)
Posts: 7
Active Member
 

Hi,

Could you please explain how to apply this information within the callin.io API call module? Apologies if the question seems basic, but I'm unsure what to input for fields like URL, Method, Headers, and Key Value.

I've been attempting this for hours without any progress.

Thanks

 
Posted : 07/11/2023 5:40 pm
KyleBehrend
(@kylebehrend)
Posts: 14
Active Member
Topic starter
 

Thank you for the response!

:slight_smile:

Could you assist me with what I should input here? I'm encountering errors:

 
Posted : 07/11/2023 7:57 pm
Gian_Giannotti
(@gian_giannotti)
Posts: 7
Active Member
 

Hi there,

I've discovered an alternative method to achieve this.

Hope you find it useful.

 
Posted : 07/11/2023 9:38 pm
Gian_Giannotti
(@gian_giannotti)
Posts: 7
Active Member
 

json
{
"model": "dall-e-3",
"prompt": " TYPE YOUR PROMPT HERE",
"n": 1,
"size": "1024x1024",
"quality": "standard",
"style": "vivid"
}

 
Posted : 07/11/2023 9:39 pm
Daniel_Attard
(@daniel_attard)
Posts: 1
New Member
 

Fantastic! Thank you.

 
Posted : 08/11/2023 2:36 am
KyleBehrend
(@kylebehrend)
Posts: 14
Active Member
Topic starter
 

Thanks everyone! I'm having trouble retrieving a file from Google Drive. Has anyone found a solution for this yet?

 
Posted : 08/11/2023 2:59 am
Kristof_George
(@kristof_george)
Posts: 2
New Member
 

I'm encountering this error in the code:

[400] Your request contained invalid JSON: Extra data: line 10 column 1 (char 469)

json
{
“model”: “dall-e-3”,
“prompt”: "Create a cinematic and visually striking image that embodies the world of cryptocurrency and crypto trading. Imagine screens displaying real-time crypto trading stats, fluctuating graphs, and various cryptocurrency logos like Bitcoin, Ethereum, and others, symbolizing the global interconnectedness of crypto trading. DO NOT ADD TEXT OR CHARACTERS ",
“n”: 1,
“size”: “1024x1024”,
“quality”: “standard”,
“style”: “vivid”
}

 
Posted : 08/11/2023 3:48 am
Kristof_George
(@kristof_george)
Posts: 2
New Member
 

I've managed to get it working now.

but ?st=2023-11-08T02%3A51%3A15Z&se=2023-11-08T04%3A51%3A15Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-11-08T03%3A42%3A15Z&ske=2023-11-09T03%3A42%3A15Z&sks=b&skv=2021-08-06&sig=PRwFuuS20cH/Hd%2BlJNRZc8GZ4QMniqw

AuthenticationFailed

Server failed to authenticate the request. Ensure the Authorization header value is correctly formed, including the signature. RequestId:cdb5f612-701e-0024-66f6-11583e000000 Time:2023-11-08T03:52:29.1361141Z

Signature fields are not well formed.

Is this the result?

 
Posted : 08/11/2023 3:53 am
KyleBehrend
(@kylebehrend)
Posts: 14
Active Member
Topic starter
 

I suspect the API might be temporarily unavailable at the moment. You can check the status here: https://status.openai.com/

 
Posted : 08/11/2023 4:21 am
Gian_Giannotti
(@gian_giannotti)
Posts: 7
Active Member
 

Please avoid using dots in your prompt as this can lead to errors

Could you please provide the rewritten markdown content It should be in markdown format

 
Posted : 08/11/2023 11:26 am
Gian_Giannotti
(@gian_giannotti)
Posts: 7
Active Member
 

quotation marks neither

 
Posted : 08/11/2023 11:28 am
Nguyen_Chau
(@nguyen_chau)
Posts: 1
New Member
 

[400] There was an issue with your request as it contained invalid JSON. The error message indicates: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)

 
Posted : 11/11/2023 9:10 am
Page 1 / 2
Share: