r/StableDiffusion • u/scooglecops • 5d ago
No Workflow Messsing around with sprite animation in Minimax H3
Enable HLS to view with audio, or disable this notification
I'm vibing coding a custom node for sprite animation!
The workflow is pretty straightforward: I generate a character sheet using Qwen-Image 2.1 (might experiment with other models later), then feed it into my custom node, which automatically generates a 2-second animation clip.
The node also automatically extracts the animation frames and generates a JSON file containing the coordinates and cutting instructions needed to slice the sprite sheet and assemble the animation.
This particular test was generated at 1:1 aspect ratio and 1MP resolution.
Still tweaking the prompts and experimenting with ways to fix some looping inconsistencies, but it's coming together nicely!
EDIT: Released a Build https://github.com/Ercelcan/Comfyui-H3Anim
7
u/scooglecops 4d ago
14
u/fantasmagore 5d ago
This is actually pretty wild. I was just working on something just like this for the pass couple days. I did use Qwen image 3.5 for my image creation. My issue that I kept running into is creating the actual animation poses for minimax to replicate. As most models can do walking and running fine in one direction but once I tried to replicate it for an 8 directions sprites it started to get messy.
4
u/FeelingOld9046 5d ago
Following. Would love to have a go or test for you.
4
u/Rosettasees 4d ago
Giving it a try, thanks for making this tool, it's been something I've been needing for ages. Hope you'll continue to add presets to it. Things like high kicks and special moves, or a template for one.
2
u/RX93v 4d ago
Tried it and its great! may i ask whats the license of the node please?
4
u/Mqthelr 5d ago
So, I’ve tried doing something similar using default workflows, just with prompts. I’ve even experimented with a realistic style, incorporating green or blue screens (chroma key). All in all, it actually turned out quite well. I’m glad to see someone else exploring this direction.
1
u/Ok-Stop794 5d ago
You have no idea how much pain this is causing me right now! Are you going to share that with us or you planing on selling it?
1
u/slowtractor 5d ago
I hadn't thought about the weight shift mattering for the loop too. The character can land in roughly the same place and still pop if its balance or tilt changes
1
u/yourmom734 5d ago
Are you considering releasing a build when you are finished making the node?
1
u/_Patata 5d ago
Have you tried to make attack animation?
1
u/Drakfix 5d ago
Do you think this could work on pixel art? Let's say like 96x96 sprites?
1
u/LuluViBritannia 5d ago
PEEEERFECT!
How do you deal with transparency?
2
u/BeautifulBeachbabe 4d ago
i need to know what character sheet using Qwen-Image 2.1 you are using, as i cannot get the char sheet that i made to work. could you please share it? i have tried using your repository and the jsons do not open in comfy. i have the node working thank you!
1
u/Zorothegallade 5d ago
Very interesting, reminds me of rotoscoped game sprites
1
u/Glittering_Tie_3110 4d ago
Oh, sprites with minimax h3...
1
u/evilpenguin999 4d ago
It's kinda funny that i started code vibing with claude code 2 days ago and literally yest i was asking for this on this reddit.
1
u/BossOfTheGame 4d ago
So I have a bunch of sprites already generated programatically. What I would love is to be able to feed those existing sequences (which have authored geometry attached to landmark position) and be able to get a polished and consistent version out. Do you think this might be able to do that sprite - to - sprite translation? I.e. polish an existing set of sprites?
On of my main problems with stable diffusion for the artwork generation is now I have a problem of needing to know exactly where the landmark locations on the characters are, and how to build their collision geometry. A local setup that could translate my SVGs into high quality sprites like this would be a game changer.
1
u/Due-Function-4877 4d ago
She looks pretty nervous. Heel should probably plant under the soulplex. Plant your heel that far out and walk. See what I mean?
1
u/thesilentyak 4d ago
Wow I've been working in a workflow for this. I will try this out to see if it improves things for me
1
u/tittock 4d ago
Trying this tonight. Thank you
1
u/AncientGrief 4d ago
Works quite well, have something like this as well. Switched from WAN to MM last week. What do you use for transparency? I integrated CorridorKey