Sprite Sheet Generator

Upload an image of your sprite and receive individual frames of idle, attack, walk and jump animations.

Input

One character on a plain background. All four sheets are drawn from it.

Resolution of each Nano Banana Pro sprite sheet.

Advanced settings

Built-in instructions for this 2×2 sheet. Keep the 2×2 grid and the #00FF00 background: the frames are cut and keyed from them.

Frame rate of the four looping animations (4 frames each).

Default: 8

Built-in instructions for this 2×2 sheet. Keep the 2×2 grid and the #00FF00 background: the frames are cut and keyed from them.

Built-in instructions for this 2×2 sheet. Keep the 2×2 grid and the #00FF00 background: the frames are cut and keyed from them.

Leave empty for a new result each run. Enter a number to repeat one.

Built-in instructions for this 2×2 sheet. Keep the 2×2 grid and the #00FF00 background: the frames are cut and keyed from them.

Output
Output
Example

试试一个示例

关于此工作流

The Sprite Sheet Generator workflow in ComfyUI is designed to transform a single sprite image into a comprehensive set of animation frames, including idle, attack, walk, and jump sequences. This workflow leverages advanced nodes such as LoadImage, GeminiImage2Node, and BatchImagesNode to efficiently process and segment the sprite into individual frames.

By utilizing models like Google and Nano Banana Pro, the workflow ensures high-quality output that is suitable for various animation needs. Custom nodes like comfyui-kjnodes and comfyui_layerstyle further enhance the workflow by providing specialized processing capabilities.

Technically, the workflow begins by loading the sprite image using the LoadImage node. It then processes the image through a series of nodes that include PrimitiveInt and PrimitiveNode for parameter adjustments, ensuring the sprite is correctly segmented into frames. Nodes such as e6bcb358-3fee-47eb-8c25-30eeee20d90e and 79dc3651-3ca7-4d1d-9246-9a951b834ab9 play critical roles in defining the animation sequences, while SaveImage and SaveVideo nodes handle the output of individual frames and compiled animations.

This workflow is particularly useful for game developers and animators who need to quickly generate sprite animations without manually editing each frame.

常见问答