All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.robothy.sdwebui.sdk.SdWebui Maven / Gradle / Ivy

The newest version!
package io.github.robothy.sdwebui.sdk;


import io.github.robothy.sdwebui.sdk.models.SdWebuiOptions;
import io.github.robothy.sdwebui.sdk.services.SdWebuiInvocationHandler;

import java.lang.reflect.Proxy;

public interface SdWebui extends SystemInfoFetcher, Txt2Image, Image2Image, ExtraImage, GetSdModels, GetFaceRestorers {

  static SdWebui create(String endpoint) {
    SdWebuiOptions options = new SdWebuiOptions(endpoint);
    return (SdWebui) Proxy.newProxyInstance(SdWebui.class.getClassLoader(), new Class[]{SdWebui.class}, new SdWebuiInvocationHandler(options));
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy