@civitai/client 0.2.0-beta.41 → 0.2.0-beta.43
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/dist/generated/client/client.gen.d.ts +2 -0
- package/dist/generated/client/client.gen.js +237 -0
- package/dist/generated/client/index.d.ts +9 -8
- package/dist/generated/client/index.js +6 -4
- package/dist/generated/client/types.d.ts +4 -5
- package/dist/generated/client/types.gen.d.ts +195 -0
- package/dist/generated/client/types.gen.js +2 -0
- package/dist/generated/client/utils.gen.d.ts +58 -0
- package/dist/generated/client/utils.gen.js +234 -0
- package/dist/generated/client.gen.d.ts +5 -5
- package/dist/generated/client.gen.js +1 -1
- package/dist/generated/core/auth.gen.d.ts +21 -0
- package/dist/generated/core/auth.gen.js +14 -0
- package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/core/bodySerializer.gen.js +57 -0
- package/dist/generated/core/params.gen.d.ts +49 -0
- package/dist/generated/core/params.gen.js +100 -0
- package/dist/generated/core/pathSerializer.gen.d.ts +49 -0
- package/dist/generated/core/pathSerializer.gen.js +106 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts +24 -0
- package/dist/generated/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts +88 -0
- package/dist/generated/core/serverSentEvents.gen.js +134 -0
- package/dist/generated/core/types.gen.d.ts +106 -0
- package/dist/generated/core/types.gen.js +2 -0
- package/dist/generated/core/utils.gen.d.ts +25 -0
- package/dist/generated/core/utils.gen.js +87 -0
- package/dist/generated/index.d.ts +906 -2
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +234 -75
- package/dist/generated/sdk.gen.js +192 -331
- package/dist/generated/types.gen.d.ts +3025 -1251
- package/dist/generated/types.gen.js +43 -85
- package/package.json +3 -3
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export { addWorkflowTag, deleteWorkflow, getBlob, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateResource, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeChatCompletionStepTemplate, invokeComfyStepTemplate, invokeConvertImageStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokePreprocessImageStepTemplate, invokePromptEnhancementStepTemplate, invokeRepeatStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeXGuardModerationStepTemplate, patchWorkflow, patchWorkflowStep, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
|
+
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaHashType, Metric3dBackbone, MiniMaxVideoGenModel, NsfwLevel, OutputFormat, Priority, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedreamVersion, TrainingModerationStatus, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowUpgradeMode, XGuardModerationMode, ZoeDepthEnvironment, } from './types.gen';
|
|
@@ -1,143 +1,173 @@
|
|
|
1
|
-
import type { Options as
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
GetConsumerBlobUploadUrlResponses,
|
|
10
|
-
GetConsumerBlobUploadUrlErrors,
|
|
11
|
-
UploadConsumerBlobData,
|
|
12
|
-
UploadConsumerBlobResponses,
|
|
13
|
-
UploadConsumerBlobErrors,
|
|
3
|
+
AddWorkflowTagData,
|
|
4
|
+
AddWorkflowTagErrors,
|
|
5
|
+
AddWorkflowTagResponses,
|
|
6
|
+
DeleteWorkflowData,
|
|
7
|
+
DeleteWorkflowErrors,
|
|
8
|
+
DeleteWorkflowResponses,
|
|
14
9
|
GetBlobContentData,
|
|
15
|
-
GetBlobContentResponses,
|
|
16
10
|
GetBlobContentErrors,
|
|
11
|
+
GetBlobContentResponses,
|
|
12
|
+
GetBlobData,
|
|
13
|
+
GetBlobErrors,
|
|
17
14
|
GetBlockedContentData,
|
|
18
15
|
GetBlockedContentErrors,
|
|
16
|
+
GetConsumerBlobUploadUrlData,
|
|
17
|
+
GetConsumerBlobUploadUrlErrors,
|
|
18
|
+
GetConsumerBlobUploadUrlResponses,
|
|
19
|
+
GetResourceData,
|
|
20
|
+
GetResourceErrors,
|
|
21
|
+
GetResourceResponses,
|
|
22
|
+
GetStreamingBlobData,
|
|
23
|
+
GetStreamingBlobErrors,
|
|
24
|
+
GetStreamingBlobResponses,
|
|
25
|
+
GetWorkflowData,
|
|
26
|
+
GetWorkflowErrors,
|
|
27
|
+
GetWorkflowResponses,
|
|
28
|
+
GetWorkflowStepData,
|
|
29
|
+
GetWorkflowStepErrors,
|
|
30
|
+
GetWorkflowStepResponses,
|
|
31
|
+
HeadBlobData,
|
|
32
|
+
HeadBlobErrors,
|
|
33
|
+
HeadBlobResponses,
|
|
34
|
+
InvalidateResourceData,
|
|
35
|
+
InvalidateResourceErrors,
|
|
36
|
+
InvalidateResourceResponses,
|
|
37
|
+
InvalidateUserCacheData,
|
|
38
|
+
InvalidateUserCacheErrors,
|
|
39
|
+
InvalidateUserCacheResponses,
|
|
19
40
|
InvokeAceStepAudioStepTemplateData,
|
|
20
|
-
InvokeAceStepAudioStepTemplateResponses,
|
|
21
41
|
InvokeAceStepAudioStepTemplateErrors,
|
|
42
|
+
InvokeAceStepAudioStepTemplateResponses,
|
|
22
43
|
InvokeAgeClassificationStepTemplateData,
|
|
23
|
-
InvokeAgeClassificationStepTemplateResponses,
|
|
24
44
|
InvokeAgeClassificationStepTemplateErrors,
|
|
45
|
+
InvokeAgeClassificationStepTemplateResponses,
|
|
46
|
+
InvokeBatchOcrSafetyClassificationStepTemplateData,
|
|
47
|
+
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
48
|
+
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
25
49
|
InvokeChatCompletionStepTemplateData,
|
|
26
|
-
InvokeChatCompletionStepTemplateResponses,
|
|
27
50
|
InvokeChatCompletionStepTemplateErrors,
|
|
51
|
+
InvokeChatCompletionStepTemplateResponses,
|
|
28
52
|
InvokeComfyStepTemplateData,
|
|
29
|
-
InvokeComfyStepTemplateResponses,
|
|
30
53
|
InvokeComfyStepTemplateErrors,
|
|
54
|
+
InvokeComfyStepTemplateResponses,
|
|
31
55
|
InvokeConvertImageStepTemplateData,
|
|
32
|
-
InvokeConvertImageStepTemplateResponses,
|
|
33
56
|
InvokeConvertImageStepTemplateErrors,
|
|
57
|
+
InvokeConvertImageStepTemplateResponses,
|
|
34
58
|
InvokeEchoStepTemplateData,
|
|
35
|
-
InvokeEchoStepTemplateResponses,
|
|
36
59
|
InvokeEchoStepTemplateErrors,
|
|
60
|
+
InvokeEchoStepTemplateResponses,
|
|
61
|
+
InvokeHumanoidImageMaskStepTemplateData,
|
|
62
|
+
InvokeHumanoidImageMaskStepTemplateErrors,
|
|
63
|
+
InvokeHumanoidImageMaskStepTemplateResponses,
|
|
37
64
|
InvokeImageGenStepTemplateData,
|
|
38
|
-
InvokeImageGenStepTemplateResponses,
|
|
39
65
|
InvokeImageGenStepTemplateErrors,
|
|
66
|
+
InvokeImageGenStepTemplateResponses,
|
|
40
67
|
InvokeImageResourceTrainingStepTemplateData,
|
|
41
|
-
InvokeImageResourceTrainingStepTemplateResponses,
|
|
42
68
|
InvokeImageResourceTrainingStepTemplateErrors,
|
|
69
|
+
InvokeImageResourceTrainingStepTemplateResponses,
|
|
43
70
|
InvokeImageUploadStepTemplateData,
|
|
44
|
-
InvokeImageUploadStepTemplateResponses,
|
|
45
71
|
InvokeImageUploadStepTemplateErrors,
|
|
72
|
+
InvokeImageUploadStepTemplateResponses,
|
|
46
73
|
InvokeImageUpscalerStepTemplateData,
|
|
47
|
-
InvokeImageUpscalerStepTemplateResponses,
|
|
48
74
|
InvokeImageUpscalerStepTemplateErrors,
|
|
75
|
+
InvokeImageUpscalerStepTemplateResponses,
|
|
76
|
+
InvokeMediaCaptioningStepTemplateData,
|
|
77
|
+
InvokeMediaCaptioningStepTemplateErrors,
|
|
78
|
+
InvokeMediaCaptioningStepTemplateResponses,
|
|
49
79
|
InvokeMediaHashStepTemplateData,
|
|
50
|
-
InvokeMediaHashStepTemplateResponses,
|
|
51
80
|
InvokeMediaHashStepTemplateErrors,
|
|
81
|
+
InvokeMediaHashStepTemplateResponses,
|
|
52
82
|
InvokeMediaRatingStepTemplateData,
|
|
53
|
-
InvokeMediaRatingStepTemplateResponses,
|
|
54
83
|
InvokeMediaRatingStepTemplateErrors,
|
|
84
|
+
InvokeMediaRatingStepTemplateResponses,
|
|
55
85
|
InvokePreprocessImageStepTemplateData,
|
|
56
|
-
InvokePreprocessImageStepTemplateResponses,
|
|
57
86
|
InvokePreprocessImageStepTemplateErrors,
|
|
87
|
+
InvokePreprocessImageStepTemplateResponses,
|
|
88
|
+
InvokePromptEnhancementStepTemplateData,
|
|
89
|
+
InvokePromptEnhancementStepTemplateErrors,
|
|
90
|
+
InvokePromptEnhancementStepTemplateResponses,
|
|
91
|
+
InvokeRepeatStepTemplateData,
|
|
92
|
+
InvokeRepeatStepTemplateErrors,
|
|
93
|
+
InvokeRepeatStepTemplateResponses,
|
|
58
94
|
InvokeTextToImageStepTemplateData,
|
|
59
|
-
InvokeTextToImageStepTemplateResponses,
|
|
60
95
|
InvokeTextToImageStepTemplateErrors,
|
|
96
|
+
InvokeTextToImageStepTemplateResponses,
|
|
61
97
|
InvokeTextToSpeechStepTemplateData,
|
|
62
|
-
InvokeTextToSpeechStepTemplateResponses,
|
|
63
98
|
InvokeTextToSpeechStepTemplateErrors,
|
|
99
|
+
InvokeTextToSpeechStepTemplateResponses,
|
|
64
100
|
InvokeTrainingStepTemplateData,
|
|
65
|
-
InvokeTrainingStepTemplateResponses,
|
|
66
101
|
InvokeTrainingStepTemplateErrors,
|
|
102
|
+
InvokeTrainingStepTemplateResponses,
|
|
103
|
+
InvokeTranscodeStepTemplateData,
|
|
104
|
+
InvokeTranscodeStepTemplateErrors,
|
|
105
|
+
InvokeTranscodeStepTemplateResponses,
|
|
67
106
|
InvokeTranscriptionStepTemplateData,
|
|
68
|
-
InvokeTranscriptionStepTemplateResponses,
|
|
69
107
|
InvokeTranscriptionStepTemplateErrors,
|
|
108
|
+
InvokeTranscriptionStepTemplateResponses,
|
|
109
|
+
InvokeTryOnUStepTemplateData,
|
|
110
|
+
InvokeTryOnUStepTemplateErrors,
|
|
111
|
+
InvokeTryOnUStepTemplateResponses,
|
|
70
112
|
InvokeVideoEnhancementStepTemplateData,
|
|
71
|
-
InvokeVideoEnhancementStepTemplateResponses,
|
|
72
113
|
InvokeVideoEnhancementStepTemplateErrors,
|
|
114
|
+
InvokeVideoEnhancementStepTemplateResponses,
|
|
73
115
|
InvokeVideoFrameExtractionStepTemplateData,
|
|
74
|
-
InvokeVideoFrameExtractionStepTemplateResponses,
|
|
75
116
|
InvokeVideoFrameExtractionStepTemplateErrors,
|
|
117
|
+
InvokeVideoFrameExtractionStepTemplateResponses,
|
|
76
118
|
InvokeVideoGenStepTemplateData,
|
|
77
|
-
InvokeVideoGenStepTemplateResponses,
|
|
78
119
|
InvokeVideoGenStepTemplateErrors,
|
|
120
|
+
InvokeVideoGenStepTemplateResponses,
|
|
79
121
|
InvokeVideoInterpolationStepTemplateData,
|
|
80
|
-
InvokeVideoInterpolationStepTemplateResponses,
|
|
81
122
|
InvokeVideoInterpolationStepTemplateErrors,
|
|
123
|
+
InvokeVideoInterpolationStepTemplateResponses,
|
|
82
124
|
InvokeVideoMetadataStepTemplateData,
|
|
83
|
-
InvokeVideoMetadataStepTemplateResponses,
|
|
84
125
|
InvokeVideoMetadataStepTemplateErrors,
|
|
126
|
+
InvokeVideoMetadataStepTemplateResponses,
|
|
85
127
|
InvokeVideoUpscalerStepTemplateData,
|
|
86
|
-
InvokeVideoUpscalerStepTemplateResponses,
|
|
87
128
|
InvokeVideoUpscalerStepTemplateErrors,
|
|
129
|
+
InvokeVideoUpscalerStepTemplateResponses,
|
|
88
130
|
InvokeWdTaggingStepTemplateData,
|
|
89
|
-
InvokeWdTaggingStepTemplateResponses,
|
|
90
131
|
InvokeWdTaggingStepTemplateErrors,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
GetResourceResponses,
|
|
96
|
-
GetResourceErrors,
|
|
97
|
-
GetStreamingBlobData,
|
|
98
|
-
GetStreamingBlobResponses,
|
|
99
|
-
GetStreamingBlobErrors,
|
|
100
|
-
QueryWorkflowsData,
|
|
101
|
-
QueryWorkflowsResponses,
|
|
102
|
-
QueryWorkflowsErrors,
|
|
103
|
-
SubmitWorkflowData,
|
|
104
|
-
SubmitWorkflowResponses,
|
|
105
|
-
SubmitWorkflowErrors,
|
|
106
|
-
DeleteWorkflowData,
|
|
107
|
-
DeleteWorkflowResponses,
|
|
108
|
-
DeleteWorkflowErrors,
|
|
109
|
-
GetWorkflowData,
|
|
110
|
-
GetWorkflowResponses,
|
|
111
|
-
GetWorkflowErrors,
|
|
132
|
+
InvokeWdTaggingStepTemplateResponses,
|
|
133
|
+
InvokeXGuardModerationStepTemplateData,
|
|
134
|
+
InvokeXGuardModerationStepTemplateErrors,
|
|
135
|
+
InvokeXGuardModerationStepTemplateResponses,
|
|
112
136
|
PatchWorkflowData,
|
|
113
|
-
PatchWorkflowResponses,
|
|
114
137
|
PatchWorkflowErrors,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
138
|
+
PatchWorkflowResponses,
|
|
139
|
+
PatchWorkflowStepData,
|
|
140
|
+
PatchWorkflowStepErrors,
|
|
141
|
+
PatchWorkflowStepResponses,
|
|
142
|
+
QueryWorkflowsData,
|
|
143
|
+
QueryWorkflowsErrors,
|
|
144
|
+
QueryWorkflowsResponses,
|
|
145
|
+
RefreshBlobData,
|
|
146
|
+
RefreshBlobErrors,
|
|
147
|
+
RefreshBlobResponses,
|
|
118
148
|
RemoveAllWorkflowTagsData,
|
|
119
|
-
RemoveAllWorkflowTagsResponses,
|
|
120
149
|
RemoveAllWorkflowTagsErrors,
|
|
121
|
-
|
|
122
|
-
AddWorkflowTagResponses,
|
|
123
|
-
AddWorkflowTagErrors,
|
|
150
|
+
RemoveAllWorkflowTagsResponses,
|
|
124
151
|
RemoveWorkflowTagData,
|
|
125
|
-
RemoveWorkflowTagResponses,
|
|
126
152
|
RemoveWorkflowTagErrors,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
153
|
+
RemoveWorkflowTagResponses,
|
|
154
|
+
SubmitWorkflowData,
|
|
155
|
+
SubmitWorkflowErrors,
|
|
156
|
+
SubmitWorkflowResponses,
|
|
157
|
+
UpdateWorkflowData,
|
|
158
|
+
UpdateWorkflowErrors,
|
|
159
|
+
UpdateWorkflowResponses,
|
|
133
160
|
UpdateWorkflowStepData,
|
|
134
|
-
UpdateWorkflowStepResponses,
|
|
135
161
|
UpdateWorkflowStepErrors,
|
|
162
|
+
UpdateWorkflowStepResponses,
|
|
163
|
+
UploadConsumerBlobData,
|
|
164
|
+
UploadConsumerBlobErrors,
|
|
165
|
+
UploadConsumerBlobResponses,
|
|
136
166
|
} from './types.gen';
|
|
137
167
|
export type Options<
|
|
138
168
|
TData extends TDataShape = TDataShape,
|
|
139
169
|
ThrowOnError extends boolean = boolean,
|
|
140
|
-
> =
|
|
170
|
+
> = Options2<TData, ThrowOnError> & {
|
|
141
171
|
/**
|
|
142
172
|
* You can provide a client instance returned by `createClient()` instead of
|
|
143
173
|
* individual options. This might be also useful if you want to implement a
|
|
@@ -203,6 +233,26 @@ export declare const getBlobContent: <ThrowOnError extends boolean = false>(
|
|
|
203
233
|
export declare const getBlockedContent: <ThrowOnError extends boolean = false>(
|
|
204
234
|
options: Options<GetBlockedContentData, ThrowOnError>
|
|
205
235
|
) => import('./client').RequestResult<unknown, GetBlockedContentErrors, ThrowOnError, 'fields'>;
|
|
236
|
+
/**
|
|
237
|
+
* Refresh a blob's URL and debounce its lifetime.
|
|
238
|
+
* Returns a fresh presigned URL and resets the 30-day TTL.
|
|
239
|
+
*/
|
|
240
|
+
export declare const refreshBlob: <ThrowOnError extends boolean = false>(
|
|
241
|
+
options: Options<RefreshBlobData, ThrowOnError>
|
|
242
|
+
) => import('./client').RequestResult<
|
|
243
|
+
RefreshBlobResponses,
|
|
244
|
+
RefreshBlobErrors,
|
|
245
|
+
ThrowOnError,
|
|
246
|
+
'fields'
|
|
247
|
+
>;
|
|
248
|
+
export declare const invalidateUserCache: <ThrowOnError extends boolean = false>(
|
|
249
|
+
options: Options<InvalidateUserCacheData, ThrowOnError>
|
|
250
|
+
) => import('./client').RequestResult<
|
|
251
|
+
InvalidateUserCacheResponses,
|
|
252
|
+
InvalidateUserCacheErrors,
|
|
253
|
+
ThrowOnError,
|
|
254
|
+
'fields'
|
|
255
|
+
>;
|
|
206
256
|
/**
|
|
207
257
|
* Workflow step for generating music using ACE Step 1.5.
|
|
208
258
|
* /// Produces full songs from text descriptions and structured lyrics.
|
|
@@ -217,6 +267,7 @@ export declare const invokeAceStepAudioStepTemplate: <ThrowOnError extends boole
|
|
|
217
267
|
>;
|
|
218
268
|
/**
|
|
219
269
|
* Age classification
|
|
270
|
+
*
|
|
220
271
|
* Detects minors in media content. Returns a boolean value indicating whether the content contains minors as well as details on where minors are detected.
|
|
221
272
|
*/
|
|
222
273
|
export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -227,8 +278,19 @@ export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends
|
|
|
227
278
|
ThrowOnError,
|
|
228
279
|
'fields'
|
|
229
280
|
>;
|
|
281
|
+
export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
|
|
282
|
+
ThrowOnError extends boolean = false,
|
|
283
|
+
>(
|
|
284
|
+
options?: Options<InvokeBatchOcrSafetyClassificationStepTemplateData, ThrowOnError>
|
|
285
|
+
) => import('./client').RequestResult<
|
|
286
|
+
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
287
|
+
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
288
|
+
ThrowOnError,
|
|
289
|
+
'fields'
|
|
290
|
+
>;
|
|
230
291
|
/**
|
|
231
292
|
* ChatCompletion
|
|
293
|
+
*
|
|
232
294
|
* Generate chat completions using language models with support for text and image inputs.
|
|
233
295
|
* /// Compatible with OpenAI Chat Completions API format.
|
|
234
296
|
*/
|
|
@@ -242,6 +304,7 @@ export declare const invokeChatCompletionStepTemplate: <ThrowOnError extends boo
|
|
|
242
304
|
>;
|
|
243
305
|
/**
|
|
244
306
|
* Comfy workflows
|
|
307
|
+
*
|
|
245
308
|
* Runs a comfy workflow. Currently there are limited nodes available. Contact support for more information.
|
|
246
309
|
*/
|
|
247
310
|
export declare const invokeComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -265,6 +328,7 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
|
|
|
265
328
|
>;
|
|
266
329
|
/**
|
|
267
330
|
* Echo
|
|
331
|
+
*
|
|
268
332
|
* A workflow step that takes a message string and retuns it.
|
|
269
333
|
* /// This step is intended for testing purposes.
|
|
270
334
|
*/
|
|
@@ -276,8 +340,17 @@ export declare const invokeEchoStepTemplate: <ThrowOnError extends boolean = fal
|
|
|
276
340
|
ThrowOnError,
|
|
277
341
|
'fields'
|
|
278
342
|
>;
|
|
343
|
+
export declare const invokeHumanoidImageMaskStepTemplate: <ThrowOnError extends boolean = false>(
|
|
344
|
+
options?: Options<InvokeHumanoidImageMaskStepTemplateData, ThrowOnError>
|
|
345
|
+
) => import('./client').RequestResult<
|
|
346
|
+
InvokeHumanoidImageMaskStepTemplateResponses,
|
|
347
|
+
InvokeHumanoidImageMaskStepTemplateErrors,
|
|
348
|
+
ThrowOnError,
|
|
349
|
+
'fields'
|
|
350
|
+
>;
|
|
279
351
|
/**
|
|
280
352
|
* Image Generation
|
|
353
|
+
*
|
|
281
354
|
* Generate images through text/image inputs using any of our supported engines
|
|
282
355
|
*/
|
|
283
356
|
export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -290,6 +363,7 @@ export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean =
|
|
|
290
363
|
>;
|
|
291
364
|
/**
|
|
292
365
|
* LORA Training
|
|
366
|
+
*
|
|
293
367
|
* Train LORA's
|
|
294
368
|
*/
|
|
295
369
|
export declare const invokeImageResourceTrainingStepTemplate: <
|
|
@@ -304,6 +378,7 @@ export declare const invokeImageResourceTrainingStepTemplate: <
|
|
|
304
378
|
>;
|
|
305
379
|
/**
|
|
306
380
|
* Image upload
|
|
381
|
+
*
|
|
307
382
|
* Uploads an image to be used in a workflow
|
|
308
383
|
*/
|
|
309
384
|
export declare const invokeImageUploadStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -322,8 +397,22 @@ export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
322
397
|
ThrowOnError,
|
|
323
398
|
'fields'
|
|
324
399
|
>;
|
|
400
|
+
/**
|
|
401
|
+
* Media Captioning
|
|
402
|
+
*
|
|
403
|
+
* Generates a descriptive caption for a single media item using the JoyCaption model.
|
|
404
|
+
*/
|
|
405
|
+
export declare const invokeMediaCaptioningStepTemplate: <ThrowOnError extends boolean = false>(
|
|
406
|
+
options?: Options<InvokeMediaCaptioningStepTemplateData, ThrowOnError>
|
|
407
|
+
) => import('./client').RequestResult<
|
|
408
|
+
InvokeMediaCaptioningStepTemplateResponses,
|
|
409
|
+
InvokeMediaCaptioningStepTemplateErrors,
|
|
410
|
+
ThrowOnError,
|
|
411
|
+
'fields'
|
|
412
|
+
>;
|
|
325
413
|
/**
|
|
326
414
|
* MediaHash
|
|
415
|
+
*
|
|
327
416
|
* Generates perceptual hashes for media content to enable similarity detection and duplicate identification.
|
|
328
417
|
*/
|
|
329
418
|
export declare const invokeMediaHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -336,6 +425,7 @@ export declare const invokeMediaHashStepTemplate: <ThrowOnError extends boolean
|
|
|
336
425
|
>;
|
|
337
426
|
/**
|
|
338
427
|
* MediaRating
|
|
428
|
+
*
|
|
339
429
|
* Performs NSFW level detection and content safety classification on media content.
|
|
340
430
|
*/
|
|
341
431
|
export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -354,8 +444,34 @@ export declare const invokePreprocessImageStepTemplate: <ThrowOnError extends bo
|
|
|
354
444
|
ThrowOnError,
|
|
355
445
|
'fields'
|
|
356
446
|
>;
|
|
447
|
+
/**
|
|
448
|
+
* PromptEnhancement
|
|
449
|
+
*
|
|
450
|
+
* Analyzes and enhances user prompts for a specific AI ecosystem.
|
|
451
|
+
* /// Returns detected issues, recommendations, and improved prompt variants.
|
|
452
|
+
*/
|
|
453
|
+
export declare const invokePromptEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
454
|
+
options?: Options<InvokePromptEnhancementStepTemplateData, ThrowOnError>
|
|
455
|
+
) => import('./client').RequestResult<
|
|
456
|
+
InvokePromptEnhancementStepTemplateResponses,
|
|
457
|
+
InvokePromptEnhancementStepTemplateErrors,
|
|
458
|
+
ThrowOnError,
|
|
459
|
+
'fields'
|
|
460
|
+
>;
|
|
461
|
+
/**
|
|
462
|
+
* Repeat workflow step.
|
|
463
|
+
*/
|
|
464
|
+
export declare const invokeRepeatStepTemplate: <ThrowOnError extends boolean = false>(
|
|
465
|
+
options?: Options<InvokeRepeatStepTemplateData, ThrowOnError>
|
|
466
|
+
) => import('./client').RequestResult<
|
|
467
|
+
InvokeRepeatStepTemplateResponses,
|
|
468
|
+
InvokeRepeatStepTemplateErrors,
|
|
469
|
+
ThrowOnError,
|
|
470
|
+
'fields'
|
|
471
|
+
>;
|
|
357
472
|
/**
|
|
358
473
|
* TextToImage
|
|
474
|
+
*
|
|
359
475
|
* Generate images using text as input
|
|
360
476
|
*/
|
|
361
477
|
export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -368,6 +484,7 @@ export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolea
|
|
|
368
484
|
>;
|
|
369
485
|
/**
|
|
370
486
|
* Text-to-Speech
|
|
487
|
+
*
|
|
371
488
|
* Synthesizes speech from text, supporting both voice cloning (Base mode with reference audio) and built-in speakers (CustomVoice mode).
|
|
372
489
|
*/
|
|
373
490
|
export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -380,6 +497,7 @@ export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boole
|
|
|
380
497
|
>;
|
|
381
498
|
/**
|
|
382
499
|
* Training
|
|
500
|
+
*
|
|
383
501
|
* A workflow step for training machine learning models (LoRAs, checkpoints, etc.)
|
|
384
502
|
* /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
|
|
385
503
|
* /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
|
|
@@ -392,8 +510,20 @@ export declare const invokeTrainingStepTemplate: <ThrowOnError extends boolean =
|
|
|
392
510
|
ThrowOnError,
|
|
393
511
|
'fields'
|
|
394
512
|
>;
|
|
513
|
+
/**
|
|
514
|
+
* Transcoding
|
|
515
|
+
*/
|
|
516
|
+
export declare const invokeTranscodeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
517
|
+
options?: Options<InvokeTranscodeStepTemplateData, ThrowOnError>
|
|
518
|
+
) => import('./client').RequestResult<
|
|
519
|
+
InvokeTranscodeStepTemplateResponses,
|
|
520
|
+
InvokeTranscodeStepTemplateErrors,
|
|
521
|
+
ThrowOnError,
|
|
522
|
+
'fields'
|
|
523
|
+
>;
|
|
395
524
|
/**
|
|
396
525
|
* Transcription
|
|
526
|
+
*
|
|
397
527
|
* Performs automatic speech recognition (ASR) on audio media, returning transcribed text with optional timestamps.
|
|
398
528
|
*/
|
|
399
529
|
export declare const invokeTranscriptionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -404,6 +534,14 @@ export declare const invokeTranscriptionStepTemplate: <ThrowOnError extends bool
|
|
|
404
534
|
ThrowOnError,
|
|
405
535
|
'fields'
|
|
406
536
|
>;
|
|
537
|
+
export declare const invokeTryOnUStepTemplate: <ThrowOnError extends boolean = false>(
|
|
538
|
+
options?: Options<InvokeTryOnUStepTemplateData, ThrowOnError>
|
|
539
|
+
) => import('./client').RequestResult<
|
|
540
|
+
InvokeTryOnUStepTemplateResponses,
|
|
541
|
+
InvokeTryOnUStepTemplateErrors,
|
|
542
|
+
ThrowOnError,
|
|
543
|
+
'fields'
|
|
544
|
+
>;
|
|
407
545
|
/**
|
|
408
546
|
* Upscale videos and/or interpolate frames
|
|
409
547
|
*/
|
|
@@ -417,6 +555,7 @@ export declare const invokeVideoEnhancementStepTemplate: <ThrowOnError extends b
|
|
|
417
555
|
>;
|
|
418
556
|
/**
|
|
419
557
|
* Video Frame Extraction
|
|
558
|
+
*
|
|
420
559
|
* Extracts unique frames from a video at a specified rate using perceptual hashing to filter out duplicate/similar frames.
|
|
421
560
|
* /// Useful for generating video previews, storyboards, or analyzing video content.
|
|
422
561
|
*/
|
|
@@ -430,6 +569,7 @@ export declare const invokeVideoFrameExtractionStepTemplate: <ThrowOnError exten
|
|
|
430
569
|
>;
|
|
431
570
|
/**
|
|
432
571
|
* Video generation
|
|
572
|
+
*
|
|
433
573
|
* Generate videos through text/image inputs using any of our supported engines
|
|
434
574
|
*/
|
|
435
575
|
export declare const invokeVideoGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -475,6 +615,7 @@ export declare const invokeVideoUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
475
615
|
>;
|
|
476
616
|
/**
|
|
477
617
|
* WDTagging
|
|
618
|
+
*
|
|
478
619
|
* Performs Waifu Diffusion tagging on media content to identify characteristics, objects, and themes.
|
|
479
620
|
*/
|
|
480
621
|
export declare const invokeWdTaggingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -485,6 +626,20 @@ export declare const invokeWdTaggingStepTemplate: <ThrowOnError extends boolean
|
|
|
485
626
|
ThrowOnError,
|
|
486
627
|
'fields'
|
|
487
628
|
>;
|
|
629
|
+
/**
|
|
630
|
+
* XGuardModeration
|
|
631
|
+
*
|
|
632
|
+
* Evaluate text or generation prompts against XGuard content moderation policies.
|
|
633
|
+
* /// Generates one ChatCompletion job per label and aggregates results with logprob-based scoring.
|
|
634
|
+
*/
|
|
635
|
+
export declare const invokeXGuardModerationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
636
|
+
options?: Options<InvokeXGuardModerationStepTemplateData, ThrowOnError>
|
|
637
|
+
) => import('./client').RequestResult<
|
|
638
|
+
InvokeXGuardModerationStepTemplateResponses,
|
|
639
|
+
InvokeXGuardModerationStepTemplateErrors,
|
|
640
|
+
ThrowOnError,
|
|
641
|
+
'fields'
|
|
642
|
+
>;
|
|
488
643
|
/**
|
|
489
644
|
* Invalidates the cache of a specific resource.
|
|
490
645
|
*/
|
|
@@ -539,6 +694,7 @@ export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
539
694
|
>;
|
|
540
695
|
/**
|
|
541
696
|
* Delete workflow
|
|
697
|
+
*
|
|
542
698
|
* This will delete a workflow. This may trigger a refund if the work requested with this workflow has not yet started
|
|
543
699
|
*/
|
|
544
700
|
export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
|
|
@@ -562,6 +718,7 @@ export declare const getWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
562
718
|
>;
|
|
563
719
|
/**
|
|
564
720
|
* Patch workflow
|
|
721
|
+
*
|
|
565
722
|
* Patches a worfklow using JSON Patch. This can currently be used to cancel a worfklow, update metadata and add additional tags
|
|
566
723
|
*/
|
|
567
724
|
export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
@@ -574,6 +731,7 @@ export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
574
731
|
>;
|
|
575
732
|
/**
|
|
576
733
|
* Update workflow
|
|
734
|
+
*
|
|
577
735
|
* Updates a worfklow. This can currently be used to cancel a worfklow or override metadata and/or tags
|
|
578
736
|
*/
|
|
579
737
|
export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
|
|
@@ -597,6 +755,7 @@ export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = fals
|
|
|
597
755
|
>;
|
|
598
756
|
/**
|
|
599
757
|
* Add workflow tag
|
|
758
|
+
*
|
|
600
759
|
* Adds a tag to a workflow
|
|
601
760
|
*/
|
|
602
761
|
export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
|