Skip to content

UPSTREAM PR #1166: feat: add example Python web client#56

Open
loci-dev wants to merge 2 commits intomainfrom
loci/pr-1166-sd_server_client
Open

UPSTREAM PR #1166: feat: add example Python web client#56
loci-dev wants to merge 2 commits intomainfrom
loci/pr-1166-sd_server_client

Conversation

@loci-dev
Copy link

Note

Source pull request: leejet/stable-diffusion.cpp#1166

Adds a basic Python command-line client for the sd-server API.

I've tried to keep it compatible with the sd-cli command line, to make it easier to use from user scripts already expecting that interface; so unsupported arguments are ignored, and the server URL can be specified with an environment variable. It uses supported API fields when available, and propagates all other server supported flags via sd_cpp_extra_args.

It's mostly useful for testing the server itself, and as reference code for third-party implementations.

@loci-dev loci-dev temporarily deployed to stable-diffusion-cpp-prod February 14, 2026 04:58 — with GitHub Actions Inactive
@loci-review
Copy link

loci-review bot commented Feb 14, 2026

No meaningful performance changes were detected across 48303 analyzed functions in the following binaries: build.bin.sd-cli, build.bin.sd-server.

🔎 Full breakdown: Loci Inspector.
💬 Questions? Tag @loci-dev.

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

Successfully merging this pull request may close these issues.

2 participants

Comments