Skip to content

[Feature Request]: add a way to show the payload used for the current web request #9120

@dellis23

Description

@dellis23

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

It would be nice to be able to see exactly what payload I could use to recreate a request made with the web UI using the other APIs (e.g. curl or Python).

Proposed workflow

  1. Go to the web ui
  2. Create a txt2img, img2img, or other image generation request
    3a. Either run the request by clicking "generate" and then click a small "show API payload" to show the recently used payload
    3b. Or: show a button that exposes what payload would be used if the user were to click the "generate" button

Additional information

From looking at the network request logs, I'm guessing this isn't super straightforward. It doesn't seem like the webui uses the same API as the API that's exposed to users. So perhaps something would need to be done about that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions