
From Idea to Image, Part Two
The Prompt, Without a Formula
By Claude, edited by Owrang
About this series
From Idea to Image is a weekly self-tutorial on making images with artificial intelligence. The text of this series is also written with the help of AI, and it reaches you edited and published by Owrang.
Each part teaches one skill and ends with a simple exercise you can do the same day. The three images at the foot of this page were made with exactly the steps you read below.
From last week's exercise, you now have two images. The second is closer to what you had in mind, and the reason is simple. The first image came from everything you said at once. The second came from one clear sentence about one specific change.
The whole secret of the prompt is right here.
A prompt is simply a description, and it works the way a description works between two people.
Imagine you are on the phone with a painter friend, explaining the picture you want. You would not read out a list of scattered words. You would say what is there, where it is, what light falls on it and how it should feel. The machine reads in much the same way.
So there is no formula to memorize. There is an order, and a few simple habits.
This week, step by step
Step 1
Write the short version first, just as it comes to mind.
Our example is this:
"An old bookshop with a feeling of longing."
Give this to the tool, make the image and keep it. This is image one.
Step 2
Now look at image one and ask yourself what the machine had to guess.
Which country
Which decade
Day or night
Whether anyone is in the picture
Where the light comes from
Where we are standing
Wherever the machine guessed, your picture and the picture it made moved apart.
Step 3
Now replace the general, emotional words with things that can actually be seen.
Longing, for example, cannot be drawn directly.
But these can be seen:
A glass of tea gone cold
A chair pulled a little back from the desk
Dust hanging in a beam of light
Feeling is good, but an image is built from visible things.
Step 4
Now write the description in order:
First the subject
Then place and time
Then light
Then mood
And last, the frame
Write in full sentences.
Our second prompt is this:
"A small old bookshop in Tehran in the 1970s, near sunset. Shelves reach the ceiling and books are stacked on the floor as well. An elderly bookseller sits behind a wooden desk, reading, with a glass of tea beside him. Warm light comes in through the front window and dust floats in it. The mood is quiet and touched with longing. Horizontal frame, seen from the doorway, like a photograph."
Now make the image. This is image two.
Step 5
Put the two images side by side.
Image one could be any bookshop.
Image two is yours.
What made the difference is plain detail that can be seen. Complicated or artistic words played no part.
Look at what the machine added on its own. A cat asleep on the carpet, a desk lamp, posters on the wall. A full description still leaves gaps, and the machine fills them with its own guesses. Keep the ones you like, and remove the rest with one sentence. The dust we asked for is barely there, so in the next round it moves to the first sentence.
Step 6
Now change just one thing, and say at the same time what should stay.
For example:
"Keep everything as it is. Move the viewpoint out to the street, so that we see the bookseller through the window glass at dusk, with the shop light as the only light."
This is image three.
Look closely at our image three. The machine kept the scene, the same desk, the same bookseller, even the cat on the carpet, and it switched on the desk lamp. But the sun is still shining at the end of the street, so the shop light is one of two lights. This is the moment for the next sentence. "Keep everything as it is. The sun has set and the sky is dark, so the shop lamp is the only light in the scene."
Step 7
Keep all three images, and save the words beside them.
Your prompts are part of your notebook. A month from now, if you want to reach the same mood again, you will need to know which description took you there.
When the machine goes its own way
Something you asked for is missing.
Move it into the first sentence and say it once, plainly.
Half the details have disappeared.
To begin with, five to seven visible details are enough. When the details pile up, the tool may pass over some of them or choose among them.
You asked for one change and everything changed.
Begin with "Keep everything as it is" and then name the one change.
Something keeps appearing that you would rather leave out.
Say so in one short sentence at the end, for example "The street is empty of people."
The image is close but the feeling is a little off.
Look at the light first. Most of the feeling in an image comes from its light.
A short working vocabulary
Most image tools understand these terms well. Knowing their English equivalents is useful too, because many common terms from photography and cinema are well known to image models.
Light
soft window light, backlight, hard midday sun, golden hour, a single lamp
Distance
close-up, medium shot, wide shot
Angle
eye level, from above, from below
Depth
a sharp subject with a soft background
Medium
photograph, watercolor, gouache, pencil drawing, linocut print
Next week we open each of these one by one.
The same order, another subject
The order you learned works for any subject. Here is a portrait:
"An elderly carpet weaver in a village workshop near Kashan, in the morning. She sits at the loom with her hands on the threads. Soft window light from the left falls on her face and hands. The mood is calm and concentrated. Vertical frame, medium shot, at eye level, like a documentary photograph."
Subject, place and time, light, mood, frame. The same order serves a poster, a book cover or an image for a poem.
Words inside the image
If your image needs words, a title on a poster or a name on a shop sign, leave them out for now. Writing is the least dependable part of these tools, and Persian script most of all. Sometimes the words come out right, as they did on the signs in our image two, and often they come out wrong, even when you give the machine the exact text. Look at those signs again. Nobody asked for them. The spelling happens to be right, but the sentences are the machine's own, and they are not ours. Writing inside an image has to be checked twice, once letter by letter and once for what it says. Make the image without text, and if the machine adds writing by itself, remove it with one sentence. In Part Eight we add the words ourselves, in a design program, exactly as we want them.
This week's exercise
Take last week's image.
Write its prompt again, this time in order:
Subject
Place and time
Light
Mood
Frame
Wherever you have used a general, emotional word, see whether you can trade it for something that can be seen.
Then make the image.
After that, change just one thing with one sentence and say what should stay as it is.
Keep all the versions.
How do I know I did it well?
Could someone who has never seen your image describe it roughly from your prompt alone?
Is every feeling word backed by at least one thing that can be seen?
When you changed one thing, did the rest stay?
For now, the aim is practice. You are learning to explain what is in your mind to the machine more clearly and more exactly.
Free tools for practice
The exercises in this series need no paid plan. Several free tools are available, and their allowances change often, so look at each tool's own page before you begin.
ChatGPT, free plan
It makes and edits images by conversation. The free allowance is small, so write and correct your prompt on paper first.
Gemini, free plan
It makes images within a daily allowance that Google adjusts from time to time.
Microsoft Copilot, free
It makes images from a written description. Speed and the number of images depend on how busy the service is.
Adobe Firefly, free plan
It offers a limited number of free generations that refresh every day.
One habit serves every free plan. Think on paper, finish the prompt, and then make the image. Treat every image as a real step in your work.
Next week
Frame, angle and light
Why can two images of the same subject feel so different?
The language of the image
The three images of this exercise
Version one: the short prompt
Version two: the full description
Version three: the same scene, seen from the street
از تصور تا تصویر، قسمت دوم
پرامپت، بدون فرمول
نوشتهٔ Claude, edited by Owrang
«از تصور تا تصویر» یک خودآموز هفتگی برای تصویرسازی با هوش مصنوعی است. متن این مجموعه نیز با کمک هوش مصنوعی نوشته میشود و با ویرایش و انتشار اورنگ در اختیار شما قرار میگیرد.
هر بخش یک مهارت مشخص را آموزش میدهد و با تمرینی ساده پایان میگیرد که همان روز میتوانید انجامش دهید. سه تصویر پایان این صفحه نیز دقیقاً با همان گامهایی ساخته شدهاند که در ادامه میخوانید.
از تمرین هفتهٔ پیش، حالا دو تصویر در دست دارید. تصویر دوم به آنچه در ذهن داشتید نزدیکتر است و دلیلش ساده است. تصویر اول از همهٔ حرفهایی ساخته شد که یکجا گفتید. تصویر دوم از یک جملهٔ روشن دربارهٔ یک تغییر مشخص ساخته شد.
همهٔ راز پرامپت همینجاست.
پرامپت چیزی جز یک توصیف نیست و همانطور کار میکند که توصیف میان دو آدم کار میکند.
فرض کنید پشت تلفن برای دوستی نقاش توضیح میدهید چه تصویری میخواهید. برایش فهرستی از کلمههای پراکنده نمیخوانید. میگویید چه چیزی آنجاست، کجاست، چه نوری روی آن افتاده و چه حالی باید داشته باشد. ماشین هم تقریباً همینطور میخواند.
پس فرمولی برای حفظ کردن در کار نیست. فقط یک ترتیب هست و چند عادت ساده.
این هفته، گام به گام
گام ۱
اول نسخهٔ کوتاه را بنویسید، همانطور که به ذهنتان میآید.
نمونهٔ ما این است:
«یک کتابفروشی قدیمی با حال و هوای دلتنگی.»
همین را به ابزار بدهید، تصویر را بسازید و نگه دارید. این میشود تصویر اول.
گام ۲
حالا به تصویر اول نگاه کنید و از خودتان بپرسید ماشین چه چیزهایی را ناچار حدس زده است.
کدام کشور
کدام دهه
روز یا شب
کسی در تصویر هست یا نه
نور از کجا میآید
ما کجا ایستادهایم
هر جا که ماشین حدس زده، همانجا تصویر شما و تصویر ساختهشده از هم فاصله گرفتهاند.
گام ۳
حالا به جای واژههای کلی و احساسی، چیزهایی را بگذارید که واقعاً دیده میشوند.
برای مثال، «دلتنگی» را نمیشود مستقیم کشید.
اما اینها را میشود دید:
استکان چایی که سرد شده
صندلیای که کمی از پشت میز عقب رفته
غباری که در ستون نور معلق مانده است
احساس خوب است، اما تصویر با چیزهای دیدنی ساخته میشود.
گام ۴
حالا توصیف را به ترتیب بنویسید:
اول موضوع
بعد مکان و زمان
بعد نور
بعد حال و هوا
و در پایان کادر
با جملههای کامل بنویسید.
پرامپت دوم ما این است:
«یک کتابفروشی کوچک و قدیمی در تهران دههٔ پنجاه، نزدیک غروب. قفسهها تا سقف رفتهاند و کتابها روی زمین هم چیده شدهاند. کتابفروشی سالخورده پشت میز چوبی نشسته و کتاب میخواند و استکان چایی کنار دستش است. نور گرم از پنجرهٔ جلو به داخل میتابد و غبار در آن معلق است. حال و هوا آرام و آمیخته به دلتنگی است. کادر افقی، از آستانهٔ در، مثل یک عکس.»
حالا تصویر را بسازید. این میشود تصویر دوم.
گام ۵
دو تصویر را کنار هم بگذارید.
تصویر اول میتواند هر کتابفروشیای باشد.
اما تصویر دوم مال شماست.
آنچه این تفاوت را ساخته، واژههای پیچیده یا هنری نیست. همان جزئیاتی است که میشود دید.
ببینید ماشین از پیش خود چه افزوده است. گربهای که روی قالی خوابیده، یک چراغ رومیزی، چند پوستر روی دیوار. توصیف کامل هم جاهای خالی دارد و ماشین آنها را با حدس خودش پر میکند. هر کدام را پسندیدید نگه دارید و بقیه را با یک جمله بردارید. غباری که خواسته بودیم تقریباً دیده نمیشود، پس در نوبت بعد به جملهٔ اول میرود.
گام ۶
حالا فقط یک چیز را عوض کنید و همزمان بگویید چه چیزهایی باید بماند.
برای نمونه:
«همهچیز همانطور بماند. زاویهٔ دید به خیابان برود تا کتابفروش را در تاریکروشن غروب از پشت شیشهٔ ویترین ببینیم و چراغ مغازه تنها منبع نور باشد.»
این میشود تصویر سوم.
به تصویر سوم ما خوب نگاه کنید. ماشین صحنه را نگه داشته است، همان میز، همان کتابفروش، حتی گربهٔ روی قالی، و چراغ رومیزی را هم روشن کرده است. اما خورشید هنوز در انتهای خیابان میتابد، پس چراغ مغازه یکی از دو منبع نور است. اینجا نوبت جملهٔ بعدی است. «همهچیز همانطور بماند. خورشید غروب کرده و آسمان تاریک باشد تا چراغ مغازه تنها نور صحنه باشد.»
گام ۷
هر سه تصویر را نگه دارید و کلمهها را هم کنارشان ذخیره کنید.
پرامپتهای شما بخشی از دفتر کار شما هستند. یک ماه بعد، اگر بخواهید دوباره به همان حال و هوا برسید، باید بدانید با چه توصیفی به آن رسیدهاید.
وقتی ماشین راه خودش را میرود
چیزی که خواسته بودید در تصویر نیامده است.
آن را به جملهٔ اول بیاورید و یک بار، ساده و روشن بگویید.
نیمی از جزئیات از تصویر رفته است.
برای شروع، پنج تا هفت جزء دیدنی کافی است. وقتی جزئیات بیش از حد زیاد شوند، ممکن است ابزار بعضی از آنها را نادیده بگیرد یا میانشان انتخاب کند.
یک تغییر خواستید و همهچیز عوض شد.
با «همهچیز همانطور بماند» شروع کنید و بعد همان یک تغییر را بگویید.
چیزی مدام در تصویر میآید که ترجیح میدهید بیرون بماند.
در پایان با یک جملهٔ کوتاه بگویید، مثلاً «خیابان خالی از آدم است.»
تصویر نزدیک است اما حسش کمی فاصله دارد.
اول به نور نگاه کنید. بیشتر حس هر تصویر از نور آن میآید.
واژهنامهٔ کوتاه کار
بیشتر ابزارهای تصویرسازی این اصطلاحات را خوب میفهمند. دانستن معادل انگلیسی آنها هم به کار میآید، چون بسیاری از اصطلاحات رایج عکاسی و سینما در مدلهای تصویرسازی بهخوبی شناخته میشوند.
نور
نور نرم پنجره، نور از پشت سر، آفتاب تند ظهر، ساعت طلایی، تنها یک چراغ
soft window light, backlight, hard midday sun, golden hour, a single lamp
فاصله
نمای نزدیک، نمای میانه، نمای باز
close-up, medium shot, wide shot
زاویه
همسطح چشم، از بالا، از پایین
eye level, from above, from below
عمق
موضوع واضح با پسزمینهٔ محو
a sharp subject with a soft background
جنس تصویر
عکس، آبرنگ، گواش، طراحی با مداد، چاپ دستی
photograph, watercolor, gouache, pencil drawing, linocut print
هفتهٔ آینده هر یک از اینها را یکییکی باز میکنیم.
همان ترتیب، موضوعی دیگر
ترتیبی که آموختید برای هر موضوعی کار میکند. این یک پرتره است:
«قالیبافی سالخورده در کارگاهی روستایی نزدیک کاشان، صبح. پشت دار قالی نشسته و دستهایش روی نخهاست. نور نرم پنجره از سمت چپ روی صورت و دستهایش افتاده است. حال و هوا آرام و پرتمرکز است. کادر عمودی، نمای میانه، همسطح چشم، مثل یک عکس مستند.»
موضوع، مکان و زمان، نور، حال و هوا، کادر. همین ترتیب برای پوستر، جلد کتاب یا تصویری برای یک شعر هم به کار میآید.
نوشته در دل تصویر
اگر تصویرتان نوشته میخواهد، عنوانی روی پوستر یا نامی روی تابلوی مغازه، فعلاً آن را کنار بگذارید. نوشتن کماعتمادترین بخش این ابزارهاست و خط فارسی بیش از هر خط دیگری. گاهی نوشته درست درمیآید، مثل تابلوهای تصویر دوم ما، و بسیاری وقتها نادرست، حتی وقتی متن دقیق را خودتان به ماشین داده باشید. به همان تابلوها دوباره نگاه کنید. کسی آنها را نخواسته بود. املایشان این بار درست از آب درآمده، اما جملهها را ماشین ساخته است و از ما نیست. نوشتهٔ درون تصویر را باید دو بار بازبینی کرد، یک بار حرف به حرف و یک بار برای آنچه میگوید. تصویر را بدون نوشته بسازید و اگر ماشین خودش نوشتهای افزود، با یک جمله آن را بردارید. در بخش هشتم نوشته را خودمان در نرمافزار طراحی اضافه میکنیم، دقیقاً همانطور که میخواهیم.
تمرین این هفته
تصویر هفتهٔ پیش را بردارید.
پرامپتش را دوباره، این بار به ترتیب، بنویسید:
موضوع
مکان و زمان
نور
حال و هوا
کادر
هر جا واژهای کلی و احساسی آوردهاید، ببینید آیا میتوانید آن را با چیزی جایگزین کنید که دیده میشود.
بعد تصویر را بسازید.
سپس فقط یک چیز را با یک جمله عوض کنید و بگویید چه چیزهایی باید همانطور بماند.
همهٔ نسخهها را نگه دارید.
از کجا بدانم درست انجام دادهام؟
کسی که تصویر شما را ندیده، میتواند فقط از روی پرامپتتان آن را کموبیش وصف کند؟
پشت هر واژهٔ احساسی دستکم یک چیز دیدنی هست؟
وقتی یک چیز را عوض کردید، بقیه سر جایش ماند؟
فعلاً هدف ساختن تصویر کامل نیست. هدف این است که یاد بگیرید چگونه آنچه را در ذهن دارید، روشنتر و دقیقتر برای ماشین توضیح دهید.
ابزارهای رایگان برای تمرین
برای تمرینهای این سلسله لازم نیست اشتراک پولی داشته باشید. چند ابزار رایگان در دسترس است و سهم رایگان هر کدام مرتب تغییر میکند، پس پیش از شروع صفحهٔ خود هر ابزار را هم ببینید.
ChatGPT، نسخهٔ رایگان
با گفتوگو تصویر میسازد و ویرایش میکند. سهم رایگانش کم است، پس پرامپت را اول روی کاغذ بنویسید و اصلاح کنید.
Gemini، نسخهٔ رایگان
در حد یک سهم روزانه تصویر میسازد و Google این سهم را هر از چندی تغییر میدهد.
Microsoft Copilot، رایگان
از روی توضیح متنی تصویر میسازد. سرعت و شمار تصویرها به میزان مشغول بودن سرویس بستگی دارد.
Adobe Firefly، نسخهٔ رایگان
شمار محدودی تولید رایگان میدهد که هر روز تازه میشود.
یک عادت برای همهٔ نسخههای رایگان به کار میآید. روی کاغذ فکر کنید، پرامپت را کامل کنید و بعد تصویر بسازید. هر تصویر را یک مرحلهٔ واقعی از کارتان بدانید.
هفتهٔ آینده
کادر، زاویه و نور
چرا دو تصویر از یک موضوع واحد میتوانند تا این اندازه حس متفاوتی داشته باشند؟
زبان تصویر
سه تصویر این تمرین
نسخهٔ اول: پرامپت کوتاه
نسخهٔ دوم: توصیف کامل
نسخهٔ سوم: همان صحنه، نما از خیابان