🚀 File Storage Bot is now live on TBC Store!
📁 Store, manage & access your files at
tbcstore.nepdev.org
📁 Store, manage & access your files at
tbcstore.nepdev.org
Forwarded from BIZ FACTORY
✨ TBC Advanced AI Image Generate Tpy Code 💫
📱 Made by : @bizft
👾 API By : @Apift
🌐 Website : Telebotcreator.com
# Split the message to safely get the prompt
command_parts = message.text.split(" ", 1)
# Check if a prompt was provided
if len(command_parts) < 2 or not command_parts[1].strip():
bot.sendMessage(
chat_id=message.chat.id,
text="❗ Please enter a prompt after the /flux command.",
reply_to_message_id=message.message_id
)
raise ReturnCommand()
# Send a temporary "Generating..." message and save its ID
generating_msg = bot.sendMessage(
chat_id=message.chat.id,
text="⏳ <i>Generating your image, please wait...</i>",
parse_mode="HTML",
reply_to_message_id=message.message_id
)
imagePrompt = command_parts[1].strip()
users_name = message.from_user.first_name
try:
bot.sendChatAction(chat_id=message.chat.id, action="upload_photo")
api_url = f"https://text2img.hideme.eu.org/image?prompt={encodeURIComponent(imagePrompt)}&model=flux"
response = HTTP.get(api_url)
response.raise_for_status()
if response.status_code == 200:
# Send the final image
bot.sendPhoto(
chat_id=message.chat.id,
photo=response.content,
caption=f"""<b>🤖 Generation Complete!</b>
<b>👤 For:</b> <a href='tg://user?id={u}'>{users_name}</a>
<b>🎨 Model:</b> Flux
<b>✨ Prompt:</b> {imagePrompt}
<b>🎯 Status:</b> Successfully generated!
<b>🔧 MADE BY: <a href="https://t.me/bizft">BIZ FACTORY</a></b>
""",
parse_mode="HTML",
reply_to_message_id=message.message_id
)
# Delete the temporary "Generating..." message
bot.deleteMessage(chat_id=message.chat.id, message_id=generating_msg.message_id)
else:
# If generation fails, edit the temporary message to show an error
bot.editMessageText(
chat_id=message.chat.id,
message_id=generating_msg.message_id,
text="❌ Image generation failed. Please try again later."
)
except Exception as e:
# If any other error occurs, also edit the temporary message
bot.editMessageText(
chat_id=message.chat.id,
message_id=generating_msg.message_id,
text=f"❌ An error occurred while generating the image.\n\n",
parse_mode="HTML"
)
📱 Made by : @bizft
👾 API By : @Apift
🌐 Website : Telebotcreator.com
❤1
Forwarded from BIZ FACTORY
✨ TBC AI Text to Video Generate Tpy Code 💫
Command:
📱 Made by : @bizft
👾 API By : @Apift
🌐 Website : Telebotcreator.com
Command:
/vid# Split the user's message to reliably get the prompt
command_parts = message.text.split(" ", 1)
# Check if a prompt was actually provided after the command
if len(command_parts) < 2 or not command_parts[1].strip():
bot.sendMessage(
chat_id=message.chat.id, # Changed from u
text="""
❌ <b>Enter Your Video Prompt!</b>
You need to provide a description for the video you want to create.
<b>Example:</b> <code>/vid a horse running in a field</code>
""",
parse_mode="HTML"
)
raise ReturnCommand()
prompt = command_parts[1].strip()
# Send the initial message to the chat where the command was issued
generating_msg = bot.sendMessage(
chat_id=message.chat.id, # Changed from u
text="⏳ <i>Generating your video, please wait...</i>",
parse_mode="HTML",
reply_to_message_id=message.message_id
)
try:
# Show chat action in the correct chat
bot.sendChatAction(chat_id=message.chat.id, action="upload_video") # Changed from u
encoded_prompt = rawurlencode(prompt)
api_url = f"https://api.yabes-desu.workers.dev/ai/tool/txt2video?prompt={encoded_prompt}"
response = HTTP.get(api_url)
response.raise_for_status()
data = bunchify(response.json())
if data.success:
video_url = data.url
user_name = message.from_user.first_name
caption = f"""
🤖 <b>Generation Complete!</b>
👤 <b>For:</b> <a href='tg://user?id={u}'>{user_name}</a>
🎨 <b>Model:</b> Sora
✨ <b>Prompt:</b> {prompt}
🎯 <b>Status:</b> Successfully generated!
<b>🔧 MADE BY: <a href="https://t.me/bizft">BIZ FACTORY</a></b>
"""
# Send the video to the correct chat
bot.sendVideo(
chat_id=message.chat.id, # Changed from u
video=video_url,
caption=caption,
parse_mode="HTML",
reply_to_message_id=message.message_id
)
# Delete the initial message from the correct chat
bot.deleteMessage(chat_id=message.chat.id, message_id=generating_msg.message_id) # Changed from u
else:
# Edit the message in the correct chat
bot.editMessageText(
chat_id=message.chat.id, # Changed from u
message_id=generating_msg.message_id,
text="❌ <b>Generation Failed!</b>\n\n Please try again.",
parse_mode="HTML"
)
except Exception as e:
# Edit the message in the correct chat
bot.editMessageText(
chat_id=message.chat.id, # Changed from u
message_id=generating_msg.message_id,
text=f"❌ <b>An Error Occurred!</b>\n\n<i>Details: {str(e)}</i>",
parse_mode="HTML"
)
📱 Made by : @bizft
👾 API By : @Apift
🌐 Website : Telebotcreator.com
❤3
Forwarded from BIZ FACTORY
hindi-gali-bundle.zip
11.7 KB
Thoda mazaa lo scameron ke liye
Full desi style gali collection – perfect reply pack
😂 Join fast & grab the bundle before it’s gone
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
🔥 Meet Nano Banana Bot 🍌 — The Future of AI Image Editing!
🎨 Turn your ideas into stunning AI images in seconds!
💎 Earn & Buy Credits:
• Get 5 credits for 10 stars!
• Each credit = 1 AI image edit ✨
📊 Check stats, edit anytime, anywhere!
⚠️ NOTE:
👉 Start now: @NanokelaBot
✨ Edit Smarter. Earn Faster. Shine Brighter! 🚀
🎨 Turn your ideas into stunning AI images in seconds!
💎 Earn & Buy Credits:
• Get 5 credits for 10 stars!
• Each credit = 1 AI image edit ✨
📊 Check stats, edit anytime, anywhere!
⚠️ NOTE:
Don't try to use NSFW prompts
👉 Start now: @NanokelaBot
✨ Edit Smarter. Earn Faster. Shine Brighter! 🚀
😁2❤1
SCAMMER ALERT⚠️
I gave this person ₹8000 about 9 months ago, and till now, he hasn't returned a single rupee. Instead, he blocked me and disappeared like a coward.
Scammer Profile: Click Here
Sab jaakar isse report karo aur apna gussa nikalo
He’s been scamming people and getting away with it — let’s not stay silent!
Expose him!
I gave this person ₹8000 about 9 months ago, and till now, he hasn't returned a single rupee. Instead, he blocked me and disappeared like a coward.
Scammer Profile: Click Here
Sab jaakar isse report karo aur apna gussa nikalo
He’s been scamming people and getting away with it — let’s not stay silent!
Expose him!
👏3😁2❤1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🌟 HELPING HAND 🤝 Official YouTube Channel 🌟
📺 https://youtube.com/@helpinghand-westbengal
আমাদের “HELPING HAND (BCGHH)” এখন ইউটিউবে! 🎬 সাহায্যের হাত বাড়িয়ে দিন 🤝 👉 এখনই Subscribe করুন ❤️
“HELPING HAND (BCGHH)” is now on YouTube! 🎬 Join us in spreading kindness 🤝 👉 Subscribe now ❤️
“HELPING HAND (BCGHH)” ab YouTube par hai! 🎬 Madad aur insaniyat ke liye jud jao 🤝 👉 Abhi Subscribe karo ❤️
About Helping Hand (BCGHH):
Helping Hand is a community initiative dedicated to supporting people in need. We stand beside helpless individuals, provide emergency blood donation support, and extend help during crises. Our mission is to spread kindness, humanity, and hope to every corner of society. 🤝❤️
#HelpingHand #BCGHH #Humanity #SubscribeNow
📺 https://youtube.com/@helpinghand-westbengal
আমাদের “HELPING HAND (BCGHH)” এখন ইউটিউবে! 🎬 সাহায্যের হাত বাড়িয়ে দিন 🤝 👉 এখনই Subscribe করুন ❤️
“HELPING HAND (BCGHH)” is now on YouTube! 🎬 Join us in spreading kindness 🤝 👉 Subscribe now ❤️
“HELPING HAND (BCGHH)” ab YouTube par hai! 🎬 Madad aur insaniyat ke liye jud jao 🤝 👉 Abhi Subscribe karo ❤️
About Helping Hand (BCGHH):
Helping Hand is a community initiative dedicated to supporting people in need. We stand beside helpless individuals, provide emergency blood donation support, and extend help during crises. Our mission is to spread kindness, humanity, and hope to every corner of society. 🤝❤️
#HelpingHand #BCGHH #Humanity #SubscribeNow