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…
حول
Inpaint anime images with Anima LLLite, a lightweight ControlNet variant that applies low-rank corrections for precise mask-based editing. Input 1 image and…
ما تقدّمه
- جارٍ قراءة سير العمل
يعمل في ComfyUI. لا يمكن تشغيل سير العمل هذا على هذه الصفحة. نزّله وافتحه في ComfyUI.
تنزيل سير العمللا توجد مخرجات نموذجية لسير العمل هذا بعد.
داخل سير العمل
معاينة للقراءة فقط لرسم العقد البياني. افتحه في Comfy Cloud أو نزّله لتعديل العقد.
Loading the graph
Open full-size workflow previewالملفات في سير العمل هذا
- Comfy Cloud
- نعم
- المخرج
- صورة
- المؤلف
- المؤلف غير متاح
يتطلب عُقدًا مخصصة
- جارٍ قراءة سير العمل
استخدم سير العمل هذا من خلال التعليمات البرمجية
يتم إنشاؤه من مخطط سير العمل والمدخلات عندما يكون ذلك ممكنًا؛ وإلا فتُعرض الأمثلة المخزنة. راجع بيانات الاعتماد ونقاط النهاية قبل تشغيل التعليمات البرمجية، إذ قد تترتب عليها رسوم.
What you need
- Runs on
- Comfy Cloud
- المفتاح
- COMFY_API_KEY
يتطلب خطة Cloud مدفوعة ورصيدًا.
# 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)مهام سير عمل ذات صلة
- AAnima
Anima Base v1: نص إلى صورة
- AAnima
Anima Lllite: Any Control to Image
- AAnima
Anima Lllite: Depth Control to Image
- AAnima
توليد نص إلى صورة من Anima Anime
- ZZ-Image-Turbo
1.1 البداية - تحويل النص إلى صورة
- 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: نص إلى صورة
- EERNIE-Image
Ernie Image Turbo: Text To Image
- EERNIE-Image
Ernie Image: Text to Image