logo
RunComfy
  • ComfyUI
  • TreinadorNovo
  • Modelos
  • API
  • Preços
discord logo
TREINAMENTO E INFERÊNCIA
Treinar LoRA
Recursos LoRA
Executar LoRA
Gerações
ENDPOINTS DEDICADOS
Implantações
Solicitações
CONTA
Uso
Documentação da API
Chaves API
Tutoriais
Guias de treinamento LoRA com AI Toolkit

Qwen Edit 2511 Relighting LoRA: How to Get Precise Scene Lighting

This guide shows how to train a Qwen Edit 2511 relighting LoRA for precise scene lighting control. It covers relighting dataset design, structured captions, preserving faces and materials, and building a narrow edit asset for reusable lighting changes.

Treine modelos de difusão com Ostris AI Toolkit

← Role horizontalmente para ver o formulário completo →

Ostris AI ToolkitOstrisAI-Toolkit

New Training Job

Job

Model

Use a Hugging Face repo ID (e.g. owner/model-name).
⚠️ full URLs, .safetensors files, and local files are not supported.

Quantization

Target

Save

Training

Datasets

Dataset 1

Sample

Qwen Edit Relighting LoRA Training: Precise Scene Lighting Without Face Drift

If you are looking into Qwen Edit relighting LoRA training, you probably want more than a mood filter.

You want to change the lighting direction, add or move a key light, or relight a face without changing the face, the materials, or the scene layout at the same time.

That is exactly what Qwen Edit relighting LoRA training gives you: a repeatable relighting workflow where the light moves but the identity and materials stay locked.

By the end, you will know:

  • what a Qwen Edit 2511 relighting LoRA should actually learn
  • how to design a dataset for precise scene lighting control
  • why synthetic or controlled data can be especially useful here
  • how to train the workflow in Ostris AI Toolkit
For the full model overview, see the main Qwen 2511 LoRA training guide.

Table of contents

  • 1. Why precise scene relighting is hard
  • 2. What a Qwen Edit relighting LoRA actually learns during training
  • 3. Best training dataset for Qwen Edit relighting LoRA
  • 4. Best Qwen Edit relighting LoRA training settings in AI Toolkit
  • 5. How to preserve faces, materials, and light position
  • 6. Why Qwen Edit 2511 relighting LoRAs fail
  • 7. Where RunComfy helps most
  • 8. Bottom line

1. Why precise scene relighting is hard

Relighting is one of those tasks that looks easy in prompts and becomes hard in real use, which is exactly the problem Qwen Edit relighting LoRA training is designed to solve.

Why?

Because real scene lighting is tied to:

  • facial shape
  • shadows
  • reflections
  • material response
  • background depth
  • where the light is coming from

If the model is not well-controlled, changing the light can also change:

  • the face
  • the skin texture
  • the object shape
  • the scene composition

That is why users searching for Qwen image edit lighting LoRA usually care about accuracy, not just aesthetics.


2. What a Qwen Edit relighting LoRA actually learns during training

A good Qwen Edit 2511 relighting LoRA should not learn:

  • "make everything orange"
  • "apply a cinematic grade everywhere"

It should learn a clearer and more useful transformation:

given this scene, change the lighting in a controlled way while keeping the scene itself stable

That means the edit rule must separate:

  • what is the same scene
  • what is the new lighting condition

This is why a relighting LoRA is more like a control LoRA than a generic style LoRA.

The best versions feel almost like:

  • light from camera left
  • strong back rim light
  • overhead softbox
  • cool ambient + warm key

not just:

  • moody
  • dramatic
  • cinematic

3. Best training dataset for Qwen Edit relighting LoRA

3.1 Use matched before/after pairs

The core pattern is:

  • control_1 = original scene
  • target = same scene, relit

The more aligned the pair, the better the model can learn "lighting changed, scene stayed."

3.2 Keep composition stable

Do not let the target images change:

  • camera angle
  • facial expression
  • pose
  • object position

unless that change is part of the intended control task.

If composition changes too much, the LoRA starts learning scene replacement instead of relighting.

3.3 Synthetic or 3D-generated data can be unusually strong here

Controlled, 3D-generated datasets can be especially powerful for this kind of task.

That makes sense because relighting is one of the few cases where exact labels such as:

  • light angle
  • light height
  • distance
  • color temperature

can actually be meaningful.

If you have a 3D pipeline, relighting is a very good candidate for synthetic training data.

3.4 Caption the light change, not the vibe

Use captions like:

  • move key light to camera left
  • add cool rim light from behind
  • relight with soft overhead studio lighting
  • preserve face and scene geometry

Avoid vague labels like:

  • dramatic
  • beautiful
  • cinematic

Those words are not precise enough for a task where lighting direction actually needs to stay controllable.


4. Best Qwen Edit relighting LoRA training settings in AI Toolkit

This workflow fits Qwen Image Edit 2511 well because the model is built for edit tasks where some parts should remain stable.

Baseline setup

  • Model: Qwen Image Edit 2511
  • Batch Size: 1
  • Resolution: 768 or 1024
  • Target Type: LoRA
  • zero_cond_t: enabled

Dataset wiring

  • targets/ = relit outputs
  • control_1/ = original scenes
  • captions = one instruction per sample or a tightly controlled caption pattern

Rank and scope

Do not start with an enormous rank.

Relighting works best when the LoRA learns a clean edit rule, not a giant style override.

Preview design

Use a fixed validation set that includes:

  • a face closeup
  • a product or hard-surface object
  • fabric or hair
  • one scene with strong background depth

That tells you quickly whether the LoRA changes only the lighting or starts mutating the content.


5. How to preserve faces, materials, and light position

5.1 Protect the face explicitly

If people are in the scene, captions should state that the face should remain the same.

This matters because face drift is one of the most common side effects when users try scene relighting.

5.2 Use material variety on purpose

Include:

  • matte surfaces
  • glossy surfaces
  • skin
  • hair
  • metal or glass if relevant

Relighting quality is much easier to trust when the LoRA has seen different material responses.

5.3 Keep the light labels consistent

If one sample says:

  • "left key light"

and another says:

  • "light from left side"

and another says:

  • "side-lit from camera-left"

that is okay in small doses, but too much wording variety can weaken the edit rule.

For Qwen Edit relighting LoRA training at this level of precision, consistency is a feature.


6. Why Qwen Edit 2511 relighting LoRAs fail

6.1 The LoRA learned grading, not lighting

If every result looks like a color grade instead of a structural light change, the target data may be too "mood" oriented and not physically clear enough.

6.2 Faces or materials change too much

This usually means the paired data is not aligned well enough, or the captions are too vague about preservation.

6.3 Light position is inconsistent

If the same label means different outcomes across the dataset, the model cannot learn a reliable mapping.

6.4 The LoRA becomes an always-on style filter

That often happens when the dataset mixes lighting change with:

  • composition change
  • scene redesign
  • styling changes
  • subject replacement

Keep the task specific.


7. Where RunComfy helps most

Qwen Edit relighting LoRA training benefits from clean iteration:

  • same source scene
  • different caption wording
  • revised target pairs
  • repeated checkpoint review

That is where RunComfy Cloud AI Toolkit is useful.

It gives you a browser-based training environment where you can keep:

  • the paired datasets
  • the prompts
  • the checkpoints
  • the validation scenes

in one place instead of reconstructing the workflow every time.

This is especially valuable if your end goal is:

  • a reusable creator workflow
  • a production image-edit feature
  • an internal design or photography tool

Open it here: RunComfy Cloud AI Toolkit


8. Bottom line

A good Qwen Edit 2511 relighting LoRA is not a mood preset.

It is a scene-lighting control workflow that should let you:

  • reposition light
  • preserve faces
  • preserve materials
  • keep composition stable

That is why this topic is high intent.

The user searching for Qwen image edit lighting LoRA already knows the goal:

stronger control over one specific, commercially useful outcome.

Pronto para começar o treinamento?