Guide a new image with the edges or depth of a reference so the composition stays controlled while the visual treatment changes.

Example Image
Guide AI image generation with canny edges or depth maps while keeping the source composition.

Generator examples

What ControlNet controls, and what it does not

ControlNet separates two things that a plain prompt keeps tangled: where things are, and what they look like. ControlNet reads a structural map out of your reference — an edge trace or a depth field — and holds the generator to that geometry while the prompt decides material, lighting, palette, and subject. That is the whole idea, and it explains both the strengths and the limits below.

Because ControlNet constrains structure rather than content, it is the right tool when you already know the layout. A floor plan sketch that should become a render, a product silhouette that should change material, a pose that should be worn by a different character, a wordmark that should keep its letterforms in a new style — all of these are structure-first problems.

It is the wrong tool when the thing you want preserved is identity or texture. ControlNet has no concept of “the same person” or “the same fabric”. ControlNet knows edges and distances. Asking it to keep a face is the single most common reason people conclude that ControlNet does not work, when in fact they wanted a different workflow.

Canny and depth are two different tools

Picking the wrong map is a more common failure than picking the wrong prompt.

Canny (edges)Depth
What it keepsOutlines and internal linesSpatial arrangement, near/far relationships
Best forProducts, line art, typography, architecture elevationsInteriors, landscapes, scenes with clear foreground and background
Fails whenThe reference is soft or low-contrast — no edges to extractThe scene is flat, so depth carries almost no information
Typical mistakeStrength so high the output traces the referenceExpecting it to hold fine detail, which it never does
Verify byFollowing every outline in the outputChecking that objects sit at the right distances

A ControlNet run that behaves

Inspect the extracted map before you judge any output. Most disappointing results are visible in the map first.

01

1. Prepare the reference

Match the aspect ratio you want to output, and give it enough resolution to extract clean structure. A blurry reference produces a noisy map, and ControlNet reproduces that noise as wobbly geometry.

02

2. Choose canny or depth deliberately

Ask what must survive. If the answer is an outline, use canny. If it is a spatial layout, use depth. Do not default to one because it worked last time.

03

3. Write a prompt about what changes

The reference already states the composition. Spend the prompt on material, lighting, palette, and subject — the parts ControlNet is deliberately leaving open.

04

4. Tune strength, not the prompt

Output ignoring the reference means raise it. Output tracing the reference means lower it. This one dial resolves most ControlNet problems on its own.

Where ControlNet is the right call

Sketch to render

A rough line drawing becomes a finished visual with the proportions intact. The clearest demonstration of what ControlNet is for.

Material studies

One product silhouette, many finishes — brushed aluminium, matte ceramic, worn leather — with the shape identical across the set.

Architecture

ControlNet depth keeps rooms and facades spatially correct while daylight, season, and finish change between variants.

Pose transfer

Keep a pose and re-cast the character. ControlNet holds the skeleton; the prompt supplies who is standing in it.

Typography restyling

Canny holds letterforms well enough to restyle a wordmark and still read it. Check every character afterwards.

Consistent series

Reuse one ControlNet reference across a batch so every frame shares a layout — useful for card sets, icon families, and storyboards.

Briefs that use the split correctly

Each one leaves composition to ControlNet and spends the words on everything else.

  • 01

    Canny from a product sketch — render as brushed aluminium under soft studio light, charcoal seamless background.

  • 02

    Depth from an empty room photo — furnish as a warm Scandinavian living room, late afternoon daylight.

  • 03

    Canny from a logo outline — restyle as chrome with sharp specular highlights, keep every letter readable.

  • 04

    Depth from a street photo — same layout at night, wet asphalt, neon signage, no people.

  • 05

    Canny from a character line drawing — finish as cel-shaded anime with flat colour and clean line art.

  • 06

    Depth from a landscape — same terrain in winter, overcast, snow cover, muted palette.

  • 07

    Canny from an architectural elevation — photoreal facade in weathered concrete and glass.

  • 08

    Depth from a tabletop scene — replace every object with ceramics, keep the arrangement exact.

Getting predictable results

Do

  • Look at the extracted map before you judge the output.
  • Match the reference aspect ratio to the output aspect ratio.
  • Change one variable per ControlNet run — strength, or prompt, never both.
  • Use ControlNet to lock composition, then edit locally in a second pass.
  • Keep the reference file so a whole series can share one map.

Don't

  • Do not expect ControlNet to preserve a face or a specific person.
  • Do not feed it a blurry reference and expect clean geometry.
  • Do not describe the composition again in the prompt — the map already did.
  • Do not raise strength to fix a prompt problem.
  • Do not use canny on a soft, low-contrast photo; there are no edges to find.

01Strength is the dial that fixes most problems — try it before rewriting anything.

02Canny holds outlines; depth holds distances. Neither holds identity.

03A hand-drawn reference often controls ControlNet better than a photo, because its edges are unambiguous.

04Reuse one reference across a batch to get a consistent series for free.

05After ControlNet locks the layout, do local fixes in a general image editor rather than another controlled run.

ControlNet FAQ

What is ControlNet actually doing?

It extracts a structural map from your reference — an edge drawing or a depth field — and feeds that map to the generator alongside the prompt. ControlNet does not copy the reference's pixels; it copies its geometry, then lets the prompt decide everything else.

Canny or depth — how do I choose?

ControlNet canny keeps outlines, so use it when the silhouette and internal lines matter: product shapes, architecture, line art, typography. Depth keeps the spatial arrangement, so use it when you want the same layout in three dimensions but different surfaces. ControlNet behaves very differently between the two.

Why does my output ignore the reference?

Usually the control strength is too low, or the extracted map is nearly empty. A soft, low-contrast photo produces almost no canny edges, and ControlNet then has nothing to hold. Check the extracted map before blaming the prompt.

Why is the output a near-copy of my reference?

The opposite ControlNet problem — control strength too high, or a prompt that mostly restates the reference. ControlNet is meant to constrain composition, not content. Lower the strength and make the prompt describe something the reference is not.

Can I keep a person's identity with ControlNet?

Not reliably. ControlNet preserves pose and proportion, not likeness. If you need the same face, work from an image-to-image or reference-driven workflow instead; if you need the same pose on a different person, ControlNet is exactly right.

Does it work for text and logos?

Canny holds letterforms surprisingly well, which makes ControlNet useful for restyling a wordmark while keeping it readable. Verify every character afterwards — a broken edge in the map becomes a broken letter in the output.

What reference resolution should I use?

Match the output aspect ratio and give it enough pixels to extract clean structure. A small or blurry reference yields a noisy map, and ControlNet faithfully reproduces that noise as wobbly geometry.

Can I combine it with other edits?

Yes, and the order helps. Use ControlNet to lock the composition first, then take the approved frame into a general image editor for local fixes. Trying to do both in one prompt is where most runs go wrong.

People also search for

  • controlnet canny edges
  • controlnet depth map
  • controlnet online free
  • controlnet keep composition
  • controlnet architecture render
  • controlnet line art to render
  • controlnet strength setting
  • controlnet vs image to image

ControlNet constrains geometry. When the thing that must survive is a subject rather than a layout, an image-to-image workflow is the better starting point.

Lock a composition, change everything else

Bring a reference with clear structure, pick canny or depth deliberately, and spend the prompt on what should change.

Open the generator

ControlNet image generation with edges and depth

Use a reference image as a structural guide while changing the subject, material, lighting, or visual style. ControlNet is useful when a normal prompt keeps drifting away from the composition you already approved.

Choose canny edges or depth for the right kind of control

Canny guidance follows visible boundaries, so it works well for product silhouettes, architecture, line art, and compositions with clean edges. Depth guidance follows near and far relationships, which is more useful for rooms, people, vehicles, and scenes where perspective matters more than every contour.

Start with one control signal. If the result is too rigid, simplify the source or reduce the amount of detail in the prompt. If the result drifts, use a cleaner reference with a strong subject outline and fewer competing background elements.

Write the prompt for what should change

The control image already describes much of the layout. Use the prompt to name the new subject, material, environment, lighting, color palette, and finish. Add preserve instructions for the parts that must remain recognizable, such as camera angle, pose, product outline, or room perspective.

Avoid asking the model to keep the structure and completely replace every object at the same time. Change one visual layer first, compare the result to the reference, then make a second pass if the composition still holds.

When to use ControlNet instead of image to image

Use ControlNet when geometry is the priority: pose, edges, depth, perspective, or placement. Use image to image when identity, texture, color, or a localized edit matters more than reproducing the exact structure.

Review hard edges, repeated lines, fingers, product labels, and contact shadows at full size. A result can match the broad map while still breaking small geometry, so keep the source beside the output during approval.

FAQ

What is the best source image for ControlNet?
Use a sharp image with one readable subject, clear separation from the background, and the camera angle you want to preserve.
Should I use canny or depth control?
Choose canny for outlines and graphic structure. Choose depth for perspective, spatial layers, and scenes where near-versus-far relationships matter.
Why does the result look too close to the reference?
The control signal may be too detailed for the change you requested. Simplify the source, choose a different control type, or reduce conflicting prompt constraints.