mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-05-08 16:28:53 +00:00
12 lines
416 B
C++
12 lines
416 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "httplib.h"
|
|
#include "runtime.h"
|
|
|
|
void register_index_endpoints(httplib::Server& svr, const SDSvrParams& svr_params, const std::string& index_html);
|
|
void register_openai_api_endpoints(httplib::Server& svr, ServerRuntime& rt);
|
|
void register_sdapi_endpoints(httplib::Server& svr, ServerRuntime& rt);
|
|
void register_sdcpp_api_endpoints(httplib::Server& svr, ServerRuntime& rt);
|