您现在的位置是:首页 >技术交流 >stable diffusion的api参数网站首页技术交流
stable diffusion的api参数
img2img
{
"override_settings": {
"sd_model_checkpoint": "ToonYou/toonyou_beta3.safetensors [52768d2bc4]"
},
"prompt": "",
"negative_prompt": "",
"resize_mode": 0,
"sampler_index": "DPM++ SDE Karras",
"steps": 25,
"restore_faces": false,
"width": "512",
"height": "768",
"batch_size": 1,
"cfg_scale": 5,
"denoising_strength": 0.5,
"seed": -1,
"init_images":[],
"alwayson_scripts": {
"ControlNet": {
"args": [
{"enabled": true},
{"image": ""},
{"mask": ""},
{"module": "canny"},
{"model": "control_sd15_canny [fef5e48e]"},
{"weight": 1},
{"invert_image": false},
{"resize_mode": 1},
{"rgbbgr_mode": false},
{"lowvram": false},
{"processor_res": 512},
{"threshold_a": 100},
{"threshold_b": 200},
{"guidance": 1},
{"guidance_start": 0},
{"guidance_end": 1},
{"guessmode": false }
]
}
}
}
模型:ToonYou
VAE:none
Clip skip:2
Prompt:
Negative Prompt:""
Resize mode:Just resize
Sampling method:DPM++ SDE Karras
Sampling steps:25
Restore faces:flase
Width:所传图片宽度
Height:所传图片高度
Batch count:1
Batch size:1
CFG Scale:5
Denoising strength:0.5
Seed:-1
ControlNet:Enable
Control Type:Canny
Preprocessor:Canny
Model:control_sd15_canny
Control Weight:1
Starting Control Step:0
Ending Control Step:1
Preprocessor Resolution:512
Canny Low Threshold:100
Canny Hight Threshold:200
Control Mode:Balanced
Resize Mode:Crop and Resize
Script:none