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…
Hakkında
Inpaint anime images with Anima LLLite, a lightweight ControlNet variant that applies low-rank corrections for precise mask-based editing. Input 1 image and…
Sağladıklarınız
- İş akışı okunuyor
ComfyUI'da çalışır. Bu iş akışı bu sayfada çalışamaz. İndirin ve ComfyUI'da açın.
İş Akışını İndirBu iş akışı için henüz örnek çıktı yok.
İş akışının içinde
Düğüm grafiğinin salt okunur önizlemesi. Düğümleri düzenlemek için bunu Comfy Cloud'da açın veya indirin.
Loading the graph
Open full-size workflow previewBu iş akışındaki dosyalar
- Comfy Cloud
- Evet
- Çıktı
- Görüntü
- Yazar
- Yazar kullanılamıyor
Özel düğümler gerektirir
- İş akışı okunuyor
Bu iş akışını koddan kullanın
Mümkün olduğunda iş akışı grafiği ve girdilerden oluşturulur; aksi hâlde kayıtlı örnekler gösterilir. Ücret doğurabilecek kodu çalıştırmadan önce kimlik bilgilerini ve uç noktaları gözden geçirin.
What you need
- Runs on
- Comfy Cloud
- Anahtar
- COMFY_API_KEY
Ücretli bir Cloud planı ve kredi gerektirir.
# 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)İlgili iş akışları
- AAnima
Anima Anime Metinden Görüntü Oluşturma
- AAnima
Anima Base v1: Metinden Görsele
- AAnima
Anima Lllite: Any Control to Image
- AAnima
Anima Lllite: Depth Control to Image
- ZZ-Image-Turbo
1.1 Başlangıç - Metinden Görsele
- Nano Banana 2 Text-to-Image
3x3 Contact Sheet
- QQuiver
Arrow 2: Text to SVG
- BBoogu
Boogu Turbo: Text to Image
- BRIA
Bria: FIBO 2.0 Text to Image
- CChroma, Flux
Chroma: metinden görüntü
- EERNIE-Image
Ernie Image Turbo: Text To Image
- EERNIE-Image
Ernie Image: Text to Image