SKILL.md
$2c
3. Relight
runcomfy run qwen/qwen-edit-2509/lora/relight
--input '{"image": "...", "prompt": "..."}'
--output-dir ./out
CLI deep dive: [`runcomfy-cli`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/runcomfy-cli) skill.
---
## Pick the right model
Listed 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. Tuned specifically for changing lighting direction, color temperature, intensity, and mood while preserving subject identity, 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`
> Identity-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 swapping background, adding 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 target lighting style and apply it.
> Pick for: "match the lighting of this reference photo" workflows 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.
---
## Route 1: Qwen Edit Relight — default
**Model**: `qwen/qwen-edit-2509/lora/relight`
**Catalog**: [Qwen Edit relight](https://www.runcomfy.com/models/qwen/qwen-edit-2509/lora/relight?utm_source=skills.sh&utm_medium=skill&utm_campaign=relight) · [`qwen-image` collection](https://www.runcomfy.com/models/collections/qwen-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=relight)
### Invoke
runcomfy run qwen/qwen-edit-2509/lora/relight \
--input '{
"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 identity."
}' \
--output-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"`
- **State preservation explicitly**: `"preserve subject pose, framing, and color identity"` — without this the model may drift.
- **Combine multi-light setups**: `"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.
## Route 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**:
runcomfy run google/nano-banana-2/edit \
--input '{
"prompt": "Keep the subject and pose exactly. Relight as soft window light from the left, late-afternoon warm color temperature. Add subtle shadow on the right side of the face.",
"image_urls": ["https://your-cdn.example/portrait.jpg"]
}' \
--output-dir ./out