Meta-prompting: how to get AI to write prompts for you
One of the most underrated skills is asking one model to write a prompt for another. This is called meta-prompting. It saves a designer hours of trial and error, especially with tools like Midjourney or Stable Diffusion that have their own parameter “grammar”. You don’t have to learn that grammar by heart: a text model already knows it for you.
What it is and why it works
The logic is simple. Text models (GPT, Claude, Gemini) were trained on, among other things, documentation, forums and millions of published prompts for other tools. They have seen more successful Midjourney prompts than any living person. So don’t search for “how to write Midjourney prompts”. Ask directly: “write a Midjourney prompt”, and you get a line with correct flags.
There is a second, less obvious reason. A model writes a prompt the way another model is “used to reading” it: with the right word order, the right density of detail and no unnecessary politeness. A person writes “I want something cozy and modern”. A model translates that into “warm evening light, wood and linen textiles, film grain, 35mm”. That translation from the language of intentions into the language of features is the main job of meta-prompting.

“cozy and modern cafe interior”: the model chose the most common “cozy modern”.

The same request in the language of features: light, materials, film, lens.
cozy and modern cafe interior --ar 3:2The same adjectives translated into light, materials, film and lens
cafe interior, warm evening light, wood and linen textiles, film grain, 35mm --ar 3:2One “but” is worth remembering from day one. A model’s knowledge is frozen at its training date, and tools update every few months. Midjourney’s current default version is V8.2 (released in July 2026). A model trained a year ago will confidently add --v 6 and the --cref parameter, which newer versions no longer have. The fix is one line in your request: name the current version of the tool. If the chat can browse the web, paste a link to the parameters page in the official documentation.
The typical chain and three modes
The basic chain stays the same from tool to tool:
- You describe the task in your own words, without special syntax, in an ordinary chat (GPT, Claude, Gemini).
- You ask the model to turn the description into a prompt for a specific tool, naming the tool, its version, the style and the technical parameters.
- You copy the finished prompt into the target tool (Midjourney, Stable Diffusion, Flux, v0, Runway and so on).
- If you don’t like the result, you go back to the text chat and describe what exactly went wrong. You don’t need to guess which word to change: that is the model’s job.
Step 4 matters more than it seems. If the picture has unwanted text, the wrong angle or blown-out light, attach the result to the chat as an image. Modern models can see images and will figure out which parameter to adjust. “Here is what I got, here is what I wanted, fix the prompt” is the most productive sentence in all of meta-prompting.

The first generation: an illustration instead of a photo.

After fixing the prompt in the chat, same seed.
a fox sitting in a snowy forest, cute, vibrant colors --ar 3:2 --seed 808Those words replaced with photo features, same seed
wildlife photograph of a red fox sitting in a snowy forest, overcast winter light, telephoto lens, shallow depth of field, muted natural colors, realistic fur detail --ar 3:2 --seed 808 --rawWithin this chain, the model can work in three modes. Tell them apart and switch them on deliberately.
| Mode | What you give it | What you get | When to use it |
|---|---|---|---|
| Generator | The task in your own words | A finished prompt for the target tool | You are starting from scratch, the tool is unfamiliar |
| Improver | Your prompt and signs that it isn’t working | A breakdown of weak spots and a rewritten version | You have something that works, but the result is unstable |
| Interviewer | A request to ask questions first | A list of questions, then a prompt based on your answers | The task is vague, and you don’t know yourself what you want |
The interviewer mode is the least used. The line “before you write the prompt, ask me five questions without which the result will be random” does what a good art director does at a briefing. It pulls out of you what you considered obvious and therefore didn’t say. For an image, that is usually the angle, the lighting, the degree of realism and what definitely must not be there. For an interface, it is who the user is, which action is the main one and what happens after an error.
An example of step 1→2 in practice. This is how you ask for a prompt for another tool:
I need a prompt for v0 to build a newsletter signup form: an email field, a button and a success state after submitting. First ask me questions if anything is missing, then turn the task into a clear, structured prompt for the agent.
Built-in prompt generators: vendors do it too
Meta-prompting is a standard feature from the model developers themselves, not an enthusiast’s hack. They don’t ask people to learn prompt engineering: they let the model write the prompt for you.
Anthropic Console. The developer console has two tools. The Prompt generator (May 2024) takes a task description and assembles a prompt template: a role, space for reasoning, XML markup and examples. Its variables are written as {{field}} so the template can be reused. The Prompt improver (October 2024) takes a prompt you have already written and runs it through five steps. It adds a section for step-by-step reasoning, brings the examples to one format and adds explanations to them. Then it rewrites the text for clarity and, if needed, adds a prefilled start of the answer. In Anthropic’s test on article classification, accuracy rose by 30% after improvement. The most useful part for a designer is the list of techniques, not the button itself: a role, reasoning before the answer, structure, examples. Ask any chat for exactly those.
OpenAI Playground. The Generate button does the same for GPT models. OpenAI published the meta-prompt itself that it uses. Read it in full: it is a concentrate of how the model’s own authors picture a good prompt. Three rules from it carry over to anything. Reasoning comes before the output, not after. The response format is set explicitly and in detail, down to length and syntax. In examples, complex parts are replaced with placeholders in square brackets. And there is a separate warning in the same text: avoid unnecessary instructions and empty phrases.
Image generators themselves. Some tools do meta-prompting for you without asking. DALL·E 3 worked this way: it ran every prompt through GPT, which added details and edited the wording. OpenAI stated plainly that you couldn’t turn this off: you could only give the “rewriter” an instruction inside the prompt itself. FLUX.2 went further. Its text encoder is a full language model, so it reads the prompt as coherent text, not as a set of tags. The practical takeaway: when you write the prompt through an external chat, you take over this step. You decide what gets added, instead of relying on the taste of a built-in “improver”.
Anatomy of a good meta-prompt
“Write a Midjourney prompt about a cat” will work, but it gives you the internet average. For the model to write a prompt for your specific task, the request needs five things. It is the same structure as an ordinary brief, only the recipient is a model.
| Part | Why | Example wording |
|---|---|---|
| Target tool and version | Each has its own syntax and habits | “for Midjourney V8.2 in the web interface”, “for v0 as a single starting prompt” |
| Task context | So the model picks relevant details instead of random ones | “an illustration for the hero of the landing page for the B2B service ‘Reconciliation without tears’, the audience is CFOs” |
| References and anti-references | An example beats any adjective | “closer to Stripe’s illustrations, definitely not Corporate Memphis”; or an attached screenshot |
| Constraints | What the model would otherwise choose for you | “16:9, no text in the image, no people in close-up, the palette from the brand book: …” |
| Response format | To get something you can copy, not an essay | “only the prompt line in a code block, then one list of what each parameter does” |
The last row of the table is the cheapest way to learn. Ask: “explain what each parameter does and why you chose that value”. That turns every generated prompt into a mini-lesson. After ten of these prompts you know how --stylize 50 differs from --stylize 750 without opening the documentation.
Here is a template with all of this put together. Save it and change only the brackets:
You are a prompt engineer for [tool and version]. Write a prompt for this task: [the task in your own words, 1–3 sentences].
Context: [where it will be used, for whom].
References: [what it should resemble / what it definitely shouldn’t resemble].
Constraints: [format, palette, what must not be there].
If you don’t have enough information for a good result, ask questions first, no more than five. Then return: 1) the prompt itself in a code block, ready to copy; 2) a list of parameters with an explanation of each; 3) the one thing you would change first if I don’t like the result.
For agents that build interfaces (v0, Lovable, Bolt, Claude Code), the template is the same. The constraints gain the stack, the states and the behavior on error. The response format gains a request to split the prompt into sections: task, screens, components, style, what not to do. More on these prompts in the “Vibe coding: websites” topic.
Every tool has its own language, and the model needs to know which
At first almost everyone assumes a “good prompt” is universal. But a prompt that gives a great result in Midjourney will work worse in FLUX 3 than a plain English sentence. So always name the tool in the meta-prompt. And when you move a task from one tool to another, ask for a translation, not a copy. Here is what changes, as of October 2026:
| Tool | How the prompt is built | What to ask the text model for |
|---|---|---|
| Midjourney (V8.2) | A short description + flags at the end: --ar proportions, --stylize strength of the “artistry”, --chaos spread of variations, --no exclusions, --sref style from an image, --raw less “Midjourney taste” |
Name the version, ask for current flags only (the old --cref was replaced in V8 by editing with references) |
| Stable Diffusion (SD 1.5, SDXL) | A comma-separated list of tags, weights in parentheses, a separate negative prompt, numeric CFG Scale and Steps | Ask for two blocks, positive and negative, and starting parameter values for the specific model version |
| FLUX 3 and FLUX.2 | Coherent text, like a writer’s: subject → action → style → context; what comes first matters; negative prompts are not supported | Ask to rephrase every “no …” as a positive description: not “no clutter” but “an empty concrete floor” |
| GPT Image (images in ChatGPT) | Plain language, no flags | If you need it literal, ask it not to add details beyond the ones described |
| Video (Seedance, Runway, Kling, Veo) | One action per shot, camera movement, duration; the fewer events, the more stable | Ask to split the scene into separate prompts per shot and name the camera move explicitly |
| UI agents (v0, Lovable, Bolt) | A structured spec: screens, components, states, style, stack | Ask to format it as a specification with sections and an explicit “don’t do” list |
Notice the opposite habits in one table. Stable Diffusion likes tag lists and a separate negative prompt. FLUX reads lists poorly and has no negative prompt at all. The text model knows about this difference, but only if you tell it where the prompt is going. A universal line for moving a prompt over:
Here is a prompt that works well in Midjourney: [paste]. Translate it for FLUX 3: keep the composition, light and mood, remove the flags, rewrite it as coherent text, and turn everything that was in --no into a positive description of what should be there instead.
What the research says: models really do write prompts as well as people
This is a measured fact, not practitioners’ impressions. Here are three papers you can cite when a colleague says “you should write prompts yourself”.
APE, 2022. In the paper “Large Language Models Are Human-Level Prompt Engineers” (Zhou et al., University of Toronto), the model proposed dozens of instruction variants on its own. They were run on the task, and the best one was kept. The automatically found instructions matched or beat human-written ones on 19 of 24 tasks. That is exactly what you do by hand when you ask for “three versions of the prompt” and pick the best one by the picture.
OPRO, 2023. Google DeepMind went further: the model iteratively improved the prompt by looking at which versions worked better (“Large Language Models as Optimizers”). The best prompts it found beat human ones by up to 8% on grade-school math and up to 50% on the hard Big-Bench Hard tasks. The most quoted result from it is the phrase “Take a deep breath and work on this problem step-by-step”. The model found it, and it reached 80.2% accuracy versus 71.8% for the human-invented “Let’s think step by step”. No human thought of the “deep breath”. That is the whole point: the model knows things about its own reactions that we don’t.
“Meta-Prompting”, 2024. Note that in academic literature this word sometimes means something else. In the paper by Suzgun and Kalai (Stanford and OpenAI), “meta-prompting” is when one model acts as a conductor. It breaks down the task, writes prompts for its own “experts” and assembles their answers. On puzzles and programming tasks this approach beat ordinary prompting by 17%. For a designer, it is the same principle at a different scale. A model that writes prompts for a model is how modern agents with subagents work; the “Your own harness” topic covers them.
DSPy. Take the idea to its end, and a prompt stops being text that someone writes at all. The DSPy framework from Stanford proposes “programming, not prompting”. You describe what goes in and what comes out, give examples of good answers, and an optimizer picks the prompt wording. A designer doesn’t need to install it, but it helps to know where things are heading. The value shifts from “I know the magic words” to “I can define what good looks like”. That is the subject of the “Evaluating and critiquing AI output” topic.
All four lead to one conclusion: your contribution is the criterion, not the wording. The model will run through options faster than you, but only you know which one fits.
Where meta-prompting breaks
An honest list of what goes wrong if you trust the model completely.
Made-up parameters. The model will confidently add a flag that doesn’t exist, or an outdated one. The tool will either throw an error or silently ignore it. If you see an unfamiliar parameter, ask the same model where it came from and check it against the tool’s official parameter list. This is the one case where you do have to look at the documentation, but for five seconds, not an evening.
Bloated prompts. Models love to add “masterpiece, ultra-detailed, 8k, award-winning, trending on ArtStation”. For old versions of Stable Diffusion this made sense. For modern models it is noise that pulls attention away from your real requirements. OpenAI’s own meta-prompt asks to avoid “unnecessary instructions and empty phrases”. Ask: “remove everything that doesn’t change the result, and explain why each remaining word is there”.
The bland average. Without references and constraints, the model writes a prompt for the most likely picture, the one you have already seen a hundred times on other people’s landing pages. The less you give it, the more AI slop comes out. How to spot it and clean it up is covered in the “AI slop” topic.

The prompt the chat wrote from a bare “write a prompt about finance”.

A prompt built with the “Anatomy” template: context, references, constraints.
flat illustration of diverse business people with charts, coins and arrows, financial growth concept, corporate style, vibrant colors --ar 16:9hero image for a B2B treasury software landing page: overhead photo of a tidy oak desk with a printed cash-flow report, a fountain pen and a cup of black coffee, hard late-afternoon window light with long shadows, palette of ink navy, paper white and brass, wide empty area on the left for a headline, no people, no screens, no text --ar 16:9 --rawBlind transfer between tools. A prompt with a negative prompt and weights in parentheses won’t break when you paste it into FLUX. It will just give an unpredictable result, and you will blame the model. Always ask for a translation instead of copying.
Other people’s data in the chat. Meta-prompting tempts you to paste the client’s entire brief into the chat so “the model gets everything”. Before you do, check what your NDA and the chat’s settings on training with your data say. Names, numbers and unreleased products are easy to swap for placeholders, and the quality of the prompt doesn’t suffer.
A prompt instead of taste. The most expensive mistake. A perfect prompt for a bad idea gives you a well-made bad picture. Meta-prompting clears syntax out of your way, but the decision about what exactly should be in the picture, and why, stays with you.
A prompt library is the next step after meta-prompting
Once you find a working prompt, save it to a shared team document with its variable parts: “template + what to change for a new task”. That way a one-off lucky find becomes a reusable asset. Two rules keep the library alive. Next to the prompt, store the resulting image, the date and the tool version: six months later the same prompt may give a different result. And save not only the prompt but also the meta-prompt you used to get it. The meta-prompt will survive tool version changes; the prompt itself won’t. More in the “Production workflows and handing off results” topic.
Command examples
I need an illustration for the landing page of a SaaS product about time management: a flat illustration, pastel tones, a bit of humor. Write a ready-to-use prompt for Midjourney V8.2: 16:9 aspect ratio, only parameters that exist in this version, and explain each one.
Here is a prompt for Stable Diffusion XL that I use: [paste]. Add a correct negative prompt to get rid of extra fingers and distorted proportions, and suggest starting CFG Scale and Steps values for a cleaner result.
The result came out too cartoonish, and I need it photorealistic. I’m attaching the image and the prompt that made it: [paste]. Tell me which words and parameters pull it toward cartoon, and rewrite the prompt without changing the composition.
Before you write the prompt, ask me five questions without which the image will come out random. The task: a cover for an article about designer burnout, the tool is FLUX 3.
I want to build a landing page in v0. Here is the idea in plain words: [paste]. Turn it into a structured prompt for the agent: page sections, components, style, click behavior, and a separate “don’t do” list.
Improve this prompt for writing copy: check whether it is specific enough about audience, tone, length and format. First show a list of weak spots, then the rewritten version: [paste the prompt]
Here are ten prompts from our team library: [paste]. Find the repeating parts, pull them into one template with variables in square brackets, and write a three-line instruction for it on what to change for a new task.
One more useful trick: ask not for one prompt but for several variations with different strength of effect at once. This is the manual version of what the APE researchers did. One request gets you a palette of directions instead of a single result, and the line about the differences teaches you which words move the result.
Make 3 versions of this prompt: conservative, medium and as bold as possible in style. Under each one, add a single line on exactly how it differs from the previous one.
Conservative

Medium

Bold

Conservative — a calm still life, soft light
hero photo for a time management app landing page: a tidy desk with an open paper planner and a simple wall clock, soft morning light, calm muted palette, editorial still life --ar 3:2Medium — the same subject, more playful: top-down view, hard light, one accent
hero photo for a time management app landing page: overhead shot of a desk where sticky notes are lined up into a neat timeline, one coral note slipping out of line, hard window light with crisp shadows, playful still life --ar 3:2Bold — surrealism, contrasting colors, --stylize 600 --weird 300
hero photo for a time management app landing page: surreal still life, a melting alarm clock draped over a tall stack of torn calendar pages, hard coral light against an ultramarine backdrop, long dramatic shadows --ar 3:2 --stylize 600 --weird 300Sources
The numbers and facts in this topic were checked against these pages on October 4, 2026. Tool versions change faster than anything else: if something doesn’t add up, look here.
- Midjourney — Version: the current default version is V8.2, released July 24, 2026.
- Midjourney — Parameter List: current parameters;
--oref/--crefwere replaced in V8 by--edit. - Black Forest Labs — Prompting Guide: FLUX 3, like FLUX.2, doesn’t support negative prompts, so exclusions are rewritten as positive descriptions; it reads coherent text, and word order matters.
- OpenAI Cookbook — What's new with DALL·E 3: prompts are rewritten by GPT before generation, and this can’t be turned off.
- OpenAI — Prompt generation: the Generate button in the Playground and the full text of the meta-prompt.
- Anthropic — Prompt generator (May 20, 2024) and Prompt improver (October 14, 2024): what the Console tools do, the five improvement steps, +30% accuracy on classification.
- Zhou et al., 2022 — Large Language Models Are Human-Level Prompt Engineers: APE, parity with or superiority over human instructions on 19 of 24 tasks.
- Yang et al., 2023 — Large Language Models as Optimizers: OPRO, up to +8% on GSM8K and up to +50% on Big-Bench Hard; “Take a deep breath…” scores 80.2% versus 71.8% (Table 1).
- Suzgun, Kalai, 2024 — Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffolding: “a conductor and experts”, +17.1% over ordinary prompting.
- DSPy: “programming, not prompting”, with prompt optimizers built into the framework.
Describe a real visual task in your own words in an ordinary chat and ask the model to turn it into a prompt for Midjourney, Stable Diffusion or FLUX. Be sure to name the tool and its version. Midjourney has no free plan, so if you are starting for free, use Nano Banana in Gemini or GPT Image in ChatGPT. Generate the result. If you don’t like it, go back to the chat, attach the image and ask the model to adjust the prompt based on what went wrong. Don’t edit the prompt by hand. At the end, ask the model to translate the final prompt for a second tool and explain what had to change.
Sources
- Version 8.2updates.midjourney.com
Midjourney V8.2 released on July 24, 2026
- Edit Model for V8updates.midjourney.com
An editor with four references instead of the old --cref and --oref
- Prompt generation | OpenAI APIdevelopers.openai.com
OpenAI’s meta-prompt that powers the Generate button
- Prompt improver | Claudeclaude.com
Five steps of prompt improvement and a 30% accuracy gain
- FLUX prompting referencedocs.bfl.ai
FLUX.2 doesn’t support negative prompts and needs coherent text
- Large Language Models as Optimizersarxiv.org
OPRO: prompts found by a model beat human-written ones
Found a mistake or an outdated fact? Write to hey@iskra.guide