Instructions to use Jonjew/LastSamurai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Jonjew/LastSamurai with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Jonjew/LastSamurai") prompt = "\"A fierce yet elegant Japanese woman warrior, dressed in intricately detailed samurai armor, stands confidently in a serene, beautiful garden. Her armor is a mix of traditional black and gold, reflecting the craftsmanship of the samurai class, with delicate patterns of cherry blossoms etched into the plates. Her long, flowing hair is partially tied back, and she holds a katana in one hand, the blade gleaming in the soft sunlight. Surrounding her is a peaceful garden with vibrant, blooming cherry blossom trees, a stone pathway, and a gentle stream that flows under a small, wooden bridge. The sky is clear, with the golden light of sunset illuminating the scene, casting a warm glow over the warrior and the tranquil environment. The atmosphere combines the strength of the warrior with the beauty and peace of nature, creating a harmonious balance between power and elegance.\"" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K