🚀 アリシア・シルバーストーン - 90年代後半/2000年代初頭 (Flux)
このプロジェクトは、90年代後半から2000年代初頭のアリシア・シルバーストーンを再現するためにFluxで学習されたモデルに関するものです。
🚀 クイックスタート
モデルのダウンロード
このモデルの重みはSafetensors形式で利用可能です。
ここからダウンロードしてください(Files & versionsタブ)。
🧨 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/alicia-silverstone-late-90s-early-2000s-flux', weight_name='Alicia_Silverstone_Flux.safetensors')
image = pipeline(' The image is a photograph featuring a young woman standing in a cafe, looking at the viewer. smile. She has long, straight, blonde hair that falls past her shoulders. Her skin tone is fair, and she has a light makeup application, highlighting her blue eyes and rosy cheeks. She is wearing a sleeveless, form-fitting dress made of a shiny, turquoise satin fabric. The dress has a plunging V-neckline that accentuates her collarbone and a gathered waistline that adds a touch of femininity. The dress's texture is smooth and slightly reflective, giving it a luxurious appearance.').images[0]
LoRAの重み付け、マージ、融合などの詳細については、diffusersでのLoRAの読み込みに関するドキュメントを参照してください。
✨ 主な機能
- 90年代後半から2000年代初頭のアリシア・シルバーストーンの画像を生成できます。
- 🧨 diffusersライブラリと互換性があり、簡単に使用できます。
📦 インストール
モデルの使用には、必要なライブラリをインストールする必要があります。以下のコマンドを使用して、必要なライブラリをインストールしてください。
pip install diffusers torch
💻 使用例
基本的な使用法
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/alicia-silverstone-late-90s-early-2000s-flux', weight_name='Alicia_Silverstone_Flux.safetensors')
image = pipeline(' The image is a photograph featuring a young woman standing in a cafe, looking at the viewer. smile. She has long, straight, blonde hair that falls past her shoulders. Her skin tone is fair, and she has a light makeup application, highlighting her blue eyes and rosy cheeks. She is wearing a sleeveless, form-fitting dress made of a shiny, turquoise satin fabric. The dress has a plunging V-neckline that accentuates her collarbone and a gathered waistline that adds a touch of femininity. The dress's texture is smooth and slightly reflective, giving it a luxurious appearance.').images[0]
📚 ドキュメント
📄 ライセンス
このモデルは、bespoke-lora-trained-licenseの下で提供されています。