Closed yubingjiaocn closed 8 months ago
me too
FYI I made an unofficial hacky fix to v2.0.0a and the A1111 API now seems to work correctly for Animatediff+ControlNet .
@yuchen1984 please make a PR to master branch and I will take a look.
PR created for your reference @continue-revolution https://github.com/continue-revolution/sd-webui-animatediff/pull/463
fixed in #463
@continue-revolution https://github.com/continue-revolution/sd-webui-animatediff/pull/468 seems to break the API pipeline again. I made another fix in the PR below. Now it can handle the ip-adapter case (which takes a single reference image rather than batch images) as well, at least generating same results as the one from the WebUI....
https://github.com/continue-revolution/sd-webui-animatediff/pull/480
Is there an existing issue for this?
Have you read FAQ on README?
What happened?
When calling
/txt2img
API, SD Web UI responses code 500 with the following error:While generating image via UI works well.
Steps to reproduce the problem
http://localhost:8080/sdapi/v1/txt2img
endpoints:What should have happened?
Response code should be 200, and animated image should be generated.
Commit where the problem happens
webui: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5 extension: 12a503b8b782b57005a0108c80b42b95db2a09ec
What browsers do you use to access the UI ?
API using Swagger
Command Line Arguments
Console logs
Additional information
Python 3.10.12, torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 triton==2.1.0 xformers==0.0.23.post1