🚀 Ton618-Tarot-Cards-Flux-LoRA
このモデルは、Tarotカードの画像生成に特化したLoRAモデルです。特定のパラメータ設定を用いて学習され、高品質なTarotカード画像を生成することができます。
🚀 クイックスタート
以下のコードを使用して、モデルをセットアップすることができます。
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Ton618-Tarot-Cards-Flux-LoRA"
trigger_word = "Tarot card"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
✨ 主な機能
- Tarotカード画像生成:特定のプロンプトを用いて、様々なTarotカード画像を生成することができます。
- パラメータ設定:学習時に特定のパラメータを使用しており、高品質な画像生成が可能です。
📦 インストール
このモデルを使用するには、上記のクイックスタートセクションのコードを実行してください。
💻 使用例
基本的な使用法
以下のコードを使用して、Tarotカード画像を生成することができます。
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Ton618-Tarot-Cards-Flux-LoRA"
trigger_word = "Tarot card"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
prompt = "Tarot Card: An illustration of a woman with fair skin and natural, wavy hair cascading in soft curls around her face. She has striking, light-colored eyes and defined brows that convey depth and wisdom. Dressed in a red and navy plaid shirt, partially unbuttoned to reveal a white undershirt, her sleeves are rolled up casually to her forearms. She leans thoughtfully against a weathered, blue door frame with peeling paint, adding a rustic, vintage charm. Below her, the words \"THE DREAMER\" are inscribed. In the top corner, a small crescent moon symbol signifies introspection, while the Roman numeral \"VII\" is above, representing inner vision and contemplation."
image = pipe(prompt).images[0]
image.save("generated_tarot_card.png")
📚 ドキュメント
モデル説明
prithivMLmods/Ton618-Tarot-Cards-Flux-LoRA
画像処理パラメータ
パラメータ |
値 |
LR Scheduler |
constant |
Noise Offset |
0.03 |
Optimizer |
AdamW |
Multires Noise Discount |
0.1 |
Network Dim |
64 |
Network Alpha |
32 |
Epoch |
13 |
Save Every N Epochs |
1 |
Multires Noise Iterations |
10 |
Repeat & Steps |
21 & 2K |
ラベリング: florence2-en(自然言語 & 英語)
トータル学習画像数: 17 [Hi-RES]
サンプル画像 + プロンプト

プロンプト |
Tarot Card: An illustration of a woman with fair skin and natural, wavy hair cascading in soft curls around her face. She has striking, light-colored eyes and defined brows that convey depth and wisdom. Dressed in a red and navy plaid shirt, partially unbuttoned to reveal a white undershirt, her sleeves are rolled up casually to her forearms. She leans thoughtfully against a weathered, blue door frame with peeling paint, adding a rustic, vintage charm. Below her, the words "THE DREAMER" are inscribed. In the top corner, a small crescent moon symbol signifies introspection, while the Roman numeral "VII" is above, representing inner vision and contemplation. |
データソース
トリガーワード
画像生成をトリガーするには、Tarot card
を使用する必要があります。
モデルのダウンロード
このモデルのウェイトはSafetensors形式で利用可能です。
ダウンロード は、Files & versionsタブで行うことができます。
📄 ライセンス
このモデルは、creativeml-openrail-mライセンスの下で提供されています。