fiatrete / OpenDAN-Personal-AI-OS

OpenDAN is an open source Personal AI OS , which consolidates various AI modules in one place for your personal use.
https://opendan.ai
MIT License
1.64k stars 132 forks source link

I start Jarvis and got an error message about 'stable diffusion' when generating a image #15

Closed codemanship closed 1 year ago

codemanship commented 1 year ago

WX20230612-170828@2x

This is my config about sd: sd截图

Why can't I generate images? I'm sure my stable diffusion is working.

DiligentCatCat commented 1 year ago

It seems that your configuration is not correct.

The comment has said, you should give an address to a specific path (to /sdapi/v1)

codemanship commented 1 year ago

It seems that your configuration is not correct.

The comment has said, you should give an address to a specific path (to /sdapi/v1)

@DiligentCatCat Thanks for your reply. Why do I have to add '/sdapi/v1'? I think this confuse me. Also, I added '/sdapi/v1', but it still doesn't work.

DiligentCatCat commented 1 year ago

It seems that your configuration is not correct. The comment has said, you should give an address to a specific path (to /sdapi/v1)

@DiligentCatCat Thanks for your reply. Why do I have to add '/sdapi/v1'? I think this confuse me. Also, I added '/sdapi/v1', but it still doesn't work.

Uh... Good question. Indeed it's unreasonable. I think we should fix it!

As for the second problem, did you forget to add --api option to stable-diffustion-webui? You can use netstat to see if your sd-webui has listened on the correct address and port.

DiligentCatCat commented 1 year ago

It seems that your configuration is not correct. The comment has said, you should give an address to a specific path (to /sdapi/v1)

@DiligentCatCat Thanks for your reply. Why do I have to add '/sdapi/v1'? I think this confuse me. Also, I added '/sdapi/v1', but it still doesn't work.

Now, you can omit '/sdapi/v1' in the newest version

codemanship commented 1 year ago

It seems that your configuration is not correct. The comment has said, you should give an address to a specific path (to /sdapi/v1)

@DiligentCatCat Thanks for your reply. Why do I have to add '/sdapi/v1'? I think this confuse me. Also, I added '/sdapi/v1', but it still doesn't work.

Uh... Good question. Indeed it's unreasonable. I think we should fix it!

As for the second problem, did you forget to add --api option to stable-diffustion-webui? You can use netstat to see if your sd-webui has listened on the correct address and port.

My bad, I indeed didn't use --api. Everything is OK now.

codemanship commented 1 year ago

It seems that your configuration is not correct. The comment has said, you should give an address to a specific path (to /sdapi/v1)

@DiligentCatCat Thanks for your reply. Why do I have to add '/sdapi/v1'? I think this confuse me. Also, I added '/sdapi/v1', but it still doesn't work.

Now, you can omit '/sdapi/v1' in the newest version

Rocket-like speed @DiligentCatCat