@civitai/orchestration-client 0.2.0-beta.119 → 0.2.0-beta.121
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/index.d.ts +66 -0
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +104 -25
- package/dist/generated/sdk.gen.js +101 -25
- package/dist/generated/types.gen.d.ts +818 -2167
- package/dist/generated/types.gen.js +1 -33
- package/package.json +1 -1
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export {
|
|
2
2
|
addWorkflowTag,
|
|
3
3
|
appendStreamingBlob,
|
|
4
|
+
createFund,
|
|
5
|
+
deleteFund,
|
|
4
6
|
deleteWorkflow,
|
|
7
|
+
depositIntoFund,
|
|
5
8
|
getBlob,
|
|
6
9
|
getBlobArchive,
|
|
7
10
|
getBlobContent,
|
|
8
11
|
getBlockedContent,
|
|
9
12
|
getConsumerBlobUploadUrl,
|
|
10
13
|
getFreeTier,
|
|
14
|
+
getFund,
|
|
11
15
|
getResource,
|
|
12
16
|
getService,
|
|
13
17
|
getStreamingBlob,
|
|
@@ -37,6 +41,7 @@ export {
|
|
|
37
41
|
invokeImageToSvgStepTemplate,
|
|
38
42
|
invokeImageUploadStepTemplate,
|
|
39
43
|
invokeImageUpscalerStepTemplate,
|
|
44
|
+
invokeLiveTextToSpeechStepTemplate,
|
|
40
45
|
invokeLiveTranscriptionStepTemplate,
|
|
41
46
|
invokeMediaCaptioningStepTemplate,
|
|
42
47
|
invokeMediaHashStepTemplate,
|
|
@@ -53,6 +58,7 @@ export {
|
|
|
53
58
|
invokePreprocessImageStepTemplate,
|
|
54
59
|
invokePreprocessVideoStepTemplate,
|
|
55
60
|
invokePromptEnhancementStepTemplate,
|
|
61
|
+
invokePromptModerationStepTemplate,
|
|
56
62
|
invokeQwenImageBenchStepTemplate,
|
|
57
63
|
invokeRepeatStepTemplate,
|
|
58
64
|
invokeShieldstralModerationStepTemplate,
|
|
@@ -85,6 +91,7 @@ export {
|
|
|
85
91
|
removeAllWorkflowTags,
|
|
86
92
|
removeWorkflowTag,
|
|
87
93
|
submitWorkflow,
|
|
94
|
+
updateFund,
|
|
88
95
|
updateWorkflow,
|
|
89
96
|
updateWorkflowStep,
|
|
90
97
|
uploadConsumerBlob,
|
|
@@ -311,6 +318,10 @@ export {
|
|
|
311
318
|
type ComfyQwen21EditImageGenInput,
|
|
312
319
|
type ComfyQwen21EditImageGenInputWritable,
|
|
313
320
|
type ComfyQwen21ImageGenInput,
|
|
321
|
+
type ComfyQwen21TurboCreateImageGenInput,
|
|
322
|
+
type ComfyQwen21TurboEditImageGenInput,
|
|
323
|
+
type ComfyQwen21TurboEditImageGenInputWritable,
|
|
324
|
+
type ComfyQwen21TurboImageGenInput,
|
|
314
325
|
type ComfyQwenImageGenInput,
|
|
315
326
|
ComfySampler,
|
|
316
327
|
ComfyScheduler,
|
|
@@ -342,6 +353,11 @@ export {
|
|
|
342
353
|
type ConvertImageOutput,
|
|
343
354
|
type ConvertImageStep,
|
|
344
355
|
type ConvertImageStepTemplate,
|
|
356
|
+
type CreateFundData,
|
|
357
|
+
type CreateFundError,
|
|
358
|
+
type CreateFundErrors,
|
|
359
|
+
type CreateFundResponse,
|
|
360
|
+
type CreateFundResponses,
|
|
345
361
|
type CursedArrayOfStringAndResourceInfo,
|
|
346
362
|
type CursedArrayOfTelemetryCursorAndWorkflow,
|
|
347
363
|
type CursedArrayOfTelemetryCursorAndWorkflowWritable,
|
|
@@ -351,6 +367,11 @@ export {
|
|
|
351
367
|
type CustomComfyStepTemplate,
|
|
352
368
|
type CustomComfyUsage,
|
|
353
369
|
type CustomTextToSpeechInput,
|
|
370
|
+
type DeleteFundData,
|
|
371
|
+
type DeleteFundError,
|
|
372
|
+
type DeleteFundErrors,
|
|
373
|
+
type DeleteFundResponse,
|
|
374
|
+
type DeleteFundResponses,
|
|
354
375
|
type DeleteWorkflowData,
|
|
355
376
|
type DeleteWorkflowError,
|
|
356
377
|
type DeleteWorkflowErrors,
|
|
@@ -358,6 +379,11 @@ export {
|
|
|
358
379
|
type DeleteWorkflowResponses,
|
|
359
380
|
DensePoseColormap,
|
|
360
381
|
DensePoseModel,
|
|
382
|
+
type DepositIntoFundData,
|
|
383
|
+
type DepositIntoFundError,
|
|
384
|
+
type DepositIntoFundErrors,
|
|
385
|
+
type DepositIntoFundResponse,
|
|
386
|
+
type DepositIntoFundResponses,
|
|
361
387
|
DepthAnythingCheckpoint,
|
|
362
388
|
DepthAnythingV2Checkpoint,
|
|
363
389
|
DwPoseBboxDetector,
|
|
@@ -446,6 +472,10 @@ export {
|
|
|
446
472
|
type FreeTierModelResponse,
|
|
447
473
|
type FreeTierResponse,
|
|
448
474
|
type FreeTierWindowResponse,
|
|
475
|
+
type FundDeposit,
|
|
476
|
+
type FundResponse,
|
|
477
|
+
type FundTemplate,
|
|
478
|
+
type FundUpdate,
|
|
449
479
|
type Gemini25FlashCreateImageGenInput,
|
|
450
480
|
type Gemini25FlashEditImageGenInput,
|
|
451
481
|
type Gemini25FlashImageGenInput,
|
|
@@ -478,6 +508,11 @@ export {
|
|
|
478
508
|
type GetFreeTierErrors,
|
|
479
509
|
type GetFreeTierResponse,
|
|
480
510
|
type GetFreeTierResponses,
|
|
511
|
+
type GetFundData,
|
|
512
|
+
type GetFundError,
|
|
513
|
+
type GetFundErrors,
|
|
514
|
+
type GetFundResponse,
|
|
515
|
+
type GetFundResponses,
|
|
481
516
|
type GetResourceData,
|
|
482
517
|
type GetResourceError,
|
|
483
518
|
type GetResourceErrors,
|
|
@@ -723,6 +758,11 @@ export {
|
|
|
723
758
|
type InvokeImageUpscalerStepTemplateErrors,
|
|
724
759
|
type InvokeImageUpscalerStepTemplateResponse,
|
|
725
760
|
type InvokeImageUpscalerStepTemplateResponses,
|
|
761
|
+
type InvokeLiveTextToSpeechStepTemplateData,
|
|
762
|
+
type InvokeLiveTextToSpeechStepTemplateError,
|
|
763
|
+
type InvokeLiveTextToSpeechStepTemplateErrors,
|
|
764
|
+
type InvokeLiveTextToSpeechStepTemplateResponse,
|
|
765
|
+
type InvokeLiveTextToSpeechStepTemplateResponses,
|
|
726
766
|
type InvokeLiveTranscriptionStepTemplateData,
|
|
727
767
|
type InvokeLiveTranscriptionStepTemplateError,
|
|
728
768
|
type InvokeLiveTranscriptionStepTemplateErrors,
|
|
@@ -803,6 +843,11 @@ export {
|
|
|
803
843
|
type InvokePromptEnhancementStepTemplateErrors,
|
|
804
844
|
type InvokePromptEnhancementStepTemplateResponse,
|
|
805
845
|
type InvokePromptEnhancementStepTemplateResponses,
|
|
846
|
+
type InvokePromptModerationStepTemplateData,
|
|
847
|
+
type InvokePromptModerationStepTemplateError,
|
|
848
|
+
type InvokePromptModerationStepTemplateErrors,
|
|
849
|
+
type InvokePromptModerationStepTemplateResponse,
|
|
850
|
+
type InvokePromptModerationStepTemplateResponses,
|
|
806
851
|
type InvokeQwenImageBenchStepTemplateData,
|
|
807
852
|
type InvokeQwenImageBenchStepTemplateError,
|
|
808
853
|
type InvokeQwenImageBenchStepTemplateErrors,
|
|
@@ -937,6 +982,7 @@ export {
|
|
|
937
982
|
type Krea2CreateFalImageGenInput,
|
|
938
983
|
type Krea2FalImageGenInput,
|
|
939
984
|
type Krea2StyleReference,
|
|
985
|
+
type Krea3ImageGenInput,
|
|
940
986
|
type KreaCreateImageGenInput,
|
|
941
987
|
type KreaImageGenInput,
|
|
942
988
|
LeresBoost,
|
|
@@ -947,10 +993,17 @@ export {
|
|
|
947
993
|
type ListServicesErrors,
|
|
948
994
|
type ListServicesResponse,
|
|
949
995
|
type ListServicesResponses,
|
|
996
|
+
type LiveQwen3CustomVoiceTtsInput,
|
|
997
|
+
type LiveQwen3TextToSpeechInput,
|
|
998
|
+
type LiveTextToSpeechInput,
|
|
999
|
+
type LiveTextToSpeechOutput,
|
|
1000
|
+
type LiveTextToSpeechStep,
|
|
1001
|
+
type LiveTextToSpeechStepTemplate,
|
|
950
1002
|
type LiveTranscriptionInput,
|
|
951
1003
|
type LiveTranscriptionOutput,
|
|
952
1004
|
type LiveTranscriptionStep,
|
|
953
1005
|
type LiveTranscriptionStepTemplate,
|
|
1006
|
+
type LiveVllmOmniTextToSpeechInput,
|
|
954
1007
|
type LoadingResourceAvailability,
|
|
955
1008
|
type Ltx23AiToolkitTrainingInput,
|
|
956
1009
|
type Ltx23AiToolkitTrainingInputWritable,
|
|
@@ -1209,6 +1262,11 @@ export {
|
|
|
1209
1262
|
type PromptEnhancementStep,
|
|
1210
1263
|
type PromptEnhancementStepTemplate,
|
|
1211
1264
|
type PromptIssue,
|
|
1265
|
+
type PromptModerationInput,
|
|
1266
|
+
type PromptModerationLabelResult,
|
|
1267
|
+
type PromptModerationOutput,
|
|
1268
|
+
type PromptModerationStep,
|
|
1269
|
+
type PromptModerationStepTemplate,
|
|
1212
1270
|
type QueryResourcesData,
|
|
1213
1271
|
type QueryResourcesError,
|
|
1214
1272
|
type QueryResourcesErrors,
|
|
@@ -1373,6 +1431,11 @@ export {
|
|
|
1373
1431
|
type UniRigPolyGenInput,
|
|
1374
1432
|
type UniRigRigPolyGenInput,
|
|
1375
1433
|
type UnsupportedResourceAvailability,
|
|
1434
|
+
type UpdateFundData,
|
|
1435
|
+
type UpdateFundError,
|
|
1436
|
+
type UpdateFundErrors,
|
|
1437
|
+
type UpdateFundResponse,
|
|
1438
|
+
type UpdateFundResponses,
|
|
1376
1439
|
type UpdateWorkflowData,
|
|
1377
1440
|
type UpdateWorkflowError,
|
|
1378
1441
|
type UpdateWorkflowErrors,
|
|
@@ -1436,6 +1499,9 @@ export {
|
|
|
1436
1499
|
type VideoUpscalerStep,
|
|
1437
1500
|
type VideoUpscalerStepTemplate,
|
|
1438
1501
|
type ViduQ3VideoGenInput,
|
|
1502
|
+
type ViduQ4ImageToVideoInput,
|
|
1503
|
+
type ViduQ4ReferenceToVideoInput,
|
|
1504
|
+
type ViduQ4VideoGenInput,
|
|
1439
1505
|
type ViduVideoGenInput,
|
|
1440
1506
|
ViduVideoGenModel,
|
|
1441
1507
|
ViduVideoGenStyle,
|
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { addWorkflowTag, appendStreamingBlob, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, ingestConsumerBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTranscriptionStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeSoniloAudioGenStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
2
|
+
export { addWorkflowTag, appendStreamingBlob, createFund, deleteFund, deleteWorkflow, depositIntoFund, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getFund, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, ingestConsumerBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTextToSpeechStepTemplate, invokeLiveTranscriptionStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokePromptModerationStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeSoniloAudioGenStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateFund, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
3
|
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, GeminiOmniModel, GeminiOmniResolution, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HiDreamI1Precision, HiDreamI1Variant, HumanoidImageMaskCategory, ImageBackgroundRemovalFormat, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaContainer, MediaFit, MediaHashType, MediaOutputType, MergeMissingBehavior, MergeReducer, Metric3dBackbone, MiniMaxVideoGenModel, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, ResourceView, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, ServiceStatus, SettlementCurrency, ShadowRemoval, TraceMode, TrainingModerationStatus, TrainingTraceMode, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowStepWarningCode, WorkflowTier, WorkflowUpgradeMode, WorkflowWaitUntil, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen';
|
|
@@ -6,9 +6,18 @@ import type {
|
|
|
6
6
|
AppendStreamingBlobData,
|
|
7
7
|
AppendStreamingBlobErrors,
|
|
8
8
|
AppendStreamingBlobResponses,
|
|
9
|
+
CreateFundData,
|
|
10
|
+
CreateFundErrors,
|
|
11
|
+
CreateFundResponses,
|
|
12
|
+
DeleteFundData,
|
|
13
|
+
DeleteFundErrors,
|
|
14
|
+
DeleteFundResponses,
|
|
9
15
|
DeleteWorkflowData,
|
|
10
16
|
DeleteWorkflowErrors,
|
|
11
17
|
DeleteWorkflowResponses,
|
|
18
|
+
DepositIntoFundData,
|
|
19
|
+
DepositIntoFundErrors,
|
|
20
|
+
DepositIntoFundResponses,
|
|
12
21
|
GetBlobArchiveData,
|
|
13
22
|
GetBlobArchiveErrors,
|
|
14
23
|
GetBlobArchiveResponses,
|
|
@@ -25,6 +34,9 @@ import type {
|
|
|
25
34
|
GetFreeTierData,
|
|
26
35
|
GetFreeTierErrors,
|
|
27
36
|
GetFreeTierResponses,
|
|
37
|
+
GetFundData,
|
|
38
|
+
GetFundErrors,
|
|
39
|
+
GetFundResponses,
|
|
28
40
|
GetResourceData,
|
|
29
41
|
GetResourceErrors,
|
|
30
42
|
GetResourceResponses,
|
|
@@ -112,6 +124,9 @@ import type {
|
|
|
112
124
|
InvokeImageUpscalerStepTemplateData,
|
|
113
125
|
InvokeImageUpscalerStepTemplateErrors,
|
|
114
126
|
InvokeImageUpscalerStepTemplateResponses,
|
|
127
|
+
InvokeLiveTextToSpeechStepTemplateData,
|
|
128
|
+
InvokeLiveTextToSpeechStepTemplateErrors,
|
|
129
|
+
InvokeLiveTextToSpeechStepTemplateResponses,
|
|
115
130
|
InvokeLiveTranscriptionStepTemplateData,
|
|
116
131
|
InvokeLiveTranscriptionStepTemplateErrors,
|
|
117
132
|
InvokeLiveTranscriptionStepTemplateResponses,
|
|
@@ -160,6 +175,9 @@ import type {
|
|
|
160
175
|
InvokePromptEnhancementStepTemplateData,
|
|
161
176
|
InvokePromptEnhancementStepTemplateErrors,
|
|
162
177
|
InvokePromptEnhancementStepTemplateResponses,
|
|
178
|
+
InvokePromptModerationStepTemplateData,
|
|
179
|
+
InvokePromptModerationStepTemplateErrors,
|
|
180
|
+
InvokePromptModerationStepTemplateResponses,
|
|
163
181
|
InvokeQwenImageBenchStepTemplateData,
|
|
164
182
|
InvokeQwenImageBenchStepTemplateErrors,
|
|
165
183
|
InvokeQwenImageBenchStepTemplateResponses,
|
|
@@ -253,6 +271,9 @@ import type {
|
|
|
253
271
|
SubmitWorkflowData,
|
|
254
272
|
SubmitWorkflowErrors,
|
|
255
273
|
SubmitWorkflowResponses,
|
|
274
|
+
UpdateFundData,
|
|
275
|
+
UpdateFundErrors,
|
|
276
|
+
UpdateFundResponses,
|
|
256
277
|
UpdateWorkflowData,
|
|
257
278
|
UpdateWorkflowErrors,
|
|
258
279
|
UpdateWorkflowResponses,
|
|
@@ -397,8 +418,51 @@ export declare const getFreeTier: <ThrowOnError extends boolean = false>(
|
|
|
397
418
|
'fields'
|
|
398
419
|
>;
|
|
399
420
|
/**
|
|
400
|
-
*
|
|
401
|
-
|
|
421
|
+
* The id is the only way to reach the fund, so keep it secret, in your app's state.
|
|
422
|
+
*/
|
|
423
|
+
export declare const createFund: <ThrowOnError extends boolean = false>(
|
|
424
|
+
options?: Options<CreateFundData, ThrowOnError>
|
|
425
|
+
) => import('./client').RequestResult<
|
|
426
|
+
CreateFundResponses,
|
|
427
|
+
CreateFundErrors,
|
|
428
|
+
ThrowOnError,
|
|
429
|
+
'fields'
|
|
430
|
+
>;
|
|
431
|
+
/**
|
|
432
|
+
* Whatever is left goes to Civitai, not back to the depositors. A fund is also deleted on its own at `expiresAt`.
|
|
433
|
+
*/
|
|
434
|
+
export declare const deleteFund: <ThrowOnError extends boolean = false>(
|
|
435
|
+
options: Options<DeleteFundData, ThrowOnError>
|
|
436
|
+
) => import('./client').RequestResult<
|
|
437
|
+
DeleteFundResponses,
|
|
438
|
+
DeleteFundErrors,
|
|
439
|
+
ThrowOnError,
|
|
440
|
+
'fields'
|
|
441
|
+
>;
|
|
442
|
+
export declare const getFund: <ThrowOnError extends boolean = false>(
|
|
443
|
+
options: Options<GetFundData, ThrowOnError>
|
|
444
|
+
) => import('./client').RequestResult<GetFundResponses, GetFundErrors, ThrowOnError, 'fields'>;
|
|
445
|
+
/**
|
|
446
|
+
* Sets the fund to expire `ttl` from now, so a long-running session can keep rolling it over.
|
|
447
|
+
*/
|
|
448
|
+
export declare const updateFund: <ThrowOnError extends boolean = false>(
|
|
449
|
+
options: Options<UpdateFundData, ThrowOnError>
|
|
450
|
+
) => import('./client').RequestResult<
|
|
451
|
+
UpdateFundResponses,
|
|
452
|
+
UpdateFundErrors,
|
|
453
|
+
ThrowOnError,
|
|
454
|
+
'fields'
|
|
455
|
+
>;
|
|
456
|
+
export declare const depositIntoFund: <ThrowOnError extends boolean = false>(
|
|
457
|
+
options: Options<DepositIntoFundData, ThrowOnError>
|
|
458
|
+
) => import('./client').RequestResult<
|
|
459
|
+
DepositIntoFundResponses,
|
|
460
|
+
DepositIntoFundErrors,
|
|
461
|
+
ThrowOnError,
|
|
462
|
+
'fields'
|
|
463
|
+
>;
|
|
464
|
+
/**
|
|
465
|
+
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
402
466
|
*/
|
|
403
467
|
export declare const invokeAceStepAudioStepTemplate: <ThrowOnError extends boolean = false>(
|
|
404
468
|
options?: Options<InvokeAceStepAudioStepTemplateData, ThrowOnError>
|
|
@@ -445,9 +509,8 @@ export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
|
|
|
445
509
|
'fields'
|
|
446
510
|
>;
|
|
447
511
|
/**
|
|
448
|
-
* Bundles
|
|
449
|
-
* ///
|
|
450
|
-
* /// no worker job is dispatched.
|
|
512
|
+
* Bundles blobs into a single zip or tar that callers download from a signed streaming URL.
|
|
513
|
+
* /// Runs in-process in the orchestrator; no worker job is dispatched.
|
|
451
514
|
*/
|
|
452
515
|
export declare const invokeBlobArchiveStepTemplate: <ThrowOnError extends boolean = false>(
|
|
453
516
|
options?: Options<InvokeBlobArchiveStepTemplateData, ThrowOnError>
|
|
@@ -497,12 +560,8 @@ export declare const invokeComfyNodepackSnapshotStepTemplate: <
|
|
|
497
560
|
/**
|
|
498
561
|
* Compose Media
|
|
499
562
|
*
|
|
500
|
-
* Composes
|
|
501
|
-
* ///
|
|
502
|
-
* /// transformers (fades, volume). Each element is placed at its own absolute or implicitly-sequenced
|
|
503
|
-
* /// start time. Produces a video blob when any element is video, otherwise an audio blob. Pair with
|
|
504
|
-
* /// text-to-speech, music, and video-generation steps to assemble narrated clips, multi-speaker
|
|
505
|
-
* /// scenes with cross-talk, or picture-in-picture compositions.
|
|
563
|
+
* Composes audio and/or video elements onto one timeline and canvas: overlay and stack videos, mix and place audio,
|
|
564
|
+
* /// and apply per-element transformers (fades, volume). Produces a video blob when any element is video, otherwise an audio blob.
|
|
506
565
|
*/
|
|
507
566
|
export declare const invokeComposeMediaStepTemplate: <ThrowOnError extends boolean = false>(
|
|
508
567
|
options?: Options<InvokeComposeMediaStepTemplateData, ThrowOnError>
|
|
@@ -526,11 +585,9 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
|
|
|
526
585
|
/**
|
|
527
586
|
* CustomComfy
|
|
528
587
|
*
|
|
529
|
-
* Submit a raw ComfyUI workflow graph for execution. Every resource the
|
|
530
|
-
* ///
|
|
531
|
-
* ///
|
|
532
|
-
* /// the orchestrator does not scan the workflow. Billing happens after
|
|
533
|
-
* /// execution based on actual ComfyUI runtime; infra failures don't charge.
|
|
588
|
+
* Submit a raw ComfyUI workflow graph for execution. Every resource the workflow uses, including <c>comfy:nodepack</c> URNs
|
|
589
|
+
* /// for custom nodes, must be declared in <c>resources</c>; the orchestrator does not scan the workflow. Billed after execution
|
|
590
|
+
* /// on actual ComfyUI runtime; infra failures don't charge.
|
|
534
591
|
*/
|
|
535
592
|
export declare const invokeCustomComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
536
593
|
options?: Options<InvokeCustomComfyStepTemplateData, ThrowOnError>
|
|
@@ -563,7 +620,7 @@ export declare const invokeHumanoidImageMaskStepTemplate: <ThrowOnError extends
|
|
|
563
620
|
'fields'
|
|
564
621
|
>;
|
|
565
622
|
/**
|
|
566
|
-
*
|
|
623
|
+
* Removes the background from an image using BiRefNet.
|
|
567
624
|
*/
|
|
568
625
|
export declare const invokeImageBackgroundRemovalStepTemplate: <
|
|
569
626
|
ThrowOnError extends boolean = false,
|
|
@@ -648,6 +705,19 @@ export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
648
705
|
ThrowOnError,
|
|
649
706
|
'fields'
|
|
650
707
|
>;
|
|
708
|
+
/**
|
|
709
|
+
* Live text to speech
|
|
710
|
+
*
|
|
711
|
+
* Append text to <c>output.inputUrl</c> and play <c>output.audioUrl</c>; billed per character once the session ends.
|
|
712
|
+
*/
|
|
713
|
+
export declare const invokeLiveTextToSpeechStepTemplate: <ThrowOnError extends boolean = false>(
|
|
714
|
+
options?: Options<InvokeLiveTextToSpeechStepTemplateData, ThrowOnError>
|
|
715
|
+
) => import('./client').RequestResult<
|
|
716
|
+
InvokeLiveTextToSpeechStepTemplateResponses,
|
|
717
|
+
InvokeLiveTextToSpeechStepTemplateErrors,
|
|
718
|
+
ThrowOnError,
|
|
719
|
+
'fields'
|
|
720
|
+
>;
|
|
651
721
|
/**
|
|
652
722
|
* Live transcription
|
|
653
723
|
*
|
|
@@ -846,6 +916,19 @@ export declare const invokePromptEnhancementStepTemplate: <ThrowOnError extends
|
|
|
846
916
|
ThrowOnError,
|
|
847
917
|
'fields'
|
|
848
918
|
>;
|
|
919
|
+
/**
|
|
920
|
+
* PromptModeration
|
|
921
|
+
*
|
|
922
|
+
* Evaluate CR, Young and Sexual together with Civitai Imajev's fixed BF16 model and packaged policies.
|
|
923
|
+
*/
|
|
924
|
+
export declare const invokePromptModerationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
925
|
+
options?: Options<InvokePromptModerationStepTemplateData, ThrowOnError>
|
|
926
|
+
) => import('./client').RequestResult<
|
|
927
|
+
InvokePromptModerationStepTemplateResponses,
|
|
928
|
+
InvokePromptModerationStepTemplateErrors,
|
|
929
|
+
ThrowOnError,
|
|
930
|
+
'fields'
|
|
931
|
+
>;
|
|
849
932
|
/**
|
|
850
933
|
* Qwen Image Bench
|
|
851
934
|
*
|
|
@@ -926,9 +1009,7 @@ export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boole
|
|
|
926
1009
|
/**
|
|
927
1010
|
* Training
|
|
928
1011
|
*
|
|
929
|
-
*
|
|
930
|
-
* /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
|
|
931
|
-
* /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
|
|
1012
|
+
* Trains models (LoRAs, checkpoints) on images, videos or audio, one job per epoch.
|
|
932
1013
|
*/
|
|
933
1014
|
export declare const invokeTrainingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
934
1015
|
options?: Options<InvokeTrainingStepTemplateData, ThrowOnError>
|
|
@@ -1208,7 +1289,7 @@ export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
1208
1289
|
/**
|
|
1209
1290
|
* Delete workflow
|
|
1210
1291
|
*
|
|
1211
|
-
*
|
|
1292
|
+
* May trigger a refund if the work requested with this workflow has not yet started
|
|
1212
1293
|
*/
|
|
1213
1294
|
export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
|
|
1214
1295
|
options: Options<DeleteWorkflowData, ThrowOnError>
|
|
@@ -1232,7 +1313,7 @@ export declare const getWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
1232
1313
|
/**
|
|
1233
1314
|
* Patch workflow
|
|
1234
1315
|
*
|
|
1235
|
-
* Patches a
|
|
1316
|
+
* Patches a workflow using JSON Patch. This can currently be used to cancel a workflow, update metadata and add additional tags
|
|
1236
1317
|
*/
|
|
1237
1318
|
export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
1238
1319
|
options: Options<PatchWorkflowData, ThrowOnError>
|
|
@@ -1245,7 +1326,7 @@ export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
1245
1326
|
/**
|
|
1246
1327
|
* Update workflow
|
|
1247
1328
|
*
|
|
1248
|
-
* Updates a
|
|
1329
|
+
* Updates a workflow. This can currently be used to cancel a workflow or override metadata and/or tags
|
|
1249
1330
|
*/
|
|
1250
1331
|
export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
|
|
1251
1332
|
options: Options<UpdateWorkflowData, ThrowOnError>
|
|
@@ -1268,8 +1349,6 @@ export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = fals
|
|
|
1268
1349
|
>;
|
|
1269
1350
|
/**
|
|
1270
1351
|
* Add workflow tag
|
|
1271
|
-
*
|
|
1272
|
-
* Adds a tag to a workflow
|
|
1273
1352
|
*/
|
|
1274
1353
|
export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
1275
1354
|
options: Options<AddWorkflowTagData, ThrowOnError>
|
|
@@ -106,8 +106,63 @@ export const getFreeTier = (options) => {
|
|
|
106
106
|
});
|
|
107
107
|
};
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
110
|
-
|
|
109
|
+
* The id is the only way to reach the fund, so keep it secret, in your app's state.
|
|
110
|
+
*/
|
|
111
|
+
export const createFund = (options) => {
|
|
112
|
+
var _a;
|
|
113
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
114
|
+
url: '/v2/consumer/funds',
|
|
115
|
+
...options,
|
|
116
|
+
headers: {
|
|
117
|
+
'Content-Type': 'application/json',
|
|
118
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
119
|
+
},
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Whatever is left goes to Civitai, not back to the depositors. A fund is also deleted on its own at `expiresAt`.
|
|
124
|
+
*/
|
|
125
|
+
export const deleteFund = (options) => {
|
|
126
|
+
var _a;
|
|
127
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({
|
|
128
|
+
url: '/v2/consumer/funds/{fundId}',
|
|
129
|
+
...options,
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
export const getFund = (options) => {
|
|
133
|
+
var _a;
|
|
134
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
|
|
135
|
+
url: '/v2/consumer/funds/{fundId}',
|
|
136
|
+
...options,
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Sets the fund to expire `ttl` from now, so a long-running session can keep rolling it over.
|
|
141
|
+
*/
|
|
142
|
+
export const updateFund = (options) => {
|
|
143
|
+
var _a;
|
|
144
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).patch({
|
|
145
|
+
url: '/v2/consumer/funds/{fundId}',
|
|
146
|
+
...options,
|
|
147
|
+
headers: {
|
|
148
|
+
'Content-Type': 'application/json-patch+json',
|
|
149
|
+
...options.headers,
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
export const depositIntoFund = (options) => {
|
|
154
|
+
var _a;
|
|
155
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
156
|
+
url: '/v2/consumer/funds/{fundId}/deposits',
|
|
157
|
+
...options,
|
|
158
|
+
headers: {
|
|
159
|
+
'Content-Type': 'application/json',
|
|
160
|
+
...options.headers,
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
111
166
|
*/
|
|
112
167
|
export const invokeAceStepAudioStepTemplate = (options) => {
|
|
113
168
|
var _a;
|
|
@@ -164,9 +219,8 @@ export const invokeBatchOcrSafetyClassificationStepTemplate = (options) => {
|
|
|
164
219
|
});
|
|
165
220
|
};
|
|
166
221
|
/**
|
|
167
|
-
* Bundles
|
|
168
|
-
* ///
|
|
169
|
-
* /// no worker job is dispatched.
|
|
222
|
+
* Bundles blobs into a single zip or tar that callers download from a signed streaming URL.
|
|
223
|
+
* /// Runs in-process in the orchestrator; no worker job is dispatched.
|
|
170
224
|
*/
|
|
171
225
|
export const invokeBlobArchiveStepTemplate = (options) => {
|
|
172
226
|
var _a;
|
|
@@ -226,12 +280,8 @@ export const invokeComfyNodepackSnapshotStepTemplate = (options) => {
|
|
|
226
280
|
/**
|
|
227
281
|
* Compose Media
|
|
228
282
|
*
|
|
229
|
-
* Composes
|
|
230
|
-
* ///
|
|
231
|
-
* /// transformers (fades, volume). Each element is placed at its own absolute or implicitly-sequenced
|
|
232
|
-
* /// start time. Produces a video blob when any element is video, otherwise an audio blob. Pair with
|
|
233
|
-
* /// text-to-speech, music, and video-generation steps to assemble narrated clips, multi-speaker
|
|
234
|
-
* /// scenes with cross-talk, or picture-in-picture compositions.
|
|
283
|
+
* Composes audio and/or video elements onto one timeline and canvas: overlay and stack videos, mix and place audio,
|
|
284
|
+
* /// and apply per-element transformers (fades, volume). Produces a video blob when any element is video, otherwise an audio blob.
|
|
235
285
|
*/
|
|
236
286
|
export const invokeComposeMediaStepTemplate = (options) => {
|
|
237
287
|
var _a;
|
|
@@ -261,11 +311,9 @@ export const invokeConvertImageStepTemplate = (options) => {
|
|
|
261
311
|
/**
|
|
262
312
|
* CustomComfy
|
|
263
313
|
*
|
|
264
|
-
* Submit a raw ComfyUI workflow graph for execution. Every resource the
|
|
265
|
-
* ///
|
|
266
|
-
* ///
|
|
267
|
-
* /// the orchestrator does not scan the workflow. Billing happens after
|
|
268
|
-
* /// execution based on actual ComfyUI runtime; infra failures don't charge.
|
|
314
|
+
* Submit a raw ComfyUI workflow graph for execution. Every resource the workflow uses, including <c>comfy:nodepack</c> URNs
|
|
315
|
+
* /// for custom nodes, must be declared in <c>resources</c>; the orchestrator does not scan the workflow. Billed after execution
|
|
316
|
+
* /// on actual ComfyUI runtime; infra failures don't charge.
|
|
269
317
|
*/
|
|
270
318
|
export const invokeCustomComfyStepTemplate = (options) => {
|
|
271
319
|
var _a;
|
|
@@ -307,7 +355,7 @@ export const invokeHumanoidImageMaskStepTemplate = (options) => {
|
|
|
307
355
|
});
|
|
308
356
|
};
|
|
309
357
|
/**
|
|
310
|
-
*
|
|
358
|
+
* Removes the background from an image using BiRefNet.
|
|
311
359
|
*/
|
|
312
360
|
export const invokeImageBackgroundRemovalStepTemplate = (options) => {
|
|
313
361
|
var _a;
|
|
@@ -409,6 +457,22 @@ export const invokeImageUpscalerStepTemplate = (options) => {
|
|
|
409
457
|
},
|
|
410
458
|
});
|
|
411
459
|
};
|
|
460
|
+
/**
|
|
461
|
+
* Live text to speech
|
|
462
|
+
*
|
|
463
|
+
* Append text to <c>output.inputUrl</c> and play <c>output.audioUrl</c>; billed per character once the session ends.
|
|
464
|
+
*/
|
|
465
|
+
export const invokeLiveTextToSpeechStepTemplate = (options) => {
|
|
466
|
+
var _a;
|
|
467
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
468
|
+
url: '/v2/consumer/recipes/liveTextToSpeech',
|
|
469
|
+
...options,
|
|
470
|
+
headers: {
|
|
471
|
+
'Content-Type': 'application/json',
|
|
472
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
473
|
+
},
|
|
474
|
+
});
|
|
475
|
+
};
|
|
412
476
|
/**
|
|
413
477
|
* Live transcription
|
|
414
478
|
*
|
|
@@ -655,6 +719,22 @@ export const invokePromptEnhancementStepTemplate = (options) => {
|
|
|
655
719
|
},
|
|
656
720
|
});
|
|
657
721
|
};
|
|
722
|
+
/**
|
|
723
|
+
* PromptModeration
|
|
724
|
+
*
|
|
725
|
+
* Evaluate CR, Young and Sexual together with Civitai Imajev's fixed BF16 model and packaged policies.
|
|
726
|
+
*/
|
|
727
|
+
export const invokePromptModerationStepTemplate = (options) => {
|
|
728
|
+
var _a;
|
|
729
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
730
|
+
url: '/v2/consumer/recipes/promptModeration',
|
|
731
|
+
...options,
|
|
732
|
+
headers: {
|
|
733
|
+
'Content-Type': 'application/json',
|
|
734
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
735
|
+
},
|
|
736
|
+
});
|
|
737
|
+
};
|
|
658
738
|
/**
|
|
659
739
|
* Qwen Image Bench
|
|
660
740
|
*
|
|
@@ -751,9 +831,7 @@ export const invokeTextToSpeechStepTemplate = (options) => {
|
|
|
751
831
|
/**
|
|
752
832
|
* Training
|
|
753
833
|
*
|
|
754
|
-
*
|
|
755
|
-
* /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
|
|
756
|
-
* /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
|
|
834
|
+
* Trains models (LoRAs, checkpoints) on images, videos or audio, one job per epoch.
|
|
757
835
|
*/
|
|
758
836
|
export const invokeTrainingStepTemplate = (options) => {
|
|
759
837
|
var _a;
|
|
@@ -1072,7 +1150,7 @@ export const submitWorkflow = (options) => {
|
|
|
1072
1150
|
/**
|
|
1073
1151
|
* Delete workflow
|
|
1074
1152
|
*
|
|
1075
|
-
*
|
|
1153
|
+
* May trigger a refund if the work requested with this workflow has not yet started
|
|
1076
1154
|
*/
|
|
1077
1155
|
export const deleteWorkflow = (options) => {
|
|
1078
1156
|
var _a;
|
|
@@ -1094,7 +1172,7 @@ export const getWorkflow = (options) => {
|
|
|
1094
1172
|
/**
|
|
1095
1173
|
* Patch workflow
|
|
1096
1174
|
*
|
|
1097
|
-
* Patches a
|
|
1175
|
+
* Patches a workflow using JSON Patch. This can currently be used to cancel a workflow, update metadata and add additional tags
|
|
1098
1176
|
*/
|
|
1099
1177
|
export const patchWorkflow = (options) => {
|
|
1100
1178
|
var _a;
|
|
@@ -1110,7 +1188,7 @@ export const patchWorkflow = (options) => {
|
|
|
1110
1188
|
/**
|
|
1111
1189
|
* Update workflow
|
|
1112
1190
|
*
|
|
1113
|
-
* Updates a
|
|
1191
|
+
* Updates a workflow. This can currently be used to cancel a workflow or override metadata and/or tags
|
|
1114
1192
|
*/
|
|
1115
1193
|
export const updateWorkflow = (options) => {
|
|
1116
1194
|
var _a;
|
|
@@ -1132,8 +1210,6 @@ export const removeAllWorkflowTags = (options) => {
|
|
|
1132
1210
|
};
|
|
1133
1211
|
/**
|
|
1134
1212
|
* Add workflow tag
|
|
1135
|
-
*
|
|
1136
|
-
* Adds a tag to a workflow
|
|
1137
1213
|
*/
|
|
1138
1214
|
export const addWorkflowTag = (options) => {
|
|
1139
1215
|
var _a;
|