@civitai/orchestration-client 0.2.0-beta.125 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/generated/index.d.ts +45 -6
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +49 -17
- package/dist/generated/sdk.gen.js +45 -10
- package/dist/generated/types.gen.d.ts +586 -74
- package/dist/generated/types.gen.js +20 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,12 +30,13 @@ To migrate, swap the dependency and update your imports:
|
|
|
30
30
|
|
|
31
31
|
## Releasing
|
|
32
32
|
|
|
33
|
-
Releases are automated.
|
|
33
|
+
Releases are automated. Run `pnpm release`, which typechecks, builds and bumps the patch version
|
|
34
|
+
in `package.json`, then commit and push to `main`; the
|
|
34
35
|
[release workflow](.github/workflows/release.yml) tests, builds, and publishes to npm using
|
|
35
36
|
trusted publishing, then tags the commit.
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
Plain versions (`0.2.1`) publish under `latest`. A prerelease version (`0.3.0-beta.1`), set by
|
|
39
|
+
hand, publishes under the `beta` dist-tag instead, for testing a change before it reaches everyone.
|
|
39
40
|
|
|
40
41
|
## Regenerating the client
|
|
41
42
|
|
|
@@ -18,11 +18,11 @@ export {
|
|
|
18
18
|
getWorkflow,
|
|
19
19
|
getWorkflowStep,
|
|
20
20
|
headBlob,
|
|
21
|
-
ingestConsumerBlob,
|
|
22
21
|
invalidateUserCache,
|
|
23
22
|
invalidateUserTokens,
|
|
24
23
|
invokeAceStepAudioStepTemplate,
|
|
25
24
|
invokeAgeClassificationStepTemplate,
|
|
25
|
+
invokeArchiveExtractionStepTemplate,
|
|
26
26
|
invokeAudioCaptioningStepTemplate,
|
|
27
27
|
invokeAudioClassificationStepTemplate,
|
|
28
28
|
invokeAudioModerationStepTemplate,
|
|
@@ -56,6 +56,7 @@ export {
|
|
|
56
56
|
invokeModelHashStepTemplate,
|
|
57
57
|
invokeModelParseMetadataStepTemplate,
|
|
58
58
|
invokeModelPickleScanStepTemplate,
|
|
59
|
+
invokeMultimodalEmbeddingStepTemplate,
|
|
59
60
|
invokePolyGenStepTemplate,
|
|
60
61
|
invokePrepareResourceStepTemplate,
|
|
61
62
|
invokePreprocessImageStepTemplate,
|
|
@@ -91,6 +92,7 @@ export {
|
|
|
91
92
|
queryResources,
|
|
92
93
|
queryWorkflows,
|
|
93
94
|
refreshBlob,
|
|
95
|
+
refundFund,
|
|
94
96
|
removeAllWorkflowTags,
|
|
95
97
|
removeWorkflowTag,
|
|
96
98
|
submitWorkflow,
|
|
@@ -144,6 +146,13 @@ export {
|
|
|
144
146
|
type AppendStreamingBlobErrors,
|
|
145
147
|
type AppendStreamingBlobResponse,
|
|
146
148
|
type AppendStreamingBlobResponses,
|
|
149
|
+
type ArchiveEntry,
|
|
150
|
+
ArchiveEntryMediaType,
|
|
151
|
+
ArchiveEntryRejectionReason,
|
|
152
|
+
type ArchiveExtractionInput,
|
|
153
|
+
type ArchiveExtractionOutput,
|
|
154
|
+
type ArchiveExtractionStep,
|
|
155
|
+
type ArchiveExtractionStepTemplate,
|
|
147
156
|
ArchiveFormat,
|
|
148
157
|
type AssistantMessage,
|
|
149
158
|
type AssistantMessageWritable,
|
|
@@ -419,6 +428,7 @@ export {
|
|
|
419
428
|
type EchoOutput,
|
|
420
429
|
type EchoStep,
|
|
421
430
|
type EchoStepTemplate,
|
|
431
|
+
EmbeddingPrecision,
|
|
422
432
|
type EpochResult,
|
|
423
433
|
type ErnieAiToolkitTrainingInput,
|
|
424
434
|
type ErnieAiToolkitTrainingInputWritable,
|
|
@@ -676,11 +686,6 @@ export {
|
|
|
676
686
|
type ImageUpscalerOutput,
|
|
677
687
|
type ImageUpscalerStep,
|
|
678
688
|
type ImageUpscalerStepTemplate,
|
|
679
|
-
type IngestConsumerBlobData,
|
|
680
|
-
type IngestConsumerBlobError,
|
|
681
|
-
type IngestConsumerBlobErrors,
|
|
682
|
-
type IngestConsumerBlobResponse,
|
|
683
|
-
type IngestConsumerBlobResponses,
|
|
684
689
|
type InvalidateUserCacheData,
|
|
685
690
|
type InvalidateUserCacheError,
|
|
686
691
|
type InvalidateUserCacheErrors,
|
|
@@ -701,6 +706,11 @@ export {
|
|
|
701
706
|
type InvokeAgeClassificationStepTemplateErrors,
|
|
702
707
|
type InvokeAgeClassificationStepTemplateResponse,
|
|
703
708
|
type InvokeAgeClassificationStepTemplateResponses,
|
|
709
|
+
type InvokeArchiveExtractionStepTemplateData,
|
|
710
|
+
type InvokeArchiveExtractionStepTemplateError,
|
|
711
|
+
type InvokeArchiveExtractionStepTemplateErrors,
|
|
712
|
+
type InvokeArchiveExtractionStepTemplateResponse,
|
|
713
|
+
type InvokeArchiveExtractionStepTemplateResponses,
|
|
704
714
|
type InvokeAudioCaptioningStepTemplateData,
|
|
705
715
|
type InvokeAudioCaptioningStepTemplateError,
|
|
706
716
|
type InvokeAudioCaptioningStepTemplateErrors,
|
|
@@ -866,6 +876,11 @@ export {
|
|
|
866
876
|
type InvokeModelPickleScanStepTemplateErrors,
|
|
867
877
|
type InvokeModelPickleScanStepTemplateResponse,
|
|
868
878
|
type InvokeModelPickleScanStepTemplateResponses,
|
|
879
|
+
type InvokeMultimodalEmbeddingStepTemplateData,
|
|
880
|
+
type InvokeMultimodalEmbeddingStepTemplateError,
|
|
881
|
+
type InvokeMultimodalEmbeddingStepTemplateErrors,
|
|
882
|
+
type InvokeMultimodalEmbeddingStepTemplateResponse,
|
|
883
|
+
type InvokeMultimodalEmbeddingStepTemplateResponses,
|
|
869
884
|
type InvokePolyGenStepTemplateData,
|
|
870
885
|
type InvokePolyGenStepTemplateError,
|
|
871
886
|
type InvokePolyGenStepTemplateErrors,
|
|
@@ -1020,6 +1035,9 @@ export {
|
|
|
1020
1035
|
type KlingV3MultiPrompt,
|
|
1021
1036
|
KlingV3Operation,
|
|
1022
1037
|
type KlingV3VideoGenInput,
|
|
1038
|
+
type KlingV4ElementInput,
|
|
1039
|
+
type KlingV4Shot,
|
|
1040
|
+
type KlingV4VideoGenInput,
|
|
1023
1041
|
KlingVideoGenAspectRatio,
|
|
1024
1042
|
KlingVideoGenDuration,
|
|
1025
1043
|
type KlingVideoGenInput,
|
|
@@ -1095,6 +1113,10 @@ export {
|
|
|
1095
1113
|
type MeshyImageTo3dFalPolyGenInput,
|
|
1096
1114
|
type MeshyTextTo3dFalPolyGenInput,
|
|
1097
1115
|
type MeshyV6FalPolyGenInput,
|
|
1116
|
+
type MeshyV71FalPolyGenInput,
|
|
1117
|
+
type MeshyV71ImageTo3dFalPolyGenInput,
|
|
1118
|
+
type MeshyV71MultiImageTo3dFalPolyGenInput,
|
|
1119
|
+
type MeshyV71TextTo3dFalPolyGenInput,
|
|
1098
1120
|
type MeshyV7FalPolyGenInput,
|
|
1099
1121
|
type MeshyV7ImageTo3dFalPolyGenInput,
|
|
1100
1122
|
type MeshyV7MultiImageTo3dFalPolyGenInput,
|
|
@@ -1108,6 +1130,7 @@ export {
|
|
|
1108
1130
|
type MiniMaxH3MaxReferenceToVideoInput,
|
|
1109
1131
|
type MiniMaxH3MaxTextToVideoInput,
|
|
1110
1132
|
type MiniMaxH3MaxVideoGenInput,
|
|
1133
|
+
MiniMaxH3Model,
|
|
1111
1134
|
type MiniMaxH3VideoGenInput,
|
|
1112
1135
|
type MiniMaxMusic3Input,
|
|
1113
1136
|
type MiniMaxMusic3Output,
|
|
@@ -1147,6 +1170,10 @@ export {
|
|
|
1147
1170
|
type MossImageBaseAiToolkitTrainingInputWritable,
|
|
1148
1171
|
type MossImageSftAiToolkitTrainingInput,
|
|
1149
1172
|
type MossImageSftAiToolkitTrainingInputWritable,
|
|
1173
|
+
type MultimodalEmbeddingStep,
|
|
1174
|
+
type MultimodalEmbeddingStepInput,
|
|
1175
|
+
type MultimodalEmbeddingStepOutput,
|
|
1176
|
+
type MultimodalEmbeddingStepTemplate,
|
|
1150
1177
|
type MuseImageCreateFalImageGenInput,
|
|
1151
1178
|
type MuseImageEditFalImageGenInput,
|
|
1152
1179
|
type MuseImageFalImageGenInput,
|
|
@@ -1368,6 +1395,12 @@ export {
|
|
|
1368
1395
|
type RefreshBlobErrors,
|
|
1369
1396
|
type RefreshBlobResponse,
|
|
1370
1397
|
type RefreshBlobResponses,
|
|
1398
|
+
type RefundFundData,
|
|
1399
|
+
type RefundFundError,
|
|
1400
|
+
type RefundFundErrors,
|
|
1401
|
+
type RefundFundResponse,
|
|
1402
|
+
type RefundFundResponses,
|
|
1403
|
+
type RejectedArchiveEntry,
|
|
1371
1404
|
type RemoveAllWorkflowTagsData,
|
|
1372
1405
|
type RemoveAllWorkflowTagsError,
|
|
1373
1406
|
type RemoveAllWorkflowTagsErrors,
|
|
@@ -1480,6 +1513,11 @@ export {
|
|
|
1480
1513
|
type Trellis2ShapeGenComfyPolyGenInput,
|
|
1481
1514
|
type Trellis2TexGenComfyPolyGenInput,
|
|
1482
1515
|
type TripoFalPolyGenInput,
|
|
1516
|
+
type TripoH31FalPolyGenInput,
|
|
1517
|
+
type TripoH31ImageTo3dFalPolyGenInput,
|
|
1518
|
+
type TripoH31MultiviewTo3dFalPolyGenInput,
|
|
1519
|
+
type TripoH31TextTo3dFalPolyGenInput,
|
|
1520
|
+
type TripoVersionedFalPolyGenInput,
|
|
1483
1521
|
type TryOnUInput,
|
|
1484
1522
|
type TryOnUOutput,
|
|
1485
1523
|
type UnavailableResourceAvailability,
|
|
@@ -1566,6 +1604,7 @@ export {
|
|
|
1566
1604
|
type Wan21CivitaiVideoGenInput,
|
|
1567
1605
|
type Wan21FalVideoGenInput,
|
|
1568
1606
|
type Wan21VideoGenInput,
|
|
1607
|
+
type Wan225bComfyVideoGenInput,
|
|
1569
1608
|
type Wan225bFalImageGenInput,
|
|
1570
1609
|
type Wan225bFalImageToVideoInput,
|
|
1571
1610
|
type Wan225bFalTextToVideoInput,
|
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, createFund, deleteFund, deleteWorkflow, depositIntoFund, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getFund, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob,
|
|
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';
|
|
2
|
+
export { addWorkflowTag, appendStreamingBlob, createFund, deleteFund, deleteWorkflow, depositIntoFund, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getFund, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeArchiveExtractionStepTemplate, invokeAudioCaptioningStepTemplate, invokeAudioClassificationStepTemplate, invokeAudioModerationStepTemplate, invokeAudioTextModerationStepTemplate, 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, invokeMultimodalEmbeddingStepTemplate, 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, refundFund, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateFund, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
|
+
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveEntryMediaType, ArchiveEntryRejectionReason, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, EmbeddingPrecision, 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, MiniMaxH3Model, 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';
|
|
@@ -55,9 +55,6 @@ import type {
|
|
|
55
55
|
HeadBlobData,
|
|
56
56
|
HeadBlobErrors,
|
|
57
57
|
HeadBlobResponses,
|
|
58
|
-
IngestConsumerBlobData,
|
|
59
|
-
IngestConsumerBlobErrors,
|
|
60
|
-
IngestConsumerBlobResponses,
|
|
61
58
|
InvalidateUserCacheData,
|
|
62
59
|
InvalidateUserCacheErrors,
|
|
63
60
|
InvalidateUserCacheResponses,
|
|
@@ -70,6 +67,9 @@ import type {
|
|
|
70
67
|
InvokeAgeClassificationStepTemplateData,
|
|
71
68
|
InvokeAgeClassificationStepTemplateErrors,
|
|
72
69
|
InvokeAgeClassificationStepTemplateResponses,
|
|
70
|
+
InvokeArchiveExtractionStepTemplateData,
|
|
71
|
+
InvokeArchiveExtractionStepTemplateErrors,
|
|
72
|
+
InvokeArchiveExtractionStepTemplateResponses,
|
|
73
73
|
InvokeAudioCaptioningStepTemplateData,
|
|
74
74
|
InvokeAudioCaptioningStepTemplateErrors,
|
|
75
75
|
InvokeAudioCaptioningStepTemplateResponses,
|
|
@@ -169,6 +169,9 @@ import type {
|
|
|
169
169
|
InvokeModelPickleScanStepTemplateData,
|
|
170
170
|
InvokeModelPickleScanStepTemplateErrors,
|
|
171
171
|
InvokeModelPickleScanStepTemplateResponses,
|
|
172
|
+
InvokeMultimodalEmbeddingStepTemplateData,
|
|
173
|
+
InvokeMultimodalEmbeddingStepTemplateErrors,
|
|
174
|
+
InvokeMultimodalEmbeddingStepTemplateResponses,
|
|
172
175
|
InvokePolyGenStepTemplateData,
|
|
173
176
|
InvokePolyGenStepTemplateErrors,
|
|
174
177
|
InvokePolyGenStepTemplateResponses,
|
|
@@ -271,6 +274,9 @@ import type {
|
|
|
271
274
|
RefreshBlobData,
|
|
272
275
|
RefreshBlobErrors,
|
|
273
276
|
RefreshBlobResponses,
|
|
277
|
+
RefundFundData,
|
|
278
|
+
RefundFundErrors,
|
|
279
|
+
RefundFundResponses,
|
|
274
280
|
RemoveAllWorkflowTagsData,
|
|
275
281
|
RemoveAllWorkflowTagsErrors,
|
|
276
282
|
RemoveAllWorkflowTagsResponses,
|
|
@@ -316,7 +322,8 @@ export declare const getBlob: <ThrowOnError extends boolean = false>(
|
|
|
316
322
|
options: Options<GetBlobData, ThrowOnError>
|
|
317
323
|
) => import('./client').RequestResult<unknown, GetBlobErrors, ThrowOnError, 'fields'>;
|
|
318
324
|
/**
|
|
319
|
-
*
|
|
325
|
+
* Same as GET, but answers 204 with the redirect target in Location, so a client can read the verdict headers
|
|
326
|
+
* before loading the content.
|
|
320
327
|
*/
|
|
321
328
|
export declare const headBlob: <ThrowOnError extends boolean = false>(
|
|
322
329
|
options: Options<HeadBlobData, ThrowOnError>
|
|
@@ -345,18 +352,6 @@ export declare const uploadConsumerBlob: <ThrowOnError extends boolean = false>(
|
|
|
345
352
|
ThrowOnError,
|
|
346
353
|
'fields'
|
|
347
354
|
>;
|
|
348
|
-
/**
|
|
349
|
-
* Copy a trusted url into a blob named after that source, so the caller can ask for it again
|
|
350
|
-
* without holding the bytes. 200 when it already existed, 201 when copied.
|
|
351
|
-
*/
|
|
352
|
-
export declare const ingestConsumerBlob: <ThrowOnError extends boolean = false>(
|
|
353
|
-
options?: Options<IngestConsumerBlobData, ThrowOnError>
|
|
354
|
-
) => import('./client').RequestResult<
|
|
355
|
-
IngestConsumerBlobResponses,
|
|
356
|
-
IngestConsumerBlobErrors,
|
|
357
|
-
ThrowOnError,
|
|
358
|
-
'fields'
|
|
359
|
-
>;
|
|
360
355
|
/**
|
|
361
356
|
* Serves cacheable blob content using a deterministic encrypted token
|
|
362
357
|
*/
|
|
@@ -438,7 +433,7 @@ export declare const createFund: <ThrowOnError extends boolean = false>(
|
|
|
438
433
|
'fields'
|
|
439
434
|
>;
|
|
440
435
|
/**
|
|
441
|
-
*
|
|
436
|
+
* What is left goes back to the depositor when only one user deposited, else to Civitai. A fund is also deleted on its own at `expiresAt`.
|
|
442
437
|
*/
|
|
443
438
|
export declare const deleteFund: <ThrowOnError extends boolean = false>(
|
|
444
439
|
options: Options<DeleteFundData, ThrowOnError>
|
|
@@ -470,6 +465,17 @@ export declare const depositIntoFund: <ThrowOnError extends boolean = false>(
|
|
|
470
465
|
ThrowOnError,
|
|
471
466
|
'fields'
|
|
472
467
|
>;
|
|
468
|
+
/**
|
|
469
|
+
* Pays what is left back to the depositor now, when only one user deposited. The fund stays open, empty, for new deposits.
|
|
470
|
+
*/
|
|
471
|
+
export declare const refundFund: <ThrowOnError extends boolean = false>(
|
|
472
|
+
options: Options<RefundFundData, ThrowOnError>
|
|
473
|
+
) => import('./client').RequestResult<
|
|
474
|
+
RefundFundResponses,
|
|
475
|
+
RefundFundErrors,
|
|
476
|
+
ThrowOnError,
|
|
477
|
+
'fields'
|
|
478
|
+
>;
|
|
473
479
|
/**
|
|
474
480
|
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
475
481
|
*/
|
|
@@ -494,6 +500,19 @@ export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends
|
|
|
494
500
|
ThrowOnError,
|
|
495
501
|
'fields'
|
|
496
502
|
>;
|
|
503
|
+
/**
|
|
504
|
+
* Archive Extraction
|
|
505
|
+
*
|
|
506
|
+
* Extracts the media and text files of a zip or tar archive into blobs once each is scanned; fails if any is blocked.
|
|
507
|
+
*/
|
|
508
|
+
export declare const invokeArchiveExtractionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
509
|
+
options?: Options<InvokeArchiveExtractionStepTemplateData, ThrowOnError>
|
|
510
|
+
) => import('./client').RequestResult<
|
|
511
|
+
InvokeArchiveExtractionStepTemplateResponses,
|
|
512
|
+
InvokeArchiveExtractionStepTemplateErrors,
|
|
513
|
+
ThrowOnError,
|
|
514
|
+
'fields'
|
|
515
|
+
>;
|
|
497
516
|
/**
|
|
498
517
|
* Audio Captioning
|
|
499
518
|
*
|
|
@@ -899,6 +918,19 @@ export declare const invokeModelPickleScanStepTemplate: <ThrowOnError extends bo
|
|
|
899
918
|
ThrowOnError,
|
|
900
919
|
'fields'
|
|
901
920
|
>;
|
|
921
|
+
/**
|
|
922
|
+
* Multimodal Embedding
|
|
923
|
+
*
|
|
924
|
+
* Embeds a batch of images or text into the same vector space.
|
|
925
|
+
*/
|
|
926
|
+
export declare const invokeMultimodalEmbeddingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
927
|
+
options?: Options<InvokeMultimodalEmbeddingStepTemplateData, ThrowOnError>
|
|
928
|
+
) => import('./client').RequestResult<
|
|
929
|
+
InvokeMultimodalEmbeddingStepTemplateResponses,
|
|
930
|
+
InvokeMultimodalEmbeddingStepTemplateErrors,
|
|
931
|
+
ThrowOnError,
|
|
932
|
+
'fields'
|
|
933
|
+
>;
|
|
902
934
|
/**
|
|
903
935
|
* 3D model generation
|
|
904
936
|
*
|
|
@@ -11,7 +11,8 @@ export const getBlob = (options) => {
|
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Same as GET, but answers 204 with the redirect target in Location, so a client can read the verdict headers
|
|
15
|
+
* before loading the content.
|
|
15
16
|
*/
|
|
16
17
|
export const headBlob = (options) => {
|
|
17
18
|
var _a;
|
|
@@ -36,14 +37,6 @@ export const uploadConsumerBlob = (options) => {
|
|
|
36
37
|
var _a;
|
|
37
38
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({ url: '/v2/consumer/blobs', ...options });
|
|
38
39
|
};
|
|
39
|
-
/**
|
|
40
|
-
* Copy a trusted url into a blob named after that source, so the caller can ask for it again
|
|
41
|
-
* without holding the bytes. 200 when it already existed, 201 when copied.
|
|
42
|
-
*/
|
|
43
|
-
export const ingestConsumerBlob = (options) => {
|
|
44
|
-
var _a;
|
|
45
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({ url: '/v2/consumer/blobs/ingest', ...options });
|
|
46
|
-
};
|
|
47
40
|
/**
|
|
48
41
|
* Serves cacheable blob content using a deterministic encrypted token
|
|
49
42
|
*/
|
|
@@ -120,7 +113,7 @@ export const createFund = (options) => {
|
|
|
120
113
|
});
|
|
121
114
|
};
|
|
122
115
|
/**
|
|
123
|
-
*
|
|
116
|
+
* What is left goes back to the depositor when only one user deposited, else to Civitai. A fund is also deleted on its own at `expiresAt`.
|
|
124
117
|
*/
|
|
125
118
|
export const deleteFund = (options) => {
|
|
126
119
|
var _a;
|
|
@@ -161,6 +154,16 @@ export const depositIntoFund = (options) => {
|
|
|
161
154
|
},
|
|
162
155
|
});
|
|
163
156
|
};
|
|
157
|
+
/**
|
|
158
|
+
* Pays what is left back to the depositor now, when only one user deposited. The fund stays open, empty, for new deposits.
|
|
159
|
+
*/
|
|
160
|
+
export const refundFund = (options) => {
|
|
161
|
+
var _a;
|
|
162
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
163
|
+
url: '/v2/consumer/funds/{fundId}/refund',
|
|
164
|
+
...options,
|
|
165
|
+
});
|
|
166
|
+
};
|
|
164
167
|
/**
|
|
165
168
|
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
166
169
|
*/
|
|
@@ -191,6 +194,22 @@ export const invokeAgeClassificationStepTemplate = (options) => {
|
|
|
191
194
|
},
|
|
192
195
|
});
|
|
193
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
* Archive Extraction
|
|
199
|
+
*
|
|
200
|
+
* Extracts the media and text files of a zip or tar archive into blobs once each is scanned; fails if any is blocked.
|
|
201
|
+
*/
|
|
202
|
+
export const invokeArchiveExtractionStepTemplate = (options) => {
|
|
203
|
+
var _a;
|
|
204
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
205
|
+
url: '/v2/consumer/recipes/archiveExtraction',
|
|
206
|
+
...options,
|
|
207
|
+
headers: {
|
|
208
|
+
'Content-Type': 'application/json',
|
|
209
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
210
|
+
},
|
|
211
|
+
});
|
|
212
|
+
};
|
|
194
213
|
/**
|
|
195
214
|
* Audio Captioning
|
|
196
215
|
*
|
|
@@ -687,6 +706,22 @@ export const invokeModelPickleScanStepTemplate = (options) => {
|
|
|
687
706
|
},
|
|
688
707
|
});
|
|
689
708
|
};
|
|
709
|
+
/**
|
|
710
|
+
* Multimodal Embedding
|
|
711
|
+
*
|
|
712
|
+
* Embeds a batch of images or text into the same vector space.
|
|
713
|
+
*/
|
|
714
|
+
export const invokeMultimodalEmbeddingStepTemplate = (options) => {
|
|
715
|
+
var _a;
|
|
716
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
717
|
+
url: '/v2/consumer/recipes/multimodalEmbedding',
|
|
718
|
+
...options,
|
|
719
|
+
headers: {
|
|
720
|
+
'Content-Type': 'application/json',
|
|
721
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
722
|
+
},
|
|
723
|
+
});
|
|
724
|
+
};
|
|
690
725
|
/**
|
|
691
726
|
* 3D model generation
|
|
692
727
|
*
|