stable diffusion的api参数

[复制链接]
查看655 | 回复0 | 2023-8-9 10:40:33 | 显示全部楼层 |阅读模式
img2img
  1. {
  2.         "prompt": "(masterpiece, best quality,Refined, beautiful),haruno sakura",
  3.         "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",
  4.         "override_settings": {
  5.             "sd_model_checkpoint": "MXCFSuper_Counterfeit/mxcfSuperCounterfeit_v10.safetensors [56c0585d87]",
  6.             "sd_vae": "YOZORA.vae.pt"
  7.         },
  8.         "clip_skip": 2,
  9.         "denoising_strength": 0.5,
  10.         "seed": -1,
  11.         "batch_size": 1,
  12.         "n_iter": 1,
  13.         "steps": 25,
  14.         "cfg_scale": 7,
  15.         "restore_faces": False,
  16.         "sampler_index": "DPM++ SDE Karras",
  17.         "resize_mode": 1,
  18.         # "mask_blur": 10,
  19.         # "tiling": False,
  20.         # "eta": 0,
  21.         # "script_args": [],
  22.         # "inpainting_fill": 1,
  23.         # "inpaint_full_res": True,
  24.         # "inpaint_full_res_padding": 32,
  25.         # "inpainting_mask_invert": 1,
  26.         "alwayson_scripts": {
  27.             "ControlNet": {
  28.                 "args": [
  29.                     {"enabled": True,
  30.                      "input_image": "",
  31.                      "mask": None,
  32.                      "module": "canny",
  33.                      "model": "control_sd15_canny [fef5e48e]",
  34.                      "weight": 1,
  35.                      "invert_image": False,
  36.                      "resize_mode": 1,
  37.                      "rgbbgr_mode": False,
  38.                      "lowvram": False,
  39.                      "processor_res": 512,
  40.                      "threshold_a": 100,
  41.                      "threshold_b": 200,
  42.                      "starting_control_step": 0,
  43.                      "ending_control_step": 1,
  44.                      # "guidance": 1,
  45.                      # "guidance_start": 0,
  46.                      # "guidance_end": 1,
  47.                      "guessmode": False
  48.                      }
  49.                 ]
  50.             }
  51.         }
  52. }
复制代码


模型:MXCFSuper_Counterfeit
VAE:none
Clip skip:2 
Prompt:
Negative Prompt:""
Resize mode:Just resize
Sampling methodPM++ 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

来源:https://blog.csdn.net/glovenone/article/details/130992360
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则