Skip to main content
interface SDModels.StableDiffusionProcessingTxt2Img
import { type SDModels } from "https://deno.land/x/stable_diffusion_client@0.0.2/mod.ts";
const { StableDiffusionProcessingTxt2Img } = SDModels;

StableDiffusionProcessingTxt2Img

Properties

optional
enable_hr: boolean

Enable Hr default Value false

optional
denoising_strength: number

Denoising Strength default Value 0

optional
firstphase_width: number

Firstphase Width

optional
firstphase_height: number

Firstphase Height

optional
prompt: string

Prompt default Value ""

optional
styles: string[]

Styles

optional
seed: number

Seed

optional
subseed: number

Subseed

optional
subseed_strength: number

Subseed Strength default Value 0

optional
seed_resize_from_h: number

Seed Resize From H

optional
seed_resize_from_w: number

Seed Resize From W

optional
sampler_name: string

Sampler Name

optional
batch_size: number

Batch Size

optional
n_iter: number

N Iter

optional
steps: number

Steps

optional
cfg_scale: number

Cfg Scale default Value 7

optional
width: number

Width

optional
height: number

Height

optional
restore_faces: boolean

Restore Faces default Value false

optional
tiling: boolean

Tiling default Value false

optional
negative_prompt: string

Negative Prompt

optional
eta: number

Eta

optional
s_churn: number

S Churn default Value 0

optional
s_tmax: number

S Tmax

optional
s_tmin: number

S Tmin default Value 0

optional
s_noise: number

S Noise default Value 1

optional
override_settings: any

Override Settings

optional
sampler_index: string

Sampler Index default Value "Euler"