krita安装教程

 

AI工具箱安装方式

右键下载
百度和123网盘选择随便选择一个下载
③随便解压一个位置,然后双击安装运行。一直下一步就可以安装完成。

 

如果要用到实时绘画那么还要安装插件(插件和软件都已准备好,修改后的插件直接点击旁边下载)

krita官网下载地址:https://krita.org/zh-cn/download/

krita插件下载地址:https://github.com/Acly/krita-ai-diffusion

插件复制到C:\用户\电脑的名字\AppData\Roaming\krita\pykrita  

不想复制到c盘的也可以在这里更改任意位置

启动krita

勾上

只要提示这种错误,或者其他的错误 那就是下面两个模型没有安装

出现问题就要下载下面的模型,我在里面标准几条,格式就是这样,下载好放到对应的位置,没有文件夹新建。然后放到comfyi  模型文件夹里面  

模型"CLIP Vision model",
       comfyui 位置("models/clip_vision/SD1.5"),
       模型名字 "model.safetensors",
       下载地址 "https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/model.safetensors?download=true", 

 "NMKD Superscale model",
         comfyui位置("models/upscale_models"),
        模型名字 "4x_NMKD-Superscale-SP_178000_G.pth",
         下载地址"https://huggingface.co/gemasai/4x_NMKD-Superscale-SP_178000_G/resolve/main/4x_NMKD-Superscale-SP_178000_G.pth",

 "ControlNet Inpaint",
        位置("models/controlnet"),
        "control_v11p_sd15_inpaint_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors",
 
 "ControlNet Tile",
         位置("models/controlnet"),
        "control_lora_rank128_v11f1e_sd15_tile_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_lora_rank128_v11f1e_sd15_tile_fp16.safetensors",
 
 "IP-Adapter (SD1.5)",
        位置("models/ipadapter"),
        "ip-adapter_sd15.safetensors",
        "https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.safetensors",
        

 "IP-Adapter (SDXL)",
         位置("models/ipadapter"),
        "ip-adapter_sdxl_vit-h.safetensors",
        "https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter_sdxl_vit-h.safetensors",

"LCM-LoRA (SD1.5)",
        位置("models/loras"),
        "lcm-lora-sdv1-5.safetensors",
        "https://huggingface.co/latent-consistency/lcm-lora-sdv1-5/resolve/main/pytorch_lora_weights.safetensors?download=true",
   
"LCM-LoRA (SDXL)",
        位置("models/loras"),
        "lcm-lora-sdxl.safetensors",
        "https://huggingface.co/latent-consistency/lcm-lora-sdxl/resolve/main/pytorch_lora_weights.safetensors?download=true",

如果要使用content那就还要下载下面这些,我就不整理的自己在里面找,下载来放到对应的位置

default_checkpoints = [
    ModelResource(
        "Realistic Vision",
        ResourceKind.checkpoint,
        SDVersion.sd15,
        Path("models/checkpoints"),
        "realisticVisionV51_v51VAE.safetensors",
        "https://civitai.com/api/download/models/130072?type=Model&format=SafeTensor&size=pruned&fp=fp16",
    ),
    ModelResource(
        "DreamShaper",
        ResourceKind.checkpoint,
        SDVersion.sd15,
        Path("models/checkpoints"),
        "dreamshaper_8.safetensors",
        "https://civitai.com/api/download/models/128713?type=Model&format=SafeTensor&size=pruned&fp=fp16",
    ),
    ModelResource(
        "Juggernaut XL",
        ResourceKind.checkpoint,
        SDVersion.sdxl,
        Path("models/checkpoints"),
        "juggernautXL_version6Rundiffusion.safetensors",
        "https://civitai.com/api/download/models/198530",
    ),
]

upscale_models = [
    ModelResource(
        "HAT Super-Resolution (quality)",
        ResourceKind.upscaler,
        SDVersion.all,
        Path("models/upscale_models"),
        "HAT_SRx4_ImageNet-pretrain.pth",
        "https://huggingface.co/Acly/hat/resolve/main/HAT_SRx4_ImageNet-pretrain.pth",
    ),
    ModelResource(
        "Real HAT GAN Super-Resolution (sharper)",
        ResourceKind.upscaler,
        SDVersion.all,
        Path("models/upscale_models"),
        "Real_HAT_GAN_sharper.pth",
        "https://huggingface.co/Acly/hat/resolve/main/Real_HAT_GAN_sharper.pth",
    ),
]

optional_models = [
    ModelResource(
        "ControlNet Scribble",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_lora_rank128_v11p_sd15_scribble_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_lora_rank128_v11p_sd15_scribble_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Line Art",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_v11p_sd15_lineart_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Soft Edge",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_v11p_sd15_softedge_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Canny Edge",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_v11p_sd15_canny_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Depth",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_lora_rank128_v11f1p_sd15_depth_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_lora_rank128_v11f1p_sd15_depth_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Normal",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_lora_rank128_v11p_sd15_normalbae_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_lora_rank128_v11p_sd15_normalbae_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Pose",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_lora_rank128_v11p_sd15_openpose_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_lora_rank128_v11p_sd15_openpose_fp16.safetensors",
    ),
    ModelResource(
        "ControlNet Segmentation",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_lora_rank128_v11p_sd15_seg_fp16.safetensors",
        "https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_lora_rank128_v11p_sd15_seg_fp16.safetensors",
    ),
    ModelResource(
        "Controlnet Stencil",
        ResourceKind.controlnet,
        SDVersion.sd15,
        Path("models/controlnet"),
        "control_v1p_sd15_qrcode_monster.safetensors",
        "https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster/resolve/main/control_v1p_sd15_qrcode_monster.safetensors",
    ),
    ModelResource(
        "ControlNet Line Art (XL)",
        ResourceKind.controlnet,
        SDVersion.sdxl,
        Path("models/controlnet"),
        "sai_xl_sketch_256lora.safetensors",
        "https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/sai_xl_sketch_256lora.safetensors",
    ),
    ModelResource(
        "ControlNet Canny Edge (XL)",
        ResourceKind.controlnet,
        SDVersion.sdxl,
        Path("models/controlnet"),
        "sai_xl_canny_256lora.safetensors",
        "https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/sai_xl_canny_256lora.safetensors",
    ),
    ModelResource(
        "ControlNet Depth (XL)",
        ResourceKind.controlnet,
        SDVersion.sdxl,
        Path("models/controlnet"),
        "sai_xl_depth_256lora.safetensors",
        "https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/sai_xl_depth_256lora.safetensors",
    ),
    ModelResource(
        "ControlNet Pose (XL)",
        ResourceKind.controlnet,
        SDVersion.sdxl,
        Path("models/controlnet"),
        "thibaud_xl_openpose_256lora.safetensors",
        "https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/thibaud_xl_openpose_256lora.safetensors",
    ),
]

安装完整后就是绿色的

 

 

资源下载
下载价格1 积分
VIP免费
此资源购买后100天内可下载。
原文链接:https://ai.huanxian.art:33/archives/839,转载请注明出处。
0
分享海报

评论1

请先

站点公告

AI工具箱自动同步更新

社交账号快速登录