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 JSONAPI 文档 ↗
# 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 Anime 文生图生成
- AAnima
Anima Base v1: 文本生成图像
- AAnima
Anima Lllite: Any Control to Image
- AAnima
Anima Lllite: Image Inpainting
- ZZ-Image-Turbo
1.1 入门 - 文本生成图像
- Nano Banana 2 Text-to-Image
3x3 联系表
- 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