ملفات Pydroid+php
خلي اسويلكم علية بوت
60% مايصير لان الاستضافه خايسه
ملفات Pydroid+php
60% مايصير لان الاستضافه خايسه
الاستضافة ما تقبل طلبات وبيها نظام حماية
اذا api الك دزلي ملف اشغلة ع استضافة
اذا api الك دزلي ملف اشغلة ع استضافة
👎2
ملفات Pydroid+php
الاستضافة ما تقبل طلبات وبيها نظام حماية اذا api الك دزلي ملف اشغلة ع استضافة
ليش ماتدز انت الاستضافه
import asyncio
from edge_tts import Communicate
from io import BytesIO
#voice="ar-AE-FatimaNeural" انثى اماراتيه
#voice="ar-AE-HamdanNeural" رجل اماراتي
async def text2speech(text, voice="ar-AE-HamdanNeural"):
communicate = Communicate(text=text,
voice=voice,
rate="+10%",
volume="+50%",
pitch="+7Hz")
audio_stream = BytesIO()
async for ch in communicate.stream():
if ch["type"] == "audio":
audio_stream.write(ch["data"])
audio_stream.seek(0)
return audio_stream
async def m(text):
aud_bytes = await text2speech(text)
print(f"'طول البايتات ': {len(aud_bytes.getvalue())}")
text = "محمد الزعيم رقم واحد"
asyncio.run(m(text))
pip install edge_tts
: تحويل الكتابة الى صوت بالذكاء الاصطناعي بأستخدام مكتبة edge_tts :
Ch : @LL_PHP :
By : @xZaeem :
⚡2❤1
import requests
url = ""
response = requests.post("https://www.clipto.com/api/youtube",
json={"url": url})
print(response.json())
: Api تحميل من جميع المواقع :
: خلي رابط من اي موقع يحمل منه :
Ch : @LL_PHP :
By : @xZaeem :
🔥3
import requests
r = requests.get("http://api.smtv.uz/ai/?text=احبك").json()
print(r['answer'])
❤1
import requests
from bs4 import BeautifulSoup
url ='tik tok url'
m = requests.post("https://tiksave.io/api/ajaxSearch",
data={
'q':url ,
'lang': 'ar'
}).content
soup = BeautifulSoup(m, 'html.parser')
medias = [
a['href'].replace('"', '').replace('\\', '')
for a in soup.find_all("a", href=True)
]
print(medias)
: تحميل فيد و mp3 تيك توك :
❤2
import requests
url = ''
response = requests.post(
"https://getindevice.com/wp-json/aio-dl/video-data/",
data={'url': url},
headers={
'Origin':
'https://getindevice.com/',
'Referer':
'https://getindevice.com/',
'User-Agent':
'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36'
})
print(response.json())
: تنزيل من جميع مواقع :
❤3
import requests
url = ''
response = requests.post("https://samrt-loader.com/kydwon/api/addfile",
data={'file_name': url})
print(response.json())
: اتصال تحميل من يوتيوب وچم موقع :
: ينطي رابط تخزين بالموقع مو رابط گوگل :
: بس شوي بي تأخير :
: @LL_PHP :
from rembg import remove
from PIL import Image
import io
def removebackground(image_path, format="PNG"):
with open(image_path, "rb") as f:
input_data = f.read()
output_data = remove(input_data)
img_rgba = Image.open(io.BytesIO(output_data)).convert("RGBA")
byte_io = io.BytesIO()
img_rgba.save(byte_io, format=format)
byte_io.seek(0)
return byte_io.getvalue()
input_file = 'a.jpeg'
image_bytes = removebackground(input_file, format="PNG")
print(f"الحجم: {len(image_bytes)} بايت.")
: Remove Background of Images :
pip install rembg
: @LL_PHP :
❤3