Support FLUX reference images through real edit workflow

This commit is contained in:
Mikei386
2026-10-01 13:47:36 +02:00
parent 66e974291d
commit 508a3f4176
5 changed files with 39 additions and 6 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ def image_recipe(model):
return None
def image_capabilities(model):
"""Only advertise reference editing for the verified Qwen Image 2.1 workflow."""
return {'reference_images':4 if model and model.get('repo')==QWEN_REPO and model.get('file','').endswith('.gguf') else 0}
"""All currently supported image recipes have a reference-image workflow."""
return {'reference_images':4 if model and image_recipe(model) else 0}
LTX_REPO='Lightricks/LTX-2.5'
LTX_FILE='diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors'