lllyasviel / lllyasviel/ControlNet
IMG2IMG Batch + CNet Tile control image (batch) outputs img to local\temp\gradio || Automatic1111
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
**Issue:**
I was trying to batch upscale a few images using MultiDiffusion + CNet Tile in Automatic1111 webui.
So my steps were this:
**1. Go to Img2Img batch tab**
a. Set Input directory (my case F:\StabilityMatrix\Packages\stable-diffusion-webui\outputs\txt2img-images\to-up)
b. Set Output directory (my case F:\StabilityMatrix\Packages\stable-diffusion-webui\outputs\txt2img-images\upped)
c. Enable PNG Info > Append info to prompts (select prompt, negative prompt and seed)
2. Enable MultiDiffusion + Tiled VAE **_(later on this was disabled, on or off made no difference as to where the images would be saved)_**
a. 4x Ultrasharp > 2x upscale
**3. Enable ControlNet**
a. Select Tile > tile_resample > control_v11f1e_sd15_tile [a371b31b]
b. Pixel perfect enabled
c. Upload independent control image
d. Select batch tab (Input directory was left empty, assuming _Input directory = blank CNet input directory = blank CNet Batch tab directory_)
4. Generate
The generated image(s) is now placed into %temp%\gradio (C:\Users\Username\AppData\Local\Temp\gradio)
It also seems like the images are not saved one by one, but rather all at once, so you will not see the images in %temp%\gradio unless the process is done / interrupted. The filenames are saved with a temp filename it seems - **tmpv094rr1i.png** instead of the default 01234-9876543210.
In the webui Settings tab > Saving images > Saving images / grids > Always save all generated images was enabled. If disabled, I could not find any output directory, and with simple img2img, (Img 2 img / img2img tab), no output was generated (the resulting image window was empty) or I could not find it.
If I correctly understand the way this works, then each image in the folder should get uploaded as an independent control image.
What I want to happen instead is for the images to be saved in my output folder set in the Img2Img Batch tab (F:\\**\upped) or at least the regular **outputs\img2img-images\[_date_]**
Now, I may have messed something up somewhere? I have no idea.



Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Img2Img batch tab and ControlNet batch-tab handling, reproducing the reported setup with input/output directories and an independent Tile control image. Trace where generated images are written, then verify that batch results use the configured output directory instead of %temp%\gradio and retain normal filenames.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100