🖼️
IMAGE GENERATOR BOT🤖
(Use Telebot App)
Command : /start
owner_username = "@MrxProfessional" # Replace with your telegram username
bot.send_message("👋 Welcome to the Image Generator Test Bot!\n\n"
"Use Command /image (Any Text).\n\n"
"Example /image ROSE.\n\n"
f"Bot Owner: {owner_username}"
)
Command : /image
text = message.text.split(" ", 1)
if len(text) == 2:
prompt = text[1]
search_term = prompt.replace(" ", "+")
image_url = f"https://image.pollinations.ai/prompt/{search_term}"
bot.send_photo(
chat_id=message.chat.id,
photo=image_url,
caption=f"🖼️ AI-generated image for:\n*{prompt}*",
parse_mode="Markdown"
)
else:
bot.send_message(message.chat.id, "❗ Use like this:\n/image cat astronaut")
SHARE & ENJOY
COPY PASTE WITHOUT CREDIT = GAY
Credit:
@MrxProfessional 🧑🏻💻