• AI & Python •
21.2K subscribers
1.02K photos
383 videos
63 files
577 links
••• علاقه‌مند به دنیای هوش مصنوعی، تحول دیجیتال و زبان برنامه‌نویسی پایتون با نیم نگاهی به حوزه شبکه و
امنیت.

Library & archive: @SecBookSs

تبلیغات:
@n_h_raad


.
Download Telegram
دیزاین مینیاتوری فروشگاه برندها!

تا حالا فکر کردین اگه محصول یه برند تبدیل به یه مغازه بشه، چه شکلی میشه؟ اینکه طراحیش به شکل محصولی باشه که اون برند به ما ارائه میده

این سبک مینیاتور فوتورئال که یه دنیای کوچیکه که توش همه‌چیز با وسواس طراحی شده، مناسب این کانسپته!

Prompt:
Photoreal miniature storefront built into a [PRODUCT]—the product forms the building. A large sign with [BRAND/LOGO] on top; small branded details. One clerk inside behind the counter; shelves and tiny props. Premium, clean studio look, soft volumetric lighting, shallow depth of field, centered composition on a round plinth, 35–50mm. Materials follow the product. Solid seamless (leather/metal/plastic) background in Ultra-detailed [BACKGROUND_COLOR], crisp focus, no extra text, no watermark

میشه این تصاویر خلاقانه رو با استفاده از مدل Nano Banana Pro و از طریق Gemini و یا BasedLabs تولید و خلق کرد.

#Gemini #NanoBananaPro #هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
2👍2
🤍 عکس با داداشی

⚪️برای ساختش یک عکس معمولی از خودتون و دوستتون و یکی از پرامپت های زیر رو به یکی از هوش مصنوعی های ادیت عکس بدید ( الان بهترینش نانو بانانا پرو هست
Moody monochrome editorial portrait of two male figures.
Generate both faces based on the facial features, identity cues, and overall look of the attached reference photos, keeping the same ethnicity and matching their likeness as closely as possible.
Maintain the original pose, proportions, and lighting.
Keep everything else exactly as in reference: layered dark streetwear, matte-finish jackets, zippers, pockets, hoodies (hood down on left, hood up on right), visible drawstrings. Knitted beanie on the left figure, black baseball cap with minimal logo on the right.
Body positioning: both facing the camera, neutral confident expression, right figure slightly closer to camera, left figure slightly behind, slight shoulder angles, relaxed posture.
Crop: tight 4:5 or 3:2, mid-chest upward.
Camera: eye-level with slight upward perspective.
Lighting: natural diffused daylight, cloudy overcast mood, soft shadows, no harsh highlights.
Color: grayscale, matte, high contrast, soft film grain.
Background: minimal cloudy sky, distraction-free.
Atmosphere: raw, cinematic, masculine, editorial streetwear vibe.

⚪️ عکس دوم :
Urban cinematic black-and-white portrait of two male figures in edgy street style.
Low-angle shot with dramatic depth and towering old high-rise apartment buildings.
Generate both faces based on the attached reference photos, matching their facial structure, identity cues, ethnicity, and overall likeness as closely as possible, while keeping pose, angle, and lighting consistent. Keep everything else exactly unchanged.
Left figure: sitting on a concrete block, leaning slightly forward, wearing an oversized patterned jacket, dark hoodie, light baggy jeans, round accessories, wrist accessories; relaxed confident pose, hands visible.
Right figure: standing slightly behind, diagonally toward the camera, wearing a long black leather coat, dark pants, bandana or cap, sunglasses; firm composed posture.
Moody gritty urban atmosphere: worn concrete, balconies, scratches, nostalgic film grain, subtle noise, high contrast lighting.
Analog film style, street documentary, 1990s hip-hop editorial mood, cinematic depth.
Focus on clothing, pose, and urban vibe.
Faces should be replaced using the reference photos provided.

⚪️ عکس سوم :
Two-male editorial portrait.
Monochrome grayscale, matte finish, soft high contrast, cinematic natural mood. Neutral minimal studio background.
Crop: 4:5 portrait, waist-up, both figures side by side.
Generate both faces based on the attached reference photos, matching facial structure, identity cues, ethnicity, and overall likeness as closely as possible, while keeping pose, expression, lighting, and framing unchanged.
• Left figure: standing straight, facing the camera, wearing a dark corduroy shirt jacket over a white crew-neck shirt. Hands together in front, finger tattoo visible. Confident, composed, relaxed.
• Right figure: slightly angled, head tilted down, wearing a matte oversized hooded jacket (open zipper) over a dark T-shirt. Hands adjusting the zipper, wearing narrow urban sunglasses. Natural relaxed stance.
Soft diffused studio lighting, gentle shadows, smooth skin, clean editorial tone.
Modern, raw, masculine, minimalist streetwear aesthetic, crisp fashion mood.

⚪️

┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
Please open Telegram to view this post
VIEW IN TELEGRAM
👍41
✦ با این پرامپت در Nano Banana Pro می‌تونید نمودار شماتیک هر چیزی رو بسازید!

زبانش رو هم خودتون میتونید انتخاب کنید!

Prompt :
Create a hand drawn isometric schematic diagram of this [اسم شی یا عکس آپلود شده] in [زبان]


#Gemini #NanoBananaPro #هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍94
• AI & Python •
تو مثل یه الگوریتم بودی… اولش پیچیده، ولی وقتی فهمیدمت، دیدم چقدر everything makes sense. #برنامه_نویسی #لاس ┏━━━━━━━━┓ 〓 @AIPyth0n ┗━━━━━━━━┛
تو مثل یه تابع pure بودی…
هر بار که بهت فکر میکردم،
خروجیت قابل پیش‌بینی بود:
آرامش.

#برنامه_نویسی #لاس
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
15😁7🔥6👍4
🤍 چطوری بسازیم

⚪️برای ساختش یک عکس معمولی از خودتون و دوستتون و یکی از پرامپت های زیر رو به یکی از هوش مصنوعی های ادیت عکس بدید ( الان بهترینش نانو بانانا پرو هست)

⚪️ نسخه کاپلی :
Make this:
A dimly lit music studio scene photographed with a phone flash. Camera angled up and toward the center of the room (top-down diagonal perspective).

Girl: She sits on a large, richly patterned red Persian rug exactly like the reference, legs stretched out in front of her, leaning on her hands, looking confidently at the camera. She is wearing thick-soled black ankle boots, a fitted long-sleeved black top, a short fitted black skirt, and slightly torn black tights (grunge style). A warm spotlight shines from the left, casting soft shadows on the rug and giving her hair a soft glowing highlight.

Boy: Add a boy (based on the uploaded reference photo). He sits on the rug close to her, naturally positioned, playing a musical instrument (match the instrument to the vibe of his reference photo). Pose should look candid and realistic, as if he’s focused on the instrument.

Environment:
On the left side of the room, place a full drum set with natural wood shells and black hardware.
On the right side of the frame, place a rolling red keyboard on black metal stands.
Several cables are scattered loosely across the rug.
A microphone stand is placed on the right side of the room.
Lighting should stay low, warm, cozy, and dramatic, emphasizing the warm tones of the carpet and the highlights in their hair.

Important:
“Do not change or modify the facial or hair details of either reference photo.”

⚪️ نسخه پسرونه :
Make this:
A dimly lit music studio scene photographed with a phone flash. The camera angle is up and toward the center of the room (a top-down diagonal perspective).

A boy (generated exactly from the uploaded reference photo, without changing facial or hair details) is sitting alone on a large, richly patterned red Persian rug. He sits comfortably on the rug, legs relaxed, focused on playing his instrument (match the instrument to his vibe in the reference photo). His posture should feel natural, candid, and absorbed in the music.

He is wearing casual but stylish studio-appropriate clothing (keep the style consistent with the reference photo).

A warm spotlight shines from the left side, casting soft shadows on the rug and creating a subtle glow around his hair.

Environment:
On the left side of the room, place a full drum set with natural wood shells and black hardware.
On the right side of the frame, place a rolling red keyboard on black metal stands.
Several audio cables are scattered casually across the rug.
A microphone stand is placed to the right side of the room.
The studio lighting remains low, warm, cozy, and dramatic, emphasizing the warm tones of the Persian carpet and the highlights on his hair.

Important:
“Do not change or modify the facial or hair details of the reference photo.”

⚪️ دخترونه اولی :
Make this: A dimly lit music studio scene photographed with a phone flash. Camera angled up and toward the center of the room (top-down diagonal perspective). The girl sits on a large, richly patterned red Persian rug, her legs stretched out in front of her, leaning on her hands, looking confidently at the camera. She is wearing thick-soled black ankle boots, a black long-sleeved, fitted shirt, and a short, fitted black skirt, and black tights that are torn in some places (grunge style). A warm spot light shines from the left, casting soft shadows on the rug and highlighting her hair with a glow. On the left side of the room, place a complete drum set with natural wood shells and black hardware. On the right side of the frame, place a rolling red keyboard on black metal stands. Several cables are scattered across the rug. A microphone stand is on the right side of the room.  The overall lighting is low, cozy, and dramatic, emphasizing the warm tones of the carpet and the shine on her hair. "Do not change or modify the facial and hair details of the reference photo."


┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
Please open Telegram to view this post
VIEW IN TELEGRAM
4👍3🍌1
This media is not supported in your browser
VIEW IN TELEGRAM
وقتی هوش مصنوعی به مشاهیر ایرانی جان میبخشه

#Gemini #NanoBananaPro #هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
7👍7👏2
⌨️#Python_Quiz

خروجی این کد پایتون چیه؟ 🤔

#برنامه_نویسی #پایتون #Python #Programming #quiz
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍5
🟡 Options:
Anonymous Quiz
40%
A
21%
B
24%
C
14%
D
👍6
🗞 خلاصه گزارش کیفیت زندگی دیجیتال سرف‌شارک (DQL):

ایران در گزارش جدید «کیفیت زندگی دیجیتال» سال ۲۰۲۵ رتبه ۱۰۰ از ۱۲۱ کشور را گرفته و تقریباً در همه‌ی بخش‌ها نسبت به سال‌های قبل افت کرده است.

‏⦿‏DQL چه چیزهایی را بررسی میکند؟
۱) مقرون‌به‌صرفه بودن اینترنت
۲) کیفیت اینترنت
۳) زیرساخت دیجیتال
۴) امنیت دیجیتال
۵) آمادگی برای هوش مصنوعی (امسال اضافه شده)

‏⦿ مهم‌ترین نکات گزارش:
رتبه جهانی ایران: ۱۰۰ و در آسیا رتبه ۳۰؛ روند چندسال اخیر کاملاً نزولی بوده است.
اینترنت گران: ایران در بخش مقرون‌به‌صرفه بودن رتبه ۹۱ دارد؛ یعنی اینترنت نسبت به درآمد مردم گران است.
کیفیت پایین: کیفیت اینترنت رتبه ۱۱۰؛ سرعت موبایل رتبه ۷۵ و اینترنت ثابت ۱۰۲، و تأخیر شبکه هم بسیار ضعیف است.
امنیت دیجیتال بسیار پایین: ایران در امنیت دیجیتال رتبه ۱۱۹ را دارد؛ فقط گواتمالا و یمن پایین‌ترند.
زیرساخت دیجیتال ضعیف: رتبه ۸۱؛ درحالی‌که چند سال قبل رتبه استفاده از اینترنت بسیار بهتر بود.
هوش مصنوعی: رتبه ۷۹؛ نشان می‌دهد در پذیرش و آمادگی برای AI عقب هستیم.

┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
💔31👍1👎1😢1
🤍 ساخت عکس به سبک سریال Stranger Things که الان ترنده

⚪️برای ساختش یک عکس معمولی از خودتون و دوستتون و یکی از پرامپت های زیر رو به یکی از هوش مصنوعی های ادیت عکس بدید ( الان بهترینش نانو بانانا پرو هست) پرامپت هاش برای دختر و پسر متفاوت نیستند و برای هر دو قابل استفادست

پرامپت اول :
Use the exact face from the uploaded photo, messy hair with slight nosebleed, intense emotional eyes, standing in dark foggy forest with red lightning far away, worn 80s denim jacket over band t-shirt, soft cinematic rim light, floating particles, hyperrealistic skin texture and freckles, shot on Kodak Portra film, Stranger Things season 4 atmosphere --ar 4:5 --style raw --v 6 --q 2

پرامپت عکس دوم :
Use the exact face from the uploaded photo, standing alone in Upside Down school hallway, red spores floating, flickering fluorescent lights, backpack, scared but determined expression, dramatic red-teal lighting, photorealistic horror beauty --ar 3:4 --style raw

پرامپت عکس سوم :
Use the exact face from the uploaded photo, inside glowing 80s arcade at night, neon signs reflecting in eyes, oversized headphones + flannel shirt, confident smirk, warm pink-blue lighting, nostalgic dreamy mood, hyperrealistic details --ar 4:5 --v 6

پرامپت عکس چهارم :
Use the exact face from the uploaded photo, standing in Creel House attic Upside Down, huge glowing red portal behind, holding flashlight, layered 80s clothes, brave and ready expression, insane volumetric detail and god rays, Stranger Things poster come to life --ar 3:4 --v 6 --q 2

پرامپت عکس پنجم :
Use the exact face from the uploaded photo, in school science lab, safety goggles on head, rolled-up plaid shirt, soft natural window light, smart mysterious half-smile, warm vintage film look, effortlessly cool --ar 4:5 --style raw

پرامپت عکس ششم :
Use the exact face from the uploaded photo, sitting on Starcourt Mall fountain edge after the fire, soft red emergency lights + light rain, bomber jacket, thoughtful melancholic mood, wet reflections, emotional 80s nostalgia --ar 4:5 --v 6


┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
Please open Telegram to view this post
VIEW IN TELEGRAM
👍32🔥1
• AI & Python •
تو مثل یه تابع pure بودی… هر بار که بهت فکر میکردم، خروجیت قابل پیش‌بینی بود: آرامش. #برنامه_نویسی #لاس ┏━━━━━━━━┓ 〓 @AIPyth0n ┗━━━━━━━━┛
زندگی یه سیستم بزرگه؛
باگ میخوره، کند میشه،
یه جاهایی deadlock میکنه،
و گاهی مجبوری یه چیزهایی رو kill process کنی
تا بتونی دوباره ادامه بدی.

#برنامه_نویسی
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍10
💡 ۱۰ تا از مهم‌ترین ساختار داده‌هایی که هر روز ازشون استفاده میکنیم

‏⦿ List (لیست): نگه داشتن فیدهای توییتر یا هر جریان داده‌ی پشت‌سرهم.

‏⦿ Stack (پشته): امکان Undo/Redo توی ادیتورهای متن.

‏⦿ Queue (صف): مدیریت کارهای پرینتر یا ارسال اکشن‌های کاربر داخل بازی.

‏⦿ Hash Table (هش‌تیبل): سیستم‌های کشینگ برای دسترسی سریع‌تر به داده.

‏⦿ Array (آرایه): انجام عملیات ریاضی و پردازش‌هایی که سرعت بالا می‌خوان.

‏⦿ Heap (هیپ): زمان‌بندی تسک‌ها و مدیریت اولویت‌ها.

‏⦿ Tree (درخت): نگه‌داری ساختار HTML یا تصمیم‌گیری توی مدل‌های هوش مصنوعی.

‏⦿ Suffix Tree (درخت پسوندی): جستجوی فوق‌سریع رشته‌ها داخل یک متن.

‏⦿ Graph (گراف): دنبال کردن روابط مثل دوستی‌ها، یا پیدا کردن سریع‌ترین مسیر.

‏⦿ R-Tree (آر-تری): پیدا کردن نزدیک‌ترین همسایه در داده‌های مکانی.

‏⦿ Vertex Buffer (ورتکس بافر): ارسال داده‌های هندسی به GPU برای رندر گرفتن.

#DataStructure #DataScience #Data
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
4👍4
⌨️#Python_Quiz

خروجی این کد پایتون چیه؟ 🤔

#برنامه_نویسی #پایتون #Python #Programming #quiz
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍4
🟢 Options:
Anonymous Quiz
23%
A
36%
B
31%
C
10%
D
👍61🔥1
اگه حوصلتون سر رفت
این متن رو بدید به جمینای و بعد هر جوری که دوست دارید ادامه بدید تا یکم اپیلاسیون بشید :)

میخوام برام نقش خدا رو بازی کنی
شروع کن


#Gemini #NanoBananaPro #هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍41👎1
🔄 5 روش برای سوآپ کردن دو مقدار در پایتون

۱) متغیر موقت
temp = a; a = b; b = temp

روشی استاندارد و کاملاً ایمن. مناسب برای هر نوع داده.

۲) عملیات حسابی (+ / -)
a = a + b; b = a - b; a = a - b

بدون متغیر اضافه، اما برای اعداد بزرگ یا float قابل اعتماد نیست.

۳) Tuple Unpacking (پایتونیک‌ترین روش)
a, b = b, a

سریع، خوانا و بهترین انتخاب در پایتون. پایتون پشت‌صحنه به‌صورت atomic مقادیر رو جابه‌جا میکنه.

۴) XOR Swap
a = a ^ b; b = a ^ b; a = a ^ b

مخصوص int. بدون متغیر اضافه، ولی خوانایی پایین و استفاده محدود.

۵) ضرب و تقسیم ( / //)*
a = a * b; b = a // b; a = a // b

عملیاتی و بدون متغیر؛ اما در صفر، float و اعداد بزرگ مشکل‌ساز میشه.

بهترین انتخاب:
‏☜︎︎︎ Tuple Unpacking = سریع‌ترین، خواناترین و کاملاً استاندارد در پایتون.

#برنامه_نویسی #پایتون #Python #ML #NLP #Programming #Chatbot
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍32
This media is not supported in your browser
VIEW IN TELEGRAM
آقای پزشکیان توی سخنرانی روز دانشجو گفته : هوش مصنوعی اگه درست بود تا حالا مارو خورده بود!

#هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
😐15🤣5🍌3👍2😴1
Prompt :
مواد تشکیل دهنده ( این غذا ) رو به صورت یک اینفوگرافیک واقع گرایانه با تایپوگرافی فارسی و فونت دانا" در ابعاد 9:16 بساز
#هوش_مصنوعی #Nano_Banana #پرامپت_نویسی #Prompt #Gemini #AI #ChatGPT #Artificial_Intelligence #OpenAI
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍83