How to send telegram photos to the groq api chat

hello everyone, if anyone has a template or ideas on how I can transfer from telegrams to the groupchat api, direct link transfer for groq does not work, can you tell me which way to dig?

1 Like

Hello @alexpride6 welcome to the community!


I’ll tell you a trick :smiley:

Groq is actually an OpenAI-compatible API, which means you can add the Groq API keys to your OpenAI credentials and edit the Base URL to Groq:

https://api.groq.com/openai/v1

This way, you can use the OpenAI node but with Groq models :smiley:

Here’s a working example to analyze an image using the Groq API while using the OpenAI node:

You can pass the image as a binary as well:


If you find this helpful, kindly mark the reply as the solution :white_check_mark: so others with the same issue can find it easily :pray:t2:

2 Likes

Nice, didn’t know this very good to know :slight_smile: thanks bro

1 Like

You are a golden man, God grant you good health.

2 Likes

Thanks @alexpride6

If that is what you looking for, Kindly mark the previous reply as the solution :white_check_mark:
This is better for search, indexing, and AI discovery🙏🏻

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.