Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing "ControlNet Tile Upscale" using WebUI API #85

Open
SashaAch opened this issue Jun 11, 2023 · 0 comments
Open

Implementing "ControlNet Tile Upscale" using WebUI API #85

SashaAch opened this issue Jun 11, 2023 · 0 comments

Comments

@SashaAch
Copy link

Hello,

I'm trying to implement a "ControlNet Tile Upscale" feature in my Telegram bot using the WebUI API. I've been following the instructions detailed in the guide for "ControlNet tile upscale" but I'm unsure of how to translate these steps into API calls.

Here are the steps I need to implement from this guide (Method 3):
https://stable-diffusion-art.com/controlnet-upscale/#Installing_Ultimate_SD_upscale_extension

Upload an image to the img2img canvas.
Insert the original prompt and the negative prompt.
Set Sampling steps to 50.
Set Denoising strength to 0.5.
Upload the same original image to ControlNet’s image canvas.
Enable the ControlNet extension.
Select tile_resample in the ControlNet’s Preprocessor.
Select control_v…_sd15_tile in the ControlNet’s Model.
In the Script dropdown menu near the bottom of the page, select Ultimate SD Upscale.
In the Target size type dropdown menu, select Scale from image size.
Set the Scale to 4.
Select an Upscaler ( ESRGAN 4x).
Confirm the Tile width is 512 and height is 0. This will use 512×512 tiles during upscaling.
Click Generate.
I've been looking through the WebUI API documentation, but I haven't found a clear way to implement these steps. Are there any equivalent API methods for these actions, particularly for enabling ControlNet and Ultimate SD Upscale extensions, selecting preprocessors, models, and scripts from menus, and setting parameters like Sampling steps, Denoising strength, Scale, Tile width and height?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant