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!
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
}
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.
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
json
{
"model": "dall-e-3",
"prompt": " TYPE YOUR PROMPT HERE",
"n": 1,
"size": "1024x1024",
"quality": "standard",
"style": "vivid"
}
Fantastic! Thank you.
Thanks everyone! I'm having trouble retrieving a file from Google Drive. Has anyone found a solution for this yet?
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”
}
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?
I suspect the API might be temporarily unavailable at the moment. You can check the status here: https://status.openai.com/
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
quotation marks neither
[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)