3.7 KiB
Getting Started With onnx-web
onnx-web is a tool for generating images with Stable Diffusion pipelines, including SDXL.
Contents
- Getting Started With onnx-web
Setup
Windows bundle setup
- Download
- Extract
- Security flags
- Run
Other setup methods
Link to the other methods.
Running
Running the server
Run server or bundle.
Running the web UI
Open web UI.
Use it from your phone.
Tabs
There are 5 tabs, which do different things.
Txt2img Tab
Words go in, pictures come out.
Img2img Tab
Pictures go in, better pictures come out.
ControlNet lives here.
Inpaint Tab
Pictures go in, parts of the same picture come out.
Upscale Tab
Just highres and super resolution.
Blend Tab
Use the mask tool to combine two images.
Models Tab
Add and manage models.
Settings Tab
Manage web UI settings.
Reset buttons.
Image parameters
Common image parameters
- Scheduler
- Eta
- for DDIM
- CFG
- Steps
- Seed
- Batch size
- Prompt
- Negative prompt
- Width, height
Unique image parameters
- UNet tile size
- UNet overlap
- Tiled VAE
- VAE tile size
- VAE overlap
See the complete user guide for details about the highres, upscale, and correction parameters.
Prompt syntax
LoRAs and embeddings
<lora:filename:1.0>
and <inversion:filename:1.0>
.
CLIP skip
<clip:skip:2>
for anime.
Highres
Highres prompt
txt2img prompt || img2img prompt
Highres iterations
Highres will apply the upscaler and highres prompt (img2img pipeline) for each iteration.
The final size will be scale ** iterations
.
Profiles
Saved sets of parameters for later use.
Loading from files
- load from images
- load from JSON
Saving profiles in the web UI
Use the save button.
Sharing parameters profiles
Use the download button.
Share profiles in the Discord channel.
Panorama pipeline
Region prompts
<region:X:Y:W:H:S:F_TLBR:prompt+>
Region seeds
<reseed:X:Y:W:H:?:F_TLBR:seed>
Grid mode
Makes many images. Takes many time.
Grid tokens
__column__
and __row__
if you pick token in the menu.
Memory optimizations
Converting to fp16
Enable the option.
Moving models to the CPU
Option for each model.