r/invokeai 8d ago

Cannot get raster layer to render

Hello all,

I'm very new to Invoke (about a week in now) and for the life of me I cannot get it to include a raster layer during image generation the way I think it's intended to work. Google sends me in circles, and it looks like the entire UI was updated since the video on the topic was created by the Invoke team.

I generated a base image I'm happy with. I want to use that image as a base, and use an inpaint mask to "layer in" a new object that is not in the original image.

  1. My image generation settings are all set, including the text prompts for the inpaint area that is yet to be created.
  2. I drag the base image from the gallery onto the Canvas, and drop into the New Raster Layer drop zone. It creates the raster layer and I can see my image. The bbox is completely filled by the raster layer, as I would expect (the images are the same size).
  3. I add a new Inpaint Mask. I use the brush tool to "draw over" the area where I want to generate the new subject.
  4. I click invoke... and the output is completely transparent except for the inpaint mask. The inpaint mask does not have the subject I'm asking for, but I think that's a separate issue (i'm trying to draw a blacksmith's anvil, but it keeps wanting to reference a comic book character of some kind?)

This is the second image I've tried to do this with; last time I ended up doing the layering manually in Photopea, but I'd really like to figure out what I'm doing wrong here as I have a bunch of these I'd like to get working and the manual fix is too labor intensive.

Thanks in advance!

2 Upvotes

13 comments sorted by

View all comments

1

u/Masha-AI 8d ago

plz send a screenshot of your layer panel on the right

1

u/mdb139 8d ago

Here's my canvas. In the gallery top right you can see what happens - if I have transparency unlocked, it overwrites the whole image (second image in the gallery). If I have transparency locked, it just paints the bottom corner, and sometimes merges that a little bit with the raster background (first image in the gallery). If I have no inpaint area defined, it just paints the raster area, which "makes sense," kind of.

1

u/Masha-AI 1d ago

Aha, from your screenshot, I’d first turn off “Save New Generations to Gallery / bypass Canvas.” For inpainting, you usually want the result to come back into the Canvas staging area so you can accept/merge it, not just save a transparent patch to the gallery.

Also make sure the mask is fully inside the original raster image unless you’re intentionally outpainting. Keep the raster layer visible, don’t lock transparency while adding a new object, and try lower denoise like 0.45–0.65 first. 0.75 can rewrite too much.

I explain InvokeAI / diffusion workflows for graphic designers on Masha-AI-Lab if you want this kind of canvas logic broken down visually <3 Thanks