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] Config File #425

Open
razvanab opened this issue Sep 29, 2024 · 0 comments
Open

[Feature Request] Config File #425

razvanab opened this issue Sep 29, 2024 · 0 comments

Comments

@razvanab
Copy link

I would like to suggest a switch for a config file. Sometimes you don't change anything else than the prompts, and you don't need that long command line.

sd.exe --config mycfg1.cfg

This is just an example:

[Mode]
txt2img
# img2img 

[Model directory] # multiple directory for sdcpp to look into.

Checkpoint:
	d:\Models\SD15
	d:\Model\SDXL
	d:\Model\Flux

Lora:
	d:\Models\Lora\SD15
	d:\Models\Lora\SDXL
	d:\Models\Lora\Flux
	
Vae:
	d:\Models\Vae\SD15
	d:\Models\Vae\SDXL
	d:\Models\Vae\Flux

Checkpoint = sd_xl_base_1.0.safetensors
Vae = sdxl_vae-fp16-fix.safetensors


[Sampler]
Steps = 8
Cfg-scale = 1.0
Sampling = dpm2
Schedule = karras
Seed = -1

[Image Size]
Height = 512
Width = 512

[Prompt]
Positive = "A woman in red"
Negative = "text, logo"
Clip-skip = 2
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

1 participant