AWPortrait-FL 是一个在 FLUX.1-dev 基础上 finetuned 的模型,使用 AWPortrait-XL 的训练集和近 2,000 张高质量的时尚摄影照片进行训练。它在构图和细节方面有显著的改进,具有更精致和逼真的皮肤和纹理。
可以使用以下代码进行推理: ``` 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(f\"example.png\") ```
价格:免费
公司名称:Shakker Labs
邮箱地址:暂无信息
社交媒体:暂无信息