Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: API to get a list of VAE #6128

Closed
1 task done
mnpenner opened this issue Dec 30, 2022 · 1 comment
Closed
1 task done

[Feature Request]: API to get a list of VAE #6128

mnpenner opened this issue Dec 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mnpenner
Copy link

Is there an existing issue for this?

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

What would your feature do ?

I want an API GET method similar to /sdapi/v1/sd-models that lists all the VAE.

Similar to whatever is used to populate this dropdown in Auto's UI:

image

But without having to use the indecipherable /predict/run method.

Proposed workflow

Add

 self.add_api_route("/sdapi/v1/sd-vae", self.get_sd_vae, methods=["GET"], response_model=List[SDVaeItem])

to api.py or similar.

Additional information

Related: #4982

@mezotaken mezotaken added the enhancement New feature or request label Jan 12, 2023
@Hfutsora
Copy link

Is there any progress on this API requirements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants