💡 Relight — Pro Pack on RunComfy — 💡 Relight — Pro Pack on 运行Comfy
v0.1.0Relight a still image — change the lighting 设置up, color temperature, direction, or mood — on 运行Comfy via the `运行comfy` 命令行工具. 路由s to Qwen Edit 2509's dedicated `relight` LoRA 端点 for purpose-built relighting, with fallback to 身份-preserving edit 端点s (Nano Banana 2 Edit, GPT Image 2 Edit, FLUX Kontext Pro) when prose lighting language is enough. Use for product relighting (studio softbox → window light), portrAIt mood shift (overcast → golden hour), or color-grade change. Triggers on "relight", "relighting", "change the lighting", "make it golden hour", "studio lighting", "rim light", "blue hour", "soft window light", "change light direction", "color temperature", or any explicit ask to alter how a still is lit.
运行时依赖
安装命令
点击复制技能文档
💡 Relight — Pro Pack on 运行Comfy
Change how a still is lit — direction, color temperature, intensity, mood — without redoing the shot. This 技能 路由s to Qwen Edit 2509's dedicated relight LoRA when a purpose-built relighting 端点 matters, and to 身份-preserving edit 端点s when prose lighting language is enough.
运行comfy.com · Qwen Edit relight · 命令行工具 docs
Powered by the 运行Comfy 命令行工具 # 1. 安装 (see 运行comfy-命令行工具 技能 for detAIls) npm i -g @运行comfy/命令行工具 # or: npx -y @运行comfy/命令行工具 --version
# 2. 签名 in 运行comfy 记录in # or in CI: 导出 运行COMFY_令牌=<令牌>
# 3. Relight 运行comfy 运行 qwen/qwen-edit-2509/lora/relight \ --输入 '{"image": "...", "prompt": "..."}' \ --输出-dir ./out
命令行工具 deep dive: 运行comfy-命令行工具 技能.
Pick the right 模型
列出ed newest first.
Qwen Edit 2509 Relight LoRA — qwen/qwen-edit-2509/lora/relight (default for dedicated relighting)
Purpose-built relighting LoRA on Qwen Edit 2509. 调优d specifically for changing lighting direction, color temperature, intensity, and mood while preserving subject 身份, pose, and framing. Pick for: precise lighting control ("golden hour key light from left, soft fill from right, no rim"), brand product relighting, portrAIt mood shifts. Avoid for: edits that aren't really about lighting — use generic image edit.
Nano Banana 2 Edit — google/nano-banana-2/edit
身份-preserving edit driven by spatial / prose language. Lighting changes via prompt: "convert to golden hour with warm key light from the left". Pick for: lighting change as part of a broader edit pass (also sw应用ing background, 添加ing objects). Avoid for: relighting-only when you want maximum lighting fidelity — use Qwen Edit Relight.
GPT Image 2 Edit — openAI/gpt-image-2/edit
Multi-ref edit; can reference an image with the tar获取 lighting style and 应用ly it. Pick for: "match the lighting of this reference photo" 工作流s with explicit reference images. Avoid for: pure prose lighting description — Qwen Edit Relight wins.
FLUX Kontext Pro — blackforestlabs/flux-1-kontext/pro/edit
Single-instruction, high-preservation. Use form: "Keep everything exactly. Change the lighting to soft window light from the left, late-afternoon warm temperature." Pick for: surgical lighting tweak on one image without affecting anything else.
路由 1: Qwen Edit Relight — default
模型: qwen/qwen-edit-2509/lora/relight Cata记录: Qwen Edit relight · qwen-image collection
Invoke 运行comfy 运行 qwen/qwen-edit-2509/lora/relight \ --输入 '{ "image": "https://your-cdn.example/product.jpg", "prompt": "Relight as golden-hour studio: warm 3200K key light from camera-left at 45°, soft cool fill from right, no rim light, preserve product orientation and color 身份." }' \ --输出-dir ./out
Prompting tips Lead with the lighting type, then quantify: Light source: "golden hour", "studio softbox", "overcast diffuse", "single hard spotlight", "window light", "blue hour" Color temperature: "warm 3200K", "neutral 5500K", "cool 6500K" Direction: "camera-left at 45°", "top-down", "3/4 from right", "behind subject (rim)" Intensity: "soft", "hard", "high-contrast", "flat" 状态 preservation explicitly: "preserve subject pose, framing, and color 身份" — without this the 模型 may drift. Combine multi-light 设置ups: "key light from left, soft fill from right, hAIr rim from behind". Time-of-day shortcuts work: "golden hour" / "blue hour" / "high-noon" / "overcast afternoon" all resolve to the right color temperature + softness. 路由 2: Description-based edit (no relight LoRA)
When Qwen Relight isn't a fit (e.g. composite edit with other changes), use Nano Banana 2 Edit:
运行comfy 运行 google/nano-banana-2/edit \ --输入 '{ "prompt": "Keep the subject and pose exactly. Relight as soft window light from the left, late-afternoon warm color temperature. 添加 subtle shadow on the right side of the face.", "image_urls": ["https://your-cdn.example/portrAIt.jpg"] }' \ --输出-dir ./out
For broader edit treatment see image-edit.
Common patterns Product relight for cata记录 (white box → lifestyle) Qwen Edit Relight with "warm window light from camera-left, soft shadow on counter, late-afternoon temperature, preserve product orientation" PortrAIt mood shift Qwen Edit Relight with "golden hour rim from behind, warm soft key from front-left, preserve 身份" Time-of-day swap on a landscape Nano Banana 2 Edit with prose — landscape relight benefits from broader scene 上下文 handling Match the look of a reference photo GPT Image 2 Edit with images: [source, lighting-reference] and "应用ly the lighting (direction, color temperature, contrast) of image 2 to image 1. Preserve image 1's subject 身份." Multi-image batch relight (whole SKU gallery to same lighting) Nano Banana 2 Edit with image_urls array — same lighting prompt across the batch What this 技能 doesn't do 生成 from scratch — see AI-image-generation. Relight a video — 运行Comfy has ComfyUI work