Skip to content

sd: support for the /sdapi/v1/progress endpoint - #2316

Merged
LostRuins merged 2 commits into
LostRuins:concedo_experimentalfrom
wbruna:kcpp_sd_current_gen
Aug 6, 2026
Merged

sd: support for the /sdapi/v1/progress endpoint #2316
LostRuins merged 2 commits into
LostRuins:concedo_experimentalfrom
wbruna:kcpp_sd_current_gen

Conversation

@wbruna

@wbruna wbruna commented Jul 9, 2026

Copy link
Copy Markdown

Allow checking the state of the current gen (current step, image preview), and aborting it.

This is just a POC of the C++ support for now. I've added a temporary URL to test the image preview (deliberately ignoring lastgeneratedcachedimgkey just to make it easier to test).

@wbruna

wbruna commented Jul 9, 2026

Copy link
Copy Markdown
Author

I've split the dropped connection handling to #2318 .

@wbruna
wbruna force-pushed the kcpp_sd_current_gen branch from eb44aad to 749ac21 Compare July 25, 2026 21:02
@wbruna wbruna changed the title sd: support for checking or aborting the current generation sd: support for generation progress backend Jul 26, 2026
@wbruna

wbruna commented Jul 26, 2026

Copy link
Copy Markdown
Author

Added a basic implementation of an auto1111-compatible /sdapi/v1/progress endpoint.

@wbruna
wbruna force-pushed the kcpp_sd_current_gen branch from a659201 to 03bf5d3 Compare July 28, 2026 00:55
@wbruna wbruna changed the title sd: support for generation progress backend sd: support for the /sdapi/v1/progress endpoint Jul 28, 2026
@wbruna
wbruna marked this pull request as ready for review July 28, 2026 00:56
@wbruna

wbruna commented Jul 28, 2026

Copy link
Copy Markdown
Author

The server side is mostly ready to go.

@wbruna
wbruna force-pushed the kcpp_sd_current_gen branch from 03bf5d3 to 8cecdc0 Compare July 31, 2026 11:25
@LostRuins

Copy link
Copy Markdown
Owner

What is sdtype_generate_abort and how is it different from sdtype_abort_generation

@wbruna

wbruna commented Aug 1, 2026

Copy link
Copy Markdown
Author

What is sdtype_generate_abort and how is it different from sdtype_abort_generation

Just a leftover from the original code; I'll clean it up.

@wbruna
wbruna force-pushed the kcpp_sd_current_gen branch from 8cecdc0 to 5b4668a Compare August 1, 2026 11:29
@LostRuins
LostRuins merged commit e3cb5e9 into LostRuins:concedo_experimental Aug 6, 2026
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