Turn text prompts into stunning AI-generated images—automatically!
This workflow lets your Telegram bot:
Telegram Trigger
Listens for user messages (e.g., “/image a futuristic cityscape”).
AI Prompt Refinement
Uses Google Gemini (or OpenAI) to optimize the input for the image model.
AI Image Generation
Calls Hugging Face’s Together API (free tier) to create the image.
Supports models like black-forest-labs/FLUX.1-schnell.
Auto-Delivery
Downloads the image and sends it in the Telegram chat.
(Optional) Swap Gemini for OpenAI if preferred.
Activate the workflow—your bot is now ready to create stunning images! Simply send a command like:
“Hey, generate an image of a warrior standing on top of a mountain.”
You can keep your prompt casual or get as detailed as you like. The AI will interpret your request and craft a full, descriptive prompt for image generation. For example:
“Generate an image of a warrior wearing tattered clothes, chest out, standing on a snowy mountain.”