示例json:
{
"type": "sd",
"prompt": "一个女孩,黄色背景,白色短袖,红裙子",
"model_id": "yBG2r9O"
}
{
"type": "sd",
"prompt": "1girl,hair with bangs,black long dress,orange background,",
"model_id": "yBG2r9O"
}
{
"type": "sd",
"prompt": "1girl,hair with bangs,black long dress,orange background,",
"use_default_neg": "true",
"model_id": "yBG2r9O",
"width": "512",
"height": "768"
}
{
"type": "sd",
"prompt": "一个女孩,黄色背景,白色短袖,红裙子",
"use_default_neg": "true",
"model_id": "yBG2r9O",
"width": "512",
"height": "768"
}
{
"type": "sd",
"prompt": "1girl, Chinese Style,animal ears",
"model_id": "WLRRBnv"
}
### SD绘画
#### JSON示例
```js
{
"type": "sd",
"prompt": "1girl, Chinese Style,animal ears",
"negative_prompt": "ng_deepnegative_v1_75t, (badhandv4:1.2), (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, ((monochrome)), ((grayscale)) watermark, moles",
"use_default_neg": "false",
"model_id": "yBG2r9O",
"width": "512",
"height": "768",
"num_inference_steps": "30",
"guidance_scale": "7.5",
"scheduler": "K_EULER_ANCESTRAL"
}
```
#### 字段详解
- type 固定写上sd
- prompt 正向提示词,支持中英文
- negative_prompt 反向提示词,支持英文
- use_default_neg 是否使用系统默认反向提示词
- model_id 模型,可选值见附录
- width 图片宽度 默认512 最小值128 最大值896 推荐值:512, 640, 768 数值必须是8的整数倍
- height 图片高度 默认512 最小值128 最大值896 推荐值:512, 640, 768 数值必须是8的整数倍
- num_inference_steps 绘图步数 默认30 最小值1 最大值50
- guidance_scale 默认7.5 最小值1 最大值20
- scheduler 默认DPMSolverMultistep 可选值:DPMSolverMultistep K_EULER_ANCESTRAL DDIM K_EULER PNDM KLMS
#### 附录
- model_id 模型,可选值对应下面数据中的id字段
- name 名称
- link 详情链接
```js
[
{
"id": "4zdwGOB",
"name": "DreamShaper",
"link": "https://civitai.com/models/4384/dreamshaper"
},
{
"id": "RREKVLd",
"name": "
t-shirt diffusion", "link": "https://civitai.com/models/4694/magifactory-t-shirt-diffusion"
},
{
"id": "WLNOl76",
"name": "Deliberate",
"link": "https://civitai.com/models/4823/deliberate"
},
{
"id": "nG2nkqN",
"name": "Suzumehachi",
"link": "https://civitai.com/models/5043/suzumehachi"
},
{
"id": "8jqEDBN",
"name": "Realistic Vision V1.2",
"link": "https://civitai.com/models/4201/realistic-vision-v12"
},
{
"id": "mG9Pvko",
"name": "Babes",
"link": "https://civitai.com/models/2220/babes"
},
{
"id": "r2La2w2",
"name": "Realistic Vision",
"link": "https://civitai.com/models/4201/realistic-vision-v13"
},
{
"id": "vlnWOO4",
"name": "RPG V4",
"link": "https://civitai.com/models/1116/rpg"
},
{
"id": "V6vYoaL",
"name": "Foto Assisted Diffusion (FAD) V0",
"link": "https://huggingface.co/Dunkindont/Foto-Assisted-Diffusion-FAD_V0"
},
{
"id": "qGdxrYG",
"name": "NeverEnding Dream",
"link": "https://civitai.com/models/10028"
},
{
"id": "K6KkkKl",
"name": "Deliberate V2",
"link": "https://civitai.com/models/4823/deliberate"
},
{
"id": "vln8Nwr",
"name": "MeinaMix",
"link": "https://civitai.com/models/7240/meinamix"
},
{
"id": "NR6ZVma",
"name": "dalcefo_painting",
"link": "https://civitai.com/models/5396/dalcefopainting"
},
{
"id": "LA9j2nX",
"name": "GuoFeng",
"link": "https://civitai.com/models/10415/3-guofeng3"
},
{
"id": "NRz9J7R",
"name": "DucHaitenAIart",
"link": "https://civitai.com/models/3079/duchaitenaiart"
},
{
"id": "DreamFul",
"name": "DreamFul",
"link": "https://civitai.com/models/17754/dreamful"
},
{
"id": "lGJBaxy",
"name": "DucHaitenClassicAnime",
"link": "https://civitai.com/models/8542/duchaitenclassicanime"
},
{
"id": "X9zNVO1",
"name": "Cheese Daddy's Landscapes mix",
"link": "https://civitai.com/models/5041/cheese-daddys-landscapes-mix"
},
{
"id": "woErXml",
"name": "Anime Pastel Dream",
"link": "https://civitai.com/models/23521/anime-pastel-dream"
},
{
"id": "WLRRBnv",
"name": "AnyLoRA",
"link": "https://civitai.com/models/23900"
},
{
"id": "mG22KJg",
"name": "Unvail AI 3DKX",
"link": "https://civitai.com/models/2504/unvail-ai-3dkx-v2"
},
{
"id": "EYWOblK",
"name": "DucHaiten-StyleLikeMe",
"link": "https://huggingface.co/DucHaiten/DucHaiten-StyleLikeMe"
},
{
"id": "xylZzvg",
"name": "MeinaPastel",
"link": "https://civitai.com/models/11866/meinapastel"
},
{
"id": "76EmEaz",
"name": "Hassaku",
"link": "https://civitai.com/models/2583/hassaku-hentai-model"
},
{
"id": "RR6lMmw",
"name": "MeinaHentai",
"link": "https://civitai.com/models/12606/meinahentai"
},
{
"id": "1kaWBJZ",
"name": "Babes 2.0",
"link": "https://civitai.com/models/2220/babes"
},
{
"id": "DY5rYnx",
"name": "GhostMix",
"link": "https://civitai.com/models/36520/ghostmix"
},
{
"id": "vlDnKP6",
"name": "Beautiful Realistic Asians",
"link": "https://civitai.com/models/25494/brabeautiful-realistic-asians-v5"
},
{
"id": "yBG2r9O",
"name": "majicMIX realistic",
"link": "https://civitai.com/models/43331/majicmix-realistic"
},
{
"id": "MRmvdVG",
"name": "Perfect World",
"link": "https://civitai.com/models/8281/perfect-world"
},
{
"id": "MRm5kNX",
"name": "majicMIX sombre",
"link": "https://civitai.com/models/62778/majicmix-sombre"
},
{
"id": "mGYMaD5",
"name": "AbsoluteReality",
"link": "https://civitai.com/models/81458/absolutereality"
},
{
"id": "eLy25wO",
"name": "Reliberate",
"link": "https://civitai.com/models/79754/reliberate"
},
{
"id": "GbEkeEP",
"name": "ICBINP - \"I Can't Believe It's Not Photography\"",
"link": "https://civitai.com/models/28059/icbinp-i-cant-believe-its-not-photography"
},
{
"id": "PREaKGN",
"name": "MeinaUnreal",
"link": "https://civitai.com/models/18798/meinaunreal"
},
{
"id": "woojZkD",
"name": "epiCRealism",
"link": "https://civitai.com/models/25694/epicrealism"
},
{
"id": "Y99mNKb",
"name": "XXMix_9realistic",
"link": "https://civitai.com/models/47274/xxmix9realistic"
},
{
"id": "d55J1xB",
"name": "CyberRealistic",
"link": "https://civitai.com/models/15003/cyberrealistic"
},
{
"id": "wozEgKm",
"name": "Stable Diffusion XL",
"link": ""
}
]
```
选好模型,不同的模型不同的风格,擅长的绘图内容也不同,模型列表:
https://chat.xutongbao.top/#/welcome/home/modelList
model_id:4zdwGOB 名称:DreamShaper
model_id:RREKVLd 名称:t-shirt diffusion
model_id:WLNOl76 名称:Deliberate
model_id:nG2nkqN 名称:Suzumehachi
model_id:8jqEDBN 名称:Realistic Vision V1.2
model_id:mG9Pvko 名称:Babes
model_id:r2La2w2 名称:Realistic Vision
model_id:vlnWOO4 名称:RPG V4
model_id:V6vYoaL 名称:Foto Assisted Diffusion (FAD) V0
model_id:qGdxrYG 名称:NeverEnding Dream
model_id:K6KkkKl 名称:Deliberate V2
model_id:vln8Nwr 名称:MeinaMix
model_id:NR6ZVma 名称:dalcefo_painting
model_id:LA9j2nX 名称:GuoFeng
model_id:NRz9J7R 名称:DucHaitenAIart
model_id:DreamFul 名称:DreamFul
model_id:lGJBaxy 名称:DucHaitenClassicAnime
model_id:X9zNVO1 名称:Cheese Daddy's Landscapes mix
model_id:woErXml 名称:Anime Pastel Dream
model_id:WLRRBnv 名称:AnyLoRA
model_id:mG22KJg 名称:Unvail AI 3DKX
model_id:EYWOblK 名称:DucHaiten-StyleLikeMe
model_id:xylZzvg 名称:MeinaPastel
model_id:76EmEaz 名称:Hassaku
model_id:RR6lMmw 名称:MeinaHentai
model_id:1kaWBJZ 名称:Babes 2.0
model_id:DY5rYnx 名称:GhostMix
model_id:vlDnKP6 名称:Beautiful Realistic Asians
model_id:yBG2r9O 名称:majicMIX realistic
model_id:MRmvdVG 名称:Perfect World
model_id:MRm5kNX 名称:majicMIX sombre
model_id:mGYMaD5 名称:AbsoluteReality
model_id:eLy25wO 名称:Reliberate
model_id:GbEkeEP 名称:ICBINP - "I Can't Believe It's Not Photography"
model_id:PREaKGN 名称:MeinaUnreal
model_id:woojZkD 名称:epiCRealism
model_id:Y99mNKb 名称:XXMix_9realistic
model_id:d55J1xB 名称:CyberRealistic
model_id:wozEgKm 名称:Stable Diffusion XL
参考链接:
https://chat.xutongbao.top/