Create a spritesheet with Sprite Generator
Generate an animation-ready spritesheet from an AI-generated image with Sprite Generator.
When you create a spritesheet manually, it gives you direct control over the motion prompt, background removal, and generation steps. You can generate spritesheets directly from a source sprite and preview the resulting video before using it in your scene.
To generate a spritesheet, follow these steps:
Generate the source image
To create the base image, follow these steps:
- In the Unity Editor, select AI > Generate New > Sprite. The Sprite Generator opens.
- Select the Generate tab.
- Enter a prompt that describes your object or character.
- Select Generate.
- In the Remove BG tab, review the Base Image, and then select Remove BG to remove the background.
Generate the spritesheet
To generate the animation and spritesheet, follow these steps:
- Select the Spritesheet tab.
- In the Prompt field, specify a motion type. For example:
Turntable. - Provide a reference image that acts as the first frame of the generated spritesheet.
- Select Spritesheet.
The generator creates the following:
- A 5 s animation video labeled in the Generations panel.
- A corresponding spritesheet in the Inspector window.
- The video is saved as an
.mp4file in your project’s GeneratedAssets folder.
To use the generated spritesheet, select the spritesheet in the Project window and drop it into the Scene. When prompted, create and save an animation clip (.anim).
If your animation contains a background, open the Sprite Generator again and use the Remove BG tab to remove the background.