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]: Backwards compatibility for txt2img and img2img API calls in 1.9.x versions #15603

Open
1 task done
ashleykleynhans opened this issue Apr 22, 2024 · 1 comment · May be fixed by #15656
Open
1 task done
Labels
enhancement New feature or request

Comments

@ashleykleynhans
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 ?

Provide backwards compatibility for the txt2img and img2img APIs

Proposed workflow

Make the API backwards compatible for people who are already using the API in their applications by making the txt2img and img2img API calls accept the previous sampler names and automatically split the legacy sampler names into their new sampler and scheduler settings instead of failing with 404 sampler not found.

This will help people who are using the API to seamlessly upgrade to 1.9.x versions without having to rewrite any of their existing code for the API calls to function correctly.

Additional information

No response

@ashleykleynhans ashleykleynhans added the enhancement New feature or request label Apr 22, 2024
@missionfloyd missionfloyd linked a pull request Apr 29, 2024 that will close this issue
4 tasks
@shutarojp
Copy link

I need this too, thanks

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

Successfully merging a pull request may close this issue.

2 participants