@civitai/orchestration-client 0.2.0-beta.116 → 0.2.0-beta.117
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,11 +1,13 @@
|
|
|
1
1
|
export {
|
|
2
2
|
addWorkflowTag,
|
|
3
|
+
appendStreamingBlob,
|
|
3
4
|
deleteWorkflow,
|
|
4
5
|
getBlob,
|
|
5
6
|
getBlobArchive,
|
|
6
7
|
getBlobContent,
|
|
7
8
|
getBlockedContent,
|
|
8
9
|
getConsumerBlobUploadUrl,
|
|
10
|
+
getFreeTier,
|
|
9
11
|
getResource,
|
|
10
12
|
getService,
|
|
11
13
|
getStreamingBlob,
|
|
@@ -35,9 +37,11 @@ export {
|
|
|
35
37
|
invokeImageToSvgStepTemplate,
|
|
36
38
|
invokeImageUploadStepTemplate,
|
|
37
39
|
invokeImageUpscalerStepTemplate,
|
|
40
|
+
invokeLiveTranscriptionStepTemplate,
|
|
38
41
|
invokeMediaCaptioningStepTemplate,
|
|
39
42
|
invokeMediaHashStepTemplate,
|
|
40
43
|
invokeMediaRatingStepTemplate,
|
|
44
|
+
invokeMergeStepTemplate,
|
|
41
45
|
invokeMiniMaxMusic3StepTemplate,
|
|
42
46
|
invokeModel3dPreviewStepTemplate,
|
|
43
47
|
invokeModelClamScanStepTemplate,
|
|
@@ -125,6 +129,11 @@ export {
|
|
|
125
129
|
type AnimeBodyAgeClassificationResult,
|
|
126
130
|
type AnimeRecognitionResult,
|
|
127
131
|
AnylineMergeWith,
|
|
132
|
+
type AppendStreamingBlobData,
|
|
133
|
+
type AppendStreamingBlobError,
|
|
134
|
+
type AppendStreamingBlobErrors,
|
|
135
|
+
type AppendStreamingBlobResponse,
|
|
136
|
+
type AppendStreamingBlobResponses,
|
|
128
137
|
ArchiveFormat,
|
|
129
138
|
type AssistantMessage,
|
|
130
139
|
type AssistantMessageWritable,
|
|
@@ -434,6 +443,9 @@ export {
|
|
|
434
443
|
type Flux3V3VideoGenInput,
|
|
435
444
|
type Flux3VideoGenInput,
|
|
436
445
|
type FluxDevFastImageResourceTrainingInput,
|
|
446
|
+
type FreeTierModelResponse,
|
|
447
|
+
type FreeTierResponse,
|
|
448
|
+
type FreeTierWindowResponse,
|
|
437
449
|
type Gemini25FlashCreateImageGenInput,
|
|
438
450
|
type Gemini25FlashEditImageGenInput,
|
|
439
451
|
type Gemini25FlashImageGenInput,
|
|
@@ -461,6 +473,11 @@ export {
|
|
|
461
473
|
type GetConsumerBlobUploadUrlErrors,
|
|
462
474
|
type GetConsumerBlobUploadUrlResponse,
|
|
463
475
|
type GetConsumerBlobUploadUrlResponses,
|
|
476
|
+
type GetFreeTierData,
|
|
477
|
+
type GetFreeTierError,
|
|
478
|
+
type GetFreeTierErrors,
|
|
479
|
+
type GetFreeTierResponse,
|
|
480
|
+
type GetFreeTierResponses,
|
|
464
481
|
type GetResourceData,
|
|
465
482
|
type GetResourceError,
|
|
466
483
|
type GetResourceErrors,
|
|
@@ -523,6 +540,7 @@ export {
|
|
|
523
540
|
type HeadBlobErrors,
|
|
524
541
|
type HeadBlobResponse,
|
|
525
542
|
type HeadBlobResponses,
|
|
543
|
+
type HeyGenVideoGenInput,
|
|
526
544
|
HiDreamI1Precision,
|
|
527
545
|
HiDreamI1Variant,
|
|
528
546
|
type HiDreamO1AiToolkitTrainingInput,
|
|
@@ -571,6 +589,7 @@ export {
|
|
|
571
589
|
type ImageScanningJointAgeDetection,
|
|
572
590
|
type ImageScanningLabelScore,
|
|
573
591
|
type ImageScanningOutput,
|
|
592
|
+
type ImageScanningPersonMask,
|
|
574
593
|
type ImageScanningRecognition,
|
|
575
594
|
type ImageScanningStep,
|
|
576
595
|
type ImageScanningStepTemplate,
|
|
@@ -704,6 +723,11 @@ export {
|
|
|
704
723
|
type InvokeImageUpscalerStepTemplateErrors,
|
|
705
724
|
type InvokeImageUpscalerStepTemplateResponse,
|
|
706
725
|
type InvokeImageUpscalerStepTemplateResponses,
|
|
726
|
+
type InvokeLiveTranscriptionStepTemplateData,
|
|
727
|
+
type InvokeLiveTranscriptionStepTemplateError,
|
|
728
|
+
type InvokeLiveTranscriptionStepTemplateErrors,
|
|
729
|
+
type InvokeLiveTranscriptionStepTemplateResponse,
|
|
730
|
+
type InvokeLiveTranscriptionStepTemplateResponses,
|
|
707
731
|
type InvokeMediaCaptioningStepTemplateData,
|
|
708
732
|
type InvokeMediaCaptioningStepTemplateError,
|
|
709
733
|
type InvokeMediaCaptioningStepTemplateErrors,
|
|
@@ -719,6 +743,11 @@ export {
|
|
|
719
743
|
type InvokeMediaRatingStepTemplateErrors,
|
|
720
744
|
type InvokeMediaRatingStepTemplateResponse,
|
|
721
745
|
type InvokeMediaRatingStepTemplateResponses,
|
|
746
|
+
type InvokeMergeStepTemplateData,
|
|
747
|
+
type InvokeMergeStepTemplateError,
|
|
748
|
+
type InvokeMergeStepTemplateErrors,
|
|
749
|
+
type InvokeMergeStepTemplateResponse,
|
|
750
|
+
type InvokeMergeStepTemplateResponses,
|
|
722
751
|
type InvokeMiniMaxMusic3StepTemplateData,
|
|
723
752
|
type InvokeMiniMaxMusic3StepTemplateError,
|
|
724
753
|
type InvokeMiniMaxMusic3StepTemplateErrors,
|
|
@@ -918,6 +947,10 @@ export {
|
|
|
918
947
|
type ListServicesErrors,
|
|
919
948
|
type ListServicesResponse,
|
|
920
949
|
type ListServicesResponses,
|
|
950
|
+
type LiveTranscriptionInput,
|
|
951
|
+
type LiveTranscriptionOutput,
|
|
952
|
+
type LiveTranscriptionStep,
|
|
953
|
+
type LiveTranscriptionStepTemplate,
|
|
921
954
|
type LoadingResourceAvailability,
|
|
922
955
|
type Ltx23AiToolkitTrainingInput,
|
|
923
956
|
type Ltx23AiToolkitTrainingInputWritable,
|
|
@@ -949,6 +982,13 @@ export {
|
|
|
949
982
|
type MediaRatingStep,
|
|
950
983
|
type MediaRatingStepTemplate,
|
|
951
984
|
type MediaTransformer,
|
|
985
|
+
type MergeField,
|
|
986
|
+
type MergeInput,
|
|
987
|
+
MergeMissingBehavior,
|
|
988
|
+
type MergeOutput,
|
|
989
|
+
MergeReducer,
|
|
990
|
+
type MergeStep,
|
|
991
|
+
type MergeStepTemplate,
|
|
952
992
|
type MeshyFalPolyGenInput,
|
|
953
993
|
type MeshyImageTo3dFalPolyGenInput,
|
|
954
994
|
type MeshyTextTo3dFalPolyGenInput,
|
|
@@ -962,6 +1002,10 @@ export {
|
|
|
962
1002
|
type MingAiToolkitTrainingInputWritable,
|
|
963
1003
|
type MiniMaxH3AiToolkitTrainingInput,
|
|
964
1004
|
type MiniMaxH3AiToolkitTrainingInputWritable,
|
|
1005
|
+
type MiniMaxH3MaxImageToVideoInput,
|
|
1006
|
+
type MiniMaxH3MaxReferenceToVideoInput,
|
|
1007
|
+
type MiniMaxH3MaxTextToVideoInput,
|
|
1008
|
+
type MiniMaxH3MaxVideoGenInput,
|
|
965
1009
|
type MiniMaxH3VideoGenInput,
|
|
966
1010
|
type MiniMaxMusic3Input,
|
|
967
1011
|
type MiniMaxMusic3Output,
|
|
@@ -1111,6 +1155,8 @@ export {
|
|
|
1111
1155
|
type PreprocessImageScribblePidinetInputWritable,
|
|
1112
1156
|
type PreprocessImageScribbleXdogInput,
|
|
1113
1157
|
type PreprocessImageScribbleXdogInputWritable,
|
|
1158
|
+
type PreprocessImageSdPoseInput,
|
|
1159
|
+
type PreprocessImageSdPoseInputWritable,
|
|
1114
1160
|
type PreprocessImageShuffleInput,
|
|
1115
1161
|
type PreprocessImageShuffleInputWritable,
|
|
1116
1162
|
type PreprocessImageStandardLineartInput,
|
|
@@ -1149,6 +1195,8 @@ export {
|
|
|
1149
1195
|
type PreprocessVideoOutput,
|
|
1150
1196
|
type PreprocessVideoScribbleInput,
|
|
1151
1197
|
type PreprocessVideoScribbleInputWritable,
|
|
1198
|
+
type PreprocessVideoSdPoseInput,
|
|
1199
|
+
type PreprocessVideoSdPoseInputWritable,
|
|
1152
1200
|
type PreprocessVideoStep,
|
|
1153
1201
|
type PreprocessVideoStepTemplate,
|
|
1154
1202
|
type PreprocessVideoStepTemplateWritable,
|
|
@@ -1271,6 +1319,7 @@ export {
|
|
|
1271
1319
|
type Sora2TextToVideoInput,
|
|
1272
1320
|
type SoraVideoGenInput,
|
|
1273
1321
|
type StarVectorImageToSvgInput,
|
|
1322
|
+
type StreamingBlobAppendResponse,
|
|
1274
1323
|
type SubmitWorkflowData,
|
|
1275
1324
|
type SubmitWorkflowError,
|
|
1276
1325
|
type SubmitWorkflowErrors,
|
|
@@ -1474,6 +1523,7 @@ export {
|
|
|
1474
1523
|
WorkflowStepWarningCode,
|
|
1475
1524
|
type WorkflowStepWritable,
|
|
1476
1525
|
type WorkflowTemplate,
|
|
1526
|
+
WorkflowTier,
|
|
1477
1527
|
type WorkflowTips,
|
|
1478
1528
|
WorkflowUpgradeMode,
|
|
1479
1529
|
WorkflowWaitUntil,
|
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, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, 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, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, 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';
|
|
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, 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, WorkflowUpgradeMode, WorkflowWaitUntil, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen';
|
|
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';
|
|
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';
|
|
@@ -3,6 +3,9 @@ import type {
|
|
|
3
3
|
AddWorkflowTagData,
|
|
4
4
|
AddWorkflowTagErrors,
|
|
5
5
|
AddWorkflowTagResponses,
|
|
6
|
+
AppendStreamingBlobData,
|
|
7
|
+
AppendStreamingBlobErrors,
|
|
8
|
+
AppendStreamingBlobResponses,
|
|
6
9
|
DeleteWorkflowData,
|
|
7
10
|
DeleteWorkflowErrors,
|
|
8
11
|
DeleteWorkflowResponses,
|
|
@@ -19,6 +22,9 @@ import type {
|
|
|
19
22
|
GetConsumerBlobUploadUrlData,
|
|
20
23
|
GetConsumerBlobUploadUrlErrors,
|
|
21
24
|
GetConsumerBlobUploadUrlResponses,
|
|
25
|
+
GetFreeTierData,
|
|
26
|
+
GetFreeTierErrors,
|
|
27
|
+
GetFreeTierResponses,
|
|
22
28
|
GetResourceData,
|
|
23
29
|
GetResourceErrors,
|
|
24
30
|
GetResourceResponses,
|
|
@@ -106,6 +112,9 @@ import type {
|
|
|
106
112
|
InvokeImageUpscalerStepTemplateData,
|
|
107
113
|
InvokeImageUpscalerStepTemplateErrors,
|
|
108
114
|
InvokeImageUpscalerStepTemplateResponses,
|
|
115
|
+
InvokeLiveTranscriptionStepTemplateData,
|
|
116
|
+
InvokeLiveTranscriptionStepTemplateErrors,
|
|
117
|
+
InvokeLiveTranscriptionStepTemplateResponses,
|
|
109
118
|
InvokeMediaCaptioningStepTemplateData,
|
|
110
119
|
InvokeMediaCaptioningStepTemplateErrors,
|
|
111
120
|
InvokeMediaCaptioningStepTemplateResponses,
|
|
@@ -115,6 +124,9 @@ import type {
|
|
|
115
124
|
InvokeMediaRatingStepTemplateData,
|
|
116
125
|
InvokeMediaRatingStepTemplateErrors,
|
|
117
126
|
InvokeMediaRatingStepTemplateResponses,
|
|
127
|
+
InvokeMergeStepTemplateData,
|
|
128
|
+
InvokeMergeStepTemplateErrors,
|
|
129
|
+
InvokeMergeStepTemplateResponses,
|
|
118
130
|
InvokeMiniMaxMusic3StepTemplateData,
|
|
119
131
|
InvokeMiniMaxMusic3StepTemplateErrors,
|
|
120
132
|
InvokeMiniMaxMusic3StepTemplateResponses,
|
|
@@ -372,6 +384,18 @@ export declare const invalidateUserTokens: <ThrowOnError extends boolean = false
|
|
|
372
384
|
ThrowOnError,
|
|
373
385
|
'fields'
|
|
374
386
|
>;
|
|
387
|
+
/**
|
|
388
|
+
* Get the free-tier models and the caller's remaining quota. Use them with `tier: "free"` on a workflow,
|
|
389
|
+
* `?tier=free` on a recipe, or `X-Civitai-Tier: free` on the OpenAI-compatible chat endpoint.
|
|
390
|
+
*/
|
|
391
|
+
export declare const getFreeTier: <ThrowOnError extends boolean = false>(
|
|
392
|
+
options?: Options<GetFreeTierData, ThrowOnError>
|
|
393
|
+
) => import('./client').RequestResult<
|
|
394
|
+
GetFreeTierResponses,
|
|
395
|
+
GetFreeTierErrors,
|
|
396
|
+
ThrowOnError,
|
|
397
|
+
'fields'
|
|
398
|
+
>;
|
|
375
399
|
/**
|
|
376
400
|
* Workflow step for generating music using ACE Step 1.5.
|
|
377
401
|
* /// Produces full songs from text descriptions and structured lyrics.
|
|
@@ -624,6 +648,20 @@ export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
624
648
|
ThrowOnError,
|
|
625
649
|
'fields'
|
|
626
650
|
>;
|
|
651
|
+
/**
|
|
652
|
+
* Live transcription
|
|
653
|
+
*
|
|
654
|
+
* Transcribes speech while it is recorded: append audio to <c>output.inputUrl</c> and read text from
|
|
655
|
+
* /// <c>output.transcriptUrl</c> as it decodes. Billed per second of audio once the session ends.
|
|
656
|
+
*/
|
|
657
|
+
export declare const invokeLiveTranscriptionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
658
|
+
options?: Options<InvokeLiveTranscriptionStepTemplateData, ThrowOnError>
|
|
659
|
+
) => import('./client').RequestResult<
|
|
660
|
+
InvokeLiveTranscriptionStepTemplateResponses,
|
|
661
|
+
InvokeLiveTranscriptionStepTemplateErrors,
|
|
662
|
+
ThrowOnError,
|
|
663
|
+
'fields'
|
|
664
|
+
>;
|
|
627
665
|
/**
|
|
628
666
|
* Media Captioning
|
|
629
667
|
*
|
|
@@ -663,6 +701,19 @@ export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolea
|
|
|
663
701
|
ThrowOnError,
|
|
664
702
|
'fields'
|
|
665
703
|
>;
|
|
704
|
+
/**
|
|
705
|
+
* Merge
|
|
706
|
+
*
|
|
707
|
+
* Also waits for every step the referenced steps generate, such as each iteration of a repeat.
|
|
708
|
+
*/
|
|
709
|
+
export declare const invokeMergeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
710
|
+
options?: Options<InvokeMergeStepTemplateData, ThrowOnError>
|
|
711
|
+
) => import('./client').RequestResult<
|
|
712
|
+
InvokeMergeStepTemplateResponses,
|
|
713
|
+
InvokeMergeStepTemplateErrors,
|
|
714
|
+
ThrowOnError,
|
|
715
|
+
'fields'
|
|
716
|
+
>;
|
|
666
717
|
/**
|
|
667
718
|
* Generate a complete song from a structured caption and lyrics with MiniMax Music 3.
|
|
668
719
|
*/
|
|
@@ -1120,6 +1171,18 @@ export declare const getStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
|
1120
1171
|
ThrowOnError,
|
|
1121
1172
|
'fields'
|
|
1122
1173
|
>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Number chunks from `seq=0`; a resent seq is a no-op, a gap returns 409 with the expected seq,
|
|
1176
|
+
* and `final=true` closes the blob.
|
|
1177
|
+
*/
|
|
1178
|
+
export declare const appendStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
1179
|
+
options: Options<AppendStreamingBlobData, ThrowOnError>
|
|
1180
|
+
) => import('./client').RequestResult<
|
|
1181
|
+
AppendStreamingBlobResponses,
|
|
1182
|
+
AppendStreamingBlobErrors,
|
|
1183
|
+
ThrowOnError,
|
|
1184
|
+
'fields'
|
|
1185
|
+
>;
|
|
1123
1186
|
/**
|
|
1124
1187
|
* Query workflows
|
|
1125
1188
|
*/
|
|
@@ -94,6 +94,17 @@ export const invalidateUserTokens = (options) => {
|
|
|
94
94
|
var _a;
|
|
95
95
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).delete({ url: '/v2/consumer/civitai/{userId}/tokens', ...options });
|
|
96
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* Get the free-tier models and the caller's remaining quota. Use them with `tier: "free"` on a workflow,
|
|
99
|
+
* `?tier=free` on a recipe, or `X-Civitai-Tier: free` on the OpenAI-compatible chat endpoint.
|
|
100
|
+
*/
|
|
101
|
+
export const getFreeTier = (options) => {
|
|
102
|
+
var _a;
|
|
103
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get({
|
|
104
|
+
url: '/v2/consumer/free-tier',
|
|
105
|
+
...options,
|
|
106
|
+
});
|
|
107
|
+
};
|
|
97
108
|
/**
|
|
98
109
|
* Workflow step for generating music using ACE Step 1.5.
|
|
99
110
|
* /// Produces full songs from text descriptions and structured lyrics.
|
|
@@ -398,6 +409,23 @@ export const invokeImageUpscalerStepTemplate = (options) => {
|
|
|
398
409
|
},
|
|
399
410
|
});
|
|
400
411
|
};
|
|
412
|
+
/**
|
|
413
|
+
* Live transcription
|
|
414
|
+
*
|
|
415
|
+
* Transcribes speech while it is recorded: append audio to <c>output.inputUrl</c> and read text from
|
|
416
|
+
* /// <c>output.transcriptUrl</c> as it decodes. Billed per second of audio once the session ends.
|
|
417
|
+
*/
|
|
418
|
+
export const invokeLiveTranscriptionStepTemplate = (options) => {
|
|
419
|
+
var _a;
|
|
420
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
421
|
+
url: '/v2/consumer/recipes/liveTranscription',
|
|
422
|
+
...options,
|
|
423
|
+
headers: {
|
|
424
|
+
'Content-Type': 'application/json',
|
|
425
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
426
|
+
},
|
|
427
|
+
});
|
|
428
|
+
};
|
|
401
429
|
/**
|
|
402
430
|
* Media Captioning
|
|
403
431
|
*
|
|
@@ -446,6 +474,22 @@ export const invokeMediaRatingStepTemplate = (options) => {
|
|
|
446
474
|
},
|
|
447
475
|
});
|
|
448
476
|
};
|
|
477
|
+
/**
|
|
478
|
+
* Merge
|
|
479
|
+
*
|
|
480
|
+
* Also waits for every step the referenced steps generate, such as each iteration of a repeat.
|
|
481
|
+
*/
|
|
482
|
+
export const invokeMergeStepTemplate = (options) => {
|
|
483
|
+
var _a;
|
|
484
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
485
|
+
url: '/v2/consumer/recipes/merge',
|
|
486
|
+
...options,
|
|
487
|
+
headers: {
|
|
488
|
+
'Content-Type': 'application/json',
|
|
489
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
490
|
+
},
|
|
491
|
+
});
|
|
492
|
+
};
|
|
449
493
|
/**
|
|
450
494
|
* Generate a complete song from a structured caption and lyrics with MiniMax Music 3.
|
|
451
495
|
*/
|
|
@@ -993,6 +1037,14 @@ export const getStreamingBlob = (options) => {
|
|
|
993
1037
|
...options,
|
|
994
1038
|
});
|
|
995
1039
|
};
|
|
1040
|
+
/**
|
|
1041
|
+
* Number chunks from `seq=0`; a resent seq is a no-op, a gap returns 409 with the expected seq,
|
|
1042
|
+
* and `final=true` closes the blob.
|
|
1043
|
+
*/
|
|
1044
|
+
export const appendStreamingBlob = (options) => {
|
|
1045
|
+
var _a;
|
|
1046
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).post({ url: '/v2/consumer/streaming-blobs/{blobKey}', ...options });
|
|
1047
|
+
};
|
|
996
1048
|
/**
|
|
997
1049
|
* Query workflows
|
|
998
1050
|
*/
|