🎨
AI Art Tutorials - Web Version
  • Artroom Basics
    • Overview
    • Link to Local Version Tutorial
  • Resources
    • Settings Tutorials
      • Starter Settings
        • Video tutorial
      • Image Scale
      • Steps
      • Prompt Strength (CFG)
      • Base Image (img2img)
      • Variation Strength
      • Sampler
      • Clip Skip
      • Seed
      • VAE
      • SD Settings (Importing settings)
    • Prompting Tutorials
      • Basic Prompt Structure
      • Prompt order
      • Negative Prompts
      • Weights
      • Example Prompts
        • Art Styles
        • Art Medium
        • Attributes
          • Camera Specific Attributes
          • Effects
        • Artists
          • Asian
          • Glamour Style
          • Renaissance
          • Splash
          • Misc
        • Prompt Repositories
        • Prompt Generators
          • Clip Interrogator
          • Deep Danbooru
      • Prompt Pitfalls
      • Prompt Myths
    • Models
      • Recommended Models
        • Realistic
        • Anime/Drawn
        • Artistic
        • Tabletop Gaming
      • How to test your models?
    • Extra Features Tutorials
      • The Paint Tab
        • Tools and Functions
          • The Workspace
          • The Tools - in depth
          • Canvas Settings
        • Inpaint
        • Outpaint
        • Image Editor (GIMP/Photoshop) Assist
        • Palette Fix
        • Paint Tab Video Tutorials
      • Loras
      • ControlNet
        • Using ControlNet
        • Pose kits and Saved Preprocessed Images
      • Removing Backgrounds
      • Upscaling
        • Standard Upscalers
        • Highres Fix
      • Model Merging
      • Image Viewer
      • Settings Tab
  • Glossary
  • Guides By AI Artists
    • About this Category
    • Generating Characters for Tabletop Games
    • Turning Your Scribble Into an Image
Powered by GitBook
On this page
  1. Resources
  2. Settings Tutorials

Base Image (img2img)

img2img = image to image

PreviousPrompt Strength (CFG)NextVariation Strength

Last updated 1 year ago

Sometimes using just a prompt isn't enough to get the image you want. Adding in a base image can help guide the AI to getting the desired results.

Variation Strength plays a large role in the amount of changes when using img2img

Settings used in examples

"text_prompts": "close up, cute bunny, tall trees, shadows, high noon, god rays",
"negative_prompts": "nude, nsfw, purple, mutated, deformed, amateur drawing, lowres, text, error, signature, watermark, username, blurry, censorship, sketch, monochrome",
"strength": 0.21,
"init_image": "...",
"width": 768,
"height": 768,
"models_dir": "C:\\models\\Artroom",
"ckpt": "Models\\aZovyaPhotorealUltra2GB_v10-fixed.safetensors",
"vae": "mse.vae.pt",
"loras": [],
"controlnet": "none",
"use_preprocessed_controlnet": false,
"remove_background": "face",
"use_removed_background": false,
"sampler": "euler_a",
"steps": 30,
"cfg_scale": 7,
"clip_skip": 1,
"seed": 82413648,
"mask_image": "...",
"invert": false,
"palette_fix": false,
"image_save_path": "C:\\ArtroomOutputs\\img2img",
"n_iter": 1,
"save_grid": false,
"speed": "High",
"long_save_path": false,
"highres_fix": true,
"show_intermediates": true,
"id": "3318777549530247"

Without any starting image this is the output image

But placing this starting image in the space provided,

These are the outputs it generates at different variation strengths.

Keeping that starting image and other settings but changing the prompt to "space ship, red nebula, large star, vibrant" will yield this result.

ControlNet Is anther method for copying details from a base image that follows certain details more accurately.