feat: add a stand-alone upscale endpoint to the server (#2026)

This commit is contained in:
Nick Beerbower authored and GitHub committed 2026-09-25 01:13:23 +08:00
1 parent caa111adf3
commit 4dfe8f5d45
7 files changed
+321 -9

No files matched your search

+2
View File
@@ -558,6 +558,8 @@ SD_API bool upscale(upscaler_ctx_t* upscaler_ctx,
int* num_images_out);
SD_API int get_upscale_factor(upscaler_ctx_t* upscaler_ctx);
// Reads model metadata only; returns 0 if the file is not a recognized RGB ESRGAN model.
SD_API int get_upscaler_model_scale(const char* model_path);
typedef struct adetailer_ctx_t adetailer_ctx_t;