Generate and edit images with Bali
Bali can generate characters, sprites, backgrounds, items, UI elements and concept art for your game, then help you turn them into game-ready pieces.
Generate an image
Section titled “Generate an image”-
Ask Bali for the image, for example: “Create a cozy cottage interior background in a hand-painted style.”
-
Review the Generate Images card. Edit the prompt in Describe the image you want to generate if needed.
-
Open Advanced Options to change any of these:
Option What it does Input Images (Optional) Images to edit or use as references. Click Upload to add one. Model The image model. See Image models. Size (width x height) The image dimensions. The default is 1024 × 1024. For FLUX.2 Pro, set Width and Height separately. Seed (Optional) A number that makes results repeatable. Only some models support it, and only without input images. Remove Background Gives the result a transparent background, ideal for sprites and items. Destination Path Where the image is saved in your project. -
Click Generate, review the result, then click Done.
Watch: Generate a new character, then make it the player (4:44, from the tutorial Generate New Characters & Art with AI in Jabali Studio)
Image models
Section titled “Image models”GPT Image 2.5 Sunburst is the default. Pick a different model in Advanced Options when another fits the job better.
| Model | Good for |
|---|---|
| GPT Image 2.5 Sunburst | Precise edits and careful refinement. The default. |
| GPT Image 2.5 Flare | Faster, everyday image creation and trying out ideas |
| MAI Image 2.6 | Images with text, portraits and photorealistic looks |
| MAI Image 2.6 Flash | A faster alternative to MAI Image 2.6 for iterating |
| FLUX.2 Pro | Custom sizes and repeatable results with a seed |
| Nano Banana 2 Lite | Fast 1024 × 1024 concepts when you want lots of variations |
| Nano Banana 2 and Nano Banana Pro | Square 1024 × 1024 images |
Older image models are under Legacy Models. You can still regenerate images you made with older models, and your original settings are kept.
Sizes and options by model
Section titled “Sizes and options by model”| Model family | Sizes | Input images | Seed |
|---|---|---|---|
| GPT Image and MAI Image | 1024 × 1024, 1536 × 1024 (landscape), 1024 × 1536 (portrait) | Yes | No |
| FLUX.2 Pro | Any size from 32 to 2048 pixels, in steps of 16 | Yes | Yes |
| Nano Banana | 1024 × 1024 | No | No |
Input images can be PNG, JPG, GIF, BMP or TIFF, up to 10 MB each.
Edit an existing image
Section titled “Edit an existing image”Open the image in the Assets tab and click Edit with Bali, or ask in the chat: “Make the knight’s armor gold in assets/knight.png.” Bali uses the original as an input image.
For simple changes, Bali can also flip, crop, trim empty space, resize and rotate images directly, without generating a new one.
Watch: Regenerate an asset with a sharper prompt (1:29, from the masterclass Mastering Prompt Engineering for Game Creation)
Remove a background
Section titled “Remove a background”Turn on Remove Background when generating, or ask Bali to remove the background from an existing image. The result has a transparent background. Unless you choose a different destination path, the cleaned-up image replaces the original.
Segment an image
Section titled “Segment an image”Image segmentation isolates one element from an image, such as a character, a mountain, a building or water, so you can use or animate it on its own.
- Ask Bali, for example: “Segment the mountains from assets/background.png.”
- In the Segment Images card, check the object in Object to segment (for example person, red car or mango). Each request isolates one object. Click Add Request to segment more.
- Click Generate. The result is saved next to the original with
_segmentedadded to the file name.
Ideas: isolate the mountains in a background and animate cloud shadows across them, separate a forest to add drifting leaves, or pull water out of a scene to animate it independently.
Create a depth map
Section titled “Create a depth map”A depth map is a grayscale image where lighter areas are closer and darker areas are farther away. Use it for parallax backgrounds, fake-3D layering, lighting effects and displacement.
- Ask Bali, for example: “Create a depth map for assets/city.png.”
- Check the Source Image Path in the Generate Depth Maps card. There’s no prompt to write.
- Click Generate. Your original image stays visible while the depth map is created, then switches to the result. It’s saved with
_depth_mapadded to the file name.
Tips for better images
Section titled “Tips for better images”- Describe style, subject and use. “A pixel-art health potion icon with a red liquid and a cork, on a transparent background” beats “a potion”.
- Keep a consistent look. Add an existing asset as an input image and ask for a matching style.
- Pick the size for the job. Use landscape for backgrounds, portrait for character art and square for icons.
- Read PNG generation info. If you bring in PNG images made with popular image tools, Studio can read the generation details embedded in the file, such as the prompt, so Bali knows how it was made.

