AI Model Wiki

    Skip to main content
    8 min read
    Lesson 4 of 6

    ControlNet & Image Guidance

    From the course Stable Diffusion Mastery: Local AI Image Generation

    ControlNet is a game-changing extension that gives you precise spatial control over AI image generation. Instead of hoping the AI interprets your prompt correctly, you can guide it with reference images for pose, composition, edges, and depth.

    What Is ControlNet?

    ControlNet adds a secondary input alongside your text prompt — a "control image" that tells the model about spatial layout. The text prompt handles content and style, while the control image handles structure and composition.

    Key ControlNet Models

    Canny Edge Detection

    • Input: An image processed to show only edges
    • Output: Generated image following those edges
    • Best for: Maintaining the outline/structure of a reference image
    • Use case: Redrawing photographs in different styles while keeping composition

    OpenPose

    • Input: A stick figure representing human pose
    • Output: Generated character matching that pose exactly
    • Best for: Character art with specific poses
    • Use case: Creating consistent character poses, action scenes

    Depth Map

    • Input: A depth map (grayscale image where brightness = distance)
    • Output: Generated image matching the spatial depth
    • Best for: Maintaining 3D spatial relationships
    • Use case: Room redesigns, landscape compositions, architectural visualization

    Scribble/Sketch

    • Input: A rough hand-drawn sketch
    • Output: A fully rendered image following the sketch layout
    • Best for: Turning quick sketches into finished artwork
    • Use case: Concept art, rapid ideation, illustration

    Tile

    • Input: A low-resolution or processed image
    • Output: A high-quality upscaled/detailed version
    • Best for: Upscaling and adding detail to existing images
    • Use case: Enhancing AI-generated images, upscaling old photos

    IP-Adapter (Image Prompt)

    • Input: A reference image for style or subject
    • Output: Generated image influenced by the reference's style/content
    • Best for: Style transfer, consistent characters, brand consistency
    • Use case: Creating variations of a design, maintaining art style across images

    Using ControlNet Effectively

    Control Weight (0.0–2.0):

    • 0.3–0.5: Loose guidance, more creative freedom
    • 0.7–1.0: Balanced control (recommended starting point)
    • 1.0–1.5: Strong adherence to control image

    Starting/Ending Step:

    • Start at step 0, end at 0.5: Structure only, freedom for details
    • Start at 0, end at 1.0: Full control throughout generation
    • Start at 0.2, end at 0.8: Balanced approach

    Multi-ControlNet

    You can stack multiple ControlNet models:

    • OpenPose (for character pose) + Canny (for environment edges)
    • Depth (for spatial layout) + IP-Adapter (for style consistency)

    Reduce individual weights when stacking (0.5–0.7 each) to prevent conflicts.

    ControlNet transforms Stable Diffusion from "generate and hope" to "design with precision." It's the single most important extension for professional AI art workflows.

    Key Takeaways

    • •ControlNet provides spatial control over generation using reference images
    • •Key models: Canny (edges), OpenPose (poses), Depth (3D layout), Scribble (sketches)
    • •IP-Adapter enables style transfer and consistent characters across images
    • •Control weight of 0.7–1.0 is a good starting point; adjust based on needs
    • •Multiple ControlNet models can be stacked for complex guidance
    0 of 6 lessons marked complete

    Progress is kept in this browser only.