@civitai/orchestration-client 0.2.0-beta.113 → 0.2.0-beta.115
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.
|
@@ -52,6 +52,7 @@ export {
|
|
|
52
52
|
invokeQwenImageBenchStepTemplate,
|
|
53
53
|
invokeRepeatStepTemplate,
|
|
54
54
|
invokeShieldstralModerationStepTemplate,
|
|
55
|
+
invokeSoniloAudioGenStepTemplate,
|
|
55
56
|
invokeTextToImageStepTemplate,
|
|
56
57
|
invokeTextToSpeechStepTemplate,
|
|
57
58
|
invokeTrainingStepTemplate,
|
|
@@ -532,6 +533,9 @@ export {
|
|
|
532
533
|
type Hunyuan3dShapeGenComfyPolyGenInput,
|
|
533
534
|
type Hunyuan3dTexGenComfyPolyGenInput,
|
|
534
535
|
type HunyuanVdeoGenInput,
|
|
536
|
+
type Ideogram45CreateFalImageGenInput,
|
|
537
|
+
type Ideogram45EditFalImageGenInput,
|
|
538
|
+
type Ideogram45FalImageGenInput,
|
|
535
539
|
type Ideogram4AiToolkitTrainingInput,
|
|
536
540
|
type Ideogram4AiToolkitTrainingInputWritable,
|
|
537
541
|
ImageBackgroundRemovalFormat,
|
|
@@ -782,6 +786,11 @@ export {
|
|
|
782
786
|
type InvokeShieldstralModerationStepTemplateErrors,
|
|
783
787
|
type InvokeShieldstralModerationStepTemplateResponse,
|
|
784
788
|
type InvokeShieldstralModerationStepTemplateResponses,
|
|
789
|
+
type InvokeSoniloAudioGenStepTemplateData,
|
|
790
|
+
type InvokeSoniloAudioGenStepTemplateError,
|
|
791
|
+
type InvokeSoniloAudioGenStepTemplateErrors,
|
|
792
|
+
type InvokeSoniloAudioGenStepTemplateResponse,
|
|
793
|
+
type InvokeSoniloAudioGenStepTemplateResponses,
|
|
785
794
|
type InvokeTextToImageStepTemplateData,
|
|
786
795
|
type InvokeTextToImageStepTemplateError,
|
|
787
796
|
type InvokeTextToImageStepTemplateErrors,
|
|
@@ -1123,14 +1132,20 @@ export {
|
|
|
1123
1132
|
type PreprocessVideoDepthAnythingV2InputWritable,
|
|
1124
1133
|
type PreprocessVideoDwPoseInput,
|
|
1125
1134
|
type PreprocessVideoDwPoseInputWritable,
|
|
1135
|
+
type PreprocessVideoGrayInput,
|
|
1136
|
+
type PreprocessVideoGrayInputWritable,
|
|
1126
1137
|
type PreprocessVideoHedInput,
|
|
1127
1138
|
type PreprocessVideoHedInputWritable,
|
|
1128
1139
|
type PreprocessVideoInput,
|
|
1129
1140
|
type PreprocessVideoInputWritable,
|
|
1130
1141
|
type PreprocessVideoInputWritable2,
|
|
1142
|
+
type PreprocessVideoLayoutInput,
|
|
1143
|
+
type PreprocessVideoLayoutInputWritable,
|
|
1131
1144
|
type PreprocessVideoMlsdInput,
|
|
1132
1145
|
type PreprocessVideoMlsdInputWritable,
|
|
1133
1146
|
type PreprocessVideoOutput,
|
|
1147
|
+
type PreprocessVideoScribbleInput,
|
|
1148
|
+
type PreprocessVideoScribbleInputWritable,
|
|
1134
1149
|
type PreprocessVideoStep,
|
|
1135
1150
|
type PreprocessVideoStepTemplate,
|
|
1136
1151
|
type PreprocessVideoStepTemplateWritable,
|
|
@@ -1243,6 +1258,12 @@ export {
|
|
|
1243
1258
|
type ShieldstralPolicyResult,
|
|
1244
1259
|
type ShieldstralPromptModerationInput,
|
|
1245
1260
|
type ShieldstralTextModerationInput,
|
|
1261
|
+
type SoniloAudioGenInput,
|
|
1262
|
+
type SoniloAudioGenOutput,
|
|
1263
|
+
type SoniloAudioGenStep,
|
|
1264
|
+
type SoniloAudioGenStepTemplate,
|
|
1265
|
+
type SoniloMusicInput,
|
|
1266
|
+
type SoniloSoundEffectInput,
|
|
1246
1267
|
type Sora2ImageToVideoInput,
|
|
1247
1268
|
type Sora2TextToVideoInput,
|
|
1248
1269
|
type SoraVideoGenInput,
|
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, 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, 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
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';
|
|
@@ -157,6 +157,9 @@ import type {
|
|
|
157
157
|
InvokeShieldstralModerationStepTemplateData,
|
|
158
158
|
InvokeShieldstralModerationStepTemplateErrors,
|
|
159
159
|
InvokeShieldstralModerationStepTemplateResponses,
|
|
160
|
+
InvokeSoniloAudioGenStepTemplateData,
|
|
161
|
+
InvokeSoniloAudioGenStepTemplateErrors,
|
|
162
|
+
InvokeSoniloAudioGenStepTemplateResponses,
|
|
160
163
|
InvokeTextToImageStepTemplateData,
|
|
161
164
|
InvokeTextToImageStepTemplateErrors,
|
|
162
165
|
InvokeTextToImageStepTemplateResponses,
|
|
@@ -832,6 +835,17 @@ export declare const invokeShieldstralModerationStepTemplate: <
|
|
|
832
835
|
ThrowOnError,
|
|
833
836
|
'fields'
|
|
834
837
|
>;
|
|
838
|
+
/**
|
|
839
|
+
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
840
|
+
*/
|
|
841
|
+
export declare const invokeSoniloAudioGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
842
|
+
options?: Options<InvokeSoniloAudioGenStepTemplateData, ThrowOnError>
|
|
843
|
+
) => import('./client').RequestResult<
|
|
844
|
+
InvokeSoniloAudioGenStepTemplateResponses,
|
|
845
|
+
InvokeSoniloAudioGenStepTemplateErrors,
|
|
846
|
+
ThrowOnError,
|
|
847
|
+
'fields'
|
|
848
|
+
>;
|
|
835
849
|
/**
|
|
836
850
|
* TextToImage
|
|
837
851
|
*
|
|
@@ -658,6 +658,20 @@ export const invokeShieldstralModerationStepTemplate = (options) => {
|
|
|
658
658
|
},
|
|
659
659
|
});
|
|
660
660
|
};
|
|
661
|
+
/**
|
|
662
|
+
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
663
|
+
*/
|
|
664
|
+
export const invokeSoniloAudioGenStepTemplate = (options) => {
|
|
665
|
+
var _a;
|
|
666
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
667
|
+
url: '/v2/consumer/recipes/soniloAudioGen',
|
|
668
|
+
...options,
|
|
669
|
+
headers: {
|
|
670
|
+
'Content-Type': 'application/json',
|
|
671
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
672
|
+
},
|
|
673
|
+
});
|
|
674
|
+
};
|
|
661
675
|
/**
|
|
662
676
|
* TextToImage
|
|
663
677
|
*
|
|
@@ -804,10 +804,8 @@ export type Blob = {
|
|
|
804
804
|
*/
|
|
805
805
|
blockedReason?: null | string;
|
|
806
806
|
/**
|
|
807
|
-
* Get the storage tier holding this blob, when
|
|
808
|
-
* tier,
|
|
809
|
-
* Carried so a downstream step or consumer resolves the right grain directly rather than
|
|
810
|
-
* probing each tier for the key.
|
|
807
|
+
* Get the storage tier holding this blob, when one was declared. Null resolves to the private
|
|
808
|
+
* managed tier, falling back to the classic one for blobs written before producers moved off it.
|
|
811
809
|
*/
|
|
812
810
|
tier?: null | string;
|
|
813
811
|
};
|
|
@@ -5067,6 +5065,64 @@ export type HunyuanVdeoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
5067
5065
|
model?: null | string;
|
|
5068
5066
|
engine: 'hunyuan';
|
|
5069
5067
|
};
|
|
5068
|
+
export type Ideogram45CreateFalImageGenInput = Omit<
|
|
5069
|
+
Ideogram45FalImageGenInput,
|
|
5070
|
+
'engine' | 'model' | 'operation'
|
|
5071
|
+
> & {
|
|
5072
|
+
quality?: 'low' | 'medium' | 'high';
|
|
5073
|
+
imageSize?:
|
|
5074
|
+
| 'square_hd'
|
|
5075
|
+
| 'square'
|
|
5076
|
+
| 'portrait_4_3'
|
|
5077
|
+
| 'portrait_16_9'
|
|
5078
|
+
| 'landscape_4_3'
|
|
5079
|
+
| 'landscape_16_9';
|
|
5080
|
+
enablePromptExpansion?: boolean;
|
|
5081
|
+
operation: 'createImage';
|
|
5082
|
+
model: 'ideogram45';
|
|
5083
|
+
engine: 'fal';
|
|
5084
|
+
};
|
|
5085
|
+
export type Ideogram45EditFalImageGenInput = Omit<
|
|
5086
|
+
Ideogram45FalImageGenInput,
|
|
5087
|
+
'engine' | 'model' | 'operation'
|
|
5088
|
+
> & {
|
|
5089
|
+
quality?: 'very_low' | 'low' | 'medium' | 'high';
|
|
5090
|
+
imageSize?:
|
|
5091
|
+
| 'auto'
|
|
5092
|
+
| 'square_hd'
|
|
5093
|
+
| 'square'
|
|
5094
|
+
| 'portrait_4_3'
|
|
5095
|
+
| 'portrait_16_9'
|
|
5096
|
+
| 'landscape_4_3'
|
|
5097
|
+
| 'landscape_16_9';
|
|
5098
|
+
/**
|
|
5099
|
+
* The first image is the source; the remaining images are references.
|
|
5100
|
+
*/
|
|
5101
|
+
images: Array<string>;
|
|
5102
|
+
/**
|
|
5103
|
+
* Black edits, white preserves. Must match the source dimensions and contain both regions.
|
|
5104
|
+
*/
|
|
5105
|
+
maskImage?: null | string;
|
|
5106
|
+
editPrecision?: 'regular' | 'high';
|
|
5107
|
+
operation: 'editImage';
|
|
5108
|
+
model: 'ideogram45';
|
|
5109
|
+
engine: 'fal';
|
|
5110
|
+
};
|
|
5111
|
+
export type Ideogram45FalImageGenInput = Omit<FalImageGenInput, 'engine' | 'model'> & {
|
|
5112
|
+
operation: string;
|
|
5113
|
+
prompt: string;
|
|
5114
|
+
quantity?: number;
|
|
5115
|
+
seed?: null | number;
|
|
5116
|
+
quality?: string;
|
|
5117
|
+
imageSize?: string;
|
|
5118
|
+
/**
|
|
5119
|
+
* Custom dimensions override imageSize. Set width and height together.
|
|
5120
|
+
*/
|
|
5121
|
+
width?: null | number;
|
|
5122
|
+
height?: null | number;
|
|
5123
|
+
model: 'ideogram45';
|
|
5124
|
+
engine: 'fal';
|
|
5125
|
+
};
|
|
5070
5126
|
/**
|
|
5071
5127
|
* AI Toolkit training for Ideogram 4 models.
|
|
5072
5128
|
*/
|
|
@@ -7595,6 +7651,9 @@ export type PreprocessVideoDwPoseInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
|
7595
7651
|
poseEstimator?: DwPoseEstimator;
|
|
7596
7652
|
kind: 'dwpose';
|
|
7597
7653
|
};
|
|
7654
|
+
export type PreprocessVideoGrayInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7655
|
+
kind: 'gray';
|
|
7656
|
+
};
|
|
7598
7657
|
export type PreprocessVideoHedInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7599
7658
|
safe?: SafeMode;
|
|
7600
7659
|
kind: 'hed';
|
|
@@ -7608,6 +7667,15 @@ export type PreprocessVideoInput = {
|
|
|
7608
7667
|
resolution?: number;
|
|
7609
7668
|
readonly preprocessorType: string;
|
|
7610
7669
|
};
|
|
7670
|
+
export type PreprocessVideoLayoutInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7671
|
+
threshold?: number;
|
|
7672
|
+
/**
|
|
7673
|
+
* A COCO class name, or "all" to keep every detected class.
|
|
7674
|
+
*/
|
|
7675
|
+
className?: string;
|
|
7676
|
+
maxDetections?: number;
|
|
7677
|
+
kind: 'layout';
|
|
7678
|
+
};
|
|
7611
7679
|
export type PreprocessVideoMlsdInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7612
7680
|
scoreThreshold?: number;
|
|
7613
7681
|
distanceThreshold?: number;
|
|
@@ -7616,6 +7684,10 @@ export type PreprocessVideoMlsdInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
|
7616
7684
|
export type PreprocessVideoOutput = {
|
|
7617
7685
|
blob: VideoBlob;
|
|
7618
7686
|
};
|
|
7687
|
+
export type PreprocessVideoScribbleInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7688
|
+
threshold?: number;
|
|
7689
|
+
kind: 'scribble';
|
|
7690
|
+
};
|
|
7619
7691
|
export type PreprocessVideoStep = Omit<WorkflowStep, '$type'> & {
|
|
7620
7692
|
input: PreprocessVideoInput;
|
|
7621
7693
|
output?: PreprocessVideoOutput;
|
|
@@ -7802,6 +7874,18 @@ export type Qwen20bVariantImageGenInput = Omit<
|
|
|
7802
7874
|
ecosystem: 'qwen';
|
|
7803
7875
|
engine: 'sdcpp';
|
|
7804
7876
|
};
|
|
7877
|
+
/**
|
|
7878
|
+
* AI Toolkit LoRA training for Qwen Image 2.1.
|
|
7879
|
+
*/
|
|
7880
|
+
export type Qwen21AiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
|
|
7881
|
+
readonly defaultSteps: number;
|
|
7882
|
+
ecosystem: 'qwen21';
|
|
7883
|
+
engine: 'ai-toolkit';
|
|
7884
|
+
/**
|
|
7885
|
+
* Training batch size. Fixed at 1 for this ecosystem.
|
|
7886
|
+
*/
|
|
7887
|
+
batchSize?: null | number;
|
|
7888
|
+
};
|
|
7805
7889
|
export type Qwen2CreateFalImageGenInput = Omit<
|
|
7806
7890
|
Qwen2FalImageGenInput,
|
|
7807
7891
|
'engine' | 'model' | 'operation'
|
|
@@ -7923,18 +8007,6 @@ export type Qwen3VoiceDesignTtsInput = Omit<
|
|
|
7923
8007
|
ecosystem: 'qwen3';
|
|
7924
8008
|
engine: 'vllm-omni';
|
|
7925
8009
|
};
|
|
7926
|
-
/**
|
|
7927
|
-
* AI Toolkit LoRA training for Qwen Image 2.1.
|
|
7928
|
-
*/
|
|
7929
|
-
export type Qwen21AiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
|
|
7930
|
-
readonly defaultSteps: number;
|
|
7931
|
-
ecosystem: 'qwen21';
|
|
7932
|
-
engine: 'ai-toolkit';
|
|
7933
|
-
/**
|
|
7934
|
-
* Training batch size. Fixed at 1 for this ecosystem.
|
|
7935
|
-
*/
|
|
7936
|
-
batchSize?: null | number;
|
|
7937
|
-
};
|
|
7938
8010
|
/**
|
|
7939
8011
|
* AI Toolkit training for Qwen Image models
|
|
7940
8012
|
*/
|
|
@@ -8232,6 +8304,14 @@ export type ResourceInfo = {
|
|
|
8232
8304
|
*/
|
|
8233
8305
|
userId?: null | number;
|
|
8234
8306
|
availability?: ResourceAvailability;
|
|
8307
|
+
/**
|
|
8308
|
+
* Promoted resources download in the High lane for free, whatever lane the job asked for.
|
|
8309
|
+
*/
|
|
8310
|
+
isPromoted?: null | boolean;
|
|
8311
|
+
/**
|
|
8312
|
+
* When false, workers keep the cluster's last copy of this resource rather than evicting it.
|
|
8313
|
+
*/
|
|
8314
|
+
evictable?: null | boolean;
|
|
8235
8315
|
};
|
|
8236
8316
|
/**
|
|
8237
8317
|
* A projection of the resource collection. There is no view that lists every known resource — resources
|
|
@@ -8732,6 +8812,51 @@ export type ShieldstralTextModerationInput = Omit<ShieldstralModerationInput, 'm
|
|
|
8732
8812
|
text: string;
|
|
8733
8813
|
mode: 'text';
|
|
8734
8814
|
};
|
|
8815
|
+
/**
|
|
8816
|
+
* Text-to-audio via Sonilo; `operation` picks music or a standalone sound effect.
|
|
8817
|
+
*/
|
|
8818
|
+
export type SoniloAudioGenInput = {
|
|
8819
|
+
operation: null | string;
|
|
8820
|
+
prompt: string;
|
|
8821
|
+
};
|
|
8822
|
+
export type SoniloAudioGenOutput = {
|
|
8823
|
+
blob: AudioBlob;
|
|
8824
|
+
};
|
|
8825
|
+
/**
|
|
8826
|
+
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
8827
|
+
*/
|
|
8828
|
+
export type SoniloAudioGenStep = Omit<WorkflowStep, '$type'> & {
|
|
8829
|
+
input: SoniloAudioGenInput;
|
|
8830
|
+
output?: SoniloAudioGenOutput;
|
|
8831
|
+
$type: 'soniloAudioGen';
|
|
8832
|
+
};
|
|
8833
|
+
/**
|
|
8834
|
+
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
8835
|
+
*/
|
|
8836
|
+
export type SoniloAudioGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8837
|
+
input: SoniloAudioGenInput;
|
|
8838
|
+
$type: 'soniloAudioGen';
|
|
8839
|
+
};
|
|
8840
|
+
/**
|
|
8841
|
+
* Generate a music track. Style, mood, instrumentation, lyrics and tempo are inferred from the prompt.
|
|
8842
|
+
*/
|
|
8843
|
+
export type SoniloMusicInput = Omit<SoniloAudioGenInput, 'operation'> & {
|
|
8844
|
+
/**
|
|
8845
|
+
* Track length in seconds. Sonilo bills a minimum of 10 seconds.
|
|
8846
|
+
*/
|
|
8847
|
+
duration?: number;
|
|
8848
|
+
operation: 'music';
|
|
8849
|
+
};
|
|
8850
|
+
/**
|
|
8851
|
+
* Generate a standalone sound effect, e.g. "heavy wooden door creaking open in a stone hallway".
|
|
8852
|
+
*/
|
|
8853
|
+
export type SoniloSoundEffectInput = Omit<SoniloAudioGenInput, 'operation'> & {
|
|
8854
|
+
/**
|
|
8855
|
+
* Effect length in seconds. Sonilo bills a minimum of 3 seconds.
|
|
8856
|
+
*/
|
|
8857
|
+
duration?: number;
|
|
8858
|
+
operation: 'soundEffect';
|
|
8859
|
+
};
|
|
8735
8860
|
/**
|
|
8736
8861
|
* Sora 2 Image-to-Video
|
|
8737
8862
|
* FAL Endpoints:
|
|
@@ -9146,7 +9271,7 @@ export type TranscodeOutput = {
|
|
|
9146
9271
|
*/
|
|
9147
9272
|
jobId: string;
|
|
9148
9273
|
/**
|
|
9149
|
-
* Storage tier holding the blob; null
|
|
9274
|
+
* Storage tier holding the blob; null when none was declared.
|
|
9150
9275
|
*/
|
|
9151
9276
|
tier?: null | string;
|
|
9152
9277
|
};
|
|
@@ -12585,6 +12710,9 @@ export type PreprocessVideoDwPoseInputWritable = Omit<PreprocessVideoInputWritab
|
|
|
12585
12710
|
poseEstimator?: DwPoseEstimator;
|
|
12586
12711
|
kind: 'dwpose';
|
|
12587
12712
|
};
|
|
12713
|
+
export type PreprocessVideoGrayInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12714
|
+
kind: 'gray';
|
|
12715
|
+
};
|
|
12588
12716
|
export type PreprocessVideoHedInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12589
12717
|
safe?: SafeMode;
|
|
12590
12718
|
kind: 'hed';
|
|
@@ -12597,11 +12725,24 @@ export type PreprocessVideoInputWritable = {
|
|
|
12597
12725
|
*/
|
|
12598
12726
|
resolution?: number;
|
|
12599
12727
|
};
|
|
12728
|
+
export type PreprocessVideoLayoutInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12729
|
+
threshold?: number;
|
|
12730
|
+
/**
|
|
12731
|
+
* A COCO class name, or "all" to keep every detected class.
|
|
12732
|
+
*/
|
|
12733
|
+
className?: string;
|
|
12734
|
+
maxDetections?: number;
|
|
12735
|
+
kind: 'layout';
|
|
12736
|
+
};
|
|
12600
12737
|
export type PreprocessVideoMlsdInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12601
12738
|
scoreThreshold?: number;
|
|
12602
12739
|
distanceThreshold?: number;
|
|
12603
12740
|
kind: 'mlsd';
|
|
12604
12741
|
};
|
|
12742
|
+
export type PreprocessVideoScribbleInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12743
|
+
threshold?: number;
|
|
12744
|
+
kind: 'scribble';
|
|
12745
|
+
};
|
|
12605
12746
|
export type PreprocessVideoStepWritable = Omit<WorkflowStepWritable, '$type'> & {
|
|
12606
12747
|
input: PreprocessVideoInputWritable;
|
|
12607
12748
|
output?: PreprocessVideoOutput;
|
|
@@ -14845,6 +14986,41 @@ export type InvokeShieldstralModerationStepTemplateResponses = {
|
|
|
14845
14986
|
};
|
|
14846
14987
|
export type InvokeShieldstralModerationStepTemplateResponse =
|
|
14847
14988
|
InvokeShieldstralModerationStepTemplateResponses[keyof InvokeShieldstralModerationStepTemplateResponses];
|
|
14989
|
+
export type InvokeSoniloAudioGenStepTemplateData = {
|
|
14990
|
+
body?: SoniloAudioGenInput;
|
|
14991
|
+
path?: never;
|
|
14992
|
+
query?: {
|
|
14993
|
+
experimental?: boolean;
|
|
14994
|
+
allowMatureContent?: boolean;
|
|
14995
|
+
whatif?: boolean;
|
|
14996
|
+
ephemeral?: boolean;
|
|
14997
|
+
};
|
|
14998
|
+
url: '/v2/consumer/recipes/soniloAudioGen';
|
|
14999
|
+
};
|
|
15000
|
+
export type InvokeSoniloAudioGenStepTemplateErrors = {
|
|
15001
|
+
/**
|
|
15002
|
+
* Bad Request
|
|
15003
|
+
*/
|
|
15004
|
+
400: ProblemDetails;
|
|
15005
|
+
/**
|
|
15006
|
+
* Unauthorized
|
|
15007
|
+
*/
|
|
15008
|
+
401: ProblemDetails;
|
|
15009
|
+
/**
|
|
15010
|
+
* Forbidden
|
|
15011
|
+
*/
|
|
15012
|
+
403: ProblemDetails;
|
|
15013
|
+
};
|
|
15014
|
+
export type InvokeSoniloAudioGenStepTemplateError =
|
|
15015
|
+
InvokeSoniloAudioGenStepTemplateErrors[keyof InvokeSoniloAudioGenStepTemplateErrors];
|
|
15016
|
+
export type InvokeSoniloAudioGenStepTemplateResponses = {
|
|
15017
|
+
/**
|
|
15018
|
+
* OK
|
|
15019
|
+
*/
|
|
15020
|
+
200: SoniloAudioGenOutput;
|
|
15021
|
+
};
|
|
15022
|
+
export type InvokeSoniloAudioGenStepTemplateResponse =
|
|
15023
|
+
InvokeSoniloAudioGenStepTemplateResponses[keyof InvokeSoniloAudioGenStepTemplateResponses];
|
|
14848
15024
|
export type InvokeTextToImageStepTemplateData = {
|
|
14849
15025
|
body?: TextToImageInput;
|
|
14850
15026
|
path?: never;
|
package/package.json
CHANGED