Skip to content
Meonako edited this page Dec 18, 2022 · 6 revisions

Welcome to the webui-api wiki!

Table of Contents

PNG info API fix

  1. Navigate to A1111's Web UI root folder -> modules -> api -> api.py
  2. Go to line: 209 or search for pnginfoapi
def pnginfoapi(self, req: PNGInfoRequest)
  1. Change return value from

    return PNGInfoResponse(info=result[1])

    to

    return PNGInfoResponse(info=result[1] or "Value of your choice here") # I recommended "None" or ""

Clone this wiki locally