@civitai/orchestration-client 0.2.0-beta.120 → 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.
|
@@ -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,
|
|
@@ -87,6 +91,7 @@ export {
|
|
|
87
91
|
removeAllWorkflowTags,
|
|
88
92
|
removeWorkflowTag,
|
|
89
93
|
submitWorkflow,
|
|
94
|
+
updateFund,
|
|
90
95
|
updateWorkflow,
|
|
91
96
|
updateWorkflowStep,
|
|
92
97
|
uploadConsumerBlob,
|
|
@@ -313,6 +318,10 @@ export {
|
|
|
313
318
|
type ComfyQwen21EditImageGenInput,
|
|
314
319
|
type ComfyQwen21EditImageGenInputWritable,
|
|
315
320
|
type ComfyQwen21ImageGenInput,
|
|
321
|
+
type ComfyQwen21TurboCreateImageGenInput,
|
|
322
|
+
type ComfyQwen21TurboEditImageGenInput,
|
|
323
|
+
type ComfyQwen21TurboEditImageGenInputWritable,
|
|
324
|
+
type ComfyQwen21TurboImageGenInput,
|
|
316
325
|
type ComfyQwenImageGenInput,
|
|
317
326
|
ComfySampler,
|
|
318
327
|
ComfyScheduler,
|
|
@@ -344,6 +353,11 @@ export {
|
|
|
344
353
|
type ConvertImageOutput,
|
|
345
354
|
type ConvertImageStep,
|
|
346
355
|
type ConvertImageStepTemplate,
|
|
356
|
+
type CreateFundData,
|
|
357
|
+
type CreateFundError,
|
|
358
|
+
type CreateFundErrors,
|
|
359
|
+
type CreateFundResponse,
|
|
360
|
+
type CreateFundResponses,
|
|
347
361
|
type CursedArrayOfStringAndResourceInfo,
|
|
348
362
|
type CursedArrayOfTelemetryCursorAndWorkflow,
|
|
349
363
|
type CursedArrayOfTelemetryCursorAndWorkflowWritable,
|
|
@@ -353,6 +367,11 @@ export {
|
|
|
353
367
|
type CustomComfyStepTemplate,
|
|
354
368
|
type CustomComfyUsage,
|
|
355
369
|
type CustomTextToSpeechInput,
|
|
370
|
+
type DeleteFundData,
|
|
371
|
+
type DeleteFundError,
|
|
372
|
+
type DeleteFundErrors,
|
|
373
|
+
type DeleteFundResponse,
|
|
374
|
+
type DeleteFundResponses,
|
|
356
375
|
type DeleteWorkflowData,
|
|
357
376
|
type DeleteWorkflowError,
|
|
358
377
|
type DeleteWorkflowErrors,
|
|
@@ -360,6 +379,11 @@ export {
|
|
|
360
379
|
type DeleteWorkflowResponses,
|
|
361
380
|
DensePoseColormap,
|
|
362
381
|
DensePoseModel,
|
|
382
|
+
type DepositIntoFundData,
|
|
383
|
+
type DepositIntoFundError,
|
|
384
|
+
type DepositIntoFundErrors,
|
|
385
|
+
type DepositIntoFundResponse,
|
|
386
|
+
type DepositIntoFundResponses,
|
|
363
387
|
DepthAnythingCheckpoint,
|
|
364
388
|
DepthAnythingV2Checkpoint,
|
|
365
389
|
DwPoseBboxDetector,
|
|
@@ -448,6 +472,10 @@ export {
|
|
|
448
472
|
type FreeTierModelResponse,
|
|
449
473
|
type FreeTierResponse,
|
|
450
474
|
type FreeTierWindowResponse,
|
|
475
|
+
type FundDeposit,
|
|
476
|
+
type FundResponse,
|
|
477
|
+
type FundTemplate,
|
|
478
|
+
type FundUpdate,
|
|
451
479
|
type Gemini25FlashCreateImageGenInput,
|
|
452
480
|
type Gemini25FlashEditImageGenInput,
|
|
453
481
|
type Gemini25FlashImageGenInput,
|
|
@@ -480,6 +508,11 @@ export {
|
|
|
480
508
|
type GetFreeTierErrors,
|
|
481
509
|
type GetFreeTierResponse,
|
|
482
510
|
type GetFreeTierResponses,
|
|
511
|
+
type GetFundData,
|
|
512
|
+
type GetFundError,
|
|
513
|
+
type GetFundErrors,
|
|
514
|
+
type GetFundResponse,
|
|
515
|
+
type GetFundResponses,
|
|
483
516
|
type GetResourceData,
|
|
484
517
|
type GetResourceError,
|
|
485
518
|
type GetResourceErrors,
|
|
@@ -949,6 +982,7 @@ export {
|
|
|
949
982
|
type Krea2CreateFalImageGenInput,
|
|
950
983
|
type Krea2FalImageGenInput,
|
|
951
984
|
type Krea2StyleReference,
|
|
985
|
+
type Krea3ImageGenInput,
|
|
952
986
|
type KreaCreateImageGenInput,
|
|
953
987
|
type KreaImageGenInput,
|
|
954
988
|
LeresBoost,
|
|
@@ -1397,6 +1431,11 @@ export {
|
|
|
1397
1431
|
type UniRigPolyGenInput,
|
|
1398
1432
|
type UniRigRigPolyGenInput,
|
|
1399
1433
|
type UnsupportedResourceAvailability,
|
|
1434
|
+
type UpdateFundData,
|
|
1435
|
+
type UpdateFundError,
|
|
1436
|
+
type UpdateFundErrors,
|
|
1437
|
+
type UpdateFundResponse,
|
|
1438
|
+
type UpdateFundResponses,
|
|
1400
1439
|
type UpdateWorkflowData,
|
|
1401
1440
|
type UpdateWorkflowError,
|
|
1402
1441
|
type UpdateWorkflowErrors,
|
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, 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, 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,
|
|
@@ -259,6 +271,9 @@ import type {
|
|
|
259
271
|
SubmitWorkflowData,
|
|
260
272
|
SubmitWorkflowErrors,
|
|
261
273
|
SubmitWorkflowResponses,
|
|
274
|
+
UpdateFundData,
|
|
275
|
+
UpdateFundErrors,
|
|
276
|
+
UpdateFundResponses,
|
|
262
277
|
UpdateWorkflowData,
|
|
263
278
|
UpdateWorkflowErrors,
|
|
264
279
|
UpdateWorkflowResponses,
|
|
@@ -402,6 +417,50 @@ export declare const getFreeTier: <ThrowOnError extends boolean = false>(
|
|
|
402
417
|
ThrowOnError,
|
|
403
418
|
'fields'
|
|
404
419
|
>;
|
|
420
|
+
/**
|
|
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
|
+
>;
|
|
405
464
|
/**
|
|
406
465
|
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
407
466
|
*/
|
|
@@ -105,6 +105,62 @@ export const getFreeTier = (options) => {
|
|
|
105
105
|
...options,
|
|
106
106
|
});
|
|
107
107
|
};
|
|
108
|
+
/**
|
|
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
|
+
};
|
|
108
164
|
/**
|
|
109
165
|
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
110
166
|
*/
|
|
@@ -2355,13 +2355,21 @@ export type ComfyMiniMaxH3ImageToVideoInput = Omit<
|
|
|
2355
2355
|
engine: 'minimax-h3-comfy';
|
|
2356
2356
|
};
|
|
2357
2357
|
/**
|
|
2358
|
-
* Reference-image-to-video using the REF2VA weights.
|
|
2358
|
+
* Reference-image/audio-to-video using the REF2VA weights.
|
|
2359
2359
|
*/
|
|
2360
2360
|
export type ComfyMiniMaxH3ReferenceToVideoInput = Omit<
|
|
2361
2361
|
ComfyMiniMaxH3VideoGenInput,
|
|
2362
2362
|
'engine' | 'operation'
|
|
2363
2363
|
> & {
|
|
2364
|
-
images
|
|
2364
|
+
images?: Array<string>;
|
|
2365
|
+
/**
|
|
2366
|
+
* Up to three voice reference AIRs or AIR-compatible URLs, each 2–15 seconds. Upload other sources to orchestrator blob storage first. Refer to them as <Audio 1>, etc. in the prompt.
|
|
2367
|
+
*/
|
|
2368
|
+
referenceAudios?: Array<string>;
|
|
2369
|
+
/**
|
|
2370
|
+
* Optional first frame to anchor the video while using image or voice references.
|
|
2371
|
+
*/
|
|
2372
|
+
firstFrame?: null | string;
|
|
2365
2373
|
operation: 'referenceToVideo';
|
|
2366
2374
|
engine: 'minimax-h3-comfy';
|
|
2367
2375
|
};
|
|
@@ -2591,6 +2599,56 @@ export type ComfyQwen21ImageGenInput = Omit<
|
|
|
2591
2599
|
ecosystem: 'qwen';
|
|
2592
2600
|
engine: 'comfy';
|
|
2593
2601
|
};
|
|
2602
|
+
export type ComfyQwen21TurboCreateImageGenInput = Omit<
|
|
2603
|
+
ComfyQwen21TurboImageGenInput,
|
|
2604
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2605
|
+
> & {
|
|
2606
|
+
width?: number;
|
|
2607
|
+
height?: number;
|
|
2608
|
+
operation: 'createImage';
|
|
2609
|
+
model: '2.1-turbo';
|
|
2610
|
+
ecosystem: 'qwen';
|
|
2611
|
+
engine: 'comfy';
|
|
2612
|
+
};
|
|
2613
|
+
export type ComfyQwen21TurboEditImageGenInput = Omit<
|
|
2614
|
+
ComfyQwen21TurboImageGenInput,
|
|
2615
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2616
|
+
> & {
|
|
2617
|
+
images: Array<string>;
|
|
2618
|
+
/**
|
|
2619
|
+
* Reference pixel budget as resolution squared; preserves each image's aspect ratio.
|
|
2620
|
+
*/
|
|
2621
|
+
resolution?: number;
|
|
2622
|
+
readonly width: number;
|
|
2623
|
+
readonly height: number;
|
|
2624
|
+
operation: 'editImage';
|
|
2625
|
+
model: '2.1-turbo';
|
|
2626
|
+
ecosystem: 'qwen';
|
|
2627
|
+
engine: 'comfy';
|
|
2628
|
+
};
|
|
2629
|
+
export type ComfyQwen21TurboImageGenInput = Omit<
|
|
2630
|
+
ComfyQwenImageGenInput,
|
|
2631
|
+
'engine' | 'ecosystem' | 'model'
|
|
2632
|
+
> & {
|
|
2633
|
+
operation: string;
|
|
2634
|
+
prompt: string;
|
|
2635
|
+
negativePrompt?: null | string;
|
|
2636
|
+
sampler?: ComfySampler;
|
|
2637
|
+
/**
|
|
2638
|
+
* Turbo uses the checkpoint's fixed eight-step sigma schedule.
|
|
2639
|
+
*/
|
|
2640
|
+
steps?: number;
|
|
2641
|
+
cfgScale?: number;
|
|
2642
|
+
seed?: null | number;
|
|
2643
|
+
quantity?: number;
|
|
2644
|
+
loras?: {
|
|
2645
|
+
[key: string]: number;
|
|
2646
|
+
};
|
|
2647
|
+
diffusionModel?: null | string;
|
|
2648
|
+
model: '2.1-turbo';
|
|
2649
|
+
ecosystem: 'qwen';
|
|
2650
|
+
engine: 'comfy';
|
|
2651
|
+
};
|
|
2594
2652
|
export type ComfyQwenImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
2595
2653
|
model: null | string;
|
|
2596
2654
|
ecosystem: 'qwen';
|
|
@@ -2706,7 +2764,7 @@ export type ComfySdxlImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosys
|
|
|
2706
2764
|
cfgScale?: number;
|
|
2707
2765
|
seed?: null | number;
|
|
2708
2766
|
quantity?: number;
|
|
2709
|
-
model
|
|
2767
|
+
model?: string;
|
|
2710
2768
|
vaeModel?: null | string;
|
|
2711
2769
|
loras?: {
|
|
2712
2770
|
[key: string]: number;
|
|
@@ -4042,6 +4100,47 @@ export type FreeTierWindowResponse = {
|
|
|
4042
4100
|
*/
|
|
4043
4101
|
resetAt?: null | string;
|
|
4044
4102
|
};
|
|
4103
|
+
export type FundDeposit = {
|
|
4104
|
+
amount: number;
|
|
4105
|
+
/**
|
|
4106
|
+
* Which of the caller's currencies to draw from, in order. Defaults to all.
|
|
4107
|
+
*/
|
|
4108
|
+
currencies?: null | Array<BuzzClientAccount>;
|
|
4109
|
+
};
|
|
4110
|
+
export type FundResponse = {
|
|
4111
|
+
id: string;
|
|
4112
|
+
allowMatureContent: boolean;
|
|
4113
|
+
description?: null | string;
|
|
4114
|
+
createdAt: string;
|
|
4115
|
+
expiresAt: string;
|
|
4116
|
+
balance: number;
|
|
4117
|
+
/**
|
|
4118
|
+
* Balance per currency (`yellow`, `blue`, `green`, `fakeRed`).
|
|
4119
|
+
*/
|
|
4120
|
+
balances: {
|
|
4121
|
+
[key: string]: number;
|
|
4122
|
+
};
|
|
4123
|
+
};
|
|
4124
|
+
export type FundTemplate = {
|
|
4125
|
+
/**
|
|
4126
|
+
* How long until the fund is deleted on its own. Defaults to 24 hours, at most 7 days.
|
|
4127
|
+
*/
|
|
4128
|
+
ttl?: null | string;
|
|
4129
|
+
/**
|
|
4130
|
+
* Whether workflows billed to this fund may return mature content. Deposits are then limited to Yellow, and Blue from members.
|
|
4131
|
+
*/
|
|
4132
|
+
allowMatureContent?: boolean;
|
|
4133
|
+
/**
|
|
4134
|
+
* Shown on each deposit in the depositor's Buzz history, e.g. "Game pot deposit".
|
|
4135
|
+
*/
|
|
4136
|
+
description?: null | string;
|
|
4137
|
+
};
|
|
4138
|
+
export type FundUpdate = {
|
|
4139
|
+
/**
|
|
4140
|
+
* How long from now until the fund is deleted on its own, at most 7 days.
|
|
4141
|
+
*/
|
|
4142
|
+
ttl: string;
|
|
4143
|
+
};
|
|
4045
4144
|
export type Gemini25FlashCreateImageGenInput = Omit<
|
|
4046
4145
|
Gemini25FlashImageGenInput,
|
|
4047
4146
|
'engine' | 'model' | 'operation'
|
|
@@ -4963,6 +5062,10 @@ export type ImageScanningOutput = {
|
|
|
4963
5062
|
humanRecognition: ImageScanningHumanRecognition;
|
|
4964
5063
|
jointAgeClassification: ImageScanningJointAgeClassification;
|
|
4965
5064
|
csam?: null | boolean;
|
|
5065
|
+
/**
|
|
5066
|
+
* Why the image would be refused as input to other workflows; null when it passes.
|
|
5067
|
+
*/
|
|
5068
|
+
blockedReason?: null | string;
|
|
4966
5069
|
};
|
|
4967
5070
|
export type ImageScanningPersonMask = {
|
|
4968
5071
|
width: number;
|
|
@@ -5427,6 +5530,35 @@ export type Krea2StyleReference = {
|
|
|
5427
5530
|
imageUrl: string;
|
|
5428
5531
|
strength?: number;
|
|
5429
5532
|
};
|
|
5533
|
+
/**
|
|
5534
|
+
* Krea 3 generation and editing at 1K or 2K.
|
|
5535
|
+
*/
|
|
5536
|
+
export type Krea3ImageGenInput = Omit<ImageGenInput, 'engine'> & {
|
|
5537
|
+
prompt: string;
|
|
5538
|
+
thinkingMode?: 'instant' | 'medium';
|
|
5539
|
+
/**
|
|
5540
|
+
* Omit for text-to-image, or provide up to six images to edit.
|
|
5541
|
+
*/
|
|
5542
|
+
images: Array<string>;
|
|
5543
|
+
quantity?: number;
|
|
5544
|
+
resolution?: '1k' | '2k';
|
|
5545
|
+
/**
|
|
5546
|
+
* Omit to let Krea choose, e.g. to follow the reference images.
|
|
5547
|
+
*/
|
|
5548
|
+
aspectRatio?:
|
|
5549
|
+
| null
|
|
5550
|
+
| '1:1'
|
|
5551
|
+
| '4:5'
|
|
5552
|
+
| '3:4'
|
|
5553
|
+
| '2:3'
|
|
5554
|
+
| '9:16'
|
|
5555
|
+
| '5:4'
|
|
5556
|
+
| '4:3'
|
|
5557
|
+
| '3:2'
|
|
5558
|
+
| '16:9'
|
|
5559
|
+
| '21:9';
|
|
5560
|
+
engine: 'krea3';
|
|
5561
|
+
};
|
|
5430
5562
|
/**
|
|
5431
5563
|
* Text-to-image, or image-to-image when Civitai.Orchestration.Grains.Workflows.Steps.ImageGen.Krea.KreaCreateImageGenInput.Image is supplied.
|
|
5432
5564
|
*/
|
|
@@ -5580,6 +5712,10 @@ export type LiveTextToSpeechOutput = {
|
|
|
5580
5712
|
*/
|
|
5581
5713
|
characters: number;
|
|
5582
5714
|
audioSeconds: number;
|
|
5715
|
+
/**
|
|
5716
|
+
* One WebSocket in place of `inputUrl` and `audioUrl`, avoiding a request per text chunk.
|
|
5717
|
+
*/
|
|
5718
|
+
socketUrl?: null | string;
|
|
5583
5719
|
};
|
|
5584
5720
|
/**
|
|
5585
5721
|
* Live text to speech
|
|
@@ -5615,6 +5751,11 @@ export type LiveTranscriptionInput = {
|
|
|
5615
5751
|
* disappears does not hold the session open.
|
|
5616
5752
|
*/
|
|
5617
5753
|
idleTimeoutSeconds?: number;
|
|
5754
|
+
/**
|
|
5755
|
+
* Sends a `turn` event shortly after each pause in speech with the probability that the
|
|
5756
|
+
* speaker has finished, so a voice agent can answer sooner than a fixed silence timeout.
|
|
5757
|
+
*/
|
|
5758
|
+
turnDetection?: boolean;
|
|
5618
5759
|
};
|
|
5619
5760
|
export type LiveTranscriptionOutput = {
|
|
5620
5761
|
/**
|
|
@@ -5635,6 +5776,10 @@ export type LiveTranscriptionOutput = {
|
|
|
5635
5776
|
* Seconds of audio received so far; the session is billed on this.
|
|
5636
5777
|
*/
|
|
5637
5778
|
audioSeconds: number;
|
|
5779
|
+
/**
|
|
5780
|
+
* One WebSocket in place of `inputUrl` and `transcriptUrl`, avoiding a request per audio chunk.
|
|
5781
|
+
*/
|
|
5782
|
+
socketUrl?: null | string;
|
|
5638
5783
|
};
|
|
5639
5784
|
/**
|
|
5640
5785
|
* Live transcription
|
|
@@ -8131,7 +8276,7 @@ export type SdxlImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
|
|
|
8131
8276
|
cfgScale?: number;
|
|
8132
8277
|
seed?: null | number;
|
|
8133
8278
|
quantity?: number;
|
|
8134
|
-
model
|
|
8279
|
+
model?: string;
|
|
8135
8280
|
vaeModel?: null | string;
|
|
8136
8281
|
loras?: {
|
|
8137
8282
|
[key: string]: number;
|
|
@@ -9988,6 +10133,7 @@ export type Workflow = {
|
|
|
9988
10133
|
deletedAt?: null | string;
|
|
9989
10134
|
downloadPriority?: Priority;
|
|
9990
10135
|
tier: WorkflowTier;
|
|
10136
|
+
fund?: null | string;
|
|
9991
10137
|
};
|
|
9992
10138
|
export type WorkflowCallback = {
|
|
9993
10139
|
url: string;
|
|
@@ -10270,6 +10416,11 @@ export type WorkflowTemplate = {
|
|
|
10270
10416
|
* Limit the currencies that can be used to pay for this workflow.
|
|
10271
10417
|
*/
|
|
10272
10418
|
currencies: Array<BuzzClientAccount>;
|
|
10419
|
+
/**
|
|
10420
|
+
* Bill this workflow to a fund (see `POST /v2/consumer/funds`) instead of the caller's Buzz. Implies the paid tier;
|
|
10421
|
+
* Civitai.Orchestration.Grains.Workflows.WorkflowTemplate.Currencies then limits which of the fund's currencies are spent.
|
|
10422
|
+
*/
|
|
10423
|
+
fund?: null | string;
|
|
10273
10424
|
/**
|
|
10274
10425
|
* Never persisted: results are available only via callbacks or the synchronous `wait` parameter, and GET returns 404 once terminal.
|
|
10275
10426
|
* Requires at least one callback or `wait > 0` on submission.
|
|
@@ -10936,6 +11087,20 @@ export type ComfyQwen21EditImageGenInputWritable = Omit<
|
|
|
10936
11087
|
ecosystem: 'qwen';
|
|
10937
11088
|
engine: 'comfy';
|
|
10938
11089
|
};
|
|
11090
|
+
export type ComfyQwen21TurboEditImageGenInputWritable = Omit<
|
|
11091
|
+
ComfyQwen21TurboImageGenInput,
|
|
11092
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
11093
|
+
> & {
|
|
11094
|
+
images: Array<string>;
|
|
11095
|
+
/**
|
|
11096
|
+
* Reference pixel budget as resolution squared; preserves each image's aspect ratio.
|
|
11097
|
+
*/
|
|
11098
|
+
resolution?: number;
|
|
11099
|
+
operation: 'ComfyQwen21TurboEditImageGenInputWritable';
|
|
11100
|
+
model: '2.1-turbo';
|
|
11101
|
+
ecosystem: 'qwen';
|
|
11102
|
+
engine: 'comfy';
|
|
11103
|
+
};
|
|
10939
11104
|
export type ComfyTrainingInputWritable = Omit<TrainingInputWritable2, 'engine'> & {
|
|
10940
11105
|
ecosystem?: string;
|
|
10941
11106
|
/**
|
|
@@ -11869,6 +12034,7 @@ export type WorkflowWritable = {
|
|
|
11869
12034
|
deletedAt?: null | string;
|
|
11870
12035
|
downloadPriority?: Priority;
|
|
11871
12036
|
tier: WorkflowTier;
|
|
12037
|
+
fund?: null | string;
|
|
11872
12038
|
};
|
|
11873
12039
|
export type WorkflowCostWritable = {
|
|
11874
12040
|
/**
|
|
@@ -12468,6 +12634,146 @@ export type GetFreeTierResponses = {
|
|
|
12468
12634
|
200: FreeTierResponse;
|
|
12469
12635
|
};
|
|
12470
12636
|
export type GetFreeTierResponse = GetFreeTierResponses[keyof GetFreeTierResponses];
|
|
12637
|
+
export type CreateFundData = {
|
|
12638
|
+
body?: FundTemplate;
|
|
12639
|
+
path?: never;
|
|
12640
|
+
query?: never;
|
|
12641
|
+
url: '/v2/consumer/funds';
|
|
12642
|
+
};
|
|
12643
|
+
export type CreateFundErrors = {
|
|
12644
|
+
/**
|
|
12645
|
+
* Bad Request
|
|
12646
|
+
*/
|
|
12647
|
+
400: ProblemDetails;
|
|
12648
|
+
/**
|
|
12649
|
+
* Unauthorized
|
|
12650
|
+
*/
|
|
12651
|
+
401: ProblemDetails;
|
|
12652
|
+
/**
|
|
12653
|
+
* Forbidden
|
|
12654
|
+
*/
|
|
12655
|
+
403: string;
|
|
12656
|
+
};
|
|
12657
|
+
export type CreateFundError = CreateFundErrors[keyof CreateFundErrors];
|
|
12658
|
+
export type CreateFundResponses = {
|
|
12659
|
+
/**
|
|
12660
|
+
* Created
|
|
12661
|
+
*/
|
|
12662
|
+
201: FundResponse;
|
|
12663
|
+
};
|
|
12664
|
+
export type CreateFundResponse = CreateFundResponses[keyof CreateFundResponses];
|
|
12665
|
+
export type DeleteFundData = {
|
|
12666
|
+
body?: never;
|
|
12667
|
+
path: {
|
|
12668
|
+
fundId: string;
|
|
12669
|
+
};
|
|
12670
|
+
query?: never;
|
|
12671
|
+
url: '/v2/consumer/funds/{fundId}';
|
|
12672
|
+
};
|
|
12673
|
+
export type DeleteFundErrors = {
|
|
12674
|
+
/**
|
|
12675
|
+
* Unauthorized
|
|
12676
|
+
*/
|
|
12677
|
+
401: ProblemDetails;
|
|
12678
|
+
/**
|
|
12679
|
+
* Not Found
|
|
12680
|
+
*/
|
|
12681
|
+
404: ProblemDetails;
|
|
12682
|
+
};
|
|
12683
|
+
export type DeleteFundError = DeleteFundErrors[keyof DeleteFundErrors];
|
|
12684
|
+
export type DeleteFundResponses = {
|
|
12685
|
+
/**
|
|
12686
|
+
* No Content
|
|
12687
|
+
*/
|
|
12688
|
+
204: void;
|
|
12689
|
+
};
|
|
12690
|
+
export type DeleteFundResponse = DeleteFundResponses[keyof DeleteFundResponses];
|
|
12691
|
+
export type GetFundData = {
|
|
12692
|
+
body?: never;
|
|
12693
|
+
path: {
|
|
12694
|
+
fundId: string;
|
|
12695
|
+
};
|
|
12696
|
+
query?: never;
|
|
12697
|
+
url: '/v2/consumer/funds/{fundId}';
|
|
12698
|
+
};
|
|
12699
|
+
export type GetFundErrors = {
|
|
12700
|
+
/**
|
|
12701
|
+
* Unauthorized
|
|
12702
|
+
*/
|
|
12703
|
+
401: ProblemDetails;
|
|
12704
|
+
/**
|
|
12705
|
+
* Not Found
|
|
12706
|
+
*/
|
|
12707
|
+
404: ProblemDetails;
|
|
12708
|
+
};
|
|
12709
|
+
export type GetFundError = GetFundErrors[keyof GetFundErrors];
|
|
12710
|
+
export type GetFundResponses = {
|
|
12711
|
+
/**
|
|
12712
|
+
* OK
|
|
12713
|
+
*/
|
|
12714
|
+
200: FundResponse;
|
|
12715
|
+
};
|
|
12716
|
+
export type GetFundResponse = GetFundResponses[keyof GetFundResponses];
|
|
12717
|
+
export type UpdateFundData = {
|
|
12718
|
+
body?: JsonPatchDocument;
|
|
12719
|
+
path: {
|
|
12720
|
+
fundId: string;
|
|
12721
|
+
};
|
|
12722
|
+
query?: never;
|
|
12723
|
+
url: '/v2/consumer/funds/{fundId}';
|
|
12724
|
+
};
|
|
12725
|
+
export type UpdateFundErrors = {
|
|
12726
|
+
/**
|
|
12727
|
+
* Bad Request
|
|
12728
|
+
*/
|
|
12729
|
+
400: ProblemDetails;
|
|
12730
|
+
/**
|
|
12731
|
+
* Unauthorized
|
|
12732
|
+
*/
|
|
12733
|
+
401: ProblemDetails;
|
|
12734
|
+
/**
|
|
12735
|
+
* Not Found
|
|
12736
|
+
*/
|
|
12737
|
+
404: ProblemDetails;
|
|
12738
|
+
};
|
|
12739
|
+
export type UpdateFundError = UpdateFundErrors[keyof UpdateFundErrors];
|
|
12740
|
+
export type UpdateFundResponses = {
|
|
12741
|
+
/**
|
|
12742
|
+
* OK
|
|
12743
|
+
*/
|
|
12744
|
+
200: FundResponse;
|
|
12745
|
+
};
|
|
12746
|
+
export type UpdateFundResponse = UpdateFundResponses[keyof UpdateFundResponses];
|
|
12747
|
+
export type DepositIntoFundData = {
|
|
12748
|
+
body?: FundDeposit;
|
|
12749
|
+
path: {
|
|
12750
|
+
fundId: string;
|
|
12751
|
+
};
|
|
12752
|
+
query?: never;
|
|
12753
|
+
url: '/v2/consumer/funds/{fundId}/deposits';
|
|
12754
|
+
};
|
|
12755
|
+
export type DepositIntoFundErrors = {
|
|
12756
|
+
/**
|
|
12757
|
+
* Unauthorized
|
|
12758
|
+
*/
|
|
12759
|
+
401: ProblemDetails;
|
|
12760
|
+
/**
|
|
12761
|
+
* Payment Required
|
|
12762
|
+
*/
|
|
12763
|
+
402: ProblemDetails;
|
|
12764
|
+
/**
|
|
12765
|
+
* Not Found
|
|
12766
|
+
*/
|
|
12767
|
+
404: ProblemDetails;
|
|
12768
|
+
};
|
|
12769
|
+
export type DepositIntoFundError = DepositIntoFundErrors[keyof DepositIntoFundErrors];
|
|
12770
|
+
export type DepositIntoFundResponses = {
|
|
12771
|
+
/**
|
|
12772
|
+
* OK
|
|
12773
|
+
*/
|
|
12774
|
+
200: FundResponse;
|
|
12775
|
+
};
|
|
12776
|
+
export type DepositIntoFundResponse = DepositIntoFundResponses[keyof DepositIntoFundResponses];
|
|
12471
12777
|
export type InvokeAceStepAudioStepTemplateData = {
|
|
12472
12778
|
body?: AceStepAudioInput;
|
|
12473
12779
|
path?: never;
|
package/package.json
CHANGED