docs.unity3d.com
    Show / Hide Table of Contents

    Generate from a reference image

    You can generate sprites from a reference image. A reference image can be an image in your Project window, in the Scene view, or in your own generated images.

    Tip

    To create game-specific art, consider training your own models on your own art.

    1. Do any of the following to get a reference image:

      • Use the Sprite Picker in the Input Image panel to pick.
      • Drag the image to the Input Image panel.
    2. In the Prompt field, write a prompt that describes the sprite you want to generate.
    3. To set the number of images to generate, move the Images slider.
    4. If you don't want a background in the generated sprites, enable Remove Background.
    5. To set the style strength, move the Style Strength slider. Higher values result in more closely aligned styles.
    6. To set the likeness between the generated sprites and the reference image, move the Tightness slider. Higher values result in more alike sprites.
    7. Select Generate. The generated sprites appear in the Generations panel.

    Additional resources

    • Write a prompt
    • Refine with masking
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023