đ EBook-Creative-Cover-Flux-LoRA
This project is a LoRA model designed for generating creative eBook covers. It's based on the black-forest-labs/FLUX.1-dev base model and can generate various styles of eBook covers according to different prompts.
đ Quick Start
Installation
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/EBook-Creative-Cover-Flux-LoRA"
trigger_word = "EBook Cover"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
Usage
You should use EBook Cover
to trigger the image generation.
⨠Features
- Generate Diverse Covers: Can generate various styles of eBook covers, such as ancient ruins, torn backgrounds, and women in black dresses.
- Customizable Parameters: Allows users to adjust image processing parameters to achieve different effects.
đĻ Installation
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/EBook-Creative-Cover-Flux-LoRA"
trigger_word = "EBook Cover"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
đģ Usage Examples
Basic Usage
prompt = "EBook Cover, An eye - level view of an ancient ruins, with the words 'ECHOES OF THE PAST' written in gold in the center of the image. The ruins are made of stone, and the pillars are adorned with intricate carvings. In the background, a mountain can be seen. The sky is a muted yellow, and at the top, the word 'By Cesar Blair' is written in a bold black font."
image = pipe(prompt).images[0]
image.save("output.png")
Advanced Usage
You can adjust the image processing parameters to achieve different effects. For example, you can change the LR Scheduler, Optimizer, etc.
đ Documentation
Model description
prithivMLmods/EBook-Creative-Cover-Flux-LoRA
Image Processing Parameters
Property |
Details |
Property |
Details |
LR Scheduler |
constant |
Noise Offset |
0.03 |
Optimizer |
AdamW |
Multires Noise Discount |
0.1 |
Network Dim |
64 |
Multires Noise Iterations |
10 |
Network Alpha |
32 |
Repeat & Steps |
23 & 2240 |
Epoch |
15 |
Save Every N Epochs |
1 |
Labeling: florence2 - en(natural language & English)
Total Images Used for Training : 17 [ Hi - RES ]
Best Dimensions
- 1024 x 1024 (Default)
- 768 x 1024
Data source
Trigger words
You should use EBook Cover
to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Sample 768 x 1024

Prompt |
Close-up, eye-level view of a mysterious eBook cover titled "The Lost Path." The background is a worn, dark blue, with faint compass markings across the cover. The title, "The Lost Path," is written in a bold, metallic silver font, slightly distressed. Beneath the title, the author's name, "By Caroline Grey," appears in a smaller, elegant font in white. |
đ§ Technical Details
The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.
đ License
This model is licensed under the creativeml-openrail-m license.