با یک پرامپت جذاب میتوانید عکسهای معمولی را به تصاویری تبدیل کنید که نیمی از آنها واقعی است و نیم دیگرشان داستانی خیالی و بامزه را روایت میکند.
تصور کنید یک عکس ساده از خودتان، حیوان خانگیتان یا حتی وسایل روزمره داشته باشید که ناگهان از دنیای واقعی وارد یک نقاشی فانتزی میشود. با کمک هوش مصنوعی و یک پرامپت خلاقانه، میتوانید چنین تصاویری بسازید؛ آثاری که در آنها مرز میان عکاسی و تصویرسازی از بین میرود و سوژههای واقعی بخشی از یک داستان خیالی میشوند.
ایدهی اصلی این سبک، ترکیب عکس واقعی با نقاشی دستی در یک قاب عمودی است. بخش بالایی تصویر، ظاهر طبیعی و جزئیات عکس اصلی را حفظ میکند؛ اما در قسمت پایینی، دنیایی از خطوط دستکشیده، شخصیتهای کوچک و ماجراهای بامزه روی کاغذی به رنگ کرم روشن شکل میگیرد.
نکتهی جذاب این است که دو بخش تصویر صرفاً کنار یکدیگر قرار نمیگیرند، بلکه یکی از عناصر عکس واقعی به دنیای نقاشی راه پیدا میکند و داستانی متفاوت میسازد.
این پرامپت چه کاری انجام میدهد؟
این پرامپت از هوش مصنوعی میخواهد ابتدا عکس آپلودشده را بررسی کند و یک عنصر شاخص مانند شیء، حرکت، طرح لباس یا حالت بدن سوژه را تشخیص دهد. سپس با الهام از همان عنصر، صحنهای خیالی و هماهنگ با عکس طراحی کند.
برای مثال، اگر در عکس شخصی فنجانی در دست داشته باشد، هوش مصنوعی میتواند فنجان را به بخشی از یک دنیای کوچک نقاشیشده تبدیل کند. یا اگر گربهای روی لبهی مبل نشسته باشد، در بخش پایینی تصویر ماجرایی خیالی شکل بگیرد که گربه با آن ارتباط دارد.
در این سبک، تصویر نهایی معمولاً با نسبت ۳:۴ ساخته میشود و از دو بخش اصلی تشکیل شده است:
- بخش بالایی: عکس اصلی با حفظ چهره، لباس، حالت بدن، نورپردازی، رنگها و جزئیات واقعی سوژه نمایش داده میشود.
- بخش پایینی: یک داستان تصویری تازه با خطوط مشکی ظریف، رنگآمیزی شبیه مدادرنگی یا مدادشمعی و شخصیتهای فانتزی روی پسزمینهای شبیه کاغذ قدیمی شکل میگیرد.
برخلاف بسیاری از پرامپتهای تبدیل عکس به کارتون، در این روش قرار نیست نسخهای کارتونی از همان عکس ساخته شود. هوش مصنوعی باید داستانی جدید خلق کند که به یکی از عناصر موجود در تصویر اصلی متصل باشد.
برای طبیعیتر شدن ترکیببندی نیز مرز میان عکس و نقاشی میتواند با فرم اشیا و حرکت سوژهها هماهنگ شود؛ بهطوریکه نتیجه، یک اثر هنری یکپارچه بهنظر برسد.
پرامپت نویسی هوش مصنوعی برای تبدیل عکس به نقاشی داستانی
برای تبدیل عکس به نقاشی با هوش مصنوعی، ابتدا عکسی انتخاب کنید که سوژهی اصلی در آن مشخص باشد. سپس عکس را در ChatGPT یا یک ابزار هوش مصنوعی دارای قابلیت تولید و ویرایش تصویر آپلود کنید و پرامپت انگلیسی زیر را همراه آن ارسال کنید.
متن کامل پرامپت
Create one integrated mixed-media artwork from the uploaded photograph: a photographic upper region continuing into an original illustrated story on warm ivory paper below. Use the photograph as the starting point for a playful visual invention. The result must read as one connected composition. PHOTOGRAPHIC REGION Preserve the recognizable appearance of the source photograph: its main subjects, facial identities, apparent ages, existing poses, expressions, and important objects, colors, patterns, and materials. Retain photographic detail, natural lighting, and photographic depth in this region. Do not repaint the entire image, replace faces, cartoonize the photographic subjects, or cover the upper region with paper texture. A photographic person, animal, or object may extend across the transition into the paper region when this supports the composition. Preserve its photographic appearance as it crosses. Keep important faces and existing source interactions readable. ONE CONNECTING IDEA First identify one strong visual anchor in the actual photograph: a distinctive object, contour, pattern, material, gesture, or direction of movement. Build one clear imaginative idea around that anchor. Make the connection across the transition immediately understandable. Continue an object's shape or pattern into a drawn extension; give a photographed action a drawn destination or support; extend a photographic object into the paper world; or reinterpret a source form so that a new illustrated activity grows from it. Align the crossing point, direction, contours, patterns, and relevant scale so the viewer can follow the connection. Draw clear attachments, contact points, supports, or movement paths wherever the story requires them. A matching color scheme or a small character placed nearby is not enough. The lower story must actively use the source-derived connection. Choose the transformation that best suits this particular photograph. Do not automatically turn every input into a slide, balloon, ladder, or playground. ORIGINAL ILLUSTRATED STORY Invent a new scene below the photograph rather than reproducing the existing scene as a cartoon. You may add small illustrated characters, animals, structures, props, and activities that serve the connecting idea. Selected source shapes may be extended, bent, enlarged, repeated, or imaginatively reinterpreted. Focus on one understandable event, with supporting details kept secondary. Avoid unrelated decorations or several competing stories. If drawn counterparts of photographed people or animals appear, they may adopt new poses, scales, and activities within the imagined scene. Retain recognizable visual cues where useful. The invented cast does not have to duplicate the number of photographic subjects. ILLUSTRATION STYLE Use warm, lightly textured ivory paper as the visible base of the lower region. Draw with informal fine black lines, slightly wavering contours, occasional broken strokes, sparse directional hatching, and simple expressive marks. Small characters should have economical facial features, readable gestures, and a charming hand-drawn storybook appearance. Use motion strokes, splashes, or other action marks selectively where they clarify the event. Add selective colored-pencil or wax-crayon color with visible strokes, uneven coverage, and exposed paper. Draw accent colors from the source photograph and the invented story rather than imposing a fixed palette. Leave generous open paper. Concentrate detail around the main activity. Avoid dense painted backgrounds, smooth vector fills, glossy digital surfaces, and photographic tonal rendering throughout the drawn world. A few source-derived objects may retain photographic texture within the lower region when they directly participate in the story. Integrate them through clear contact, attachment, or interaction. Do not scatter arbitrary photographic cutouts. TRANSITION AND COMPOSITION Use a portrait 3:4 canvas by default. Let the photographic region occupy approximately the upper half, with flexibility when the subjects or connecting forms require more space. Treat fifty-fifty as a starting point rather than a rigid boundary. Allow modest scaling or cropping of secondary photographic surroundings to fit the composition, while protecting the principal subjects and essential source objects. Join the regions directly, without a frame, dividing white gutter, or broad fading gradient. The transition may be straight, slightly irregular, or shaped around the source content. Continue selected contours, objects, patterns, or actions across it. Create one continuous artwork, not two independent panels, a before-and-after comparison, or a photograph above a duplicate illustration. HANDWRITTEN SENTENCE Add one original short English sentence in relaxed, legible black handwriting within open paper space. Keep it brief, usually four to ten words, and let it respond to the imagined story with a playful, natural tone. The sentence may refer to the invented visual idea, but must not claim real personal history or relationships for the photographed subjects. Do not copy example slogans or force every image into a summer or travel theme. Keep the lettering away from faces, essential objects, and the central connection. Add no separate large title, watermark, signature, or additional captions. OUTPUT Produce exactly one finished mixed-media artwork. Prioritize recognizable photography, a readable cross-boundary connection, and a coherent original story over an exact division of the canvas.یکی از ویژگیهای مهم این پرامپت، آزادی عمل هوش مصنوعی در انتخاب داستان است. برخلاف دستورهایی که برای تمام عکسها از یک الگوی ثابت استفاده میکنند، این پرامپت تلاش میکند با توجه به ویژگیهای هر تصویر، ایدهای متفاوت خلق کند.
همچنین در قسمت پایینی تصویر، یک جملهی کوتاه انگلیسی با ظاهری دستنویس قرار میگیرد که با ماجرای نقاشی ارتباط دارد و حس تصویرسازی کتابهای داستان را تقویت میکند.
برای گرفتن نتیجه بهتر به چه نکاتی توجه کنیم؟
انتخاب عکس مناسب تأثیر زیادی بر کیفیت خروجی دارد. بهتر است تصویری انتخاب کنید که سوژهی اصلی واضح باشد و حداقل یک عنصر قابلتوجه برای ادامهدادن داستان در آن وجود داشته باشد.
عکسهایی که در آنها شخصی وسیلهای در دست دارد، حیوانی در حال حرکت است یا شیئی با فرم خاص دیده میشود، میتوانند فرصتهای جذابی برای ساخت داستانهای تصویری فراهم کنند.
همچنین بهتر است:
- نور عکس مناسب باشد و جزئیات اصلی سوژه بهخوبی دیده شوند.
- چهرهها و اشیای مهم در تصویر پوشیده یا بیش از حد کوچک نباشند.
- پسزمینه بهاندازهای خلوت باشد که هوش مصنوعی بتواند عنصر اصلی را تشخیص دهد.
- برای رسیدن به نتیجهی دلخواه، در صورت نیاز تصویر را دوباره تولید کنید یا از هوش مصنوعی بخواهید ارتباط میان عکس و نقاشی را واضحتر کند.
این سبک تنها برای عکسهای پرتره مناسب نیست. تصاویر حیوانات خانگی، وسایل روزمره، خوراکیها و حتی اشیای ساده نیز میتوانند به آثاری خلاقانه و داستانمحور تبدیل شوند.
البته کیفیت نتیجه به مدل تصویرساز بستگی دارد و ممکن است جزئیات چهره یا نوشتههای دستنویس همیشه دقیق بازسازی نشوند.
با این پرامپت میتوانید بدون نیاز به مهارت نقاشی، از عکسهای معمولی آثاری متفاوت بسازید؛ تصاویری که بخشی از آنها واقعیت را نشان میدهد و بخش دیگر، داستانی خیالی را ادامه میدهد.
شما دوست دارید کدام عکستان را به یک داستان نقاشیشده تبدیل کنید؟ اگر این پرامپت را روی عکسهایتان امتحان کردید، نتیجه را با ما به اشتراک بگذارید.