یکی از بزرگترین چالشها برای تولیدکنندگان محتوا، طراحان مد و عکاسان دیجیتال که از ابزارهای هوش مصنوعی مانند Midjourney یا Stable Diffusion استفاده میکنند، حفظ ثبات چهره (Character Consistency) است. بارها پیش آمده که یک چهره عالی خلق کردهاید، اما وقتی میخواهید لباس، ژست یا محیط او را تغییر دهید، هوش مصنوعی شخص جدیدی را تحویل میدهد.

امروز میخواهیم یک قدم فراتر بگذاریم. ما نه تنها میخواهیم چهره را ثابت نگه داریم، بلکه میخواهیم یک جهش بزرگ در استایل پوشش ایجاد کنیم: تغییر از یک استایل کاملاً آزاد و پاییزی به یک استایل کاملاً با حجاب، شیک و رئالیستیک، بدون اینکه ذرهای از هویت چهره سوژه تغییر کند.
در این مقاله، دو سناریوی کاملاً متفاوت را روی یک سوژه ثابت بررسی میکنیم و پرامپتهای دقیق انگلیسی آنها را برای استفاده شما قرار میدهیم.
در ابتدا، تصویری را تصور میکنیم که مودی شاد، جشنگونه و آزاد دارد. سوژه ما یک زن جوان با موهای بافتهشده بلوند و اکسسوریهای طلایی است که روی پلههای بتنی سفید ایستاده است.
مشخصات این استایل:
پوشش: کت جین راحت، تاپ سفید، شورت جین زاپدار، کتانی و جوراب سفید.
اکسسوری: رژ لب قرمز جیغ، بادکنکهای سفید و آبی.
محیط: دیوارهای گچی سفید، گلدانهای کاکتوس آبی، دسته گل رز کرم و یک در آبی محو در پسزمینه.
این تصویر حس "جشن" و "آزادی" را منتقل میکند.
Markdown
A full-body, vibrant photograph capturing a young woman smiling directly at the camera, standing on a wide, white concrete staircase. Her hair is styled in intricate blonde braids adorned with subtle golden accessories, and she wears bright red lipstick. She is dressed in a stylish, relaxed-fit denim jacket over a white ribbed tank top, and distressed denim shorts. On her feet are clean white sneakers with white socks. She is posed playfully, with one foot on a higher step and one hand on her hip, while holding a small cluster of three balloons: two white and one blue, tied together with white ribbons. The staircase is outdoors against a bright white stucco wall. To her left, arranged on lower steps, are several potted cacti in blue ceramic planters. To her right, on a higher step, rests a beautiful bouquet of cream-colored roses wrapped in transparent and beige paper with gold trim. The lighting is bright, natural daylight. The depth of field is shallow, rendering the blue door at the top of the stairs and the surrounding elements in a soft blur. The overall mood is cheerful and celebratory. The image is a high-resolution, sharp photograph with a clear focus on the subject.
حالا تصور کنید میخواهیم همین شخص را، در همین محیط و با همین ژست (دست روی مفصل ران، پا روی پله بالایی، هولد کردن بادکنکها) داشته باشیم، اما با حجاب کامل و پوشش اسلامی شیک.
اینجاست که قدرت پرامپتنویسی حرفهای مشخص میشود. ما باید به هوش مصنوعی دستور دهیم که چهره را مستقیماً از روی عکس قبلی (یا رفرنس) بردارد و تمام محدودیتهای پوشش را اعمال کند.
محدودیتهای حیاتی در این پرامپت (که باید دقیق رعایت شوند):
حفظ مطلق هویت: ساختار صورت، چشمها، بینی و لبها نباید تغییر کنند (Ref: --cref در میدجورنی).
پوشش کامل بدن: کت جین بلند و گشاد، به جای شورت جین، شلوار جین بلند و راسته، تیشرت یقه ایستاده تماماً پوشیده.
حجاب سر: یک شال یا حجاب شیک که تمام موها و گردن را بپوشاند.
حذف موارد متضاد: حذف رژ لب قرمز جیغ (تبدیل به نود)، حذف موهای بافتهشده بیرونزده.
نتیجه باید یک عکس "الترا رئالیستیک" و "مجلهای" (Editorial) باشد، نه یک خروجی مصنوعی کارتونی.
Markdown
Create an ultra-realistic, high-end, vibrant full-body photograph of the SAME WOMAN shown in the uploaded identity reference photo. IDENTITY PRESERVATION — ABSOLUTE PRIORITY: Use the uploaded photo as the ONLY identity and face reference for the woman. The woman in the final image MUST be the exact same person from the uploaded photo. Preserve her recognizable identity with maximum accuracy, including: - exact facial structure and proportions - face shape - forehead - eyes and eye spacing - eyebrows - exact nose shape, size and proportions - lips and mouth shape - cheekbones - jawline and chin - natural skin tone and skin texture - hairline - natural facial asymmetries and distinctive features - original age and recognizable appearance DO NOT replace her face with a generic model. DO NOT redesign, beautify, reshape, slim, enlarge, or reinterpret her facial features. DO NOT change the size or shape of her nose. DO NOT change her eyes, lips, jawline, cheeks, or facial proportions. DO NOT make her look like a different person. The final result must look like a real photograph of the SAME WOMAN from the uploaded photo. CLOTHING & MODEST COVERAGE — CRITICAL: Keep the outfit stylish, elegant, feminine, and fully modest. She must wear a beautiful, loose-fitting long-sleeve denim jacket or sophisticated denim overshirt over a fully opaque high-neck inner top. The inner top must completely cover the chest, upper torso, stomach, waist, and abdomen. NO crop top. NO exposed midriff. NO visible navel. NO cleavage. NO exposed stomach. NO bare waist. NO transparent fabric. The jacket should be comfortably closed or naturally layered so that the body remains fully covered. She must wear full-length relaxed-fit denim trousers or loose straight-leg jeans instead of shorts. Add clean white sneakers with white socks. HEADSCARF / HIJAB — REQUIRED: The woman must wear a stylish, elegant headscarf / hijab. The scarf should completely cover the hair and wrap naturally around the head, neck, and upper chest. The neck must NOT be exposed. The scarf should be made from realistic lightweight fabric with natural folds and texture. Choose a tasteful neutral or complementary color such as soft cream, beige, taupe, navy, dark blue, or muted denim blue. The hijab should look natural and fashionable rather than overly tight or artificial. POSE: Create a full-body composition. The woman is standing confidently on a wide white concrete staircase. One foot is placed naturally on a slightly higher step, creating a relaxed and playful fashion pose. One hand rests naturally on her hip. The other hand holds a small cluster of three balloons: two white balloons and one soft blue balloon, tied together with elegant white ribbons. Her posture should be natural, graceful, relaxed, and confident. She smiles naturally while looking directly at the camera. FACIAL EXPRESSION: Natural warm smile. Calm, friendly, confident expression. Realistic lips and facial muscles. Avoid exaggerated smiling or artificial beauty-model expressions. HAIR: The hair must remain completely covered by the headscarf. Do not show exposed hair around the forehead, neck, or sides unless naturally appropriate to the chosen modest hijab style. BACKGROUND & ENVIRONMENT: Create a beautiful bright outdoor setting with a wide white concrete staircase against a clean white stucco wall. At the top of the staircase, include a beautiful blue door, softly blurred by shallow depth of field. On the left side of the staircase, arrange several decorative potted cacti in tasteful blue ceramic planters. On the right side, place a beautiful bouquet of cream-colored roses wrapped elegantly in transparent and beige paper with subtle gold trim. Keep the environment clean, sophisticated, bright, and visually balanced. LIGHTING: Bright natural daylight. Soft warm sunlight. Natural realistic shadows. Gentle highlights on the face and clothing. Avoid harsh artificial studio lighting. CAMERA & PHOTOGRAPHY: Professional high-end fashion and lifestyle photography. Full-body vertical composition. The entire person must be visible from head to shoes. Both feet must be fully visible. Natural camera perspective. Realistic proportions. Sharp focus on the woman. Shallow depth of field with the blue door, plants, flowers, and distant background softly blurred. IMAGE QUALITY: Ultra-photorealistic. High-resolution professional photography. Natural skin texture. Realistic facial details. Realistic fabric texture. Individual fabric fibers and natural folds. Physically accurate lighting. Realistic hands and fingers. Natural anatomy. Premium editorial photography quality. No CGI appearance. COLOR & MOOD: Bright, cheerful, elegant, feminine, and celebratory. White architectural background combined with soft blue, cream, denim, and natural green accents. Clean and sophisticated color grading. Natural skin tones. Subtle cinematic depth. IMPORTANT FINAL REQUIREMENT: The visual reference may be used ONLY for the staircase, composition, pose, environment, lighting, colors, and general photographic style. It must NOT be used as a facial or identity reference. The final woman must remain the exact same person as the uploaded identity reference while wearing the modest outfit and hijab described above. NEGATIVE PROMPT: different person, altered identity, face swap, generic face, AI face, beautified face, beauty filter, redesigned face, changed facial proportions, different nose, different nose size, different eyes, different lips, different jawline, different cheekbones, different skin tone, younger face, older face, exposed hair, bare neck, exposed neck, bare shoulders, cleavage, deep neckline, crop top, exposed midriff, exposed stomach, visible navel, bare waist, transparent clothing, see-through fabric, shorts, mini skirt, tight revealing clothing, sexualized pose, exaggerated body proportions, unrealistic anatomy, deformed hands, extra fingers, missing fingers, duplicated limbs, plastic skin, over-smoothed skin, CGI, 3D render, cartoon, anime, illustration, oversaturated colors, harsh artificial lighting, blurry face, low resolution, low quality
اگر از میدجورنی v6 استفاده میکنید، برای اجرای موفقیتآمیز سناریوی دوم، این ترفندها ضروری هستند:
استفاده از --cref (Character Reference): تصویری که از سناریوی اول به دست آوردهاید (یا عکس رفرنس اصلی چهره) را آپلود کنید و لینک آن را در انتهای پرامپت دوم بعد از دستور --cref قرار دهید. مثال: --cref [https://link-to-your-image.jpg](https://link-to-your-image.jpg)
تنظیم شدت --cw (Character Weight): اگر میخواهید هوش مصنوعی فقط روی چهره تمرکز کند و لباسها را کاملاً تغییر دهد، --cw 0 را اضافه کنید. اگر میخواهید سعی کند استایل کلی (موی بلند و...) را هم حفظ کند (که در اینجا چون حجاب میخواهیم، cw0 بهتر است)، از cw0 استفاده کنید. در این کیس خاص، ما موها را میپوشانیم، پس تمرکز فقط روی صورت است.
Negative Prompting: بخش انتخابی "NEGATIVE PROMPT" در پرامپت بالا برای جلوگیری از خطاهای رایج (مثل بیرون ماندن گردن یا نمایان شدن شکم) حیاتی است.

تکنولوژی تولید تصویر با هوش مصنوعی به سرعت در حال تکامل است. امروز، چالش دیگر فقط "تولید یک عکس زیبا" نیست، بلکه "کنترل دقیق روی جزئیات و حفظ هویت" است.
همانطور که در این دو پرامپت مشاهده کردید، ما توانستیم یک چهره ثابت را در دو دنیای متفاوت (کژوال آزاد و مدیتیشن با حجاب) قرار دهیم. این قابلیت برای برندهای پوشاک که میخواهند کاتالوگهای خود را برای بازارهای مختلف (مثلاً بازار ایران و بازار اروپا) با یک مدل ثابت بومیسازی کنند، یک انقلاب محسوب میشود.
شما چه چالشهایی در حفظ ثبات چهره در هوش مصنوعی داشتهاید؟ نظرات خود را با ما در میان بگذارید.