🚀 AWPortrait - FL
AWPortrait - FLは、AWPortrait - XLのトレーニングセットと、極めて高い美学的品質を持つ約2000枚のファッション写真を使用して、FLUX.1 - dev上でファインチューニングされたモデルです。このモデルは、構図と細部において著しい改善が見られ、肌や質感がより繊細でリアルな表現が可能です。AWPlanetのDynamicWangによってトレーニングされています。
✨ 主な機能
比較
以下の例は、同じパラメータ設定でのFLUX.1 - devとの簡単な比較を示しています。
📦 インストール
このセクションでは原READMEに明確なインストール手順が記載されていないため、省略します。
💻 使用例
基本的な使用法
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")
高度な使用法
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(f"example.png")
📚 ドキュメント
オンライン推論
Shakker AIでこのモデルをダウンロードすることができます。ここでは画像生成のためのオンラインインターフェースを提供しています。
📄 ライセンス
このモデルは、著作権を持つユーザーであるDynamicWangによってトレーニングされ、許可を得て公開されています。モデルはflux - 1 - dev - non - commercial - licenseに従っており、生成された画像も非商用目的での使用に限定されています。
プロパティ |
詳細 |
モデルタイプ |
text - to - image, stable - diffusion, diffusers, image - generation, flux, safetensors |
トレーニングデータ |
AWPortrait - XLのトレーニングセットと約2000枚のファッション写真 |