🚀 ハニ・マキナ FLUX
このモデルは、テキストから画像を生成するStable DiffusionベースのLoRAモデルです。韓流やアジア系の女性を題材にした画像生成に特化しています。
🚀 クイックスタート
このモデルを使用するには、以下の手順に従ってください。
モデルのダウンロード
このモデルの重みはSafetensors形式で提供されています。Files & versionsタブからダウンロードできます。
diffusersライブラリを使用した実行
以下のコード例を参考に、diffusers
ライブラリを使用してモデルを実行できます。
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Keltezaa/hanni-makina-flux', weight_name='makinaflux_hanni_v1.0.safetensors')
image = pipeline('a petite young asian woman posing in a stylish and coordinated outfit. She is wearing a white sleeveless crop top paired with a matching white mini skirt, creating a chic and fashionable look. The top features a black and white tie with "Chanel" branding, adding a luxurious touch to the ensemble. Her long hair is styled in two high pigtails, decorated with accessories, giving her a youthful and trendy appearance. The background is minimalistic, with gray walls, keeping the focus on her outfit and pose. Her expression is neutral and poised, suggesting a confident and composed attitude.. ,, . , looking at camera').images[0]
LoRAの重み付け、マージ、融合などの詳細については、diffusersでのLoRAの読み込みに関するドキュメントを参照してください。
✨ 主な機能
- テキストから画像への生成:入力されたテキストに基づいて、韓流やアジア系の女性を題材にした画像を生成します。
- 多様なスタイル対応:様々なスタイルやシーンの画像生成が可能です。
📦 インストール
このモデルを使用するには、diffusers
ライブラリが必要です。以下のコマンドでインストールできます。
pip install diffusers
💻 使用例
基本的な使用法
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Keltezaa/hanni-makina-flux', weight_name='makinaflux_hanni_v1.0.safetensors')
image = pipeline('a petite young asian woman posing in a stylish and coordinated outfit. She is wearing a white sleeveless crop top paired with a matching white mini skirt, creating a chic and fashionable look. The top features a black and white tie with "Chanel" branding, adding a luxurious touch to the ensemble. Her long hair is styled in two high pigtails, decorated with accessories, giving her a youthful and trendy appearance. The background is minimalistic, with gray walls, keeping the focus on her outfit and pose. Her expression is neutral and poised, suggesting a confident and composed attitude.. ,, . , looking at camera').images[0]
📚 ドキュメント
モデルの説明
📄 ライセンス
このモデルは bespoke-lora-trained-license の下で提供されています。