stable diffusion ——img2img Api参数数据格式参考,插件包含ControlNet和roop换脸

在这里插入图片描述

{
    "init_images": [
        ""
    ],
    "resize_mode": 0,
    "denoising_strength": 1.0,
    "image_cfg_scale": 1.5,
    "mask": "",
    "mask_blur": 4,
    "inpainting_fill": 2,
    "inpaint_full_res": true,
    "inpaint_full_res_padding": 32,
    "inpainting_mask_invert": 1,
    "initial_noise_multiplier": 0,
    "prompt": "a beautiful girl wiith asian face,wear glasses, downtown, brightness",
    "seed": -1,
    "subseed": -1,
    "subseed_strength": 0,
    "seed_resize_from_h": -1,
    "seed_resize_from_w": -1,
    "batch_size": 1,
    "n_iter": 1,
    "steps": 20,
    "cfg_scale": 7,
    "width": 512,
    "height": 512,
    "restore_faces": false,
    "tiling": false,
    "do_not_save_samples": false,
    "do_not_save_grid": false,
    "negative_prompt": "BadDream, UnrealisticDream",
    "eta": 1.0,
    "s_min_uncond": 0,
    "s_churn": 0,
    "s_tmax": 0,
    "s_tmin": 0,
    "s_noise": 1,
    "override_settings": {
        "sd_model_checkpoint": "epicrealism_pureEvolutionV3-inpainting.safetensors [e173983571]"
    },
    "override_settings_restore_afterwards": true,
    "sampler_index": "DPM++ SDE Karras",
    "include_init_images": false,
    "send_images": true,
    "save_images": false,
    "alwayson_scripts": {
        "ControlNet": {
            "args": [
                {
                    "enabled": true,
                    "module": "openpose_full",
                    "model": "control_v11p_sd15_openpose [cab727d4]",
                    "weight": 1,
                    "image": "",
                    "mask": "",
                    "invert_image": false,
                    "resize_mode": 1,
                    "rgbbgr_mode": false,
                    "lowvram": false,
                    "processor_res": 512,
                    "threshold_a": 64,
                    "threshold_b": 64,
                    "guidance_start": 0,
                    "guidance_end": 1,
                    "guessmode": 0
                }
            ]
        },
        "roop": {
            "args": [
                "",
                true,
                0,
                "/usr/stable-diffusion-webui/models/roop/inswapper_128.onnx",
                "CodeFormer",
                1,
                null,
                1,
                null,
                false,
                true
            ]
        }
    }
}
  • 5
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值