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

How to use the generated image part #1210

Open
460672106 opened this issue Nov 11, 2024 · 10 comments
Open

How to use the generated image part #1210

460672106 opened this issue Nov 11, 2024 · 10 comments

Comments

@460672106
Copy link

In the section of the encyclopedia, where should I fill in the Supported flags, such as --sdclamped, and how to fix the resolution?

@460672106
Copy link
Author

I'm using local forge,

@LostRuins
Copy link
Owner

If you're using local forge, you do not need to set those flags.

Instead, you need to configure the API URL and in KoboldAI Lite, and SD Forge launcher flags.

First, open your Forge webui-user.bat and set COMMANDLINE_ARGS= --api --listen --cors-allow-origins=*

Launch SD Forge UI, make sure its running at http://localhost:7860

Then launch KoboldCpp normally, then open the UI and select "Forge"

image

@460672106
Copy link
Author

If you're using local forge, you do not need to set those flags.

Instead, you need to configure the API URL and in KoboldAI Lite, and SD Forge launcher flags.

First, open your Forge webui-user.bat and set COMMANDLINE_ARGS= --api --listen --cors-allow-origins=*

Launch SD Forge UI, make sure its running at http://localhost:7860

Then launch KoboldCpp normally, then open the UI and select "Forge"

image

Thank you, I have set these successfully, but how to change the resolution, the generated image I want it to be 832 × 1216 resolution

@460672106
Copy link
Author

If you set COMMANDLINE-api-listen-cors-allow-origins = * , forge won't pop up any more. Is this normal

@LostRuins
Copy link
Owner

You have a typo. It should be
COMMANDLINE_ARGS= --api --listen --cors-allow-origins=*

@460672106
Copy link
Author

你有错字。它应该是 COMMANDLINE_ARGS= --api --listen --cors-allow-origins=*

Thank you, how can I change the resolution of the generated image, e.g. from 512×768 to 832×1216

@460672106
Copy link
Author

What does the clamped mode mean in image gen, I set it to 1024, and the image that can be generated is still 512

@LostRuins
Copy link
Owner

Yes, clamped means the image max size is 512

@460672106
Copy link
Author

是,camped表示图像最大大小为512

Can't you change the resolution?

@LostRuins
Copy link
Owner

Yes you can
--clamped 768 = max 768x768 px

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

No branches or pull requests

2 participants