Almost everyone who starts generating images with AI spends months trying to improve results through the prompt alone: swapping "beautiful" for "stunning", piling on "8K", "ultra detailed", "masterpiece". And the output barely changes. The reason is simple: much of what determines the final image isn't in the text at all — it's in the parameters.

Parameters are the numeric controls that tell the model how to draw, not what to draw. Canvas proportions, how strictly it should follow your text, how many refinement steps it runs, which random seed it starts from, how much aesthetic freedom it gets. They're what separates someone generating ten random variations from someone who can repeat, adjust and evolve an image on purpose.

This guide is a technical reference for the five parameters that show up in practically every tool — aspect ratio, seed, CFG, stylize and steps — plus a few neighbouring controls worth knowing. The idea is that you can come back whenever you need a reminder of what each value does, which range to adjust, and what breaks when you push too far.

Why parameters matter more than adjectives

A diffusion model starts from pure noise and progressively "cleans" that noise until an image emerges. The prompt works like a map of the destination; the parameters define the road, the speed, and how much the driver is allowed to improvise along the way.

That explains why two identical prompts produce completely different images, and why adding more adjectives often changes nothing. If the model already has low adherence to the text (low CFG), piling on words won't help — it simply isn't paying much attention to them. If steps are too low, no adjective will rescue the texture of the image, because the model didn't have enough iterations to resolve the detail.

The habit that separates beginners from experienced users is this: change one parameter at a time. If you swap the prompt, the seed and the CFG in the same attempt, you won't know what caused the improvement. Lock the seed and adjust only the CFG, and you isolate the variable and actually learn how that model behaves.

💡 Tip: before optimising anything, generate four images with the same prompt and the default parameters. They show you the model's baseline. Only then start changing values — and always one at a time.

Aspect ratio: the proportion that defines the framing

Aspect ratio is the relationship between the width and the height of the image. In Midjourney it's written as --ar 16:9; in Stable Diffusion and its derivatives you set width and height in pixels; in ChatGPT and Gemini you can usually just ask in plain language ("portrait 9:16 format").

It looks like the most trivial parameter on the list, but it's the one with the biggest influence on composition. The model doesn't simply crop the same scene into different shapes — it recomposes. A portrait requested in 16:9 tends to become a medium shot with a wide background; the same prompt in 2:3 becomes a classic vertical photographic close-up. The proportion changes what the AI understands as "natural framing" for that scene.

The most common values and what they're for

RatioTypical useWhat the model tends to do
1:1Avatar, Instagram feed, icon, product thumbnailCentres the subject, simplifies the background
4:5Vertical Instagram and Facebook postsMedium shot, strong subject presence
2:3Photographic portrait, poster, book coverClose-up or American shot, editorial feel
9:16Stories, Reels, TikTok, phone wallpaperVertical composition, lots of space above and below
16:9YouTube thumbnail, banner, cinematic sceneWide shot, landscape, surrounding context
21:9Ultrawide cinematic, website heroPanoramic, subject small within the frame
3:1Header banner, LinkedIn coverHorizontal strip; usually needs a very specific prompt

One frequent trap: very extreme ratios (like 3:1 or 1:3) confuse models trained mostly on images closer to square. Duplication is common — two faces, two heads, elements repeated along the edges — because the model tries to "fill" a space it has no strong reference for. In those cases the safer route is to generate in 16:9 and then use cropping or outpainting to reach the final shape.

Another practical point: generating at the right ratio from the start always beats cropping afterwards. Cropping discards pixels and reduces usable resolution. If you need the same image in several formats, generate in the most restrictive one (usually the vertical) and adapt the rest with controlled resizing.

Seed: the number that makes results repeatable

The seed is the integer that initialises the random noise the image grows out of. Same prompt + same seed + same parameters + same model = the same image, pixel for pixel. Change the seed and everything changes.

This is probably the most underused parameter among beginners, and the most important one for anyone working with AI professionally. Without controlling the seed you can't iterate — you can only roll the dice again.

There are three practical uses:

One important limitation: the seed is specific to the model and the version. Seed 42 in SDXL produces nothing resembling seed 42 in Flux. Switch models and your old seeds become meaningless numbers. So always record model + version + seed together, never the seed on its own.

💡 Tip: when a generation comes out well, immediately save the full set: prompt, negative prompt, seed, CFG, steps, sampler, model and ratio. A simple spreadsheet with those columns is worth more than any folder of loose images — without that data, a great result is irreproducible.

CFG scale: how strictly the AI follows your prompt

CFG stands for Classifier-Free Guidance, and the CFG scale controls how much weight the model gives your text versus what it would "prefer" to draw on its own. In practice, it's an obedience dial.

Low values leave the model creative and loose, but it starts ignoring parts of the prompt. High values force literal adherence, but the image turns saturated, with hard outlines, exaggerated contrast and an artificial look — the classic "overcooked" result.

CFG rangeBehaviourWhen to use it
1–3Nearly ignores the prompt; unpredictable, ethereal outputArtistic exploration, abstract textures
4–6Free interpretation, soft colours, more natural lookPhotorealism, portraits, organic scenes
7–9Balance between obedience and naturalness — the default rangeGeneral use; recommended starting point
10–14Strong adherence to the text, more intense coloursIllustration, graphic design, specific compositions
15+Saturation, artefacts, hard edges, distortionRarely useful; only in very specific cases

One detail that confuses a lot of people: newer models use different ranges. Flux, for example, works on its own guidance scale where values between 2 and 4 are normal — setting 7 there is already high. Turbo and distilled models, built to run in very few steps, usually want CFG between 1 and 2. In other words: there's no universal number, only the right number for that model. Always check the recommendation from whoever published the checkpoint before assuming 7 is the default.

Practical symptom of CFG being too high: plastic-looking skin, neon colours, a dark halo around outlines, text or patterns repeated aggressively. Symptom of CFG too low: the image is beautiful, but half of what you asked for isn't in it.

Stylize: the model's own aesthetic

The --stylize parameter (or --s) is specific to Midjourney and controls how much of its own artistic sensibility the model applies on top of your request. It's almost the conceptual opposite of CFG: instead of measuring obedience to the text, it measures aesthetic freedom.

The scale runs from 0 to 1000, with 100 as the default. In practice:

There's a sibling parameter that often gets confused with it: --chaos (or --c, from 0 to 100), which controls the variety between the four images in a batch, not the style of each one. High chaos returns four radically different interpretations of the same prompt — excellent for early brainstorming, terrible once you already know what you want. There's also --weird, which injects deliberate strangeness and belongs more to experimentation than to client work.

Outside Midjourney there's no direct stylize equivalent. A similar effect comes from other routes: style LoRAs, aesthetic keywords in the prompt, or fine-tuning the CFG. The concept is still worth knowing, because the logic of "how much personality the model may add" shows up in different forms in nearly every tool.

Steps: how many iterations the model runs

Steps (or sampling steps) is the number of denoising stages. Each step brings the image a little closer to the final result. More steps means more processing time — and, up to a point, more detail.

The key phrase is up to a point. This parameter has very clear diminishing returns: the difference between 10 and 25 steps is enormous; between 30 and 60 it's subtle; above 80 it's practically imperceptible, and you're only burning time and energy.

StepsResultNote
1–8Only works on turbo/distilled modelsOn normal models it comes out blurry and incomplete
10–20Quick draft, defined shapes, weak detailGood for testing composition and prompt
25–35Production quality in most casesRecommended default range
40–60Marginal gain on very complex scenesOnly worth it with many elements in frame
80+No perceptible gainWasted time and processing

Steps and sampler are directly linked. Samplers like DPM++ 2M Karras converge quickly and deliver good results around 25 steps. Samplers like Euler a (ancestral) never fully converge — the image keeps changing as you raise the step count, which can be good (more variation to explore) or bad (it hurts reproducibility). If consistency is your goal, favour non-ancestral samplers.

A practical workflow decision: run early exploration at low steps (15–20) to test dozens of prompts quickly, and only regenerate the final version, with the winning seed, at 30–40 steps. That saves a lot of time compared to running everything at maximum quality from the start.

The neighbouring parameters also worth knowing

Beyond the main five, a few controls come up often and solve specific problems:

Which parameters exist in each tool

Naming varies a lot between platforms, which causes much of the confusion. This table maps the equivalents:

ToolAspect ratioSeedCFG / guidanceStepsStylize
Midjourney--ar 16:9--seed 1234Not exposedNot exposed--s 100
Stable Diffusion / ComfyUIWidth × heightSeed fieldCFG ScaleSampling stepsVia LoRA or prompt
FluxWidth × heightSeed fieldGuidance (2–4)20–30 typicalVia LoRA or prompt
ChatGPT / GPT ImagePlain languageNot exposedNot exposedNot exposedVia prompt
Gemini / Nano BananaPlain languageNot exposedNot exposedNot exposedVia prompt
Leonardo AIPresets + customSeed fieldGuidance ScaleYesStyle presets

Notice the pattern: the more consumer-facing the tool (ChatGPT, Gemini), the fewer parameters it exposes — the platform decides for you. The closer to the raw model (ComfyUI, Automatic1111), the more control you get. Neither approach is superior; they serve different goals. If your work depends on repeating results, you'll eventually need a tool that exposes seed and CFG.

How parameters interact: recipes by goal

Parameters don't work in isolation. These combinations are tested starting points — adjust them to your model:

GoalRatioCFGStepsNote
Photorealistic portrait2:3 or 4:54–630Low CFG avoids plastic skin
Product photo1:17–930–35Neutral background in the prompt
YouTube thumbnail16:99–1225High CFG for strong colours
Illustration / concept art16:9 or 21:97–1030High stylize in Midjourney
Logo and branding1:18–1230Low stylize for fidelity
Phone wallpaper9:166–935Leave clear space for icons
Quick prompt test1:1715Just to validate the idea

The logic behind these choices is consistent: photorealism wants low CFG (the model already knows what a photo looks like; forcing it ruins the effect); graphic design and promotional material want high CFG (you need exactly those elements, in those colours); and steps only go up when there's a lot of fine detail competing for space in the scene.

Common mistakes and how to fix them

Quick checklist before generating

  1. Choose the ratio based on the image's final destination, not the tool's default.
  2. Start from the model's default values — and confirm what they are, because they vary.
  3. Run a cheap test: low steps, four variations, just to validate the direction.
  4. Pick the best variation and write down the seed.
  5. With the seed locked, adjust one parameter at a time until it lands.
  6. Regenerate the final version at production steps (30–40).
  7. Record prompt, negative, seed, CFG, steps, sampler, model and ratio.
  8. Do the post-production: upscale, crop, sharpening and compression for the web.

After generating: the step almost everyone skips

An AI-generated image is rarely ready to publish. It usually arrives as a heavy PNG, at the model's native resolution, without the exact crop your channel requires. That final treatment stage is what separates an image that reads as "AI output" from an image that simply works on your site or profile.

The basic post-production routine is short: adjust the framing with cropping when the final ratio doesn't match exactly; bring it to the exact target dimensions with resizing; recover micro-detail with sharpening if the image was enlarged; and finally convert to WebP and compress it with the compressor, because a 4 MB PNG at the top of the page drags down PageSpeed no matter how good the artwork is.

If the image is going to become part of a visual identity, the path continues into other tools: pull the palette with the colour palette generator to keep the pieces coherent, and use the AI logo maker when the goal is branding.

Get your AI images into the right format

Once the parameters are dialled in, bring the image to the exact dimensions of its destination — free, straight in your browser, with nothing uploaded to a server.

Resize an image now

Frequently asked questions

What is the ideal CFG value for realistic images?
In most Stable Diffusion derivatives, the range between 4 and 6 gives the most natural result for photorealism, because high values create plastic skin and exaggerated contrast. In Flux, which uses a different guidance scale, the equivalent usually sits between 2 and 4. Always confirm the specific recommendation for the model you're using before assuming a default number.
Does the same seed produce the same image in different tools?
No. A seed is only reproducible within the same model, the same version and the same parameters. Seed 12345 in SDXL has no relationship at all with seed 12345 in Flux or Midjourney. That's why it's essential to record the model and version alongside the number — the seed on its own carries no useful information.
Does increasing steps always improve image quality?
No. The gain is very large up to roughly 25 to 30 steps and then drops off quickly. Above 60 the difference is practically imperceptible, and above 80 you're only spending processing time. If the image has anatomy problems or missing elements, the culprit is the prompt or the model, not the step count.
What is the difference between stylize and chaos in Midjourney?
Stylize controls how much of its own artistic aesthetic the model applies on top of your request, affecting lighting, palette and composition in each image. Chaos controls the variety between the four images in a single batch: with high chaos you get four very different interpretations of the same prompt. Use high chaos during exploration and low chaos once you know the direction you want.
Why do duplicated people or objects appear in the image?
This usually happens when the ratio is very extreme or the resolution is well above what the model was trained on. The model tries to fill the extra space by repeating elements it already recognises. The fix is to generate at a ratio closer to square or 16:9, at the model's native resolution, and then expand with outpainting or enlarge with an upscaler.
How do I control parameters in ChatGPT or Gemini, which don't expose those fields?
These tools hide the numeric controls and decide the values internally, so the adjustment happens through plain language in the prompt itself: state the format explicitly, describe the level of detail, and indicate whether you want a more literal or more artistic reading of the scene. If your work requires exact reproducibility, the answer is to use a tool that exposes seed and CFG, such as ComfyUI, Automatic1111 or Leonardo AI.