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
Update README.md
Browse filesFix links to spritesheet testing tool.
README.md
CHANGED
|
@@ -74,8 +74,9 @@ See the examples below:
|
|
| 74 |
|
| 75 |
If you want to quickly test your spritesheets in a 2D game, here's a simple "sandbox" game/tool where you can upload the raw spritesheet outputs and spawn in your characters to move around:
|
| 76 |
|
| 77 |
-
Link
|
| 78 |
-
|
|
|
|
| 79 |
|
| 80 |
## Notes
|
| 81 |
|
|
|
|
| 74 |
|
| 75 |
If you want to quickly test your spritesheets in a 2D game, here's a simple "sandbox" game/tool where you can upload the raw spritesheet outputs and spawn in your characters to move around:
|
| 76 |
|
| 77 |
+
Link to tool [here](https://svntax.github.io/pixel-art-spritesheet-sandbox/)
|
| 78 |
+
|
| 79 |
+
Source code [here](https://github.com/svntax/pixel-art-spritesheet-sandbox)
|
| 80 |
|
| 81 |
## Notes
|
| 82 |
|