Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Jonjew
/
LastSamurai

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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
LastSamurai
241 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Jonjew's picture
Jonjew
Add 4 files
69dab87 verified over 1 year ago
  • images
    Add 4 files over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • Laura_Flux_Fallen_Blades_The_Last_Samurai.safetensors
    228 MB
    xet
    Add 4 files over 1 year ago
  • README.md
    6.21 kB
    initial commit over 1 year ago