Anima Lllite: Image Inpainting
Inpaint anime images with Anima LLLite, a lightweight ControlNet variant that applies low-rank corrections for precise mask-based editing. Input 1 image and…
About
Inpaint anime images with Anima LLLite, a lightweight ControlNet variant that applies low-rank corrections for precise mask-based editing. Input 1 image and…
What you provide
- Reading the workflow
Runs in ComfyUI. This workflow can't run on this page. Download it and open it in ComfyUI.
Download WorkflowNo sample outputs for this workflow yet.
Inside the workflow
A read-only preview of the node graph. Open it in Comfy Cloud or download it to edit the nodes.
Loading the graph
Open full-size workflow previewFiles in this workflow
- Comfy Cloud
- Yes
- Output
- Image
- Author
- Author unavailable
Requires custom nodes
- Reading the workflow
Use this workflow from code
Generated from the workflow graph and inputs when possible; stored examples are shown otherwise. Review credentials and endpoints before running code, which may incur charges.
What you need
- Runs on
- Comfy Cloud
- Key
- COMFY_API_KEY
Needs a paid Cloud plan and credits.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"46": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "Anima",
"images": [
"88:105",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"77": {
"class_type": "ImageCompare",
"inputs": {
"compare_view": None,
"image_a": [
"91",
0
],
"image_b": [
"46",
0
]
},
"_meta": {
"title": "Compare Images"
}
},
"91": {
"class_type": "LoadImage",
"inputs": {
"image": "goat_horned_spirit_girl.png"
},
"_meta": {
"title": "Load Image"
}
},
"694": {
"class_type": "Painter",
"inputs": {
"bg_color": "#000000",
"height": 1024,
"image": [
"91",
0
],
"mask": "",
"width": 1024
},
"_meta": {
"title": "Painter"
}
},
"695": {
"class_type": "MaskPreview",
"inputs": {
"mask": [
"694",
1
]
},
"_meta": {
"title": "Preview Mask"
}
},
"696": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"resize_type": "scale total pixels",
"resize_type.megapixels": 1,
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize Image/Mask"
}
},
"88:105": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"88:106",
0
],
"vae": [
"88:79",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"88:106": {
"class_type": "KSampler",
"inputs": {
"cfg": [
"88:113",
0
],
"denoise": 1,
"latent_image": [
"88:81",
0
],
"model": [
"88:110",
0
],
"negative": [
"88:82",
0
],
"positive": [
"88:84",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 1376514088921,
"steps": [
"88:111",
0
]
},
"_meta": {
"title": "KSampler"
}
},
"88:107": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 30
},
"_meta": {
"title": "Int (Steps)"
}
},
"88:108": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 8
},
"_meta": {
"title": "Int (Steps)"
}
},
"88:109": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "anima-turbo-lora-v0.2.safetensors",
"model": [
"88:87",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"88:110": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"88:87",
0
],
"on_true": [
"88:109",
0
],
"switch": [
"88:115",
0
]
},
"_meta": {
"title": "If/Else Switch"
}
},
"88:111": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"88:107",
0
],
"on_true": [
"88:108",
0
],
"switch": [
"88:115",
0
]
},
"_meta": {
"title": "If/Else Switch"
}
},
"88:112": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 4
},
"_meta": {
"title": "Float (CFG)"
}
},
"88:113": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"88:112",
0
],
"on_true": [
"88:114",
0
],
"switch": [
"88:115",
0
]
},
"_meta": {
"title": "If/Else Switch"
}
},
"88:114": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 1
},
"_meta": {
"title": "Float (CFG)"
}
},
"88:115": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": True
},
"_meta": {
"title": "Boolean (Enable Turbo LoRA)"
}
},
"88:78": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_3_06b_base.safetensors",
"device": "default",
"type": "stable_diffusion"
},
"_meta": {
"title": "Load CLIP"
}
},
"88:79": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"88:81": {
"class_type": "EmptyLatentImage",
"inputs": {
"batch_size": 1,
"height": 1024,
"width": 1024
},
"_meta": {
"title": "Empty Latent Image"
}
},
"88:82": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"88:78",
0
],
"text": "worst quality, low quality, score_1, score_2, score_3, blurry, jpeg artifacts, sepia"
},
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"88:84": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"88:78",
0
],
"text": "girl with red eyes"
},
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"88:85": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "anima-base-v1.0.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"88:86": {
"class_type": "ModelPatchLoader",
"inputs": {
"name": "anima-lllite-inpainting-v2.safetensors"
},
"_meta": {
"title": "Load Model Patch"
}
},
"88:87": {
"class_type": "AnimaLLLiteApply",
"inputs": {
"end_percent": 1,
"image": [
"694",
0
],
"mask": [
"695",
0
],
"model": [
"88:85",
0
],
"model_patch": [
"88:86",
0
],
"start_percent": 0,
"strength": 1
},
"_meta": {
"title": "Apply Anima LLLite"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)Related workflows
- AAnima
Anima Anime Text-to-Image Generation
- AAnima
Anima Base v1: Text to Image
- AAnima
Anima Lllite: Any Control to Image
- AAnima
Anima Lllite: Depth Control to Image
- ZZ-Image-Turbo
1.1 Starter - Text to Image
- Nano Banana 2 Text-to-Image
3x3 Contact Sheet
- QQuiver
Arrow 2: Text to SVG
- ZZ-Image-Turbo
Batch Process Text Prompts From List
- BBoogu
Boogu Turbo: Text to Image
- BRIA
Bria: FIBO 2.0 Text to Image
- CChroma, Flux
Chroma: Text to Image
- EERNIE-Image
Ernie Image Turbo: Text To Image