@civitai/orchestration-client 0.2.0-beta.112 → 0.2.0-beta.114
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,
|
|
@@ -782,6 +783,11 @@ export {
|
|
|
782
783
|
type InvokeShieldstralModerationStepTemplateErrors,
|
|
783
784
|
type InvokeShieldstralModerationStepTemplateResponse,
|
|
784
785
|
type InvokeShieldstralModerationStepTemplateResponses,
|
|
786
|
+
type InvokeSoniloAudioGenStepTemplateData,
|
|
787
|
+
type InvokeSoniloAudioGenStepTemplateError,
|
|
788
|
+
type InvokeSoniloAudioGenStepTemplateErrors,
|
|
789
|
+
type InvokeSoniloAudioGenStepTemplateResponse,
|
|
790
|
+
type InvokeSoniloAudioGenStepTemplateResponses,
|
|
785
791
|
type InvokeTextToImageStepTemplateData,
|
|
786
792
|
type InvokeTextToImageStepTemplateError,
|
|
787
793
|
type InvokeTextToImageStepTemplateErrors,
|
|
@@ -1123,14 +1129,20 @@ export {
|
|
|
1123
1129
|
type PreprocessVideoDepthAnythingV2InputWritable,
|
|
1124
1130
|
type PreprocessVideoDwPoseInput,
|
|
1125
1131
|
type PreprocessVideoDwPoseInputWritable,
|
|
1132
|
+
type PreprocessVideoGrayInput,
|
|
1133
|
+
type PreprocessVideoGrayInputWritable,
|
|
1126
1134
|
type PreprocessVideoHedInput,
|
|
1127
1135
|
type PreprocessVideoHedInputWritable,
|
|
1128
1136
|
type PreprocessVideoInput,
|
|
1129
1137
|
type PreprocessVideoInputWritable,
|
|
1130
1138
|
type PreprocessVideoInputWritable2,
|
|
1139
|
+
type PreprocessVideoLayoutInput,
|
|
1140
|
+
type PreprocessVideoLayoutInputWritable,
|
|
1131
1141
|
type PreprocessVideoMlsdInput,
|
|
1132
1142
|
type PreprocessVideoMlsdInputWritable,
|
|
1133
1143
|
type PreprocessVideoOutput,
|
|
1144
|
+
type PreprocessVideoScribbleInput,
|
|
1145
|
+
type PreprocessVideoScribbleInputWritable,
|
|
1134
1146
|
type PreprocessVideoStep,
|
|
1135
1147
|
type PreprocessVideoStepTemplate,
|
|
1136
1148
|
type PreprocessVideoStepTemplateWritable,
|
|
@@ -1243,6 +1255,12 @@ export {
|
|
|
1243
1255
|
type ShieldstralPolicyResult,
|
|
1244
1256
|
type ShieldstralPromptModerationInput,
|
|
1245
1257
|
type ShieldstralTextModerationInput,
|
|
1258
|
+
type SoniloAudioGenInput,
|
|
1259
|
+
type SoniloAudioGenOutput,
|
|
1260
|
+
type SoniloAudioGenStep,
|
|
1261
|
+
type SoniloAudioGenStepTemplate,
|
|
1262
|
+
type SoniloMusicInput,
|
|
1263
|
+
type SoniloSoundEffectInput,
|
|
1246
1264
|
type Sora2ImageToVideoInput,
|
|
1247
1265
|
type Sora2TextToVideoInput,
|
|
1248
1266
|
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
|
};
|
|
@@ -7595,6 +7593,9 @@ export type PreprocessVideoDwPoseInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
|
7595
7593
|
poseEstimator?: DwPoseEstimator;
|
|
7596
7594
|
kind: 'dwpose';
|
|
7597
7595
|
};
|
|
7596
|
+
export type PreprocessVideoGrayInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7597
|
+
kind: 'gray';
|
|
7598
|
+
};
|
|
7598
7599
|
export type PreprocessVideoHedInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7599
7600
|
safe?: SafeMode;
|
|
7600
7601
|
kind: 'hed';
|
|
@@ -7608,6 +7609,15 @@ export type PreprocessVideoInput = {
|
|
|
7608
7609
|
resolution?: number;
|
|
7609
7610
|
readonly preprocessorType: string;
|
|
7610
7611
|
};
|
|
7612
|
+
export type PreprocessVideoLayoutInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7613
|
+
threshold?: number;
|
|
7614
|
+
/**
|
|
7615
|
+
* A COCO class name, or "all" to keep every detected class.
|
|
7616
|
+
*/
|
|
7617
|
+
className?: string;
|
|
7618
|
+
maxDetections?: number;
|
|
7619
|
+
kind: 'layout';
|
|
7620
|
+
};
|
|
7611
7621
|
export type PreprocessVideoMlsdInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7612
7622
|
scoreThreshold?: number;
|
|
7613
7623
|
distanceThreshold?: number;
|
|
@@ -7616,6 +7626,10 @@ export type PreprocessVideoMlsdInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
|
7616
7626
|
export type PreprocessVideoOutput = {
|
|
7617
7627
|
blob: VideoBlob;
|
|
7618
7628
|
};
|
|
7629
|
+
export type PreprocessVideoScribbleInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
7630
|
+
threshold?: number;
|
|
7631
|
+
kind: 'scribble';
|
|
7632
|
+
};
|
|
7619
7633
|
export type PreprocessVideoStep = Omit<WorkflowStep, '$type'> & {
|
|
7620
7634
|
input: PreprocessVideoInput;
|
|
7621
7635
|
output?: PreprocessVideoOutput;
|
|
@@ -7802,6 +7816,18 @@ export type Qwen20bVariantImageGenInput = Omit<
|
|
|
7802
7816
|
ecosystem: 'qwen';
|
|
7803
7817
|
engine: 'sdcpp';
|
|
7804
7818
|
};
|
|
7819
|
+
/**
|
|
7820
|
+
* AI Toolkit LoRA training for Qwen Image 2.1.
|
|
7821
|
+
*/
|
|
7822
|
+
export type Qwen21AiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
|
|
7823
|
+
readonly defaultSteps: number;
|
|
7824
|
+
ecosystem: 'qwen21';
|
|
7825
|
+
engine: 'ai-toolkit';
|
|
7826
|
+
/**
|
|
7827
|
+
* Training batch size. Fixed at 1 for this ecosystem.
|
|
7828
|
+
*/
|
|
7829
|
+
batchSize?: null | number;
|
|
7830
|
+
};
|
|
7805
7831
|
export type Qwen2CreateFalImageGenInput = Omit<
|
|
7806
7832
|
Qwen2FalImageGenInput,
|
|
7807
7833
|
'engine' | 'model' | 'operation'
|
|
@@ -8220,6 +8246,10 @@ export type ResourceInfo = {
|
|
|
8220
8246
|
*/
|
|
8221
8247
|
userId?: null | number;
|
|
8222
8248
|
availability?: ResourceAvailability;
|
|
8249
|
+
/**
|
|
8250
|
+
* Promoted resources download in the High lane for free, whatever lane the job asked for.
|
|
8251
|
+
*/
|
|
8252
|
+
isPromoted?: null | boolean;
|
|
8223
8253
|
};
|
|
8224
8254
|
/**
|
|
8225
8255
|
* A projection of the resource collection. There is no view that lists every known resource — resources
|
|
@@ -8720,6 +8750,51 @@ export type ShieldstralTextModerationInput = Omit<ShieldstralModerationInput, 'm
|
|
|
8720
8750
|
text: string;
|
|
8721
8751
|
mode: 'text';
|
|
8722
8752
|
};
|
|
8753
|
+
/**
|
|
8754
|
+
* Text-to-audio via Sonilo; `operation` picks music or a standalone sound effect.
|
|
8755
|
+
*/
|
|
8756
|
+
export type SoniloAudioGenInput = {
|
|
8757
|
+
operation: null | string;
|
|
8758
|
+
prompt: string;
|
|
8759
|
+
};
|
|
8760
|
+
export type SoniloAudioGenOutput = {
|
|
8761
|
+
blob: AudioBlob;
|
|
8762
|
+
};
|
|
8763
|
+
/**
|
|
8764
|
+
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
8765
|
+
*/
|
|
8766
|
+
export type SoniloAudioGenStep = Omit<WorkflowStep, '$type'> & {
|
|
8767
|
+
input: SoniloAudioGenInput;
|
|
8768
|
+
output?: SoniloAudioGenOutput;
|
|
8769
|
+
$type: 'soniloAudioGen';
|
|
8770
|
+
};
|
|
8771
|
+
/**
|
|
8772
|
+
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
8773
|
+
*/
|
|
8774
|
+
export type SoniloAudioGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8775
|
+
input: SoniloAudioGenInput;
|
|
8776
|
+
$type: 'soniloAudioGen';
|
|
8777
|
+
};
|
|
8778
|
+
/**
|
|
8779
|
+
* Generate a music track. Style, mood, instrumentation, lyrics and tempo are inferred from the prompt.
|
|
8780
|
+
*/
|
|
8781
|
+
export type SoniloMusicInput = Omit<SoniloAudioGenInput, 'operation'> & {
|
|
8782
|
+
/**
|
|
8783
|
+
* Track length in seconds. Sonilo bills a minimum of 10 seconds.
|
|
8784
|
+
*/
|
|
8785
|
+
duration?: number;
|
|
8786
|
+
operation: 'music';
|
|
8787
|
+
};
|
|
8788
|
+
/**
|
|
8789
|
+
* Generate a standalone sound effect, e.g. "heavy wooden door creaking open in a stone hallway".
|
|
8790
|
+
*/
|
|
8791
|
+
export type SoniloSoundEffectInput = Omit<SoniloAudioGenInput, 'operation'> & {
|
|
8792
|
+
/**
|
|
8793
|
+
* Effect length in seconds. Sonilo bills a minimum of 3 seconds.
|
|
8794
|
+
*/
|
|
8795
|
+
duration?: number;
|
|
8796
|
+
operation: 'soundEffect';
|
|
8797
|
+
};
|
|
8723
8798
|
/**
|
|
8724
8799
|
* Sora 2 Image-to-Video
|
|
8725
8800
|
* FAL Endpoints:
|
|
@@ -9134,7 +9209,7 @@ export type TranscodeOutput = {
|
|
|
9134
9209
|
*/
|
|
9135
9210
|
jobId: string;
|
|
9136
9211
|
/**
|
|
9137
|
-
* Storage tier holding the blob; null
|
|
9212
|
+
* Storage tier holding the blob; null when none was declared.
|
|
9138
9213
|
*/
|
|
9139
9214
|
tier?: null | string;
|
|
9140
9215
|
};
|
|
@@ -11419,18 +11494,6 @@ export declare const ZoeDepthEnvironment: {
|
|
|
11419
11494
|
readonly OUTDOOR: 'outdoor';
|
|
11420
11495
|
};
|
|
11421
11496
|
export type ZoeDepthEnvironment = (typeof ZoeDepthEnvironment)[keyof typeof ZoeDepthEnvironment];
|
|
11422
|
-
/**
|
|
11423
|
-
* AI Toolkit LoRA training for Qwen Image 2.1.
|
|
11424
|
-
*/
|
|
11425
|
-
export type Qwen21AiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
|
|
11426
|
-
readonly defaultSteps: number;
|
|
11427
|
-
ecosystem: 'qwen21';
|
|
11428
|
-
engine: 'ai-toolkit';
|
|
11429
|
-
/**
|
|
11430
|
-
* Training batch size. Fixed at 1 for this ecosystem.
|
|
11431
|
-
*/
|
|
11432
|
-
batchSize?: null | number;
|
|
11433
|
-
};
|
|
11434
11497
|
/**
|
|
11435
11498
|
* Base input for AI Toolkit training across all ecosystems
|
|
11436
11499
|
*/
|
|
@@ -12585,6 +12648,9 @@ export type PreprocessVideoDwPoseInputWritable = Omit<PreprocessVideoInputWritab
|
|
|
12585
12648
|
poseEstimator?: DwPoseEstimator;
|
|
12586
12649
|
kind: 'dwpose';
|
|
12587
12650
|
};
|
|
12651
|
+
export type PreprocessVideoGrayInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12652
|
+
kind: 'gray';
|
|
12653
|
+
};
|
|
12588
12654
|
export type PreprocessVideoHedInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12589
12655
|
safe?: SafeMode;
|
|
12590
12656
|
kind: 'hed';
|
|
@@ -12597,11 +12663,24 @@ export type PreprocessVideoInputWritable = {
|
|
|
12597
12663
|
*/
|
|
12598
12664
|
resolution?: number;
|
|
12599
12665
|
};
|
|
12666
|
+
export type PreprocessVideoLayoutInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12667
|
+
threshold?: number;
|
|
12668
|
+
/**
|
|
12669
|
+
* A COCO class name, or "all" to keep every detected class.
|
|
12670
|
+
*/
|
|
12671
|
+
className?: string;
|
|
12672
|
+
maxDetections?: number;
|
|
12673
|
+
kind: 'layout';
|
|
12674
|
+
};
|
|
12600
12675
|
export type PreprocessVideoMlsdInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12601
12676
|
scoreThreshold?: number;
|
|
12602
12677
|
distanceThreshold?: number;
|
|
12603
12678
|
kind: 'mlsd';
|
|
12604
12679
|
};
|
|
12680
|
+
export type PreprocessVideoScribbleInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
12681
|
+
threshold?: number;
|
|
12682
|
+
kind: 'scribble';
|
|
12683
|
+
};
|
|
12605
12684
|
export type PreprocessVideoStepWritable = Omit<WorkflowStepWritable, '$type'> & {
|
|
12606
12685
|
input: PreprocessVideoInputWritable;
|
|
12607
12686
|
output?: PreprocessVideoOutput;
|
|
@@ -12637,6 +12716,20 @@ export type Qwen20bVariantImageGenInputWritable = Omit<
|
|
|
12637
12716
|
ecosystem: 'qwen';
|
|
12638
12717
|
engine: 'sdcpp';
|
|
12639
12718
|
};
|
|
12719
|
+
/**
|
|
12720
|
+
* AI Toolkit LoRA training for Qwen Image 2.1.
|
|
12721
|
+
*/
|
|
12722
|
+
export type Qwen21AiToolkitTrainingInputWritable = Omit<
|
|
12723
|
+
AiToolkitTrainingInputWritable,
|
|
12724
|
+
'engine' | 'ecosystem'
|
|
12725
|
+
> & {
|
|
12726
|
+
ecosystem: 'qwen21';
|
|
12727
|
+
engine: 'ai-toolkit';
|
|
12728
|
+
/**
|
|
12729
|
+
* Training batch size. Fixed at 1 for this ecosystem.
|
|
12730
|
+
*/
|
|
12731
|
+
batchSize?: null | number;
|
|
12732
|
+
};
|
|
12640
12733
|
/**
|
|
12641
12734
|
* AI Toolkit training for Qwen Image models
|
|
12642
12735
|
*/
|
|
@@ -13012,20 +13105,6 @@ export type ZImageTurboAiToolkitTrainingInputWritable = Omit<
|
|
|
13012
13105
|
*/
|
|
13013
13106
|
batchSize?: null | number;
|
|
13014
13107
|
};
|
|
13015
|
-
/**
|
|
13016
|
-
* AI Toolkit LoRA training for Qwen Image 2.1.
|
|
13017
|
-
*/
|
|
13018
|
-
export type Qwen21AiToolkitTrainingInputWritable = Omit<
|
|
13019
|
-
AiToolkitTrainingInputWritable,
|
|
13020
|
-
'engine' | 'ecosystem'
|
|
13021
|
-
> & {
|
|
13022
|
-
ecosystem: 'qwen21';
|
|
13023
|
-
engine: 'ai-toolkit';
|
|
13024
|
-
/**
|
|
13025
|
-
* Training batch size. Fixed at 1 for this ecosystem.
|
|
13026
|
-
*/
|
|
13027
|
-
batchSize?: null | number;
|
|
13028
|
-
};
|
|
13029
13108
|
/**
|
|
13030
13109
|
* Input for a training step.
|
|
13031
13110
|
*/
|
|
@@ -14845,6 +14924,41 @@ export type InvokeShieldstralModerationStepTemplateResponses = {
|
|
|
14845
14924
|
};
|
|
14846
14925
|
export type InvokeShieldstralModerationStepTemplateResponse =
|
|
14847
14926
|
InvokeShieldstralModerationStepTemplateResponses[keyof InvokeShieldstralModerationStepTemplateResponses];
|
|
14927
|
+
export type InvokeSoniloAudioGenStepTemplateData = {
|
|
14928
|
+
body?: SoniloAudioGenInput;
|
|
14929
|
+
path?: never;
|
|
14930
|
+
query?: {
|
|
14931
|
+
experimental?: boolean;
|
|
14932
|
+
allowMatureContent?: boolean;
|
|
14933
|
+
whatif?: boolean;
|
|
14934
|
+
ephemeral?: boolean;
|
|
14935
|
+
};
|
|
14936
|
+
url: '/v2/consumer/recipes/soniloAudioGen';
|
|
14937
|
+
};
|
|
14938
|
+
export type InvokeSoniloAudioGenStepTemplateErrors = {
|
|
14939
|
+
/**
|
|
14940
|
+
* Bad Request
|
|
14941
|
+
*/
|
|
14942
|
+
400: ProblemDetails;
|
|
14943
|
+
/**
|
|
14944
|
+
* Unauthorized
|
|
14945
|
+
*/
|
|
14946
|
+
401: ProblemDetails;
|
|
14947
|
+
/**
|
|
14948
|
+
* Forbidden
|
|
14949
|
+
*/
|
|
14950
|
+
403: ProblemDetails;
|
|
14951
|
+
};
|
|
14952
|
+
export type InvokeSoniloAudioGenStepTemplateError =
|
|
14953
|
+
InvokeSoniloAudioGenStepTemplateErrors[keyof InvokeSoniloAudioGenStepTemplateErrors];
|
|
14954
|
+
export type InvokeSoniloAudioGenStepTemplateResponses = {
|
|
14955
|
+
/**
|
|
14956
|
+
* OK
|
|
14957
|
+
*/
|
|
14958
|
+
200: SoniloAudioGenOutput;
|
|
14959
|
+
};
|
|
14960
|
+
export type InvokeSoniloAudioGenStepTemplateResponse =
|
|
14961
|
+
InvokeSoniloAudioGenStepTemplateResponses[keyof InvokeSoniloAudioGenStepTemplateResponses];
|
|
14848
14962
|
export type InvokeTextToImageStepTemplateData = {
|
|
14849
14963
|
body?: TextToImageInput;
|
|
14850
14964
|
path?: never;
|
package/package.json
CHANGED