Camera & Light Control for ComfyUI
A visual camera and light director for booru-tag models (built for Anima). Drag a camera and a light around a character on a 3D orbit, and the node turns their positions into weighted prompt tags such as (from behind:3.00), (backlighting:2.40).
If no effect change weight slider.
Features
3D orbit preview with a draggable camera and light
Camera: left/right, up/down, distance and roll, converted to angle, shot-size and dutch-angle tags
Light: position, intensity (0–2), 14 light types (soft, dramatic, sunlight, neon, …) and 10 colors
Presets that store camera, light and extra tags; connect a Random Int to
preset_indexto pick one randomlyOutputs:
prompt,camera_prompt,light_prompt; optionalprefixinput
Why use it
Weighted tags. Anima respects
(tag:weight), and needs higher weights than SDXL.Light relative to the camera. Light direction in the prompt is computed from the camera's point of view, so it stays meaningful when you orbit.
Fully editable. Weights, dead zones and every tag text can be changed, and there is a plain (no-weights) mode.
Live preview. The prompt shown in the node matches what it outputs.
Controls
Action Result Drag the camera or light icon Move it Drag empty space Move the selected tool (🎥 / 💡) Right-drag or Alt+drag Rotate the view Mouse wheel Camera: distance. Light: intensity Shift + wheel Camera roll Double-click / Shift+double-click Reset position / reset view
On the orbit: F front, B back, L character's left, R character's right.
Installation
Copy the
comfyui_camera_light_controlfolder intoComfyUI/custom_nodes/.Restart ComfyUI and hard-refresh the page (Ctrl+F5).
Add Node → Director → Camera & Light Control.
Usage
prefix text ──► [Camera & Light Control] ──prompt──► CLIP Text Encode (Positive) ──► KSampler
Anima expects
[quality] [1girl] [character] [series] [artist] [general tags]. Feed everything before the general tags intoprefix; camera and light tags are appended after it.If the angle is ignored, raise the weights in Weights & dead zones. If the image breaks, lower them.
Default tags are common booru terms and can be replaced in the Tags panel.
