What are you trying to achieve?
I have a task to generate the same photo from a photo but with an improved layout, I have paid a tariff of 20 dollars for a GPT chat, what should be the structure (Telegram, HTTP (via Url Open i + API + Org), Telegram) or (Telegram, ChatGPT (API), Telegram) I tried both methods, nothing worked! Can you help?
Steps taken so far
I have a task to generate the same photo from a photo but with an improved layout, I have paid a tariff of 20 dollars for a GPT chat, what should be the structure (Telegram, HTTP (via Url Open i + API + Org), Telegram) or (Telegram, ChatGPT (API), Telegram) I tried both methods, nothing worked! Can you help?
Screenshots: scenario setup, module configuration, errors
What do I want to realize (the purpose of the script):
I want to create an automated system where the user sends a photo to Telegram Botte, and the bot receives an analytics/recommendation for clothing in the photo (from GPT-4O). The system must automatically process the image and return the answer to the Telegram.
What should be the structure of the script:
Telegram Bot → Watch Updates
It works when the user sends a photo to the bot.
Telegram Bot → Download A File
Downloads a photo that users sent.
HTTP MODULE → OPENAI API (CHAT/COMPLETIONS)
Sends a request to GPT-4o with a photo (through a direct link), asks to analyze the product layout, returns a text response.
Telegram Bot → Send A Message or Photo
Sends the GPT response back to chat user.
What does gpt-4o do:
Analyzes the product layout in the photo (merchandising), gives advice: what to improve how best to place the goods, maintain a color balance and more. Model is used: GPT-4O.
I’ll give an example of how I do it on one photo - I upload the version to the paid chat GPT and add this prompt: you are a professional merchandiser - redo this layout like a pro - and send a photo - the result = he first photo as it was - the second photo as it became (much better)!
So I want my sellers of the entire chain of stores to have the opportunity to send their shop window photos to the Telegram group where my Telegram bot is connected - and they would receive photo answers on how to improve them!
I made two attempts to configure these processes - both do not work
- Photo 1 via GPT chat (error due to the fact that the connection to the GPT image generator does not work in Make)
- Photo 2 via GPT chat but using HTTP connection (error due to the fact that I cannot enter my GPT chat via API)