文章转自: stable diffusion的api参数-附带插件使用 | 夜空中最亮的星

img2img

{
        "prompt": "(masterpiece, best quality,Refined, beautiful),haruno sakura",
        "negative_prompt": " ((((big hands, un-detailed skin, semi-realistic)))), (((ugly mouth, ugly eyes,The disabled eyes, blurred eyes, missing teeth, crooked teeth, close up, cropped, out of frame))), worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck,Deforming fingers, incomplete fingers, extra fingers,Ugly face",
        "override_settings": {
            "sd_model_checkpoint": "MXCFSuper_Counterfeit/mxcfSuperCounterfeit_v10.safetensors [56c0585d87]",
            "sd_vae": "YOZORA.vae.pt"
        },
        "clip_skip": 2,
        "denoising_strength": 0.5,
        "seed": -1,
        "batch_size": 1,
        "n_iter": 1,
        "steps": 25,
        "cfg_scale": 7,
        "restore_faces": False,
        "sampler_index": "DPM++ SDE Karras",
        "resize_mode": 1,
        # "mask_blur": 10,
        # "tiling": False,
        # "eta": 0,
        # "script_args": [],
        # "inpainting_fill": 1,
        # "inpaint_full_res": True,
        # "inpaint_full_res_padding": 32,
        # "inpainting_mask_invert": 1,
        "alwayson_scripts": {
            "other plugin":{
                "args":[arg1, arg2]
            }
            "ControlNet": {
                "args": [
                    {"enabled": True,
                     "input_image": "",
                     "mask": None,
                     "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,
                     "starting_control_step": 0,
                     "ending_control_step": 1,
                     # "guidance": 1,
                     # "guidance_start": 0,
                     # "guidance_end": 1,
                     "guessmode": False
                     }
                ]
            }
        }
}

模型:MXCFSuper_Counterfeit

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

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐