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

Duplicated from  svntax-dev/pixel_spritesheet_4walk_small_lora_v1

Leon1000
/
pixel_spritesheet_4walk_small_lora_v1

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

Instructions to use Leon1000/pixel_spritesheet_4walk_small_lora_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Leon1000/pixel_spritesheet_4walk_small_lora_v1 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.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Leon1000/pixel_spritesheet_4walk_small_lora_v1")
    
    prompt = "A pixel art spritesheet of a medieval knight wearing metal armor and a helmet with a red plume. The spritesheet is a 4 by 4 grid of four rows of frames - first row is 3 walking frames facing down and 1 frame both arms raised, second row is 3 walking frames facing left and 1 frame jumping left, third row is 3 walking frames facing right and 1 frame jumping right, fourth row is 3 walking frames back view facing up and 1 frame lying on floor."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
pixel_spritesheet_4walk_small_lora_v1 / images
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Leon1000's picture
Leon1000
Duplicate from svntax-dev/pixel_spritesheet_4walk_small_lora_v1
2650327 18 days ago
  • knight.png
    239 kB
    xet
    Duplicate from svntax-dev/pixel_spritesheet_4walk_small_lora_v1 18 days ago
  • werewolf.png
    234 kB
    xet
    Duplicate from svntax-dev/pixel_spritesheet_4walk_small_lora_v1 18 days ago
  • witch.png
    225 kB
    xet
    Duplicate from svntax-dev/pixel_spritesheet_4walk_small_lora_v1 18 days ago