Generador de hojas de sprites

Sube una imagen de tu sprite y recibe fotogramas individuales de las animaciones de inactividad, ataque, caminata y salto.

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

Probar un ejemplo

Acerca de este flujo de trabajo

El flujo de trabajo Generador de Sprite Sheet en ComfyUI está diseñado para transformar una sola imagen de sprite en un conjunto completo de fotogramas de animación, incluyendo secuencias de idle, ataque, caminar y salto. Este flujo utiliza nodos avanzados como LoadImage, GeminiImage2Node y BatchImagesNode para procesar y segmentar eficientemente el sprite en fotogramas individuales. Aprovechando modelos como Google y Nano Banana Pro, el flujo asegura una salida de alta calidad adecuada para diversas necesidades de animación. Nodos personalizados como comfyui-kjnodes y comfyui_layerstyle mejoran aún más el flujo al proporcionar capacidades de procesamiento especializadas.

Técnicamente, el flujo comienza cargando la imagen del sprite con el nodo LoadImage. Luego procesa la imagen a través de una serie de nodos que incluyen PrimitiveInt y PrimitiveNode para ajustes de parámetros, asegurando que el sprite se segmente correctamente en fotogramas. Nodos como e6bcb358-3fee-47eb-8c25-30eeee20d90e y 79dc3651-3ca7-4d1d-9246-9a951b834ab9 son críticos para definir las secuencias de animación, mientras que SaveImage y SaveVideo manejan la salida de fotogramas individuales y animaciones compiladas. Este flujo es especialmente útil para desarrolladores de videojuegos y animadores que necesitan generar rápidamente animaciones de sprites sin editar manualmente cada fotograma.

Preguntas y respuestas