Shakker-Labs/AWPortrait-FL

Shakker-Labs
Texto a imagen

Modelo de texto a imagen afinado sobre FLUX.1-dev para generar retratos y fotografía de moda con alta calidad estética. Está entrenado con el conjunto AWPortrait-XL y cerca de 2.000 fotos de moda, con mejoras destacadas en composición, detalle, piel más realista y mejor representación textual.

Como usar

Inferencia estándar con Diffusers:

import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("Shakker-Labs/AWPortrait-FL", torch_dtype=torch.bfloat16)
pipe.to("cuda")

prompt = "close up portrait, Amidst the interplay of light and shadows in a photography studio,a soft spotlight traces the contours of a face,highlighting a figure clad in a sleek black turtleneck. The garment,hugging the skin with subtle luxury,complements the Caucasian model's understated makeup,embodying minimalist elegance. Behind,a pale gray backdrop extends,its fine texture shimmering subtly in the dim light,artfully balancing the composition and focusing attention on the subject. In a palette of black,gray,and skin tones,simplicity intertwines with profundity,as every detail whispers untold stories."

image = pipe(prompt, num_inference_steps=24, guidance_scale=3.5, width=768, height=1024).images[0]
image.save("example.png")

Inferencia con LoRA para reducir uso de memoria:

import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/AWPortrait-FL", weight_name="AWPortrait-FL-lora.safetensors")
pipe.fuse_lora(lora_scale=0.9)
pipe.to("cuda")

prompt = "close up portrait, Amidst the interplay of light and shadows in a photography studio,a soft spotlight traces the contours of a face,highlighting a figure clad in a sleek black turtleneck. The garment,hugging the skin with subtle luxury,complements the Caucasian model's understated makeup,embodying minimalist elegance. Behind,a pale gray backdrop extends,its fine texture shimmering subtly in the dim light,artfully balancing the composition and focusing attention on the subject. In a palette of black,gray,and skin tones,simplicity intertwines with profundity,as every detail whispers untold stories."

image = pipe(prompt, num_inference_steps=24, guidance_scale=3.5, width=768, height=1024).images[0]
image.save("example.png")

Funcionalidades

Generación de retratos y moda a partir de texto
Fine-tune basado en `black-forest-labs/FLUX.1-dev`
Mejoras visibles en composición y detalle frente a FLUX.1-dev
Salida con piel más delicada y realista
Disponible también como versión LoRA para ahorrar memoria
Formato compatible con Diffusers y pesos `safetensors`
Licencia no comercial `flux-1-dev-non-commercial-license`

Casos de uso

Retratos en primer plano con estética de estudio
Fotografía de moda generada por texto
Imágenes editoriales con iluminación cuidada y composición refinada
Generación de personajes humanos con acabado realista en piel y vestuario
Workflows creativos sobre FLUX.1-dev que requieran una variante especializada en retrato