mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
fix(server): route OpenAI image edits by reference conditioning support (#2167)
This commit is contained in:
1 parent
269045e92c
commit
9b7da27374
6 files changed
+117
-5
No files matched your search
@@ -486,6 +486,8 @@ SD_API int32_t sd_get_num_physical_cores();
|
||||
SD_API const char* sd_get_system_info();
|
||||
SD_API bool sd_ctx_supports_image_generation(const sd_ctx_t* sd_ctx);
|
||||
SD_API bool sd_ctx_supports_video_generation(const sd_ctx_t* sd_ctx);
|
||||
/** Returns whether the loaded model consumes ref_images as conditioning inputs. */
|
||||
SD_API bool sd_ctx_supports_ref_image_conditioning(const sd_ctx_t* sd_ctx);
|
||||
|
||||
// ControlNet hot-swap APIs are not safe to call while generation is in flight.
|
||||
SD_API bool sd_ctx_load_control_net(sd_ctx_t* sd_ctx, const char* path);
|
||||
|
||||
Reference in new issue
Block a user