Skip to content

Resource Lists Guide

ffxvs edited this page Oct 15, 2024 · 5 revisions

Note

This guide is for SD v1.5, SDXL, FLUX Resource lists.

Table of Contents

  1. Requirements
  2. ControlNet
  3. Models
  4. LoRA, Embedding, Upscaler, VAE, Text Encoder

Tips

Tip

  • Use the triangle arrow button to the left of the cell title to show/hide the cell contents to make scrolling easier.
  • Use the Table of Contents in the left sidebar for easier navigation.
  • You can open the links provided for each model name, loRA, and others to see more details.
  • Run cell with the play button in the toolbar or hotkey shift+enter.
  • Wait for the cell to finish executing until the Completed message in green box appears in the output.
  • Clear the output with Clear Cell Outputs or Clear Outputs of All Cells in the right click context menu.

Change the value of options

When using this notebook you will often encounter several types of options whose values can be changed.

  • option = boolean[*]
    Boolean contains two values, False and True
    False : boolean[0]
    True : boolean[1]

Example :

controlnet = {
    'canny': boolean[0],
    'depth': boolean[1]
}
# Download controlNet depth model

  • option = []
    Fill the bracket with strings enclosed in single quotation marks ', separated by commas ,
    Example :
otherModels = [  
     'https://huggingface.co/Lykon/dreamshaper-xl-lightning/resolve/main/DreamShaperXL_Lightning.safetensors',  
     'https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors'
]
# Download DreamShaper and Juggernaut models

1. Requirements

Initialization

Required every time you start the machine/pod or more precisely when the kernel starts running. If the kernel is shut down or restarted, then this cell must be executed again.


2. ControlNet

You can choose what controlNet models you want to download by simply changing boolean[0] to boolean[1].

Example :

controlNet = {
    'canny': boolean[0],
    'depth': boolean[1],
    'inpaint': boolean[0],
    'openpose': boolean[1],
    'tile': boolean[0]
}
# Download only depth and openpose models

Install from URLs

If you want to download other models, copy and paste the direct link of the model into bracket of otherControlNet. URLs are enclosed in single quotation marks ' and separated by commas ,.
Example :

otherControlNet = ['https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/t2i-adapter_diffusers_xl_canny.safetensors']

3. Models

You can download several popular models from the notebooks. Divided into 4 categories, Anime/Cartoon/3D, General Purpose, Realistic, Woman.

Install from URLs

If you want to download other models, copy and paste the direct link of the model into bracket of other_models. URLs are enclosed in single quotation marks ' and separated by commas ,.
Example :

other_models = ['https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors']
# or
other_models = [
    'https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors',
    'https://civitai.com/api/download/models/201259?type=Model&format=SafeTensor&size=pruned&fp=fp16'
]

4. LoRA, Embedding, Upscaler, VAE, Text Encoder

There are several built-in resource lists that will be downloaded automatically. There are also several loRA, embedding, upscaler, VAE and text encoder available that might be useful for you.

Install from URLs

To download other resources, copy and paste the direct link into the relevant brackets. URLs are enclosed in single quotation marks ' and separated by commas ,.
Example :

other.lora = ['https://huggingface.co/ffxvs/lora-effects/resolve/main/background_details.safetensors']
# or
other.lora = [
    'https://huggingface.co/ffxvs/lora-effects/resolve/main/background_details.safetensors',
    'https://huggingface.co/ffxvs/lora-effects/resolve/main/depth_of_field_slider.safetensors'
]