docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Generate a new sprite

    Create a new sprite using generative AI.

    Follow these steps:

    1. To create a new sprite that doesn't contain an image and is ready for generating sprites, from the main menu select Create > 2D > Sprite > Generate Sprite.

      Unity create a fully transparent sprite, with 1024x1024 resolution and 1024 pixels per unit (PPU). It occupies exactly 1 unit in the scene.

    2. Select the sprite in the Assets folder.

    3. In the Inspector window, select Open Sprite Editor.

    4. In the Modes overlay, select the Generate (Generate) mode.

    5. Use the Image Generation window to add prompts and settings, and generate the sprite. For more information, refer to the Generate window documentation in the Generators package.

    6. Use the Results window to select the sprite you want to use. The new sprite replaces the existing one, but you can reselect the original sprite from the Results window.

    Edit a sprite

    To edit a sprite, follow these steps:

    1. In the Image Generation window, in the Image Reference section, select the Edit button.
    2. In the Tools overlay, select a tool.
    3. In the settings at the top, adjust the brush size and color if needed.
    4. To hide the sprite underneath the edited image, select Hide Sprite.

    The Sprite Editor window with the Edit button in the Image Generation window on the right (1), the Tools overlay on the left (2), the tool settings at the top (3), and the Hide Sprite button at the top-right.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)