@picteus/extension-sdk 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +48 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.js +45 -0
- package/dist/picteus-ws-client/apis/ExperimentApi.d.ts +48 -0
- package/dist/picteus-ws-client/apis/ExperimentApi.js +51 -0
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +410 -0
- package/dist/picteus-ws-client/apis/ExtensionApi.js +482 -0
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +593 -0
- package/dist/picteus-ws-client/apis/ImageApi.js +729 -0
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +85 -0
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +105 -0
- package/dist/picteus-ws-client/apis/PingApi.d.ts +48 -0
- package/dist/picteus-ws-client/apis/PingApi.js +51 -0
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +385 -0
- package/dist/picteus-ws-client/apis/RepositoryApi.js +462 -0
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +76 -0
- package/dist/picteus-ws-client/apis/SettingsApi.js +80 -0
- package/dist/picteus-ws-client/apis/index.d.ts +8 -0
- package/dist/picteus-ws-client/apis/index.js +10 -0
- package/dist/picteus-ws-client/index.d.ts +3 -0
- package/dist/picteus-ws-client/index.js +5 -0
- package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +38 -0
- package/dist/picteus-ws-client/models/Automatic1111Instruction.js +47 -0
- package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +45 -0
- package/dist/picteus-ws-client/models/Automatic1111UserComment.js +50 -0
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +38 -0
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +47 -0
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +26 -0
- package/dist/picteus-ws-client/models/CommandEntity.js +44 -0
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +39 -0
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +48 -0
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +39 -0
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +48 -0
- package/dist/picteus-ws-client/models/Dates.d.ts +38 -0
- package/dist/picteus-ws-client/models/Dates.js +47 -0
- package/dist/picteus-ws-client/models/Extension.d.ts +40 -0
- package/dist/picteus-ws-client/models/Extension.js +49 -0
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +39 -0
- package/dist/picteus-ws-client/models/ExtensionActivity.js +48 -0
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +26 -0
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +44 -0
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +63 -0
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +64 -0
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +38 -0
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +58 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +59 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +38 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +32 -0
- package/dist/picteus-ws-client/models/ExtensionSettings.js +43 -0
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +25 -0
- package/dist/picteus-ws-client/models/ExtensionStatus.js +43 -0
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +40 -0
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +49 -0
- package/dist/picteus-ws-client/models/Image.d.ts +135 -0
- package/dist/picteus-ws-client/models/Image.js +110 -0
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +38 -0
- package/dist/picteus-ws-client/models/ImageDimensions.js +47 -0
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +39 -0
- package/dist/picteus-ws-client/models/ImageDistance.js +48 -0
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +32 -0
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +43 -0
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +52 -0
- package/dist/picteus-ws-client/models/ImageFeature.js +55 -0
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +29 -0
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +47 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +27 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.js +45 -0
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +29 -0
- package/dist/picteus-ws-client/models/ImageFormat.js +47 -0
- package/dist/picteus-ws-client/models/ImageGenerator.d.ts +26 -0
- package/dist/picteus-ws-client/models/ImageGenerator.js +44 -0
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +68 -0
- package/dist/picteus-ws-client/models/ImageMetadata.js +53 -0
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +114 -0
- package/dist/picteus-ws-client/models/ImageSummary.js +95 -0
- package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +39 -0
- package/dist/picteus-ws-client/models/ImageSummaryList.js +48 -0
- package/dist/picteus-ws-client/models/Manifest.d.ts +77 -0
- package/dist/picteus-ws-client/models/Manifest.js +72 -0
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestCapability.js +44 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +27 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +45 -0
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestEvent.js +51 -0
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +38 -0
- package/dist/picteus-ws-client/models/ManifestExecution.js +47 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +52 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +57 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.d.ts +38 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.js +47 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +39 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +46 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +54 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.js +55 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +39 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +48 -0
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestRuntime.js +44 -0
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +25 -0
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +43 -0
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +44 -0
- package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +74 -0
- package/dist/picteus-ws-client/models/MidjourneyInstructions.js +71 -0
- package/dist/picteus-ws-client/models/Repository.d.ts +82 -0
- package/dist/picteus-ws-client/models/Repository.js +73 -0
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +39 -0
- package/dist/picteus-ws-client/models/RepositoryActivity.js +48 -0
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +26 -0
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +44 -0
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +24 -0
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +42 -0
- package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +27 -0
- package/dist/picteus-ws-client/models/RepositoryStatus.js +45 -0
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +47 -0
- package/dist/picteus-ws-client/models/SearchCriteria.js +48 -0
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +50 -0
- package/dist/picteus-ws-client/models/SearchKeyword.js +55 -0
- package/dist/picteus-ws-client/models/SearchRange.d.ts +38 -0
- package/dist/picteus-ws-client/models/SearchRange.js +43 -0
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchSorting.js +46 -0
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +29 -0
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +47 -0
- package/dist/picteus-ws-client/models/Settings.d.ts +32 -0
- package/dist/picteus-ws-client/models/Settings.js +41 -0
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +26 -0
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +44 -0
- package/dist/picteus-ws-client/models/index.d.ts +55 -0
- package/dist/picteus-ws-client/models/index.js +57 -0
- package/dist/picteus-ws-client/runtime.d.ts +184 -0
- package/dist/picteus-ws-client/runtime.js +333 -0
- package/dist/picteusExtension.d.ts +145 -0
- package/dist/picteusExtension.js +302 -0
- package/package.json +53 -0
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { Automatic1111UserComment, ComfyUiPromptAndWorkflow, ExtensionImageEmbeddings, ExtensionImageFeature, ExtensionImageTag, Image, ImageDistance, ImageEmbeddings, ImageFeature, ImageSummaryList, MidjourneyInstructions, SearchCriteria, SearchRange, SearchSorting } from '../models/index.js';
|
|
14
|
+
export interface ImageApiImageClosestEmbeddingsImagesRequest {
|
|
15
|
+
extensionId: string;
|
|
16
|
+
count: number;
|
|
17
|
+
imageEmbeddings: ImageEmbeddings;
|
|
18
|
+
}
|
|
19
|
+
export interface ImageApiImageClosestImagesRequest {
|
|
20
|
+
id: string;
|
|
21
|
+
extensionId: string;
|
|
22
|
+
count: number;
|
|
23
|
+
}
|
|
24
|
+
export interface ImageApiImageDownloadRequest {
|
|
25
|
+
id: string;
|
|
26
|
+
stripMetadata?: boolean;
|
|
27
|
+
format?: ImageDownloadFormatEnum;
|
|
28
|
+
}
|
|
29
|
+
export interface ImageApiImageEnsureTagsRequest {
|
|
30
|
+
id: string;
|
|
31
|
+
extensionId: string;
|
|
32
|
+
requestBody: Array<string>;
|
|
33
|
+
}
|
|
34
|
+
export interface ImageApiImageGetRequest {
|
|
35
|
+
id: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ImageApiImageGetAllEmbeddingsRequest {
|
|
38
|
+
id: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ImageApiImageGetAllFeaturesRequest {
|
|
41
|
+
id: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ImageApiImageGetAllTagsRequest {
|
|
44
|
+
id: string;
|
|
45
|
+
}
|
|
46
|
+
export interface ImageApiImageGetAutomatic1111Request {
|
|
47
|
+
id: string;
|
|
48
|
+
}
|
|
49
|
+
export interface ImageApiImageGetComfyUiRequest {
|
|
50
|
+
id: string;
|
|
51
|
+
}
|
|
52
|
+
export interface ImageApiImageGetEmbeddingsRequest {
|
|
53
|
+
id: string;
|
|
54
|
+
extensionId: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ImageApiImageGetMidjourneyRequest {
|
|
57
|
+
id: string;
|
|
58
|
+
}
|
|
59
|
+
export interface ImageApiImageModifyRequest {
|
|
60
|
+
id: string;
|
|
61
|
+
body: Blob;
|
|
62
|
+
}
|
|
63
|
+
export interface ImageApiImageRunComfyUiRequest {
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ImageApiImageSearchRequest {
|
|
67
|
+
criteria?: SearchCriteria;
|
|
68
|
+
sorting?: SearchSorting;
|
|
69
|
+
range?: SearchRange;
|
|
70
|
+
ids?: Array<string>;
|
|
71
|
+
}
|
|
72
|
+
export interface ImageApiImageSetEmbeddingsRequest {
|
|
73
|
+
id: string;
|
|
74
|
+
extensionId: string;
|
|
75
|
+
imageEmbeddings: ImageEmbeddings;
|
|
76
|
+
}
|
|
77
|
+
export interface ImageApiImageSetFeaturesRequest {
|
|
78
|
+
id: string;
|
|
79
|
+
extensionId: string;
|
|
80
|
+
imageFeature: Array<ImageFeature>;
|
|
81
|
+
}
|
|
82
|
+
export interface ImageApiImageSetTagsRequest {
|
|
83
|
+
id: string;
|
|
84
|
+
extensionId: string;
|
|
85
|
+
requestBody: Array<string>;
|
|
86
|
+
}
|
|
87
|
+
export interface ImageApiImageTextToImagesRequest {
|
|
88
|
+
text: string;
|
|
89
|
+
extensionId: string;
|
|
90
|
+
count: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* ImageApi - interface
|
|
94
|
+
*
|
|
95
|
+
* @export
|
|
96
|
+
* @interface ImageApiInterface
|
|
97
|
+
*/
|
|
98
|
+
export interface ImageApiInterface {
|
|
99
|
+
/**
|
|
100
|
+
* Returns the closest images given some embeddings and for a given extension.
|
|
101
|
+
* @summary Gets the closest images to some embeddings attached to an extension
|
|
102
|
+
* @param {string} extensionId The extension identifier
|
|
103
|
+
* @param {number} count The number of images to return
|
|
104
|
+
* @param {ImageEmbeddings} imageEmbeddings The image embeddings
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
* @memberof ImageApiInterface
|
|
108
|
+
*/
|
|
109
|
+
imageClosestEmbeddingsImagesRaw(requestParameters: ImageApiImageClosestEmbeddingsImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the closest images given some embeddings and for a given extension.
|
|
112
|
+
* Gets the closest images to some embeddings attached to an extension
|
|
113
|
+
*/
|
|
114
|
+
imageClosestEmbeddingsImages(requestParameters: ImageApiImageClosestEmbeddingsImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the closest images for a given an image, following the embeddings of a given extension.
|
|
117
|
+
* @summary Gets the closest images to the image following the embeddings of an extension
|
|
118
|
+
* @param {string} id The image identifier
|
|
119
|
+
* @param {string} extensionId The extension identifier
|
|
120
|
+
* @param {number} count The number of images to return
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
* @memberof ImageApiInterface
|
|
124
|
+
*/
|
|
125
|
+
imageClosestImagesRaw(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
126
|
+
/**
|
|
127
|
+
* Returns the closest images for a given an image, following the embeddings of a given extension.
|
|
128
|
+
* Gets the closest images to the image following the embeddings of an extension
|
|
129
|
+
*/
|
|
130
|
+
imageClosestImages(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
131
|
+
/**
|
|
132
|
+
* Returns the binary form of an image.
|
|
133
|
+
* @summary Downloads an image
|
|
134
|
+
* @param {string} id The image identifier
|
|
135
|
+
* @param {boolean} [stripMetadata] Whether the image metadata should be stripped
|
|
136
|
+
* @param {'PNG' | 'JPEG' | 'WEBP' | 'GIF' | 'AVIF' | 'HEIF'} [format] The image format
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
* @memberof ImageApiInterface
|
|
140
|
+
*/
|
|
141
|
+
imageDownloadRaw(requestParameters: ImageApiImageDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
142
|
+
/**
|
|
143
|
+
* Returns the binary form of an image.
|
|
144
|
+
* Downloads an image
|
|
145
|
+
*/
|
|
146
|
+
imageDownload(requestParameters: ImageApiImageDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
147
|
+
/**
|
|
148
|
+
* Ensures that some tags are set on an image for a given extension.
|
|
149
|
+
* @summary Ensures that the tags are set on an image
|
|
150
|
+
* @param {string} id The image identifier
|
|
151
|
+
* @param {string} extensionId The extension identifier
|
|
152
|
+
* @param {Array<string>} requestBody The image tags
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
* @memberof ImageApiInterface
|
|
156
|
+
*/
|
|
157
|
+
imageEnsureTagsRaw(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
158
|
+
/**
|
|
159
|
+
* Ensures that some tags are set on an image for a given extension.
|
|
160
|
+
* Ensures that the tags are set on an image
|
|
161
|
+
*/
|
|
162
|
+
imageEnsureTags(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the details about an image.
|
|
165
|
+
* @summary Gets an image
|
|
166
|
+
* @param {string} id The image identifier
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
* @memberof ImageApiInterface
|
|
170
|
+
*/
|
|
171
|
+
imageGetRaw(requestParameters: ImageApiImageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
172
|
+
/**
|
|
173
|
+
* Returns the details about an image.
|
|
174
|
+
* Gets an image
|
|
175
|
+
*/
|
|
176
|
+
imageGet(requestParameters: ImageApiImageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
177
|
+
/**
|
|
178
|
+
* Returns the computed embeddings of an image for all extensions.
|
|
179
|
+
* @summary Gets all the embeddings of an image
|
|
180
|
+
* @param {string} id The image identifier
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
* @memberof ImageApiInterface
|
|
184
|
+
*/
|
|
185
|
+
imageGetAllEmbeddingsRaw(requestParameters: ImageApiImageGetAllEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageEmbeddings>>>;
|
|
186
|
+
/**
|
|
187
|
+
* Returns the computed embeddings of an image for all extensions.
|
|
188
|
+
* Gets all the embeddings of an image
|
|
189
|
+
*/
|
|
190
|
+
imageGetAllEmbeddings(requestParameters: ImageApiImageGetAllEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageEmbeddings>>;
|
|
191
|
+
/**
|
|
192
|
+
* Returns the features of an image for all extensions.
|
|
193
|
+
* @summary Gets all the features of an image
|
|
194
|
+
* @param {string} id The image identifier
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof ImageApiInterface
|
|
198
|
+
*/
|
|
199
|
+
imageGetAllFeaturesRaw(requestParameters: ImageApiImageGetAllFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageFeature>>>;
|
|
200
|
+
/**
|
|
201
|
+
* Returns the features of an image for all extensions.
|
|
202
|
+
* Gets all the features of an image
|
|
203
|
+
*/
|
|
204
|
+
imageGetAllFeatures(requestParameters: ImageApiImageGetAllFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageFeature>>;
|
|
205
|
+
/**
|
|
206
|
+
* Returns the tags of an image for all extensions.
|
|
207
|
+
* @summary Gets all the tags of an image
|
|
208
|
+
* @param {string} id The image identifier
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
* @memberof ImageApiInterface
|
|
212
|
+
*/
|
|
213
|
+
imageGetAllTagsRaw(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageTag>>>;
|
|
214
|
+
/**
|
|
215
|
+
* Returns the tags of an image for all extensions.
|
|
216
|
+
* Gets all the tags of an image
|
|
217
|
+
*/
|
|
218
|
+
imageGetAllTags(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
219
|
+
/**
|
|
220
|
+
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
221
|
+
* @summary Gets the Automatic1111 instructions
|
|
222
|
+
* @param {string} id The image identifier
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
* @memberof ImageApiInterface
|
|
226
|
+
*/
|
|
227
|
+
imageGetAutomatic1111Raw(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Automatic1111UserComment>>;
|
|
228
|
+
/**
|
|
229
|
+
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
230
|
+
* Gets the Automatic1111 instructions
|
|
231
|
+
*/
|
|
232
|
+
imageGetAutomatic1111(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Automatic1111UserComment>;
|
|
233
|
+
/**
|
|
234
|
+
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
235
|
+
* @summary Gets the ComfyUI prompt and workflow
|
|
236
|
+
* @param {string} id The image identifier
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
* @memberof ImageApiInterface
|
|
240
|
+
*/
|
|
241
|
+
imageGetComfyUiRaw(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ComfyUiPromptAndWorkflow>>;
|
|
242
|
+
/**
|
|
243
|
+
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
244
|
+
* Gets the ComfyUI prompt and workflow
|
|
245
|
+
*/
|
|
246
|
+
imageGetComfyUi(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComfyUiPromptAndWorkflow>;
|
|
247
|
+
/**
|
|
248
|
+
* Returns the computed embeddings of an image for a given extension.
|
|
249
|
+
* @summary Gets the embeddings of an image
|
|
250
|
+
* @param {string} id The image identifier
|
|
251
|
+
* @param {string} extensionId The extension identifier
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
* @memberof ImageApiInterface
|
|
255
|
+
*/
|
|
256
|
+
imageGetEmbeddingsRaw(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImageEmbeddings>>;
|
|
257
|
+
/**
|
|
258
|
+
* Returns the computed embeddings of an image for a given extension.
|
|
259
|
+
* Gets the embeddings of an image
|
|
260
|
+
*/
|
|
261
|
+
imageGetEmbeddings(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImageEmbeddings>;
|
|
262
|
+
/**
|
|
263
|
+
* Returns the Midjourney generation instructions available in the image metadata.
|
|
264
|
+
* @summary Gets the Midjourney instructions
|
|
265
|
+
* @param {string} id The image identifier
|
|
266
|
+
* @param {*} [options] Override http request option.
|
|
267
|
+
* @throws {RequiredError}
|
|
268
|
+
* @memberof ImageApiInterface
|
|
269
|
+
*/
|
|
270
|
+
imageGetMidjourneyRaw(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MidjourneyInstructions>>;
|
|
271
|
+
/**
|
|
272
|
+
* Returns the Midjourney generation instructions available in the image metadata.
|
|
273
|
+
* Gets the Midjourney instructions
|
|
274
|
+
*/
|
|
275
|
+
imageGetMidjourney(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MidjourneyInstructions>;
|
|
276
|
+
/**
|
|
277
|
+
* Updates the content of an image via a file.
|
|
278
|
+
* @summary Modifies an image
|
|
279
|
+
* @param {string} id The image identifier
|
|
280
|
+
* @param {Blob} body The image file
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
* @memberof ImageApiInterface
|
|
284
|
+
*/
|
|
285
|
+
imageModifyRaw(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
286
|
+
/**
|
|
287
|
+
* Updates the content of an image via a file.
|
|
288
|
+
* Modifies an image
|
|
289
|
+
*/
|
|
290
|
+
imageModify(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
291
|
+
/**
|
|
292
|
+
* Runs the workflow attached to the image in background.
|
|
293
|
+
* @summary Starts the image ComfyUI workflow
|
|
294
|
+
* @param {string} id The image identifier
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof ImageApiInterface
|
|
298
|
+
*/
|
|
299
|
+
imageRunComfyUiRaw(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
300
|
+
/**
|
|
301
|
+
* Runs the workflow attached to the image in background.
|
|
302
|
+
* Starts the image ComfyUI workflow
|
|
303
|
+
*/
|
|
304
|
+
imageRunComfyUi(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
305
|
+
/**
|
|
306
|
+
* Searches images, given criteria.
|
|
307
|
+
* @summary Searches images
|
|
308
|
+
* @param {SearchCriteria} [criteria] The criteria that will be applied to the search as a filter
|
|
309
|
+
* @param {SearchSorting} [sorting] Indicates how the search results should be sorted
|
|
310
|
+
* @param {SearchRange} [range] The range of items to consider following the search
|
|
311
|
+
* @param {Array<string>} [ids] The repository identifiers the images should belong to
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
* @memberof ImageApiInterface
|
|
315
|
+
*/
|
|
316
|
+
imageSearchRaw(requestParameters: ImageApiImageSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImageSummaryList>>;
|
|
317
|
+
/**
|
|
318
|
+
* Searches images, given criteria.
|
|
319
|
+
* Searches images
|
|
320
|
+
*/
|
|
321
|
+
imageSearch(requestParameters: ImageApiImageSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImageSummaryList>;
|
|
322
|
+
/**
|
|
323
|
+
* Sets the computed embeddings of an image for a given extension.
|
|
324
|
+
* @summary Sets the embeddings of an image
|
|
325
|
+
* @param {string} id The image identifier
|
|
326
|
+
* @param {string} extensionId The extension identifier
|
|
327
|
+
* @param {ImageEmbeddings} imageEmbeddings The image embeddings
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
* @memberof ImageApiInterface
|
|
331
|
+
*/
|
|
332
|
+
imageSetEmbeddingsRaw(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
333
|
+
/**
|
|
334
|
+
* Sets the computed embeddings of an image for a given extension.
|
|
335
|
+
* Sets the embeddings of an image
|
|
336
|
+
*/
|
|
337
|
+
imageSetEmbeddings(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
338
|
+
/**
|
|
339
|
+
* Stores the provided features of an image for a given extension.
|
|
340
|
+
* @summary Sets the features of an image
|
|
341
|
+
* @param {string} id The image identifier
|
|
342
|
+
* @param {string} extensionId The extension identifier
|
|
343
|
+
* @param {Array<ImageFeature>} imageFeature The image features
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
* @memberof ImageApiInterface
|
|
347
|
+
*/
|
|
348
|
+
imageSetFeaturesRaw(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
349
|
+
/**
|
|
350
|
+
* Stores the provided features of an image for a given extension.
|
|
351
|
+
* Sets the features of an image
|
|
352
|
+
*/
|
|
353
|
+
imageSetFeatures(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
354
|
+
/**
|
|
355
|
+
* Sets the tags of an image for a given extension.
|
|
356
|
+
* @summary Sets the tags of an image if necessary
|
|
357
|
+
* @param {string} id The image identifier
|
|
358
|
+
* @param {string} extensionId The extension identifier
|
|
359
|
+
* @param {Array<string>} requestBody The image tags
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof ImageApiInterface
|
|
363
|
+
*/
|
|
364
|
+
imageSetTagsRaw(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
365
|
+
/**
|
|
366
|
+
* Sets the tags of an image for a given extension.
|
|
367
|
+
* Sets the tags of an image if necessary
|
|
368
|
+
*/
|
|
369
|
+
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
370
|
+
/**
|
|
371
|
+
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
372
|
+
* @summary Gets the closest images to a text following the embeddings of an extension
|
|
373
|
+
* @param {string} text The text
|
|
374
|
+
* @param {string} extensionId The extension identifier
|
|
375
|
+
* @param {number} count The number of images to return
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
* @memberof ImageApiInterface
|
|
379
|
+
*/
|
|
380
|
+
imageTextToImagesRaw(requestParameters: ImageApiImageTextToImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
381
|
+
/**
|
|
382
|
+
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
383
|
+
* Gets the closest images to a text following the embeddings of an extension
|
|
384
|
+
*/
|
|
385
|
+
imageTextToImages(requestParameters: ImageApiImageTextToImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
*/
|
|
390
|
+
export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterface {
|
|
391
|
+
/**
|
|
392
|
+
* Returns the closest images given some embeddings and for a given extension.
|
|
393
|
+
* Gets the closest images to some embeddings attached to an extension
|
|
394
|
+
*/
|
|
395
|
+
imageClosestEmbeddingsImagesRaw(requestParameters: ImageApiImageClosestEmbeddingsImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
396
|
+
/**
|
|
397
|
+
* Returns the closest images given some embeddings and for a given extension.
|
|
398
|
+
* Gets the closest images to some embeddings attached to an extension
|
|
399
|
+
*/
|
|
400
|
+
imageClosestEmbeddingsImages(requestParameters: ImageApiImageClosestEmbeddingsImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
401
|
+
/**
|
|
402
|
+
* Returns the closest images for a given an image, following the embeddings of a given extension.
|
|
403
|
+
* Gets the closest images to the image following the embeddings of an extension
|
|
404
|
+
*/
|
|
405
|
+
imageClosestImagesRaw(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
406
|
+
/**
|
|
407
|
+
* Returns the closest images for a given an image, following the embeddings of a given extension.
|
|
408
|
+
* Gets the closest images to the image following the embeddings of an extension
|
|
409
|
+
*/
|
|
410
|
+
imageClosestImages(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
411
|
+
/**
|
|
412
|
+
* Returns the binary form of an image.
|
|
413
|
+
* Downloads an image
|
|
414
|
+
*/
|
|
415
|
+
imageDownloadRaw(requestParameters: ImageApiImageDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
416
|
+
/**
|
|
417
|
+
* Returns the binary form of an image.
|
|
418
|
+
* Downloads an image
|
|
419
|
+
*/
|
|
420
|
+
imageDownload(requestParameters: ImageApiImageDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
421
|
+
/**
|
|
422
|
+
* Ensures that some tags are set on an image for a given extension.
|
|
423
|
+
* Ensures that the tags are set on an image
|
|
424
|
+
*/
|
|
425
|
+
imageEnsureTagsRaw(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
426
|
+
/**
|
|
427
|
+
* Ensures that some tags are set on an image for a given extension.
|
|
428
|
+
* Ensures that the tags are set on an image
|
|
429
|
+
*/
|
|
430
|
+
imageEnsureTags(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
431
|
+
/**
|
|
432
|
+
* Returns the details about an image.
|
|
433
|
+
* Gets an image
|
|
434
|
+
*/
|
|
435
|
+
imageGetRaw(requestParameters: ImageApiImageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
436
|
+
/**
|
|
437
|
+
* Returns the details about an image.
|
|
438
|
+
* Gets an image
|
|
439
|
+
*/
|
|
440
|
+
imageGet(requestParameters: ImageApiImageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
441
|
+
/**
|
|
442
|
+
* Returns the computed embeddings of an image for all extensions.
|
|
443
|
+
* Gets all the embeddings of an image
|
|
444
|
+
*/
|
|
445
|
+
imageGetAllEmbeddingsRaw(requestParameters: ImageApiImageGetAllEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageEmbeddings>>>;
|
|
446
|
+
/**
|
|
447
|
+
* Returns the computed embeddings of an image for all extensions.
|
|
448
|
+
* Gets all the embeddings of an image
|
|
449
|
+
*/
|
|
450
|
+
imageGetAllEmbeddings(requestParameters: ImageApiImageGetAllEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageEmbeddings>>;
|
|
451
|
+
/**
|
|
452
|
+
* Returns the features of an image for all extensions.
|
|
453
|
+
* Gets all the features of an image
|
|
454
|
+
*/
|
|
455
|
+
imageGetAllFeaturesRaw(requestParameters: ImageApiImageGetAllFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageFeature>>>;
|
|
456
|
+
/**
|
|
457
|
+
* Returns the features of an image for all extensions.
|
|
458
|
+
* Gets all the features of an image
|
|
459
|
+
*/
|
|
460
|
+
imageGetAllFeatures(requestParameters: ImageApiImageGetAllFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageFeature>>;
|
|
461
|
+
/**
|
|
462
|
+
* Returns the tags of an image for all extensions.
|
|
463
|
+
* Gets all the tags of an image
|
|
464
|
+
*/
|
|
465
|
+
imageGetAllTagsRaw(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageTag>>>;
|
|
466
|
+
/**
|
|
467
|
+
* Returns the tags of an image for all extensions.
|
|
468
|
+
* Gets all the tags of an image
|
|
469
|
+
*/
|
|
470
|
+
imageGetAllTags(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
471
|
+
/**
|
|
472
|
+
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
473
|
+
* Gets the Automatic1111 instructions
|
|
474
|
+
*/
|
|
475
|
+
imageGetAutomatic1111Raw(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Automatic1111UserComment>>;
|
|
476
|
+
/**
|
|
477
|
+
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
478
|
+
* Gets the Automatic1111 instructions
|
|
479
|
+
*/
|
|
480
|
+
imageGetAutomatic1111(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Automatic1111UserComment>;
|
|
481
|
+
/**
|
|
482
|
+
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
483
|
+
* Gets the ComfyUI prompt and workflow
|
|
484
|
+
*/
|
|
485
|
+
imageGetComfyUiRaw(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ComfyUiPromptAndWorkflow>>;
|
|
486
|
+
/**
|
|
487
|
+
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
488
|
+
* Gets the ComfyUI prompt and workflow
|
|
489
|
+
*/
|
|
490
|
+
imageGetComfyUi(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComfyUiPromptAndWorkflow>;
|
|
491
|
+
/**
|
|
492
|
+
* Returns the computed embeddings of an image for a given extension.
|
|
493
|
+
* Gets the embeddings of an image
|
|
494
|
+
*/
|
|
495
|
+
imageGetEmbeddingsRaw(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImageEmbeddings>>;
|
|
496
|
+
/**
|
|
497
|
+
* Returns the computed embeddings of an image for a given extension.
|
|
498
|
+
* Gets the embeddings of an image
|
|
499
|
+
*/
|
|
500
|
+
imageGetEmbeddings(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImageEmbeddings>;
|
|
501
|
+
/**
|
|
502
|
+
* Returns the Midjourney generation instructions available in the image metadata.
|
|
503
|
+
* Gets the Midjourney instructions
|
|
504
|
+
*/
|
|
505
|
+
imageGetMidjourneyRaw(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MidjourneyInstructions>>;
|
|
506
|
+
/**
|
|
507
|
+
* Returns the Midjourney generation instructions available in the image metadata.
|
|
508
|
+
* Gets the Midjourney instructions
|
|
509
|
+
*/
|
|
510
|
+
imageGetMidjourney(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MidjourneyInstructions>;
|
|
511
|
+
/**
|
|
512
|
+
* Updates the content of an image via a file.
|
|
513
|
+
* Modifies an image
|
|
514
|
+
*/
|
|
515
|
+
imageModifyRaw(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
516
|
+
/**
|
|
517
|
+
* Updates the content of an image via a file.
|
|
518
|
+
* Modifies an image
|
|
519
|
+
*/
|
|
520
|
+
imageModify(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
521
|
+
/**
|
|
522
|
+
* Runs the workflow attached to the image in background.
|
|
523
|
+
* Starts the image ComfyUI workflow
|
|
524
|
+
*/
|
|
525
|
+
imageRunComfyUiRaw(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
526
|
+
/**
|
|
527
|
+
* Runs the workflow attached to the image in background.
|
|
528
|
+
* Starts the image ComfyUI workflow
|
|
529
|
+
*/
|
|
530
|
+
imageRunComfyUi(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
531
|
+
/**
|
|
532
|
+
* Searches images, given criteria.
|
|
533
|
+
* Searches images
|
|
534
|
+
*/
|
|
535
|
+
imageSearchRaw(requestParameters: ImageApiImageSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImageSummaryList>>;
|
|
536
|
+
/**
|
|
537
|
+
* Searches images, given criteria.
|
|
538
|
+
* Searches images
|
|
539
|
+
*/
|
|
540
|
+
imageSearch(requestParameters?: ImageApiImageSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImageSummaryList>;
|
|
541
|
+
/**
|
|
542
|
+
* Sets the computed embeddings of an image for a given extension.
|
|
543
|
+
* Sets the embeddings of an image
|
|
544
|
+
*/
|
|
545
|
+
imageSetEmbeddingsRaw(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
546
|
+
/**
|
|
547
|
+
* Sets the computed embeddings of an image for a given extension.
|
|
548
|
+
* Sets the embeddings of an image
|
|
549
|
+
*/
|
|
550
|
+
imageSetEmbeddings(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
551
|
+
/**
|
|
552
|
+
* Stores the provided features of an image for a given extension.
|
|
553
|
+
* Sets the features of an image
|
|
554
|
+
*/
|
|
555
|
+
imageSetFeaturesRaw(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
556
|
+
/**
|
|
557
|
+
* Stores the provided features of an image for a given extension.
|
|
558
|
+
* Sets the features of an image
|
|
559
|
+
*/
|
|
560
|
+
imageSetFeatures(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
561
|
+
/**
|
|
562
|
+
* Sets the tags of an image for a given extension.
|
|
563
|
+
* Sets the tags of an image if necessary
|
|
564
|
+
*/
|
|
565
|
+
imageSetTagsRaw(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
566
|
+
/**
|
|
567
|
+
* Sets the tags of an image for a given extension.
|
|
568
|
+
* Sets the tags of an image if necessary
|
|
569
|
+
*/
|
|
570
|
+
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
571
|
+
/**
|
|
572
|
+
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
573
|
+
* Gets the closest images to a text following the embeddings of an extension
|
|
574
|
+
*/
|
|
575
|
+
imageTextToImagesRaw(requestParameters: ImageApiImageTextToImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
576
|
+
/**
|
|
577
|
+
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
578
|
+
* Gets the closest images to a text following the embeddings of an extension
|
|
579
|
+
*/
|
|
580
|
+
imageTextToImages(requestParameters: ImageApiImageTextToImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* @export
|
|
584
|
+
*/
|
|
585
|
+
export declare const ImageDownloadFormatEnum: {
|
|
586
|
+
readonly Png: "PNG";
|
|
587
|
+
readonly Jpeg: "JPEG";
|
|
588
|
+
readonly Webp: "WEBP";
|
|
589
|
+
readonly Gif: "GIF";
|
|
590
|
+
readonly Avif: "AVIF";
|
|
591
|
+
readonly Heif: "HEIF";
|
|
592
|
+
};
|
|
593
|
+
export type ImageDownloadFormatEnum = typeof ImageDownloadFormatEnum[keyof typeof ImageDownloadFormatEnum];
|