Game Asset Style Transfer Sprite Generator

Use an outline reference, and a style reference as input to generate 2D sprite as model textures. Useful for background set dressing in 2D/2.5D game.

Input

The object or outline to keep. Its shape and composition are preserved; only the look changes.

A few words naming the object, e.g. "copper gas lamp".

Default: copper gas lamp

A picture in the art style you want, such as a screenshot from your game.

Shape of the generated sprite.

1K is fastest; 2K and 4K are sharper.

Advanced settings

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

Output
Output
Example

试试一个示例

关于此工作流

The Game Asset Style Transfer Sprite Generator workflow is a powerful tool designed for game developers looking to create unique 2D sprites for their projects. By leveraging the Nano Banana Pro model, this workflow allows users to input an outline reference and a style reference to generate detailed 2D sprites that can be used as model textures. This is particularly useful for setting the scene in 2D or 2.5D games, where background elements need to seamlessly blend with the game's artistic style.

Technically, the workflow utilizes a series of nodes, including LoadImage and SaveImage for handling input and output images, and the RecraftRemoveBackgroundNode to clean up any unwanted background elements from the input images. The GeminiImage2Node is crucial as it applies the style transfer, effectively blending the outline and style references into a cohesive sprite.

The workflow also incorporates the ImageCompare node to ensure quality control and the BatchImagesNode to process multiple images efficiently. This combination of nodes ensures that the sprites not only match the desired style but also maintain high visual fidelity, making this workflow an invaluable asset for game asset creation.

常见问答