Uses of Class
cloud.liblibai.openapi.client.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in cloud.liblibai.client
Methods in cloud.liblibai.client that throw ApiExceptionModifier and TypeMethodDescriptionLibLib.imageToImage(ImageToImageRequest request) LibLib.runComfy(ComfyRequest request) LibLib.textToImage(TextToImageRequest request) LibLib.waitResult(String uuid) -
Uses of ApiException in cloud.liblibai.client.examples
Methods in cloud.liblibai.client.examples that throw ApiException -
Uses of ApiException in cloud.liblibai.openapi.client
Methods in cloud.liblibai.openapi.client with parameters of type ApiExceptionModifier and TypeMethodDescriptionvoidThis is called when the API call fails.Methods in cloud.liblibai.openapi.client that throw ApiExceptionModifier and TypeMethodDescriptionokhttp3.CallApiClient.buildCall(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.RequestApiClient.buildRequest(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.<T> TApiClient.deserialize(okhttp3.Response response, Type returnType) Deserialize response body to Java object, according to the return type and the Content-Type response header.ApiClient.downloadFileFromResponse(okhttp3.Response response) Download file from the given response.<T> ApiResponse<T> ApiClient.execute(okhttp3.Call call) <T> ApiResponse<T> Execute HTTP call and deserialize the HTTP response body into the given return type.<T> TApiClient.handleResponse(okhttp3.Response response, Type returnType) Handle the given response, return the deserialized object when the response is successful.okhttp3.RequestBodySerialize the given Java object into request body according to the object's class and the request Content-Type.voidApiClient.updateParamsForAuth(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Update query and header parameters based on authentication settings. -
Uses of ApiException in cloud.liblibai.openapi.client.api
Methods in cloud.liblibai.openapi.client.api that throw ApiExceptionModifier and TypeMethodDescriptionDefaultApi.getComfyStatus(ComfyStatusRequest comfyStatusRequest) 查询 comfy 生图结果 根据生图任务uuid查询生图任务的状态和结果okhttp3.CallDefaultApi.getComfyStatusAsync(ComfyStatusRequest comfyStatusRequest, ApiCallback<ComfyStatusResponse> _callback) 查询 comfy 生图结果 (asynchronously) 根据生图任务uuid查询生图任务的状态和结果okhttp3.CallDefaultApi.getComfyStatusCall(ComfyStatusRequest comfyStatusRequest, ApiCallback _callback) Build call for getComfyStatusDefaultApi.getComfyStatusWithHttpInfo(ComfyStatusRequest comfyStatusRequest) 查询 comfy 生图结果 根据生图任务uuid查询生图任务的状态和结果DefaultApi.getModelVersion(GetModelVersionRequest getModelVersionRequest) 查询模型版本参数 查询指定的模型版本参数。目前Lib已开放全站的可商用模型供API使用,您可以在Lib站内检索可商用的Checkpoint和LoRA模型。 选择喜欢的模型版本,从浏览器网址中复制versionUuid,粘贴到文生图或图生图的参数模板中使用。 若您忘记了在生图参数中应用的模型是哪一款,您可以调用本接口进行查询。okhttp3.CallDefaultApi.getModelVersionAsync(GetModelVersionRequest getModelVersionRequest, ApiCallback<VersionResponse> _callback) 查询模型版本参数 (asynchronously) 查询指定的模型版本参数。目前Lib已开放全站的可商用模型供API使用,您可以在Lib站内检索可商用的Checkpoint和LoRA模型。 选择喜欢的模型版本,从浏览器网址中复制versionUuid,粘贴到文生图或图生图的参数模板中使用。 若您忘记了在生图参数中应用的模型是哪一款,您可以调用本接口进行查询。okhttp3.CallDefaultApi.getModelVersionCall(GetModelVersionRequest getModelVersionRequest, ApiCallback _callback) Build call for getModelVersionDefaultApi.getModelVersionWithHttpInfo(GetModelVersionRequest getModelVersionRequest) 查询模型版本参数 查询指定的模型版本参数。目前Lib已开放全站的可商用模型供API使用,您可以在Lib站内检索可商用的Checkpoint和LoRA模型。 选择喜欢的模型版本,从浏览器网址中复制versionUuid,粘贴到文生图或图生图的参数模板中使用。 若您忘记了在生图参数中应用的模型是哪一款,您可以调用本接口进行查询。DefaultApi.getStatus(StatusRequest statusRequest) 查询生图任务状态 根据生图任务uuid查询生图任务的状态和相关信息okhttp3.CallDefaultApi.getStatusAsync(StatusRequest statusRequest, ApiCallback<StatusResponse> _callback) 查询生图任务状态 (asynchronously) 根据生图任务uuid查询生图任务的状态和相关信息okhttp3.CallDefaultApi.getStatusCall(StatusRequest statusRequest, ApiCallback _callback) Build call for getStatusDefaultApi.getStatusWithHttpInfo(StatusRequest statusRequest) 查询生图任务状态 根据生图任务uuid查询生图任务的状态和相关信息DefaultApi.submitComfyTask(ComfyRequest comfyRequest) 提交 ComfyUI 工作流生图任务 提交 ComfyUI 工作流生图任务。目前Lib已开放全站的可商用、可在线运行工作流供API使用,您可以在Lib站内工作流合集检索。 在工作流的详情页会出现【本工作流已提供API服务】,且可查看API相关参数。(详情页未出现API参数的工作流,暂不支持API调用)okhttp3.CallDefaultApi.submitComfyTaskAsync(ComfyRequest comfyRequest, ApiCallback<SubmitComfyResponse> _callback) 提交 ComfyUI 工作流生图任务 (asynchronously) 提交 ComfyUI 工作流生图任务。目前Lib已开放全站的可商用、可在线运行工作流供API使用,您可以在Lib站内工作流合集检索。 在工作流的详情页会出现【本工作流已提供API服务】,且可查看API相关参数。(详情页未出现API参数的工作流,暂不支持API调用)okhttp3.CallDefaultApi.submitComfyTaskCall(ComfyRequest comfyRequest, ApiCallback _callback) Build call for submitComfyTaskDefaultApi.submitComfyTaskWithHttpInfo(ComfyRequest comfyRequest) 提交 ComfyUI 工作流生图任务 提交 ComfyUI 工作流生图任务。目前Lib已开放全站的可商用、可在线运行工作流供API使用,您可以在Lib站内工作流合集检索。 在工作流的详情页会出现【本工作流已提供API服务】,且可查看API相关参数。(详情页未出现API参数的工作流,暂不支持API调用)DefaultApi.submitImageToImage(ImageToImageRequest imageToImageRequest) 提交图生图任务 提交图生图任务,生成图片okhttp3.CallDefaultApi.submitImageToImageAsync(ImageToImageRequest imageToImageRequest, ApiCallback<SubmitResponse> _callback) 提交图生图任务 (asynchronously) 提交图生图任务,生成图片okhttp3.CallDefaultApi.submitImageToImageCall(ImageToImageRequest imageToImageRequest, ApiCallback _callback) Build call for submitImageToImageDefaultApi.submitImageToImageWithHttpInfo(ImageToImageRequest imageToImageRequest) 提交图生图任务 提交图生图任务,生成图片DefaultApi.submitTextToImage(TextToImageRequest textToImageRequest) 提交文生图任务 提交文生图任务,生成图片okhttp3.CallDefaultApi.submitTextToImageAsync(TextToImageRequest textToImageRequest, ApiCallback<SubmitResponse> _callback) 提交文生图任务 (asynchronously) 提交文生图任务,生成图片okhttp3.CallDefaultApi.submitTextToImageCall(TextToImageRequest textToImageRequest, ApiCallback _callback) Build call for submitTextToImageDefaultApi.submitTextToImageUltra(TextToImageUltraRequest textToImageUltraRequest) 星流Star-3 Alpha图生图 根据提供的文本提示词和参数生成图片okhttp3.CallDefaultApi.submitTextToImageUltraAsync(TextToImageUltraRequest textToImageUltraRequest, ApiCallback<SubmitResponse> _callback) 星流Star-3 Alpha图生图 (asynchronously) 根据提供的文本提示词和参数生成图片okhttp3.CallDefaultApi.submitTextToImageUltraCall(TextToImageUltraRequest textToImageUltraRequest, ApiCallback _callback) Build call for submitTextToImageUltraDefaultApi.submitTextToImageUltraWithHttpInfo(TextToImageUltraRequest textToImageUltraRequest) 星流Star-3 Alpha图生图 根据提供的文本提示词和参数生成图片DefaultApi.submitTextToImageWithHttpInfo(TextToImageRequest textToImageRequest) 提交文生图任务 提交文生图任务,生成图片 -
Uses of ApiException in cloud.liblibai.openapi.client.auth
Methods in cloud.liblibai.openapi.client.auth that throw ApiExceptionModifier and TypeMethodDescriptionvoidApiKeyAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidAuthentication.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Apply authentication settings to header and query params.voidHttpBasicAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidHttpBearerAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri)