Downloads · 30 days
5
6% of all-time downloads
Kdn0110/kontext-OnePiece
kontext-OnePiece is a text-to-image model from Kdn0110. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
5
6% of all-time downloads
All-time downloads
84
Public
Repo size
5.5 GB
Likes
0
Public
Click a slice to open those files.
.safetensors647 MB · 62%
From the Hugging Face model README
These are Kdn0110/kontext-OnePiece DreamBooth LoRA weights for black-forest-labs/FLUX.1-Kontext-dev.
The weights were trained using DreamBooth with the Flux diffusers trainer.
Was LoRA for the text encoder enabled? True.
You should use in OnePiece style to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
from diffusers import FluxKontextPipeline
import torch
pipeline = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('Kdn0110/kontext-OnePiece', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('a person in fighting mode in OnePiece style').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]