Lesson 18 of 32 · Part One, the principles
The Principle of Controlled Imagination
Creative work needs two things at once. The spark is the invitation to invent - write a story, design a poster, build a role-play. The fence is everything you settle in advance: who the character is, where it happens, how long it runs, what tone it keeps, what must be true at the end. Without the fence the machine wanders off somewhere irrelevant; without the spark it merely rearranges what you already told it. Give it both and you get something you did not expect, in the shape you actually needed.
How to use The Principle of Controlled Imagination in ChatGPT
It can write the story and make the picture, which makes it the natural home for this chapter - but the two need handling differently. For words, work in Canvas: the story sits in one document and you fix the paragraph that went wrong instead of regenerating the whole thing and losing the three lines you liked. For pictures, change one thing per round and say what must stay the same, because every new attempt is a new drawing rather than an edit of the old one. And when the fence is the same every time - gentle, about 400 words, no villains, ends with sleep - put it into a Custom GPT and supply only the new idea each night.
- Write in Canvas; fix the paragraph, do not regenerate the story.
- Count the words on the first draft - length is dropped first.
- One change per image round, and name what must stay.
From GenAI for Everyone: Prompt Engineering Handbook, First Edition 2025, by Raja Rajeshwari Seshadri and Dr. Shreeram Iyer and Sridhar Seshadri.
It can write the story and make the picture, which makes it the natural home for this chapter - but the two need handling differently. For words, work in Canvas: the story sits in one document and you fix the paragraph that went wrong instead of regenerating the whole thing and losing the three lines you liked. For pictures, change one thing per round and say what must stay the same, because every new attempt is a new drawing rather than an edit of the old one. And when the fence is the same every time - gentle, about 400 words, no villains, ends with sleep - put it into a Custom GPT and supply only the new idea each night.
From the book Ask ChatGPT to create the image, then reply with one change at a time, such as "make the sky darker". Canvas is useful for editing a story paragraph by paragraph.
- Write in Canvas; fix the paragraph, do not regenerate the story.
- Count the words on the first draft - length is dropped first.
- One change per image round, and name what must stay.
- Never ask for text inside a picture; leave space and add it later.
- Put a repeated fence into a Custom GPT and supply only the new idea.
Instead of
Write a bedtime story for a 6-year-old.
ChatGPT version
Write a bedtime story for my six-year-old granddaughter and open it in Canvas, so I can correct a line here and there without losing the rest. The fence: - Her name is Gowri. She is a small elephant calf who is afraid of the dark. - A forest beside the Kaveri, during Dasara. - By the end she has worked out that the night has its own lights - fireflies, stars, the festival lamps across the water. - Gentle and unhurried, the way a grandmother tells it aloud. Short sentences. Nothing frightening, no villain, nobody lost. - About 400 words. It must end with Gowri falling asleep. The spark: somewhere in the middle, put in one funny moment I would not have thought of. Do not explain the joke and do not point it out. Two things after the story, outside the Canvas: the word count, and one line telling me what the funny moment is, in case I miss it while reading aloud at night.
Then loop it
- Lovely, but it is 640 words. In the Canvas, cut it to about 400 - take it out of the opening, not the ending - and keep every sentence short. Make the funny moment a monkey who steals a laddoo.
- Keep the story exactly as it stands and add nothing. Now give me the Kannada version in a second Canvas, and under it a plain English read-back so I can check the funny part survived.
- Save this as a Custom GPT called "Gowri stories" - gentle, short sentences, about 400 words, no villains, ends in sleep, one funny moment - so each night I only type the new adventure. Then suggest three adventures for the coming nights.
Why it worksThe spark - "surprise me with one funny moment" - sits inside a firm fence of character, setting, goal, length and tone.
Instead of
Make a cool poster for my folk music show.
ChatGPT version
Create an image for a concert poster for a Rajasthani folk music group. The scene: four musicians seated on a sand dune at sunset, playing kamaicha, dholak, khartal and morchang. Each instrument should be recognisable to someone who knows them - the kamaicha bowed and held against the chest, the khartal a pair of wooden clappers in the hands, the morchang small and at the mouth. The look: a warm painted quality drawn from Rajasthani miniature painting, but modern and clean - not a reproduction of a miniature, and not a photograph. Colour: saffron, deep red, an indigo sky. Composition: vertical, shaped for a phone screen. The top third empty for text I will add myself. No words, letters or numerals anywhere in the image - I will put the concert details on the empty third in my own typeface. Before you draw, tell me in two lines how you intend to arrange the four figures and where the light falls. If my instructions leave something undecided, decide it and say what you decided.
Then loop it
- Good mood. Keep the dune, the light and the colours exactly as they are. Change only the musicians: give each a different age and a different turban colour, and keep the top third empty.
- The morchang player's hands are wrong - the instrument should be at the mouth, held in one hand. Fix that alone and leave the other three figures untouched.
- Now a wide version for a banner, same style, same colours, same four instruments - and this time leave the left third clear instead of the top.
Why it worksThe fence of instruments, style, colours and empty space lets the AI invent the scene freely while still giving Bhanwar a poster he can use.
Instead of
Make a fun activity on water pollution.
ChatGPT version
Build a thirty-minute role-play for my Class 8 science period, on water pollution and purification, and open it in Canvas so I can trim the cards after the first attempt. Give it to me as a run sheet, minute by minute - minutes 0 to 5 setting the scene, and onward to minute 30 - showing what I say, what the children do, and where the argument is meant to flare up. The situation: an imaginary village on the bank of the Mahanadi, a few days after a flood. Six parts to hand out: a farmer, a health worker, a factory manager, and three children of the village school. They must leave the room having agreed on one plan to make the drinking water fit to drink. Each part gets a card of three or four lines, addressed as "you", so a thirteen-year-old reads it and simply becomes that person. The manager must have an argument worth answering - I am not staging a pantomime with a villain in it. The science has to be right at Class 8 level and usable in a real village: no equipment nobody owns, no imaginary filter. Halfway along the run sheet, drop in a complication of your own devising - something a flood genuinely does to a village's water. Keep it in a teacher-only box at the foot of the document so nobody reads ahead. Finish with the two or three scientific points I must make certain survive the shouting.
Then loop it
- The twist works. Keep every card as it is and add two questions at the end of each - one about the science, one about what that person had to give up in the agreement.
- The factory manager's card is too easy to argue against. Give him a real case to make, at Class 8 level, without turning him into the villain of the lesson.
- Now the six cards in Odia for the students who prefer it, keeping the second-person wording, and leave the teacher's twist in English.
Why it worksFreedom in the characters and twist, fenced by a real topic, a time limit and correct science, gives a lesson that is lively but on target.
Questions
What is The Principle of Controlled Imagination in prompt engineering?
Creative work needs two things at once. The spark is the invitation to invent - write a story, design a poster, build a role-play. The fence is everything you settle in advance: who the character is, where it happens, how long it runs, what tone it keeps, what must be true at the end. Without the fence the machine wanders off somewhere irrelevant; without the spark it merely rearranges what you already told it. Give it both and you get something you did not expect, in the shape you actually needed.
When should I use this technique?
When you want it to invent something - a bedtime story, a concert poster, a classroom activity - but the result has to be usable: the right length, the right language, nothing frightening, nothing off the topic.
How do I apply it in ChatGPT?
It can write the story and make the picture, which makes it the natural home for this chapter - but the two need handling differently. For words, work in Canvas: the story sits in one document and you fix the paragraph that went wrong instead of regenerating the whole thing and losing the three lines you liked. For pictures, change one thing per round and say what must stay the same, because every new attempt is a new drawing rather than an edit of the old one. And when the fence is the same every time - gentle, about 400 words, no villains, ends with sleep - put it into a Custom GPT and supply only the new idea each night.
What are the limits of this technique in ChatGPT?
Pile on constraints and ask for a surprise in the same breath and something quietly gets dropped, usually the length. Count the words on the first draft; a 400-word story comes back at 700 and reads beautifully. For images, two things are worth knowing. Text inside a generated picture comes out wrong - misspelt, half-formed, in the wrong alphabet - so ask for empty space where words go and add the words yourself afterwards. And the picture cannot be edited, only redrawn: ask for one change and faces, clothes and background shift as well, so name what must not move.
How do I improve the answer after the first try?
Read the first draft and ask two questions: did it stay inside my fence, and did it surprise me? If it wandered - wrong length, wrong tone, a scary villain - tighten one rule: "Keep it under 300 words, with no villains." If it feels flat and safe, loosen one: "Be more playful in the middle." Change one rule at a time so you can see what each change does. When you find the right mix, save the prompt as a template and change only the character or setting next time.
Loop it
Read the first draft and ask two questions: did it stay inside my fence, and did it surprise me? If it wandered - wrong length, wrong tone, a scary villain - tighten one rule: "Keep it under 300 words, with no villains." If it feels flat and safe, loosen one: "Be more playful in the middle." Change one rule at a time so you can see what each change does. When you find the right mix, save the prompt as a template and change only the character or setting next time.
This lesson on the other tools
The technique is the same; the way you write it is not. Claude, Gemini.Perplexity.