🚀 FLUX.1-dev-LoRA-AutumnSpringTrees
FLUX.1 [dev]を微調整したLoRAモデルで、秋の景色や植物を中心とした季節感あふれる風景画像を生成します。
🚀 クイックスタート
このLoRAは、FLUX.1 [dev]の秋の風景画像生成能力を強化します。トリガーワードautumnProxy
を使用することで、秋に特化した機能を有効にできます。
✨ 主な機能
- FLUX.1 [dev]の秋の風景生成能力を強化し、豊かで鮮やかな秋の色彩、詳細な木々、季節要素を持つ画像を生成します。
- トリガーワード
autumnProxy
を使用して、秋に特化した機能を活性化します。
- 強化された秋の配色(赤、オレンジ、黄、緑)
- 詳細な木や葉の構造
- 自然な季節の照明効果
- 霧や霞などの雰囲気要素
- 落ち葉によるリアルな地面の表現
📦 インストール
まず、FLUX.1 [dev]がインストールされていることを確認してください。
pip install -U diffusers
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()
pipe.load_lora_weights("Borcherding/FLUX.1-dev-LoRA-AutumnSpringTrees")
prompt = "autumnProxy A majestic maple tree with vibrant red and orange leaves, golden afternoon light"
image = pipe(
prompt,
height=1024,
width=1024,
guidance_scale=3.5,
num_inference_steps=50,
max_sequence_length=512,
generator=torch.Generator("cpu").manual_seed(0)
).images[0]
image.save("autumn-scene.png")
pipe.unload_lora_weights()
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Borcherding/FLUX.1-dev-LoRA-AutumnSpringTrees")
pipe.merge_lora_weights()
pipe.save_pretrained("FLUX.1-dev-LoRA-AutumnSpringTrees-merged")
💻 使用例
基本的な使用法
pip install -U diffusers
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()
pipe.load_lora_weights("Borcherding/FLUX.1-dev-LoRA-AutumnSpringTrees")
prompt = "autumnProxy A majestic maple tree with vibrant red and orange leaves, golden afternoon light"
image = pipe(
prompt,
height=1024,
width=1024,
guidance_scale=3.5,
num_inference_steps=50,
max_sequence_length=512,
generator=torch.Generator("cpu").manual_seed(0)
).images[0]
image.save("autumn-scene.png")
高度な使用法
pipe.unload_lora_weights()
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Borcherding/FLUX.1-dev-LoRA-AutumnSpringTrees")
pipe.merge_lora_weights()
pipe.save_pretrained("FLUX.1-dev-LoRA-AutumnSpringTrees-merged")
📚 ドキュメント
モデルの概要
このLoRAは、FLUX.1 [dev]の秋の風景生成能力を強化します。トリガーワードautumnProxy
を使用することで、秋に特化した機能を有効にできます。
トリガーワード
autumnProxy
を使用して画像生成をトリガーします。プロンプトの先頭にトリガーワードを配置すると、最適な結果が得られます。
プロンプトの例
- "autumnProxy A peaceful forest path covered in fallen maple leaves, morning mist rising"
- "autumnProxy Ancient oak trees with twisted branches, leaves turning golden and red"
- "autumnProxy Scenic mountain valley with autumn colors, warm sunset light"
モデルのダウンロード
このモデルの重みはSafetensors形式で利用可能です。
Files & versionsタブからダウンロードできます。
🔧 技術詳細
このLoRAは、FLUX.1 [dev]を微調整して作成されており、秋の風景や植物を中心とした季節感あふれる画像生成に特化しています。Fluxgymを使用してトレーニングされており、独自に収集した秋/春の植物写真データセットを利用しています。
📄 ライセンス
このLoRAは、FLUX.1 [dev]と同じライセンス条項の下にあります。使用条件については、ベースモデルのライセンスを参照してください。
クレジット
- ベースモデル: Black Forest LabsによるFLUX.1 [dev]
- LoRAのトレーニングと開発: [Borcherding at BorchInk]
データセット
Property |
Details |
データセット |
Borcherding/FLUX.1-dev-LoRA-AutumnSpringTrees-image-captions |
ベースモデル |
black-forest-labs/FLUX.1-dev |
インスタンスプロンプト |
autumnProxy |
ライセンス |
apache-2.0 |