Repository navigation
PS5SD 0.5.1
PS5SD 0.5.1 makes presets work for API clients too. Most of it is #4 by @nikay99, thanks!
Changed
- A preset's settings are the API's defaults: with a preset loaded, an API request that does not name steps, CFG, sampler, scheduler or size gets the preset's values; a request that names one keeps its own. Before, only the web UI applied a preset's settings. The settings are set while the server runs, so switching between presets of the same model is still instant.
- Model lists show models:
/sdapi/v1/sd-modelsand/v1/modelsno longer list saved presets, nor the checkpoint a model preset stands for, the same as the web UI's Models tab.sd_model_checkpointstill takes a preset's id. /sdapi/v1/txt2imgwithout a size uses the server's default size (the loaded preset's) instead of 512×512.
Fixed
- Deleting a saved preset through the API (
DELETE /ps5sd/v1/app/models/<id>) could delete the model's checkpoint file with it. It now deletes the preset's file only. The web UI was not affected.
Install
Install from the homebrew store, or unpack PPSA99576.zip into /data/homebrew/ on the console and let ShadowMountPlus scan.
Details: docs/API.md, docs/MODELS.md.