io.github.robothy.sdwebui.sdk.SdWebuiBeanContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdwebui-java-sdk Show documentation
Show all versions of sdwebui-java-sdk Show documentation
Stable Diffusion Web UI Java SDK
The newest version!
package io.github.robothy.sdwebui.sdk;
import io.github.robothy.sdwebui.sdk.models.SdWebuiOptions;
import io.github.robothy.sdwebui.sdk.services.DefaultSdWebuiBeanContainer;
public interface SdWebuiBeanContainer {
static SdWebuiBeanContainer create(SdWebuiOptions options) {
return new DefaultSdWebuiBeanContainer(options);
}
T getBean(Class serviceClass);
void register(Class> serviceClass, Object service);
}