Stable Diffusion Xl
4nima Pencil XL V1.0.1
model_id: 4nima-pencil-xl-v1-0-1
<p># Tools</p><ul><li><p><a target="_blank" rel="ugc" href="https://github.com/comfyanonymous/ComfyUI">ComfyUI</a></p></li><li><p><a target="_blank" rel="ugc" href="https://github.com/ljleb/sd-mecha">sd-mecha</a></p></li><li><p><a target="_blank" rel="ugc" href="https://github.com/ljleb/comfy-mecha">sd-mecha for Comfyui</a></p></li><li><p><a target="_blank" rel="ugc" href="https://github.com/rohitgandikota/sliders">Concept Sliders</a></p></li></ul><p># Checkpoints</p><ul><li><p><a target="_blank" rel="ugc" href="https://civitai.com/models/1188071?modelVersionId=1337429">Animagine XL 4.0</a></p></li><li><p><a target="_blank" rel="ugc" href="https://civitai.com/models/1095750?modelVersionId=1230787">Neta-Noob v1.0</a></p></li><li><p><a target="_blank" rel="ugc" href="https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0">SD-XL 1.0-base</a></p></li><li><p><a target="_blank" rel="ugc" href="https://civitai.com/models/261336?modelVersionId=505691">anima_pencil-XL-v5.0.0</a></p></li><li><p><a target="_blank" rel="ugc" href="https://civitai.com/models/838773?modelVersionId=951879">illustrious_pencil-XL-v2.0.0</a></p></li></ul><p># Recipe</p><ol><li><p>Merge using <code>sd-mecha for ComfyUI</code>.</p></li></ol><pre><code># sd-mecha format recipe model "sdxl\anima_pencil-XL-v5.0.0.safetensors" "sdxl" "base" model "sdxl\neta_noob_v1.safetensors" "sdxl" "base" model "sdxl\animagine-xl-4.0.safetensors" "sdxl" "base" model "sdxl\sd_xl_base_1.0.safetensors" "sdxl" "base" merge "train_difference" &0 &2 &3 alpha=1.0 merge "add_cosine_b" &2 &4 alpha=0.55 dict sdxl_unet_default=1.0 sdxl_txt2_default=0.0 sdxl_txt_default=0.0 merge "weighted_sum" &2 &5 alpha=&6 dict sdxl_unet_default=0.2 sdxl_txt2_default=0.0 sdxl_txt_default=0.0 merge "clamped_add_opposite" &7 &0 &3 alpha=&8 merge "add_cosine_a" &1 &9 alpha=0.65 merge "add_cosine_a" &0 &10 alpha=0.35000000000000003 merge "clamped_add_opposite" &11 &0 &3 alpha=4.0 merge "add_cosine_b" &12 &9 alpha=0.25 model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base" merge "add_cosine_a" &14 &9 alpha=0.25 merge "add_cosine_a" &13 &15 alpha=0.6 merge "add_cosine_a" &16 &3 alpha=0.0 dict sdxl_unet_default=0.0 sdxl_txt2_default=0.5 sdxl_txt_default=1.0 merge "weighted_sum" &17 &9 alpha=&18 dict sdxl_unet_default=0.35000000000000003 sdxl_txt2_default=2.0 sdxl_txt_default=0.0 merge "clamped_add_opposite" &19 &2 &3 alpha=&20 merge "add_cosine_a" &21 &2 alpha=0.0</code></pre><ol><li><p>Create and Merge Concept Sliders</p></li><li><p>Merge</p></li></ol><pre><code>model "sdxl\animagine-xl-4.0.safetensors" "sdxl" "base" model "1.safetensors" "sdxl" "base" merge "add_cosine_b" &0 &1 alpha=0.9500000000000001 dict sdxl_unet_default=0.0 sdxl_txt_default=1.0 sdxl_txt2_default=1.0 merge "weighted_sum" &2 &1 alpha=&3 merge "slerp" &1 &3 alpha=0.05 dict sdxl_unet_default=0.0 sdxl_txt2_default=1.0 sdxl_txt_default=1.0 merge "weighted_sum" &4 &1 alpha=&6</code></pre>
NSFW samples are gated
This model produces NSFW content. Log in and enable NSFW in your account settings to view samples and run the model. The API and model parameters below are accessible regardless.
Use 4nima Pencil XL V1.0.1 via the ModelsLab API
Send a POST request to the relevant endpoint with your API key and model_id="4nima-pencil-xl-v1-0-1". The API does not enforce the same NSFW gating as the web playground — content moderation is handled by your account-level policy. Sign up to get an API key.