@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.
|
@@ -4492,6 +4492,31 @@ export type Flux3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
4492
4492
|
export type FluxDevFastImageResourceTrainingInput = Omit<ImageResourceTrainingInput, 'engine'> & {
|
|
4493
4493
|
engine: 'flux-dev-fast';
|
|
4494
4494
|
};
|
|
4495
|
+
export type FreeTierModelResponse = {
|
|
4496
|
+
/**
|
|
4497
|
+
* The quota bucket. Every AIR listed counts against the same quota.
|
|
4498
|
+
*/
|
|
4499
|
+
key: string;
|
|
4500
|
+
airs: Array<string>;
|
|
4501
|
+
/**
|
|
4502
|
+
* Free requests left right now: the tightest of Civitai.Orchestration.Api.Controllers.v2.Consumers.FreeTier.FreeTierModelResponse.Windows.
|
|
4503
|
+
*/
|
|
4504
|
+
remaining: number;
|
|
4505
|
+
windows: Array<FreeTierWindowResponse>;
|
|
4506
|
+
};
|
|
4507
|
+
export type FreeTierResponse = {
|
|
4508
|
+
enabled: boolean;
|
|
4509
|
+
models: Array<FreeTierModelResponse>;
|
|
4510
|
+
};
|
|
4511
|
+
export type FreeTierWindowResponse = {
|
|
4512
|
+
duration: string;
|
|
4513
|
+
limit: number;
|
|
4514
|
+
remaining: number;
|
|
4515
|
+
/**
|
|
4516
|
+
* When this window's usage resets. Null until the first free request in it.
|
|
4517
|
+
*/
|
|
4518
|
+
resetAt?: null | string;
|
|
4519
|
+
};
|
|
4495
4520
|
export type Gemini25FlashCreateImageGenInput = Omit<
|
|
4496
4521
|
Gemini25FlashImageGenInput,
|
|
4497
4522
|
'engine' | 'model' | 'operation'
|
|
@@ -4968,6 +4993,36 @@ export type HappyHorseVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
4968
4993
|
version: string;
|
|
4969
4994
|
engine: 'happyHorse';
|
|
4970
4995
|
};
|
|
4996
|
+
/**
|
|
4997
|
+
* HeyGen Video 1 (based on MiniMax H3), served through OpenRouter. Audio is generated with the video.
|
|
4998
|
+
*/
|
|
4999
|
+
export type HeyGenVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
5000
|
+
operation: 'textToVideo' | 'imageToVideo' | 'referenceToVideo';
|
|
5001
|
+
duration: number;
|
|
5002
|
+
resolution: '480p' | '768p';
|
|
5003
|
+
/**
|
|
5004
|
+
* Ignored for imageToVideo, which follows the first frame's aspect ratio.
|
|
5005
|
+
*/
|
|
5006
|
+
aspectRatio: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
5007
|
+
seed?: null | number;
|
|
5008
|
+
/**
|
|
5009
|
+
* Either A URL, A DataURL or a Base64 string
|
|
5010
|
+
*/
|
|
5011
|
+
firstFrameImage?: null | string;
|
|
5012
|
+
/**
|
|
5013
|
+
* Up to 9 images; refer to them in the prompt as <Picture 1>, <Picture 2>, etc.
|
|
5014
|
+
*/
|
|
5015
|
+
referenceImages?: Array<string>;
|
|
5016
|
+
/**
|
|
5017
|
+
* Up to 3 public HTTPS videos (32 MB each). The model uses the first 5 seconds of each.
|
|
5018
|
+
*/
|
|
5019
|
+
referenceVideos?: Array<string>;
|
|
5020
|
+
/**
|
|
5021
|
+
* Up to 3 public HTTPS audio files (32 MB each), accompanying a reference image or video.
|
|
5022
|
+
*/
|
|
5023
|
+
referenceAudios?: Array<string>;
|
|
5024
|
+
engine: 'heygen';
|
|
5025
|
+
};
|
|
4971
5026
|
export declare const HiDreamI1Precision: {
|
|
4972
5027
|
readonly FP8: 'fp8';
|
|
4973
5028
|
readonly FP16: 'fp16';
|
|
@@ -5470,6 +5525,7 @@ export type ImageScanningJointAgeDetection = {
|
|
|
5470
5525
|
isMinor: boolean;
|
|
5471
5526
|
isOod: boolean;
|
|
5472
5527
|
warning?: null | string;
|
|
5528
|
+
personMask?: ImageScanningPersonMask;
|
|
5473
5529
|
};
|
|
5474
5530
|
export type ImageScanningLabelScore = {
|
|
5475
5531
|
label: string;
|
|
@@ -5489,6 +5545,11 @@ export type ImageScanningOutput = {
|
|
|
5489
5545
|
jointAgeClassification: ImageScanningJointAgeClassification;
|
|
5490
5546
|
csam?: null | boolean;
|
|
5491
5547
|
};
|
|
5548
|
+
export type ImageScanningPersonMask = {
|
|
5549
|
+
width: number;
|
|
5550
|
+
height: number;
|
|
5551
|
+
pngBase64: string;
|
|
5552
|
+
};
|
|
5492
5553
|
export type ImageScanningRecognition = {
|
|
5493
5554
|
label: string;
|
|
5494
5555
|
score: number;
|
|
@@ -6063,6 +6124,61 @@ export type LightricksVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
6063
6124
|
expandPrompt?: boolean;
|
|
6064
6125
|
engine: 'lightricks';
|
|
6065
6126
|
};
|
|
6127
|
+
export type LiveTranscriptionInput = {
|
|
6128
|
+
/**
|
|
6129
|
+
* Language of the speech (e.g., "en", "zh"). Send it: without it the model assumes English and invents English text for other languages.
|
|
6130
|
+
*/
|
|
6131
|
+
language?: null | string;
|
|
6132
|
+
/**
|
|
6133
|
+
* Optional context prompt to improve transcription accuracy.
|
|
6134
|
+
*/
|
|
6135
|
+
context?: null | string;
|
|
6136
|
+
/**
|
|
6137
|
+
* The session ends after this many seconds of audio, even if the input is still open.
|
|
6138
|
+
* The upfront balance check covers this much audio.
|
|
6139
|
+
*/
|
|
6140
|
+
maxDurationSeconds?: number;
|
|
6141
|
+
/**
|
|
6142
|
+
* The input is treated as closed when no audio arrives for this many seconds, so a client that
|
|
6143
|
+
* disappears does not hold the session open.
|
|
6144
|
+
*/
|
|
6145
|
+
idleTimeoutSeconds?: number;
|
|
6146
|
+
};
|
|
6147
|
+
export type LiveTranscriptionOutput = {
|
|
6148
|
+
/**
|
|
6149
|
+
* POST raw PCM (s16le, 16 kHz, mono) here in chunks numbered `?seq=0,1,…`, with `final=true` on the last.
|
|
6150
|
+
*/
|
|
6151
|
+
inputUrl: string;
|
|
6152
|
+
inputUrlExpiresAt: string;
|
|
6153
|
+
/**
|
|
6154
|
+
* NDJSON transcript events: `partial` replaces the open segment's text, `final` commits it,
|
|
6155
|
+
* and `done` ends the stream with the whole transcript.
|
|
6156
|
+
*/
|
|
6157
|
+
transcriptUrl: string;
|
|
6158
|
+
/**
|
|
6159
|
+
* The whole transcript, once the session has ended.
|
|
6160
|
+
*/
|
|
6161
|
+
text?: null | string;
|
|
6162
|
+
/**
|
|
6163
|
+
* Seconds of audio received so far; the session is billed on this.
|
|
6164
|
+
*/
|
|
6165
|
+
audioSeconds: number;
|
|
6166
|
+
};
|
|
6167
|
+
/**
|
|
6168
|
+
* Live transcription
|
|
6169
|
+
*/
|
|
6170
|
+
export type LiveTranscriptionStep = Omit<WorkflowStep, '$type'> & {
|
|
6171
|
+
input: LiveTranscriptionInput;
|
|
6172
|
+
output?: LiveTranscriptionOutput;
|
|
6173
|
+
$type: 'liveTranscription';
|
|
6174
|
+
};
|
|
6175
|
+
/**
|
|
6176
|
+
* Live transcription
|
|
6177
|
+
*/
|
|
6178
|
+
export type LiveTranscriptionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6179
|
+
input: LiveTranscriptionInput;
|
|
6180
|
+
$type: 'liveTranscription';
|
|
6181
|
+
};
|
|
6066
6182
|
/**
|
|
6067
6183
|
* Transferring. No queue position — it is no longer waiting.
|
|
6068
6184
|
*/
|
|
@@ -6460,6 +6576,119 @@ export type MediaRatingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
|
6460
6576
|
export type MediaTransformer = {
|
|
6461
6577
|
type: string;
|
|
6462
6578
|
};
|
|
6579
|
+
/**
|
|
6580
|
+
* One field of a merge: where its values come from and how they are combined.
|
|
6581
|
+
*/
|
|
6582
|
+
export type MergeField = {
|
|
6583
|
+
/**
|
|
6584
|
+
* The name of the step to read from, or `$arguments` for the workflow's arguments.
|
|
6585
|
+
*/
|
|
6586
|
+
$ref: string;
|
|
6587
|
+
/**
|
|
6588
|
+
* The path to the values, e.g. `output.steps[*].output.nsfwLevel`. `[*]` selects the rest of the path
|
|
6589
|
+
* from every item of a list; nested `[*]` flatten into one list.
|
|
6590
|
+
*/
|
|
6591
|
+
path: string;
|
|
6592
|
+
reduce: MergeReducer;
|
|
6593
|
+
/**
|
|
6594
|
+
* For `group`: the property of each item to group by.
|
|
6595
|
+
*/
|
|
6596
|
+
by?: null | string;
|
|
6597
|
+
/**
|
|
6598
|
+
* For `top` and `group`: the properties to rank items by, in order, each 1 (ascending) or -1 (descending).
|
|
6599
|
+
*/
|
|
6600
|
+
sortBy?: null | {
|
|
6601
|
+
[key: string]: number;
|
|
6602
|
+
};
|
|
6603
|
+
/**
|
|
6604
|
+
* For `max`, `min`, `top` and `push`: wrap each result as `{ value, index }`, where index is
|
|
6605
|
+
* the position of its source item in the first `[*]` of the path.
|
|
6606
|
+
*/
|
|
6607
|
+
includeIndex: boolean;
|
|
6608
|
+
};
|
|
6609
|
+
/**
|
|
6610
|
+
* Input for the Merge workflow step.
|
|
6611
|
+
*/
|
|
6612
|
+
export type MergeInput = {
|
|
6613
|
+
onMissing: MergeMissingBehavior;
|
|
6614
|
+
/**
|
|
6615
|
+
* The fields of the merged result, keyed by the name each appears under in the output.
|
|
6616
|
+
*/
|
|
6617
|
+
fields: {
|
|
6618
|
+
[key: string]: MergeField;
|
|
6619
|
+
};
|
|
6620
|
+
};
|
|
6621
|
+
/**
|
|
6622
|
+
* How a merge treats a source item that has no output.
|
|
6623
|
+
*/
|
|
6624
|
+
export declare const MergeMissingBehavior: {
|
|
6625
|
+
readonly FAIL: 'fail';
|
|
6626
|
+
readonly PARTIAL: 'partial';
|
|
6627
|
+
};
|
|
6628
|
+
/**
|
|
6629
|
+
* How a merge treats a source item that has no output.
|
|
6630
|
+
*/
|
|
6631
|
+
export type MergeMissingBehavior = (typeof MergeMissingBehavior)[keyof typeof MergeMissingBehavior];
|
|
6632
|
+
/**
|
|
6633
|
+
* Output of the Merge workflow step.
|
|
6634
|
+
*/
|
|
6635
|
+
export type MergeOutput = {
|
|
6636
|
+
/**
|
|
6637
|
+
* The merged values, keyed by the field names of the input. Their shape follows the requested reducers.
|
|
6638
|
+
*/
|
|
6639
|
+
fields: {
|
|
6640
|
+
[key: string]: null;
|
|
6641
|
+
};
|
|
6642
|
+
/**
|
|
6643
|
+
* The number of source items selected by the first `[*]` of the fields' paths.
|
|
6644
|
+
*/
|
|
6645
|
+
sourceCount: number;
|
|
6646
|
+
/**
|
|
6647
|
+
* The number of source items whose values were merged.
|
|
6648
|
+
*/
|
|
6649
|
+
mergedCount: number;
|
|
6650
|
+
/**
|
|
6651
|
+
* The number of source items left out because they had no output.
|
|
6652
|
+
*/
|
|
6653
|
+
failedCount: number;
|
|
6654
|
+
};
|
|
6655
|
+
/**
|
|
6656
|
+
* How a merge field combines its values. Null values are skipped, except by `any` and `all`, which count them as false.
|
|
6657
|
+
*/
|
|
6658
|
+
export declare const MergeReducer: {
|
|
6659
|
+
readonly MAX: 'max';
|
|
6660
|
+
readonly MIN: 'min';
|
|
6661
|
+
readonly SUM: 'sum';
|
|
6662
|
+
readonly AVG: 'avg';
|
|
6663
|
+
readonly COUNT: 'count';
|
|
6664
|
+
readonly ANY: 'any';
|
|
6665
|
+
readonly ALL: 'all';
|
|
6666
|
+
readonly FIRST: 'first';
|
|
6667
|
+
readonly LAST: 'last';
|
|
6668
|
+
readonly PUSH: 'push';
|
|
6669
|
+
readonly ADD_TO_SET: 'addToSet';
|
|
6670
|
+
readonly TOP: 'top';
|
|
6671
|
+
readonly GROUP: 'group';
|
|
6672
|
+
};
|
|
6673
|
+
/**
|
|
6674
|
+
* How a merge field combines its values. Null values are skipped, except by `any` and `all`, which count them as false.
|
|
6675
|
+
*/
|
|
6676
|
+
export type MergeReducer = (typeof MergeReducer)[keyof typeof MergeReducer];
|
|
6677
|
+
/**
|
|
6678
|
+
* Merge
|
|
6679
|
+
*/
|
|
6680
|
+
export type MergeStep = Omit<WorkflowStep, '$type'> & {
|
|
6681
|
+
input: MergeInput;
|
|
6682
|
+
output?: MergeOutput;
|
|
6683
|
+
$type: 'merge';
|
|
6684
|
+
};
|
|
6685
|
+
/**
|
|
6686
|
+
* Merge
|
|
6687
|
+
*/
|
|
6688
|
+
export type MergeStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6689
|
+
input: MergeInput;
|
|
6690
|
+
$type: 'merge';
|
|
6691
|
+
};
|
|
6463
6692
|
/**
|
|
6464
6693
|
* Model-level base for Meshy 3D generation (via FAL).
|
|
6465
6694
|
* The version derived type carries the operation-level discriminator.
|
|
@@ -6638,6 +6867,89 @@ export type MiniMaxH3AiToolkitTrainingInput = Omit<
|
|
|
6638
6867
|
*/
|
|
6639
6868
|
batchSize?: null | number;
|
|
6640
6869
|
};
|
|
6870
|
+
export type MiniMaxH3MaxImageToVideoInput = Omit<
|
|
6871
|
+
MiniMaxH3MaxVideoGenInput,
|
|
6872
|
+
'engine' | 'operation'
|
|
6873
|
+
> & {
|
|
6874
|
+
/**
|
|
6875
|
+
* Optional first frame. If omitted, the last frame sets the canvas. With neither, FAL generates from text at 16:9.
|
|
6876
|
+
*/
|
|
6877
|
+
firstFrameImage?: null | string;
|
|
6878
|
+
/**
|
|
6879
|
+
* Either A URL, A DataURL or a Base64 string
|
|
6880
|
+
*/
|
|
6881
|
+
lastFrameImage?: null | string;
|
|
6882
|
+
/**
|
|
6883
|
+
* HTTP(S) URL of a soundtrack, at least 2 seconds and at most 15 MB. Requires duration >= 2.
|
|
6884
|
+
*/
|
|
6885
|
+
targetAudio?: null | string;
|
|
6886
|
+
operation: 'imageToVideo';
|
|
6887
|
+
engine: 'minimax-h3-max';
|
|
6888
|
+
};
|
|
6889
|
+
/**
|
|
6890
|
+
* Max only. Up to 9 images, 3 videos and 3 audio clips, at most 12 combined. Reference charges share a 4096-token allowance.
|
|
6891
|
+
*/
|
|
6892
|
+
export type MiniMaxH3MaxReferenceToVideoInput = Omit<
|
|
6893
|
+
MiniMaxH3MaxVideoGenInput,
|
|
6894
|
+
'engine' | 'operation'
|
|
6895
|
+
> & {
|
|
6896
|
+
aspectRatio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
6897
|
+
referenceImages?: Array<string>;
|
|
6898
|
+
/**
|
|
6899
|
+
* HTTP(S) clips, each 2-15 seconds, combined at most 15 seconds.
|
|
6900
|
+
*/
|
|
6901
|
+
referenceVideos?: Array<string>;
|
|
6902
|
+
/**
|
|
6903
|
+
* HTTP(S) audio clips, each 2-15 seconds, combined at most 15 seconds.
|
|
6904
|
+
*/
|
|
6905
|
+
referenceAudios?: Array<string>;
|
|
6906
|
+
/**
|
|
6907
|
+
* Either A URL, A DataURL or a Base64 string
|
|
6908
|
+
*/
|
|
6909
|
+
firstFrameImage?: null | string;
|
|
6910
|
+
/**
|
|
6911
|
+
* Either A URL, A DataURL or a Base64 string
|
|
6912
|
+
*/
|
|
6913
|
+
lastFrameImage?: null | string;
|
|
6914
|
+
/**
|
|
6915
|
+
* Requires first and last frames, middleFrameTime, and 480P or 768P.
|
|
6916
|
+
*/
|
|
6917
|
+
middleFrameImage?: null | string;
|
|
6918
|
+
/**
|
|
6919
|
+
* Seconds from the start, rounded to 24 fps. Must fall strictly inside the requested duration.
|
|
6920
|
+
*/
|
|
6921
|
+
middleFrameTime?: null | number;
|
|
6922
|
+
operation: 'referenceToVideo';
|
|
6923
|
+
engine: 'minimax-h3-max';
|
|
6924
|
+
};
|
|
6925
|
+
export type MiniMaxH3MaxTextToVideoInput = Omit<
|
|
6926
|
+
MiniMaxH3MaxVideoGenInput,
|
|
6927
|
+
'engine' | 'operation'
|
|
6928
|
+
> & {
|
|
6929
|
+
aspectRatio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
6930
|
+
/**
|
|
6931
|
+
* HTTP(S) URL of a soundtrack, at least 2 seconds and at most 15 MB. Requires duration >= 2.
|
|
6932
|
+
*/
|
|
6933
|
+
targetAudio?: null | string;
|
|
6934
|
+
operation: 'textToVideo';
|
|
6935
|
+
engine: 'minimax-h3-max';
|
|
6936
|
+
};
|
|
6937
|
+
/**
|
|
6938
|
+
* MiniMax H3 Max and H3 Max Turbo core generation through FAL.
|
|
6939
|
+
*/
|
|
6940
|
+
export type MiniMaxH3MaxVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
6941
|
+
operation: null | string;
|
|
6942
|
+
model?: 'max' | 'turbo';
|
|
6943
|
+
/**
|
|
6944
|
+
* Requested seconds. FAL may return up to about 0.7 additional seconds.
|
|
6945
|
+
*/
|
|
6946
|
+
duration?: number;
|
|
6947
|
+
resolution?: '480P' | '768P' | '1080P';
|
|
6948
|
+
promptExpansionMode?: 'disabled' | 'balanced' | 'quality';
|
|
6949
|
+
seed?: null | number;
|
|
6950
|
+
enableSafetyChecker?: boolean;
|
|
6951
|
+
engine: 'minimax-h3-max';
|
|
6952
|
+
};
|
|
6641
6953
|
export type MiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
6642
6954
|
aspectRatio: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
6643
6955
|
duration: number;
|
|
@@ -7650,6 +7962,12 @@ export type PreprocessImageScribbleXdogInput = Omit<PreprocessImageInput, 'kind'
|
|
|
7650
7962
|
threshold?: number;
|
|
7651
7963
|
kind: 'scribble-xdog';
|
|
7652
7964
|
};
|
|
7965
|
+
export type PreprocessImageSdPoseInput = Omit<PreprocessImageInput, 'kind'> & {
|
|
7966
|
+
detectHand?: boolean;
|
|
7967
|
+
detectBody?: boolean;
|
|
7968
|
+
detectFace?: boolean;
|
|
7969
|
+
kind: 'sdpose';
|
|
7970
|
+
};
|
|
7653
7971
|
export type PreprocessImageShuffleInput = Omit<PreprocessImageInput, 'kind'> & {
|
|
7654
7972
|
seed?: number;
|
|
7655
7973
|
kind: 'shuffle';
|
|
@@ -7740,6 +8058,12 @@ export type PreprocessVideoScribbleInput = Omit<PreprocessVideoInput, 'kind'> &
|
|
|
7740
8058
|
threshold?: number;
|
|
7741
8059
|
kind: 'scribble';
|
|
7742
8060
|
};
|
|
8061
|
+
export type PreprocessVideoSdPoseInput = Omit<PreprocessVideoInput, 'kind'> & {
|
|
8062
|
+
detectHand?: boolean;
|
|
8063
|
+
detectBody?: boolean;
|
|
8064
|
+
detectFace?: boolean;
|
|
8065
|
+
kind: 'sdpose';
|
|
8066
|
+
};
|
|
7743
8067
|
export type PreprocessVideoStep = Omit<WorkflowStep, '$type'> & {
|
|
7744
8068
|
input: PreprocessVideoInput;
|
|
7745
8069
|
output?: PreprocessVideoOutput;
|
|
@@ -7756,6 +8080,7 @@ export declare const Priority: {
|
|
|
7756
8080
|
readonly HIGH: 'high';
|
|
7757
8081
|
readonly NORMAL: 'normal';
|
|
7758
8082
|
readonly LOW: 'low';
|
|
8083
|
+
readonly IDLE: 'idle';
|
|
7759
8084
|
};
|
|
7760
8085
|
/**
|
|
7761
8086
|
* Available options for priority.
|
|
@@ -8949,6 +9274,12 @@ export type StarVectorImageToSvgInput = Omit<ComfyImageToSvgInput, 'engine' | 'e
|
|
|
8949
9274
|
ecosystem: 'starvector';
|
|
8950
9275
|
engine: 'comfy';
|
|
8951
9276
|
};
|
|
9277
|
+
export type StreamingBlobAppendResponse = {
|
|
9278
|
+
/**
|
|
9279
|
+
* The sequence number the blob expects next.
|
|
9280
|
+
*/
|
|
9281
|
+
nextSequence: number;
|
|
9282
|
+
};
|
|
8952
9283
|
/**
|
|
8953
9284
|
* A system message that sets the behavior of the assistant.
|
|
8954
9285
|
*/
|
|
@@ -10721,6 +11052,7 @@ export type Workflow = {
|
|
|
10721
11052
|
*/
|
|
10722
11053
|
deletedAt?: null | string;
|
|
10723
11054
|
downloadPriority?: Priority;
|
|
11055
|
+
tier: WorkflowTier;
|
|
10724
11056
|
};
|
|
10725
11057
|
/**
|
|
10726
11058
|
* Details of a callback setup for a workflow.
|
|
@@ -11177,6 +11509,7 @@ export type WorkflowTemplate = {
|
|
|
11177
11509
|
};
|
|
11178
11510
|
nsfwLevel?: NsfwLevel;
|
|
11179
11511
|
downloadPriority?: Priority;
|
|
11512
|
+
tier?: WorkflowTier;
|
|
11180
11513
|
/**
|
|
11181
11514
|
* Get or set whether this workflow is experimental
|
|
11182
11515
|
*/
|
|
@@ -11208,6 +11541,17 @@ export type WorkflowTemplate = {
|
|
|
11208
11541
|
*/
|
|
11209
11542
|
externalId?: null | string;
|
|
11210
11543
|
};
|
|
11544
|
+
/**
|
|
11545
|
+
* How a workflow is paid for.
|
|
11546
|
+
*/
|
|
11547
|
+
export declare const WorkflowTier: {
|
|
11548
|
+
readonly PAID: 'paid';
|
|
11549
|
+
readonly FREE: 'free';
|
|
11550
|
+
};
|
|
11551
|
+
/**
|
|
11552
|
+
* How a workflow is paid for.
|
|
11553
|
+
*/
|
|
11554
|
+
export type WorkflowTier = (typeof WorkflowTier)[keyof typeof WorkflowTier];
|
|
11211
11555
|
export type WorkflowTips = {
|
|
11212
11556
|
/**
|
|
11213
11557
|
* The rate of tipping that should be allocated to civitai
|
|
@@ -12700,6 +13044,12 @@ export type PreprocessImageScribbleXdogInputWritable = Omit<
|
|
|
12700
13044
|
threshold?: number;
|
|
12701
13045
|
kind: 'scribble-xdog';
|
|
12702
13046
|
};
|
|
13047
|
+
export type PreprocessImageSdPoseInputWritable = Omit<PreprocessImageInputWritable2, 'kind'> & {
|
|
13048
|
+
detectHand?: boolean;
|
|
13049
|
+
detectBody?: boolean;
|
|
13050
|
+
detectFace?: boolean;
|
|
13051
|
+
kind: 'sdpose';
|
|
13052
|
+
};
|
|
12703
13053
|
export type PreprocessImageShuffleInputWritable = Omit<PreprocessImageInputWritable2, 'kind'> & {
|
|
12704
13054
|
seed?: number;
|
|
12705
13055
|
kind: 'shuffle';
|
|
@@ -12795,6 +13145,12 @@ export type PreprocessVideoScribbleInputWritable = Omit<PreprocessVideoInputWrit
|
|
|
12795
13145
|
threshold?: number;
|
|
12796
13146
|
kind: 'scribble';
|
|
12797
13147
|
};
|
|
13148
|
+
export type PreprocessVideoSdPoseInputWritable = Omit<PreprocessVideoInputWritable2, 'kind'> & {
|
|
13149
|
+
detectHand?: boolean;
|
|
13150
|
+
detectBody?: boolean;
|
|
13151
|
+
detectFace?: boolean;
|
|
13152
|
+
kind: 'sdpose';
|
|
13153
|
+
};
|
|
12798
13154
|
export type PreprocessVideoStepWritable = Omit<WorkflowStepWritable, '$type'> & {
|
|
12799
13155
|
input: PreprocessVideoInputWritable;
|
|
12800
13156
|
output?: PreprocessVideoOutput;
|
|
@@ -13039,6 +13395,7 @@ export type WorkflowWritable = {
|
|
|
13039
13395
|
*/
|
|
13040
13396
|
deletedAt?: null | string;
|
|
13041
13397
|
downloadPriority?: Priority;
|
|
13398
|
+
tier: WorkflowTier;
|
|
13042
13399
|
};
|
|
13043
13400
|
export type WorkflowCostWritable = {
|
|
13044
13401
|
/**
|
|
@@ -13743,6 +14100,26 @@ export type InvalidateUserTokensResponses = {
|
|
|
13743
14100
|
};
|
|
13744
14101
|
export type InvalidateUserTokensResponse =
|
|
13745
14102
|
InvalidateUserTokensResponses[keyof InvalidateUserTokensResponses];
|
|
14103
|
+
export type GetFreeTierData = {
|
|
14104
|
+
body?: never;
|
|
14105
|
+
path?: never;
|
|
14106
|
+
query?: never;
|
|
14107
|
+
url: '/v2/consumer/free-tier';
|
|
14108
|
+
};
|
|
14109
|
+
export type GetFreeTierErrors = {
|
|
14110
|
+
/**
|
|
14111
|
+
* Unauthorized
|
|
14112
|
+
*/
|
|
14113
|
+
401: ProblemDetails;
|
|
14114
|
+
};
|
|
14115
|
+
export type GetFreeTierError = GetFreeTierErrors[keyof GetFreeTierErrors];
|
|
14116
|
+
export type GetFreeTierResponses = {
|
|
14117
|
+
/**
|
|
14118
|
+
* OK
|
|
14119
|
+
*/
|
|
14120
|
+
200: FreeTierResponse;
|
|
14121
|
+
};
|
|
14122
|
+
export type GetFreeTierResponse = GetFreeTierResponses[keyof GetFreeTierResponses];
|
|
13746
14123
|
export type InvokeAceStepAudioStepTemplateData = {
|
|
13747
14124
|
body?: AceStepAudioInput;
|
|
13748
14125
|
path?: never;
|
|
@@ -13751,6 +14128,10 @@ export type InvokeAceStepAudioStepTemplateData = {
|
|
|
13751
14128
|
allowMatureContent?: boolean;
|
|
13752
14129
|
whatif?: boolean;
|
|
13753
14130
|
ephemeral?: boolean;
|
|
14131
|
+
/**
|
|
14132
|
+
* How a workflow is paid for.
|
|
14133
|
+
*/
|
|
14134
|
+
tier?: WorkflowTier;
|
|
13754
14135
|
};
|
|
13755
14136
|
url: '/v2/consumer/recipes/aceStepAudio';
|
|
13756
14137
|
};
|
|
@@ -13786,6 +14167,10 @@ export type InvokeAgeClassificationStepTemplateData = {
|
|
|
13786
14167
|
allowMatureContent?: boolean;
|
|
13787
14168
|
whatif?: boolean;
|
|
13788
14169
|
ephemeral?: boolean;
|
|
14170
|
+
/**
|
|
14171
|
+
* How a workflow is paid for.
|
|
14172
|
+
*/
|
|
14173
|
+
tier?: WorkflowTier;
|
|
13789
14174
|
};
|
|
13790
14175
|
url: '/v2/consumer/recipes/ageClassification';
|
|
13791
14176
|
};
|
|
@@ -13821,6 +14206,10 @@ export type InvokeAudioCaptioningStepTemplateData = {
|
|
|
13821
14206
|
allowMatureContent?: boolean;
|
|
13822
14207
|
whatif?: boolean;
|
|
13823
14208
|
ephemeral?: boolean;
|
|
14209
|
+
/**
|
|
14210
|
+
* How a workflow is paid for.
|
|
14211
|
+
*/
|
|
14212
|
+
tier?: WorkflowTier;
|
|
13824
14213
|
};
|
|
13825
14214
|
url: '/v2/consumer/recipes/audioCaptioning';
|
|
13826
14215
|
};
|
|
@@ -13856,6 +14245,10 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
|
|
|
13856
14245
|
allowMatureContent?: boolean;
|
|
13857
14246
|
whatif?: boolean;
|
|
13858
14247
|
ephemeral?: boolean;
|
|
14248
|
+
/**
|
|
14249
|
+
* How a workflow is paid for.
|
|
14250
|
+
*/
|
|
14251
|
+
tier?: WorkflowTier;
|
|
13859
14252
|
};
|
|
13860
14253
|
url: '/v2/consumer/recipes/batchOCRSafetyClassification';
|
|
13861
14254
|
};
|
|
@@ -13891,6 +14284,10 @@ export type InvokeBlobArchiveStepTemplateData = {
|
|
|
13891
14284
|
allowMatureContent?: boolean;
|
|
13892
14285
|
whatif?: boolean;
|
|
13893
14286
|
ephemeral?: boolean;
|
|
14287
|
+
/**
|
|
14288
|
+
* How a workflow is paid for.
|
|
14289
|
+
*/
|
|
14290
|
+
tier?: WorkflowTier;
|
|
13894
14291
|
};
|
|
13895
14292
|
url: '/v2/consumer/recipes/blobArchive';
|
|
13896
14293
|
};
|
|
@@ -13926,6 +14323,10 @@ export type InvokeChatCompletionStepTemplateData = {
|
|
|
13926
14323
|
allowMatureContent?: boolean;
|
|
13927
14324
|
whatif?: boolean;
|
|
13928
14325
|
ephemeral?: boolean;
|
|
14326
|
+
/**
|
|
14327
|
+
* How a workflow is paid for.
|
|
14328
|
+
*/
|
|
14329
|
+
tier?: WorkflowTier;
|
|
13929
14330
|
};
|
|
13930
14331
|
url: '/v2/consumer/recipes/chatCompletion';
|
|
13931
14332
|
};
|
|
@@ -13961,6 +14362,10 @@ export type InvokeComfyStepTemplateData = {
|
|
|
13961
14362
|
allowMatureContent?: boolean;
|
|
13962
14363
|
whatif?: boolean;
|
|
13963
14364
|
ephemeral?: boolean;
|
|
14365
|
+
/**
|
|
14366
|
+
* How a workflow is paid for.
|
|
14367
|
+
*/
|
|
14368
|
+
tier?: WorkflowTier;
|
|
13964
14369
|
};
|
|
13965
14370
|
url: '/v2/consumer/recipes/comfy';
|
|
13966
14371
|
};
|
|
@@ -13996,6 +14401,10 @@ export type InvokeComfyNodepackSnapshotStepTemplateData = {
|
|
|
13996
14401
|
allowMatureContent?: boolean;
|
|
13997
14402
|
whatif?: boolean;
|
|
13998
14403
|
ephemeral?: boolean;
|
|
14404
|
+
/**
|
|
14405
|
+
* How a workflow is paid for.
|
|
14406
|
+
*/
|
|
14407
|
+
tier?: WorkflowTier;
|
|
13999
14408
|
};
|
|
14000
14409
|
url: '/v2/consumer/recipes/comfyNodepackSnapshot';
|
|
14001
14410
|
};
|
|
@@ -14031,6 +14440,10 @@ export type InvokeComposeMediaStepTemplateData = {
|
|
|
14031
14440
|
allowMatureContent?: boolean;
|
|
14032
14441
|
whatif?: boolean;
|
|
14033
14442
|
ephemeral?: boolean;
|
|
14443
|
+
/**
|
|
14444
|
+
* How a workflow is paid for.
|
|
14445
|
+
*/
|
|
14446
|
+
tier?: WorkflowTier;
|
|
14034
14447
|
};
|
|
14035
14448
|
url: '/v2/consumer/recipes/composeMedia';
|
|
14036
14449
|
};
|
|
@@ -14066,6 +14479,10 @@ export type InvokeConvertImageStepTemplateData = {
|
|
|
14066
14479
|
allowMatureContent?: boolean;
|
|
14067
14480
|
whatif?: boolean;
|
|
14068
14481
|
ephemeral?: boolean;
|
|
14482
|
+
/**
|
|
14483
|
+
* How a workflow is paid for.
|
|
14484
|
+
*/
|
|
14485
|
+
tier?: WorkflowTier;
|
|
14069
14486
|
};
|
|
14070
14487
|
url: '/v2/consumer/recipes/convertImage';
|
|
14071
14488
|
};
|
|
@@ -14101,6 +14518,10 @@ export type InvokeCustomComfyStepTemplateData = {
|
|
|
14101
14518
|
allowMatureContent?: boolean;
|
|
14102
14519
|
whatif?: boolean;
|
|
14103
14520
|
ephemeral?: boolean;
|
|
14521
|
+
/**
|
|
14522
|
+
* How a workflow is paid for.
|
|
14523
|
+
*/
|
|
14524
|
+
tier?: WorkflowTier;
|
|
14104
14525
|
};
|
|
14105
14526
|
url: '/v2/consumer/recipes/customComfy';
|
|
14106
14527
|
};
|
|
@@ -14136,6 +14557,10 @@ export type InvokeEchoStepTemplateData = {
|
|
|
14136
14557
|
allowMatureContent?: boolean;
|
|
14137
14558
|
whatif?: boolean;
|
|
14138
14559
|
ephemeral?: boolean;
|
|
14560
|
+
/**
|
|
14561
|
+
* How a workflow is paid for.
|
|
14562
|
+
*/
|
|
14563
|
+
tier?: WorkflowTier;
|
|
14139
14564
|
};
|
|
14140
14565
|
url: '/v2/consumer/recipes/echo';
|
|
14141
14566
|
};
|
|
@@ -14171,6 +14596,10 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
|
|
|
14171
14596
|
allowMatureContent?: boolean;
|
|
14172
14597
|
whatif?: boolean;
|
|
14173
14598
|
ephemeral?: boolean;
|
|
14599
|
+
/**
|
|
14600
|
+
* How a workflow is paid for.
|
|
14601
|
+
*/
|
|
14602
|
+
tier?: WorkflowTier;
|
|
14174
14603
|
};
|
|
14175
14604
|
url: '/v2/consumer/recipes/humanoidImageMask';
|
|
14176
14605
|
};
|
|
@@ -14206,6 +14635,10 @@ export type InvokeImageBackgroundRemovalStepTemplateData = {
|
|
|
14206
14635
|
allowMatureContent?: boolean;
|
|
14207
14636
|
whatif?: boolean;
|
|
14208
14637
|
ephemeral?: boolean;
|
|
14638
|
+
/**
|
|
14639
|
+
* How a workflow is paid for.
|
|
14640
|
+
*/
|
|
14641
|
+
tier?: WorkflowTier;
|
|
14209
14642
|
};
|
|
14210
14643
|
url: '/v2/consumer/recipes/imageBackgroundRemoval';
|
|
14211
14644
|
};
|
|
@@ -14241,6 +14674,10 @@ export type InvokeImageGenStepTemplateData = {
|
|
|
14241
14674
|
allowMatureContent?: boolean;
|
|
14242
14675
|
whatif?: boolean;
|
|
14243
14676
|
ephemeral?: boolean;
|
|
14677
|
+
/**
|
|
14678
|
+
* How a workflow is paid for.
|
|
14679
|
+
*/
|
|
14680
|
+
tier?: WorkflowTier;
|
|
14244
14681
|
};
|
|
14245
14682
|
url: '/v2/consumer/recipes/imageGen';
|
|
14246
14683
|
};
|
|
@@ -14276,6 +14713,10 @@ export type InvokeImageResourceTrainingStepTemplateData = {
|
|
|
14276
14713
|
allowMatureContent?: boolean;
|
|
14277
14714
|
whatif?: boolean;
|
|
14278
14715
|
ephemeral?: boolean;
|
|
14716
|
+
/**
|
|
14717
|
+
* How a workflow is paid for.
|
|
14718
|
+
*/
|
|
14719
|
+
tier?: WorkflowTier;
|
|
14279
14720
|
};
|
|
14280
14721
|
url: '/v2/consumer/recipes/imageResourceTraining';
|
|
14281
14722
|
};
|
|
@@ -14311,6 +14752,10 @@ export type InvokeImageScanningStepTemplateData = {
|
|
|
14311
14752
|
allowMatureContent?: boolean;
|
|
14312
14753
|
whatif?: boolean;
|
|
14313
14754
|
ephemeral?: boolean;
|
|
14755
|
+
/**
|
|
14756
|
+
* How a workflow is paid for.
|
|
14757
|
+
*/
|
|
14758
|
+
tier?: WorkflowTier;
|
|
14314
14759
|
};
|
|
14315
14760
|
url: '/v2/consumer/recipes/imageScanning';
|
|
14316
14761
|
};
|
|
@@ -14346,6 +14791,10 @@ export type InvokeImageToSvgStepTemplateData = {
|
|
|
14346
14791
|
allowMatureContent?: boolean;
|
|
14347
14792
|
whatif?: boolean;
|
|
14348
14793
|
ephemeral?: boolean;
|
|
14794
|
+
/**
|
|
14795
|
+
* How a workflow is paid for.
|
|
14796
|
+
*/
|
|
14797
|
+
tier?: WorkflowTier;
|
|
14349
14798
|
};
|
|
14350
14799
|
url: '/v2/consumer/recipes/imageToSvg';
|
|
14351
14800
|
};
|
|
@@ -14381,6 +14830,10 @@ export type InvokeImageUploadStepTemplateData = {
|
|
|
14381
14830
|
allowMatureContent?: boolean;
|
|
14382
14831
|
whatif?: boolean;
|
|
14383
14832
|
ephemeral?: boolean;
|
|
14833
|
+
/**
|
|
14834
|
+
* How a workflow is paid for.
|
|
14835
|
+
*/
|
|
14836
|
+
tier?: WorkflowTier;
|
|
14384
14837
|
};
|
|
14385
14838
|
url: '/v2/consumer/recipes/imageUpload';
|
|
14386
14839
|
};
|
|
@@ -14416,6 +14869,10 @@ export type InvokeImageUpscalerStepTemplateData = {
|
|
|
14416
14869
|
allowMatureContent?: boolean;
|
|
14417
14870
|
whatif?: boolean;
|
|
14418
14871
|
ephemeral?: boolean;
|
|
14872
|
+
/**
|
|
14873
|
+
* How a workflow is paid for.
|
|
14874
|
+
*/
|
|
14875
|
+
tier?: WorkflowTier;
|
|
14419
14876
|
};
|
|
14420
14877
|
url: '/v2/consumer/recipes/imageUpscaler';
|
|
14421
14878
|
};
|
|
@@ -14443,6 +14900,45 @@ export type InvokeImageUpscalerStepTemplateResponses = {
|
|
|
14443
14900
|
};
|
|
14444
14901
|
export type InvokeImageUpscalerStepTemplateResponse =
|
|
14445
14902
|
InvokeImageUpscalerStepTemplateResponses[keyof InvokeImageUpscalerStepTemplateResponses];
|
|
14903
|
+
export type InvokeLiveTranscriptionStepTemplateData = {
|
|
14904
|
+
body?: LiveTranscriptionInput;
|
|
14905
|
+
path?: never;
|
|
14906
|
+
query?: {
|
|
14907
|
+
experimental?: boolean;
|
|
14908
|
+
allowMatureContent?: boolean;
|
|
14909
|
+
whatif?: boolean;
|
|
14910
|
+
ephemeral?: boolean;
|
|
14911
|
+
/**
|
|
14912
|
+
* How a workflow is paid for.
|
|
14913
|
+
*/
|
|
14914
|
+
tier?: WorkflowTier;
|
|
14915
|
+
};
|
|
14916
|
+
url: '/v2/consumer/recipes/liveTranscription';
|
|
14917
|
+
};
|
|
14918
|
+
export type InvokeLiveTranscriptionStepTemplateErrors = {
|
|
14919
|
+
/**
|
|
14920
|
+
* Bad Request
|
|
14921
|
+
*/
|
|
14922
|
+
400: ProblemDetails;
|
|
14923
|
+
/**
|
|
14924
|
+
* Unauthorized
|
|
14925
|
+
*/
|
|
14926
|
+
401: ProblemDetails;
|
|
14927
|
+
/**
|
|
14928
|
+
* Forbidden
|
|
14929
|
+
*/
|
|
14930
|
+
403: ProblemDetails;
|
|
14931
|
+
};
|
|
14932
|
+
export type InvokeLiveTranscriptionStepTemplateError =
|
|
14933
|
+
InvokeLiveTranscriptionStepTemplateErrors[keyof InvokeLiveTranscriptionStepTemplateErrors];
|
|
14934
|
+
export type InvokeLiveTranscriptionStepTemplateResponses = {
|
|
14935
|
+
/**
|
|
14936
|
+
* OK
|
|
14937
|
+
*/
|
|
14938
|
+
200: LiveTranscriptionOutput;
|
|
14939
|
+
};
|
|
14940
|
+
export type InvokeLiveTranscriptionStepTemplateResponse =
|
|
14941
|
+
InvokeLiveTranscriptionStepTemplateResponses[keyof InvokeLiveTranscriptionStepTemplateResponses];
|
|
14446
14942
|
export type InvokeMediaCaptioningStepTemplateData = {
|
|
14447
14943
|
body?: MediaCaptioningInput;
|
|
14448
14944
|
path?: never;
|
|
@@ -14451,6 +14947,10 @@ export type InvokeMediaCaptioningStepTemplateData = {
|
|
|
14451
14947
|
allowMatureContent?: boolean;
|
|
14452
14948
|
whatif?: boolean;
|
|
14453
14949
|
ephemeral?: boolean;
|
|
14950
|
+
/**
|
|
14951
|
+
* How a workflow is paid for.
|
|
14952
|
+
*/
|
|
14953
|
+
tier?: WorkflowTier;
|
|
14454
14954
|
};
|
|
14455
14955
|
url: '/v2/consumer/recipes/mediaCaptioning';
|
|
14456
14956
|
};
|
|
@@ -14486,6 +14986,10 @@ export type InvokeMediaHashStepTemplateData = {
|
|
|
14486
14986
|
allowMatureContent?: boolean;
|
|
14487
14987
|
whatif?: boolean;
|
|
14488
14988
|
ephemeral?: boolean;
|
|
14989
|
+
/**
|
|
14990
|
+
* How a workflow is paid for.
|
|
14991
|
+
*/
|
|
14992
|
+
tier?: WorkflowTier;
|
|
14489
14993
|
};
|
|
14490
14994
|
url: '/v2/consumer/recipes/mediaHash';
|
|
14491
14995
|
};
|
|
@@ -14521,6 +15025,10 @@ export type InvokeMediaRatingStepTemplateData = {
|
|
|
14521
15025
|
allowMatureContent?: boolean;
|
|
14522
15026
|
whatif?: boolean;
|
|
14523
15027
|
ephemeral?: boolean;
|
|
15028
|
+
/**
|
|
15029
|
+
* How a workflow is paid for.
|
|
15030
|
+
*/
|
|
15031
|
+
tier?: WorkflowTier;
|
|
14524
15032
|
};
|
|
14525
15033
|
url: '/v2/consumer/recipes/mediaRating';
|
|
14526
15034
|
};
|
|
@@ -14548,6 +15056,45 @@ export type InvokeMediaRatingStepTemplateResponses = {
|
|
|
14548
15056
|
};
|
|
14549
15057
|
export type InvokeMediaRatingStepTemplateResponse =
|
|
14550
15058
|
InvokeMediaRatingStepTemplateResponses[keyof InvokeMediaRatingStepTemplateResponses];
|
|
15059
|
+
export type InvokeMergeStepTemplateData = {
|
|
15060
|
+
body?: MergeInput;
|
|
15061
|
+
path?: never;
|
|
15062
|
+
query?: {
|
|
15063
|
+
experimental?: boolean;
|
|
15064
|
+
allowMatureContent?: boolean;
|
|
15065
|
+
whatif?: boolean;
|
|
15066
|
+
ephemeral?: boolean;
|
|
15067
|
+
/**
|
|
15068
|
+
* How a workflow is paid for.
|
|
15069
|
+
*/
|
|
15070
|
+
tier?: WorkflowTier;
|
|
15071
|
+
};
|
|
15072
|
+
url: '/v2/consumer/recipes/merge';
|
|
15073
|
+
};
|
|
15074
|
+
export type InvokeMergeStepTemplateErrors = {
|
|
15075
|
+
/**
|
|
15076
|
+
* Bad Request
|
|
15077
|
+
*/
|
|
15078
|
+
400: ProblemDetails;
|
|
15079
|
+
/**
|
|
15080
|
+
* Unauthorized
|
|
15081
|
+
*/
|
|
15082
|
+
401: ProblemDetails;
|
|
15083
|
+
/**
|
|
15084
|
+
* Forbidden
|
|
15085
|
+
*/
|
|
15086
|
+
403: ProblemDetails;
|
|
15087
|
+
};
|
|
15088
|
+
export type InvokeMergeStepTemplateError =
|
|
15089
|
+
InvokeMergeStepTemplateErrors[keyof InvokeMergeStepTemplateErrors];
|
|
15090
|
+
export type InvokeMergeStepTemplateResponses = {
|
|
15091
|
+
/**
|
|
15092
|
+
* OK
|
|
15093
|
+
*/
|
|
15094
|
+
200: MergeOutput;
|
|
15095
|
+
};
|
|
15096
|
+
export type InvokeMergeStepTemplateResponse =
|
|
15097
|
+
InvokeMergeStepTemplateResponses[keyof InvokeMergeStepTemplateResponses];
|
|
14551
15098
|
export type InvokeMiniMaxMusic3StepTemplateData = {
|
|
14552
15099
|
body?: MiniMaxMusic3Input;
|
|
14553
15100
|
path?: never;
|
|
@@ -14556,6 +15103,10 @@ export type InvokeMiniMaxMusic3StepTemplateData = {
|
|
|
14556
15103
|
allowMatureContent?: boolean;
|
|
14557
15104
|
whatif?: boolean;
|
|
14558
15105
|
ephemeral?: boolean;
|
|
15106
|
+
/**
|
|
15107
|
+
* How a workflow is paid for.
|
|
15108
|
+
*/
|
|
15109
|
+
tier?: WorkflowTier;
|
|
14559
15110
|
};
|
|
14560
15111
|
url: '/v2/consumer/recipes/miniMaxMusic3';
|
|
14561
15112
|
};
|
|
@@ -14591,6 +15142,10 @@ export type InvokeModel3dPreviewStepTemplateData = {
|
|
|
14591
15142
|
allowMatureContent?: boolean;
|
|
14592
15143
|
whatif?: boolean;
|
|
14593
15144
|
ephemeral?: boolean;
|
|
15145
|
+
/**
|
|
15146
|
+
* How a workflow is paid for.
|
|
15147
|
+
*/
|
|
15148
|
+
tier?: WorkflowTier;
|
|
14594
15149
|
};
|
|
14595
15150
|
url: '/v2/consumer/recipes/model3DPreview';
|
|
14596
15151
|
};
|
|
@@ -14626,6 +15181,10 @@ export type InvokeModelClamScanStepTemplateData = {
|
|
|
14626
15181
|
allowMatureContent?: boolean;
|
|
14627
15182
|
whatif?: boolean;
|
|
14628
15183
|
ephemeral?: boolean;
|
|
15184
|
+
/**
|
|
15185
|
+
* How a workflow is paid for.
|
|
15186
|
+
*/
|
|
15187
|
+
tier?: WorkflowTier;
|
|
14629
15188
|
};
|
|
14630
15189
|
url: '/v2/consumer/recipes/modelClamScan';
|
|
14631
15190
|
};
|
|
@@ -14661,6 +15220,10 @@ export type InvokeModelHashStepTemplateData = {
|
|
|
14661
15220
|
allowMatureContent?: boolean;
|
|
14662
15221
|
whatif?: boolean;
|
|
14663
15222
|
ephemeral?: boolean;
|
|
15223
|
+
/**
|
|
15224
|
+
* How a workflow is paid for.
|
|
15225
|
+
*/
|
|
15226
|
+
tier?: WorkflowTier;
|
|
14664
15227
|
};
|
|
14665
15228
|
url: '/v2/consumer/recipes/modelHash';
|
|
14666
15229
|
};
|
|
@@ -14696,6 +15259,10 @@ export type InvokeModelParseMetadataStepTemplateData = {
|
|
|
14696
15259
|
allowMatureContent?: boolean;
|
|
14697
15260
|
whatif?: boolean;
|
|
14698
15261
|
ephemeral?: boolean;
|
|
15262
|
+
/**
|
|
15263
|
+
* How a workflow is paid for.
|
|
15264
|
+
*/
|
|
15265
|
+
tier?: WorkflowTier;
|
|
14699
15266
|
};
|
|
14700
15267
|
url: '/v2/consumer/recipes/modelParseMetadata';
|
|
14701
15268
|
};
|
|
@@ -14731,6 +15298,10 @@ export type InvokeModelPickleScanStepTemplateData = {
|
|
|
14731
15298
|
allowMatureContent?: boolean;
|
|
14732
15299
|
whatif?: boolean;
|
|
14733
15300
|
ephemeral?: boolean;
|
|
15301
|
+
/**
|
|
15302
|
+
* How a workflow is paid for.
|
|
15303
|
+
*/
|
|
15304
|
+
tier?: WorkflowTier;
|
|
14734
15305
|
};
|
|
14735
15306
|
url: '/v2/consumer/recipes/modelPickleScan';
|
|
14736
15307
|
};
|
|
@@ -14766,6 +15337,10 @@ export type InvokePolyGenStepTemplateData = {
|
|
|
14766
15337
|
allowMatureContent?: boolean;
|
|
14767
15338
|
whatif?: boolean;
|
|
14768
15339
|
ephemeral?: boolean;
|
|
15340
|
+
/**
|
|
15341
|
+
* How a workflow is paid for.
|
|
15342
|
+
*/
|
|
15343
|
+
tier?: WorkflowTier;
|
|
14769
15344
|
};
|
|
14770
15345
|
url: '/v2/consumer/recipes/polyGen';
|
|
14771
15346
|
};
|
|
@@ -14801,6 +15376,10 @@ export type InvokePrepareResourceStepTemplateData = {
|
|
|
14801
15376
|
allowMatureContent?: boolean;
|
|
14802
15377
|
whatif?: boolean;
|
|
14803
15378
|
ephemeral?: boolean;
|
|
15379
|
+
/**
|
|
15380
|
+
* How a workflow is paid for.
|
|
15381
|
+
*/
|
|
15382
|
+
tier?: WorkflowTier;
|
|
14804
15383
|
};
|
|
14805
15384
|
url: '/v2/consumer/recipes/prepareResource';
|
|
14806
15385
|
};
|
|
@@ -14836,6 +15415,10 @@ export type InvokePreprocessImageStepTemplateData = {
|
|
|
14836
15415
|
allowMatureContent?: boolean;
|
|
14837
15416
|
whatif?: boolean;
|
|
14838
15417
|
ephemeral?: boolean;
|
|
15418
|
+
/**
|
|
15419
|
+
* How a workflow is paid for.
|
|
15420
|
+
*/
|
|
15421
|
+
tier?: WorkflowTier;
|
|
14839
15422
|
};
|
|
14840
15423
|
url: '/v2/consumer/recipes/preprocessImage';
|
|
14841
15424
|
};
|
|
@@ -14871,6 +15454,10 @@ export type InvokePreprocessVideoStepTemplateData = {
|
|
|
14871
15454
|
allowMatureContent?: boolean;
|
|
14872
15455
|
whatif?: boolean;
|
|
14873
15456
|
ephemeral?: boolean;
|
|
15457
|
+
/**
|
|
15458
|
+
* How a workflow is paid for.
|
|
15459
|
+
*/
|
|
15460
|
+
tier?: WorkflowTier;
|
|
14874
15461
|
};
|
|
14875
15462
|
url: '/v2/consumer/recipes/preprocessVideo';
|
|
14876
15463
|
};
|
|
@@ -14906,6 +15493,10 @@ export type InvokePromptEnhancementStepTemplateData = {
|
|
|
14906
15493
|
allowMatureContent?: boolean;
|
|
14907
15494
|
whatif?: boolean;
|
|
14908
15495
|
ephemeral?: boolean;
|
|
15496
|
+
/**
|
|
15497
|
+
* How a workflow is paid for.
|
|
15498
|
+
*/
|
|
15499
|
+
tier?: WorkflowTier;
|
|
14909
15500
|
};
|
|
14910
15501
|
url: '/v2/consumer/recipes/promptEnhancement';
|
|
14911
15502
|
};
|
|
@@ -14941,6 +15532,10 @@ export type InvokeQwenImageBenchStepTemplateData = {
|
|
|
14941
15532
|
allowMatureContent?: boolean;
|
|
14942
15533
|
whatif?: boolean;
|
|
14943
15534
|
ephemeral?: boolean;
|
|
15535
|
+
/**
|
|
15536
|
+
* How a workflow is paid for.
|
|
15537
|
+
*/
|
|
15538
|
+
tier?: WorkflowTier;
|
|
14944
15539
|
};
|
|
14945
15540
|
url: '/v2/consumer/recipes/qwenImageBench';
|
|
14946
15541
|
};
|
|
@@ -14976,6 +15571,10 @@ export type InvokeRepeatStepTemplateData = {
|
|
|
14976
15571
|
allowMatureContent?: boolean;
|
|
14977
15572
|
whatif?: boolean;
|
|
14978
15573
|
ephemeral?: boolean;
|
|
15574
|
+
/**
|
|
15575
|
+
* How a workflow is paid for.
|
|
15576
|
+
*/
|
|
15577
|
+
tier?: WorkflowTier;
|
|
14979
15578
|
};
|
|
14980
15579
|
url: '/v2/consumer/recipes/repeat';
|
|
14981
15580
|
};
|
|
@@ -15011,6 +15610,10 @@ export type InvokeShieldstralModerationStepTemplateData = {
|
|
|
15011
15610
|
allowMatureContent?: boolean;
|
|
15012
15611
|
whatif?: boolean;
|
|
15013
15612
|
ephemeral?: boolean;
|
|
15613
|
+
/**
|
|
15614
|
+
* How a workflow is paid for.
|
|
15615
|
+
*/
|
|
15616
|
+
tier?: WorkflowTier;
|
|
15014
15617
|
};
|
|
15015
15618
|
url: '/v2/consumer/recipes/shieldstralModeration';
|
|
15016
15619
|
};
|
|
@@ -15046,6 +15649,10 @@ export type InvokeSoniloAudioGenStepTemplateData = {
|
|
|
15046
15649
|
allowMatureContent?: boolean;
|
|
15047
15650
|
whatif?: boolean;
|
|
15048
15651
|
ephemeral?: boolean;
|
|
15652
|
+
/**
|
|
15653
|
+
* How a workflow is paid for.
|
|
15654
|
+
*/
|
|
15655
|
+
tier?: WorkflowTier;
|
|
15049
15656
|
};
|
|
15050
15657
|
url: '/v2/consumer/recipes/soniloAudioGen';
|
|
15051
15658
|
};
|
|
@@ -15081,6 +15688,10 @@ export type InvokeTextToImageStepTemplateData = {
|
|
|
15081
15688
|
allowMatureContent?: boolean;
|
|
15082
15689
|
whatif?: boolean;
|
|
15083
15690
|
ephemeral?: boolean;
|
|
15691
|
+
/**
|
|
15692
|
+
* How a workflow is paid for.
|
|
15693
|
+
*/
|
|
15694
|
+
tier?: WorkflowTier;
|
|
15084
15695
|
};
|
|
15085
15696
|
url: '/v2/consumer/recipes/textToImage';
|
|
15086
15697
|
};
|
|
@@ -15116,6 +15727,10 @@ export type InvokeTextToSpeechStepTemplateData = {
|
|
|
15116
15727
|
allowMatureContent?: boolean;
|
|
15117
15728
|
whatif?: boolean;
|
|
15118
15729
|
ephemeral?: boolean;
|
|
15730
|
+
/**
|
|
15731
|
+
* How a workflow is paid for.
|
|
15732
|
+
*/
|
|
15733
|
+
tier?: WorkflowTier;
|
|
15119
15734
|
};
|
|
15120
15735
|
url: '/v2/consumer/recipes/textToSpeech';
|
|
15121
15736
|
};
|
|
@@ -15151,6 +15766,10 @@ export type InvokeTrainingStepTemplateData = {
|
|
|
15151
15766
|
allowMatureContent?: boolean;
|
|
15152
15767
|
whatif?: boolean;
|
|
15153
15768
|
ephemeral?: boolean;
|
|
15769
|
+
/**
|
|
15770
|
+
* How a workflow is paid for.
|
|
15771
|
+
*/
|
|
15772
|
+
tier?: WorkflowTier;
|
|
15154
15773
|
};
|
|
15155
15774
|
url: '/v2/consumer/recipes/training';
|
|
15156
15775
|
};
|
|
@@ -15186,6 +15805,10 @@ export type InvokeTranscodeStepTemplateData = {
|
|
|
15186
15805
|
allowMatureContent?: boolean;
|
|
15187
15806
|
whatif?: boolean;
|
|
15188
15807
|
ephemeral?: boolean;
|
|
15808
|
+
/**
|
|
15809
|
+
* How a workflow is paid for.
|
|
15810
|
+
*/
|
|
15811
|
+
tier?: WorkflowTier;
|
|
15189
15812
|
};
|
|
15190
15813
|
url: '/v2/consumer/recipes/transcode';
|
|
15191
15814
|
};
|
|
@@ -15221,6 +15844,10 @@ export type InvokeTranscriptionStepTemplateData = {
|
|
|
15221
15844
|
allowMatureContent?: boolean;
|
|
15222
15845
|
whatif?: boolean;
|
|
15223
15846
|
ephemeral?: boolean;
|
|
15847
|
+
/**
|
|
15848
|
+
* How a workflow is paid for.
|
|
15849
|
+
*/
|
|
15850
|
+
tier?: WorkflowTier;
|
|
15224
15851
|
};
|
|
15225
15852
|
url: '/v2/consumer/recipes/transcription';
|
|
15226
15853
|
};
|
|
@@ -15256,6 +15883,10 @@ export type InvokeTryOnUStepTemplateData = {
|
|
|
15256
15883
|
allowMatureContent?: boolean;
|
|
15257
15884
|
whatif?: boolean;
|
|
15258
15885
|
ephemeral?: boolean;
|
|
15886
|
+
/**
|
|
15887
|
+
* How a workflow is paid for.
|
|
15888
|
+
*/
|
|
15889
|
+
tier?: WorkflowTier;
|
|
15259
15890
|
};
|
|
15260
15891
|
url: '/v2/consumer/recipes/tryOnU';
|
|
15261
15892
|
};
|
|
@@ -15291,6 +15922,10 @@ export type InvokeVideoBackgroundRemovalStepTemplateData = {
|
|
|
15291
15922
|
allowMatureContent?: boolean;
|
|
15292
15923
|
whatif?: boolean;
|
|
15293
15924
|
ephemeral?: boolean;
|
|
15925
|
+
/**
|
|
15926
|
+
* How a workflow is paid for.
|
|
15927
|
+
*/
|
|
15928
|
+
tier?: WorkflowTier;
|
|
15294
15929
|
};
|
|
15295
15930
|
url: '/v2/consumer/recipes/videoBackgroundRemoval';
|
|
15296
15931
|
};
|
|
@@ -15326,6 +15961,10 @@ export type InvokeVideoEnhancementStepTemplateData = {
|
|
|
15326
15961
|
allowMatureContent?: boolean;
|
|
15327
15962
|
whatif?: boolean;
|
|
15328
15963
|
ephemeral?: boolean;
|
|
15964
|
+
/**
|
|
15965
|
+
* How a workflow is paid for.
|
|
15966
|
+
*/
|
|
15967
|
+
tier?: WorkflowTier;
|
|
15329
15968
|
};
|
|
15330
15969
|
url: '/v2/consumer/recipes/videoEnhancement';
|
|
15331
15970
|
};
|
|
@@ -15361,6 +16000,10 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
|
|
|
15361
16000
|
allowMatureContent?: boolean;
|
|
15362
16001
|
whatif?: boolean;
|
|
15363
16002
|
ephemeral?: boolean;
|
|
16003
|
+
/**
|
|
16004
|
+
* How a workflow is paid for.
|
|
16005
|
+
*/
|
|
16006
|
+
tier?: WorkflowTier;
|
|
15364
16007
|
};
|
|
15365
16008
|
url: '/v2/consumer/recipes/videoFrameExtraction';
|
|
15366
16009
|
};
|
|
@@ -15396,6 +16039,10 @@ export type InvokeVideoGenStepTemplateData = {
|
|
|
15396
16039
|
allowMatureContent?: boolean;
|
|
15397
16040
|
whatif?: boolean;
|
|
15398
16041
|
ephemeral?: boolean;
|
|
16042
|
+
/**
|
|
16043
|
+
* How a workflow is paid for.
|
|
16044
|
+
*/
|
|
16045
|
+
tier?: WorkflowTier;
|
|
15399
16046
|
};
|
|
15400
16047
|
url: '/v2/consumer/recipes/videoGen';
|
|
15401
16048
|
};
|
|
@@ -15431,6 +16078,10 @@ export type InvokeVideoInterpolationStepTemplateData = {
|
|
|
15431
16078
|
allowMatureContent?: boolean;
|
|
15432
16079
|
whatif?: boolean;
|
|
15433
16080
|
ephemeral?: boolean;
|
|
16081
|
+
/**
|
|
16082
|
+
* How a workflow is paid for.
|
|
16083
|
+
*/
|
|
16084
|
+
tier?: WorkflowTier;
|
|
15434
16085
|
};
|
|
15435
16086
|
url: '/v2/consumer/recipes/videoInterpolation';
|
|
15436
16087
|
};
|
|
@@ -15466,6 +16117,10 @@ export type InvokeVideoMetadataStepTemplateData = {
|
|
|
15466
16117
|
allowMatureContent?: boolean;
|
|
15467
16118
|
whatif?: boolean;
|
|
15468
16119
|
ephemeral?: boolean;
|
|
16120
|
+
/**
|
|
16121
|
+
* How a workflow is paid for.
|
|
16122
|
+
*/
|
|
16123
|
+
tier?: WorkflowTier;
|
|
15469
16124
|
};
|
|
15470
16125
|
url: '/v2/consumer/recipes/videoMetadata';
|
|
15471
16126
|
};
|
|
@@ -15501,6 +16156,10 @@ export type InvokeVideoUpscalerStepTemplateData = {
|
|
|
15501
16156
|
allowMatureContent?: boolean;
|
|
15502
16157
|
whatif?: boolean;
|
|
15503
16158
|
ephemeral?: boolean;
|
|
16159
|
+
/**
|
|
16160
|
+
* How a workflow is paid for.
|
|
16161
|
+
*/
|
|
16162
|
+
tier?: WorkflowTier;
|
|
15504
16163
|
};
|
|
15505
16164
|
url: '/v2/consumer/recipes/videoUpscaler';
|
|
15506
16165
|
};
|
|
@@ -15536,6 +16195,10 @@ export type InvokeWdTaggingStepTemplateData = {
|
|
|
15536
16195
|
allowMatureContent?: boolean;
|
|
15537
16196
|
whatif?: boolean;
|
|
15538
16197
|
ephemeral?: boolean;
|
|
16198
|
+
/**
|
|
16199
|
+
* How a workflow is paid for.
|
|
16200
|
+
*/
|
|
16201
|
+
tier?: WorkflowTier;
|
|
15539
16202
|
};
|
|
15540
16203
|
url: '/v2/consumer/recipes/wdTagging';
|
|
15541
16204
|
};
|
|
@@ -15571,6 +16234,10 @@ export type InvokeWebScrapeStepTemplateData = {
|
|
|
15571
16234
|
allowMatureContent?: boolean;
|
|
15572
16235
|
whatif?: boolean;
|
|
15573
16236
|
ephemeral?: boolean;
|
|
16237
|
+
/**
|
|
16238
|
+
* How a workflow is paid for.
|
|
16239
|
+
*/
|
|
16240
|
+
tier?: WorkflowTier;
|
|
15574
16241
|
};
|
|
15575
16242
|
url: '/v2/consumer/recipes/webScrape';
|
|
15576
16243
|
};
|
|
@@ -15606,6 +16273,10 @@ export type InvokeWebSearchStepTemplateData = {
|
|
|
15606
16273
|
allowMatureContent?: boolean;
|
|
15607
16274
|
whatif?: boolean;
|
|
15608
16275
|
ephemeral?: boolean;
|
|
16276
|
+
/**
|
|
16277
|
+
* How a workflow is paid for.
|
|
16278
|
+
*/
|
|
16279
|
+
tier?: WorkflowTier;
|
|
15609
16280
|
};
|
|
15610
16281
|
url: '/v2/consumer/recipes/webSearch';
|
|
15611
16282
|
};
|
|
@@ -15641,6 +16312,10 @@ export type InvokeXGuardModerationStepTemplateData = {
|
|
|
15641
16312
|
allowMatureContent?: boolean;
|
|
15642
16313
|
whatif?: boolean;
|
|
15643
16314
|
ephemeral?: boolean;
|
|
16315
|
+
/**
|
|
16316
|
+
* How a workflow is paid for.
|
|
16317
|
+
*/
|
|
16318
|
+
tier?: WorkflowTier;
|
|
15644
16319
|
};
|
|
15645
16320
|
url: '/v2/consumer/recipes/xGuardModeration';
|
|
15646
16321
|
};
|
|
@@ -15676,6 +16351,10 @@ export type InvokeYuE2StepTemplateData = {
|
|
|
15676
16351
|
allowMatureContent?: boolean;
|
|
15677
16352
|
whatif?: boolean;
|
|
15678
16353
|
ephemeral?: boolean;
|
|
16354
|
+
/**
|
|
16355
|
+
* How a workflow is paid for.
|
|
16356
|
+
*/
|
|
16357
|
+
tier?: WorkflowTier;
|
|
15679
16358
|
};
|
|
15680
16359
|
url: '/v2/consumer/recipes/yuE2';
|
|
15681
16360
|
};
|
|
@@ -15905,6 +16584,44 @@ export type GetStreamingBlobResponses = {
|
|
|
15905
16584
|
*/
|
|
15906
16585
|
200: unknown;
|
|
15907
16586
|
};
|
|
16587
|
+
export type AppendStreamingBlobData = {
|
|
16588
|
+
body?: never;
|
|
16589
|
+
path: {
|
|
16590
|
+
blobKey: string;
|
|
16591
|
+
};
|
|
16592
|
+
query?: {
|
|
16593
|
+
seq?: number;
|
|
16594
|
+
final?: boolean;
|
|
16595
|
+
};
|
|
16596
|
+
url: '/v2/consumer/streaming-blobs/{blobKey}';
|
|
16597
|
+
};
|
|
16598
|
+
export type AppendStreamingBlobErrors = {
|
|
16599
|
+
/**
|
|
16600
|
+
* Unauthorized
|
|
16601
|
+
*/
|
|
16602
|
+
401: ProblemDetails;
|
|
16603
|
+
/**
|
|
16604
|
+
* Forbidden
|
|
16605
|
+
*/
|
|
16606
|
+
403: ProblemDetails;
|
|
16607
|
+
/**
|
|
16608
|
+
* Conflict
|
|
16609
|
+
*/
|
|
16610
|
+
409: StreamingBlobAppendResponse;
|
|
16611
|
+
/**
|
|
16612
|
+
* Content Too Large
|
|
16613
|
+
*/
|
|
16614
|
+
413: ProblemDetails;
|
|
16615
|
+
};
|
|
16616
|
+
export type AppendStreamingBlobError = AppendStreamingBlobErrors[keyof AppendStreamingBlobErrors];
|
|
16617
|
+
export type AppendStreamingBlobResponses = {
|
|
16618
|
+
/**
|
|
16619
|
+
* OK
|
|
16620
|
+
*/
|
|
16621
|
+
200: StreamingBlobAppendResponse;
|
|
16622
|
+
};
|
|
16623
|
+
export type AppendStreamingBlobResponse =
|
|
16624
|
+
AppendStreamingBlobResponses[keyof AppendStreamingBlobResponses];
|
|
15908
16625
|
export type QueryWorkflowsData = {
|
|
15909
16626
|
body?: never;
|
|
15910
16627
|
headers?: {
|
|
@@ -15927,6 +16644,10 @@ export type QueryWorkflowsData = {
|
|
|
15927
16644
|
* An optional list of tags to query by
|
|
15928
16645
|
*/
|
|
15929
16646
|
tags?: Array<string>;
|
|
16647
|
+
/**
|
|
16648
|
+
* An optional list of tags; workflows with any of these tags are excluded
|
|
16649
|
+
*/
|
|
16650
|
+
excludeTags?: Array<string>;
|
|
15930
16651
|
/**
|
|
15931
16652
|
* An optional additional query that is used to match workflows through metadata
|
|
15932
16653
|
*/
|