---
title: 4nima Pencil XL   V1.0.1 API | Text to Image | ModelsLab
description: Generate images from text with 4nima Pencil XL   V1.0.1. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/4nima-pencil-xl-v1-0-1.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/4nima-pencil-xl-v1-0-1.md
type: website
component: Special/NsfwGated
generated_at: 2026-05-21T11:41:49.551368Z
---

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" &amp;0 &amp;2 &amp;3 alpha=1.0 merge "add\_cosine\_b" &amp;2 &amp;4 alpha=0.55 dict sdxl\_unet\_default=1.0 sdxl\_txt2\_default=0.0 sdxl\_txt\_default=0.0 merge "weighted\_sum" &amp;2 &amp;5 alpha=&amp;6 dict sdxl\_unet\_default=0.2 sdxl\_txt2\_default=0.0 sdxl\_txt\_default=0.0 merge "clamped\_add\_opposite" &amp;7 &amp;0 &amp;3 alpha=&amp;8 merge "add\_cosine\_a" &amp;1 &amp;9 alpha=0.65 merge "add\_cosine\_a" &amp;0 &amp;10 alpha=0.35000000000000003 merge "clamped\_add\_opposite" &amp;11 &amp;0 &amp;3 alpha=4.0 merge "add\_cosine\_b" &amp;12 &amp;9 alpha=0.25 model "sdxl\\illustrious\_pencil-XL-v2.0.0.safetensors" "sdxl" "base" merge "add\_cosine\_a" &amp;14 &amp;9 alpha=0.25 merge "add\_cosine\_a" &amp;13 &amp;15 alpha=0.6 merge "add\_cosine\_a" &amp;16 &amp;3 alpha=0.0 dict sdxl\_unet\_default=0.0 sdxl\_txt2\_default=0.5 sdxl\_txt\_default=1.0 merge "weighted\_sum" &amp;17 &amp;9 alpha=&amp;18 dict sdxl\_unet\_default=0.35000000000000003 sdxl\_txt2\_default=2.0 sdxl\_txt\_default=0.0 merge "clamped\_add\_opposite" &amp;19 &amp;2 &amp;3 alpha=&amp;20 merge "add\_cosine\_a" &amp;21 &amp;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" &amp;0 &amp;1 alpha=0.9500000000000001 dict sdxl\_unet\_default=0.0 sdxl\_txt\_default=1.0 sdxl\_txt2\_default=1.0 merge "weighted\_sum" &amp;2 &amp;1 alpha=&amp;3 merge "slerp" &amp;1 &amp;3 alpha=0.05 dict sdxl\_unet\_default=0.0 sdxl\_txt2\_default=1.0 sdxl\_txt\_default=1.0 merge "weighted\_sum" &amp;4 &amp;1 alpha=&amp;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.

[Log in](https://modelslab-frontend-v2-927501783998.us-east4.run.app/login) [Browse other models](/models)

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.

[Get an API key](https://modelslab-frontend-v2-927501783998.us-east4.run.app/register) [Read API docs](/docs)

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-21*