Anima Lllite: Depth Control to Image
Generate anime-style illustrations from a depth map using the Anima LLLite model, which applies a lightweight ControlNet correction for precise spatial…
تنزيل سير العملجرّبه في Cloud وثائق API
حول
Generate anime-style illustrations from a depth map using the Anima LLLite model, which applies a lightweight ControlNet correction for precise spatial…
ما تقدّمه
- جارٍ قراءة سير العمل
يعمل في ComfyUI. لا يمكن تشغيل سير العمل هذا على هذه الصفحة. نزّله وافتحه في ComfyUI.
تنزيل سير العمللا توجد مخرجات نموذجية لسير العمل هذا بعد.
داخل سير العمل
معاينة للقراءة فقط لرسم العقد البياني. افتحه في Comfy Cloud أو نزّله لتعديل العقد.
Loading the graph
Open full-size workflow previewالملفات في سير العمل هذا
- Comfy Cloud
- نعم
- المخرج
- صورة
- المؤلف
- المؤلف غير متاح
يتطلب عُقدًا مخصصة
- جارٍ قراءة سير العمل
استخدم سير العمل هذا من خلال التعليمات البرمجية
يتم إنشاؤه من مخطط سير العمل والمدخلات عندما يكون ذلك ممكنًا؛ وإلا فتُعرض الأمثلة المخزنة. راجع بيانات الاعتماد ونقاط النهاية قبل تشغيل التعليمات البرمجية، إذ قد تترتب عليها رسوم.
1 الحصول على مفتاح API ↗
What you need
- Runs on
- Comfy Cloud
- المفتاح
- COMFY_API_KEY
يتطلب خطة Cloud مدفوعة ورصيدًا.
تنزيل API JSONوثائق API ↗
# 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"
}
},
"76": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"92",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"77": {
"class_type": "ImageCompare",
"inputs": {
"compare_view": None,
"image_a": [
"92",
0
],
"image_b": [
"46",
0
]
},
"_meta": {
"title": "Compare Images"
}
},
"91": {
"class_type": "LoadImage",
"inputs": {
"image": "anima_depth_ref.png"
},
"_meta": {
"title": "Load Image"
}
},
"92": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"690:687",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"693": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"91",
0
],
"resize_type": "scale total pixels",
"resize_type.megapixels": 1,
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize Image/Mask"
}
},
"690:687": {
"class_type": "DA3Render",
"inputs": {
"da3_geometry": [
"690:688",
0
],
"output": "depth",
"output.apply_sky_clip": False,
"output.normalization": "v2_style"
},
"_meta": {
"title": "Render Depth Anything 3"
}
},
"690:688": {
"class_type": "DA3Inference",
"inputs": {
"da3_model": [
"690:689",
0
],
"image": [
"693",
0
],
"mode": "mono",
"resize_method": "upper_bound_resize",
"resolution": 504
},
"_meta": {
"title": "Run Depth Anything 3"
}
},
"690:689": {
"class_type": "LoadDA3Model",
"inputs": {
"model_name": "depth_anything_3_mono_large.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Depth Anything 3"
}
},
"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": 520254185749746,
"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": False
},
"_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": [
"76",
1
],
"width": [
"76",
0
]
},
"_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": "front view perspective, cozy sunlit living room, a young girl sits on the central sofa reading a book, abundant lush green houseplants everywhere, large window beside the sofa, soft warm daylight pouring through window, vintage furniture, books, tableware and home decorations, obvious layered indoor spatial depth, rich interior details, warm gentle color palette, clean smooth line art, soft cel shading, japanese slice of life anime illustration, tranquil healing atmosphere, decorative sticker art, neat composition"
},
"_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-depth-1.safetensors"
},
"_meta": {
"title": "Load Model Patch"
}
},
"88:87": {
"class_type": "AnimaLLLiteApply",
"inputs": {
"end_percent": 1,
"image": [
"92",
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: Image Inpainting
- 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