| .select_strategy | R Documentation |
Select generation strategy based on resolution and VRAM
.select_strategy(
width,
height,
ctx,
model_type,
is_img2img,
vae_decode_only = TRUE
)
width |
Target width |
height |
Target height |
ctx |
SD context with VRAM attributes |
model_type |
Model type string |
is_img2img |
Whether this is an img2img call |
vae_decode_only |
Whether context has VAE encoder (FALSE = has encoder) |
One of "direct", "tiled", "highres_fix"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.