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
186 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
svntax-dev's picture
svntax-dev
Upload example img2img workflow
cb8bffe verified about 1 month ago
  • images
    Add 5 files 3 months ago
  • .gitattributes
    2.31 kB
    initial commit 3 months ago
  • README.md
    6.18 kB
    Update README.md 3 months ago
  • flux2_klein_image_edit_4b_base_pixel_spritesheet_workflow.json
    48.8 kB
    Upload example img2img workflow about 1 month ago
  • pixel_4walk_small_flux2_klein_base_4b_v1.safetensors
    92.4 MB
    xet
    Add 5 files 3 months ago
  • pixel_4walk_small_flux2_klein_base_4b_v1_000002750.safetensors
    92.4 MB
    xet
    Add 5 files 3 months ago