Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

svntax-dev
/
pixel_spritesheet_4walk_small_lora_v1

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

Instructions to use svntax-dev/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 svntax-dev/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("svntax-dev/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
698 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
svntax-dev's picture
svntax-dev
Add 5 files
fb64e12 verified 3 months ago
  • knight.png
    239 kB
    xet
    Add 5 files 3 months ago
  • werewolf.png
    234 kB
    xet
    Add 5 files 3 months ago
  • witch.png
    225 kB
    xet
    Add 5 files 3 months ago