Build, run & install

Send a photo or picture to an Agent, get back a version with a transparent background, check it full size, and have it put in your app.

A picture with a transparent background has nothing around its subject, so it sits on your app’s own colors instead of inside a box. Send your photo or picture to an Agent in the project’s chat, ask for it with a transparent background, and check what comes back.

Send the picture

  1. Open the project’s chat.
  2. Tap + (Add Attachment) and choose Photos, Files or Camera. On the Mac, choose the file in the window that opens. You can also paste the picture or drag it in. See Send photos, files and sketches to an Agent.
  3. Say what to keep, that the background should be transparent, and that you want a PNG file.
  4. Send it.

For example:

Here's a photo of our mascot. Make the same picture with a transparent background, as a PNG, so it sits on the app's own colors. Keep the mascot's face and colors as they are.

Instead of attaching the picture, you can paste the address of a picture on the web: imagegen takes web addresses too.

Things worth saying:

Say For example
What to keep “only the cup, not the table”, “the dog and its shadow”
What must not change “keep the letters of the logo exactly”, “keep her face as it is”
The file PNG. WebP works too, if your app or website uses it. imagegen makes a transparent background only in PNG or WebP, not JPEG.
How many “Two versions to choose from”
Where it goes “the welcome screen”, “on each product card”

The Agent can work from PNG, JPEG, WebP and GIF pictures. Photos in the iPhone camera’s HEIC format are turned into JPEG on the way, so they work too. See Send photos, files and sketches to an Agent.

Check it full size

The new picture arrives in the chat with the Agent’s message. Tap it to open it full size. Where the picture is transparent, you see what’s behind it:

While the buttons show, the picture sits on the screen’s usual background (white, or black in Dark Mode). Tap the picture to hide the buttons: it then fills the screen on black. Look at it both ways. iPad works the same way.

If a box, white or any other color, stays around the subject, the background is still there. Ask again (see below).

Also look at:

  • The edges: look closely at hair, fur, soft shadows and thin parts.
  • The details: in the viewer, go to your original picture and back (swipe, or on the Mac press ← or →), and compare faces, text and logos.

Ask again if it isn’t right

Reply to the message the picture came in and say what’s wrong. See Work with your Agents in chat. For example:

There's still a white box around the cup. Same picture, transparent background, PNG.
The letters on the cup changed. Keep the logo exactly as in my photo, and send two versions.

To point at a spot, draw on the picture and send it back. See Send photos, files and sketches to an Agent.

The new pictures arrive as a new message. The earlier ones stay in the chat.

Put it in your app

A picture in the chat isn’t part of your app yet. Tell the Agent where it goes:

Use the cup without its background on the menu screen, above the price.

Once the app is built again, open Preview and go to that screen. If your app has a dark look, check the picture’s edges against it too. See Check your app in Dark Mode and with larger text. For more on placing pictures, see Have Agents make pictures for your app.

To keep a copy on your device, save it. Saving gives you the file as it was sent, transparent background included. See Save or share photos and videos from a chat.

Questions

Is it my own photo with the background cut away?
No. imagegen makes a new picture from the one you send. Its help has no option that keeps your picture’s own pixels and only removes the background, and this page doesn’t know of another way an Agent might do it. If the picture must stay exactly as it is, say so, and compare the result with your original.
There's still a box around the subject.
The picture was made without a transparent background. Ask for the same picture with a transparent background, as a PNG file.
The Agent says it can't use my file.
imagegen works from PNG, JPEG, WebP or GIF pictures. Send the picture in one of those formats, for example as a screenshot of it.
The Agent says my pictures are too large.
The pictures that go with one request have a size limit together. Send a smaller copy, or fewer pictures at once.
Can I get a picture with a transparent background without sending one?
Yes. Describe the picture and ask for a transparent background. See Have Agents make pictures for your app.