Aedial / novelai-api

Python API for the NovelAI REST API
https://aedial.github.io/novelai-api/
MIT License
129 stars 17 forks source link

What's the format for inpainting masks? #27

Closed hollowstrawberry closed 8 months ago

hollowstrawberry commented 9 months ago

I can't figure it out. Whatever I do it just seems to inpaint random parts of the image and ignore my prompt. txt2img and img2img works fine.

Aedial commented 9 months ago

The inpainting mask uses a black and white png image like that, encoded in base 64 : inpainting_mask As said here

hollowstrawberry commented 9 months ago

I think the mask is 1/8 the original size, since it wasn't behaving correctly when I tried yesterday in full size

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 30 days with no activity. It will be closed if no activity happens within the next 7 days.

github-actions[bot] commented 8 months ago

This issue was closed because it has been stale for 7 days with no activity. Reopen it if relevant or open a new issue, further discussion on closed issues might not be seen.