@civitai/orchestration-client 0.2.0-beta.124 → 0.2.0-beta.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/index.d.ts +80 -6
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +88 -17
- package/dist/generated/sdk.gen.js +84 -10
- package/dist/generated/types.gen.d.ts +1435 -120
- package/dist/generated/types.gen.js +20 -0
- package/package.json +1 -1
|
@@ -97,6 +97,10 @@ export type AiToolkitTrainingInput = Omit<TrainingInput, 'engine'> & {
|
|
|
97
97
|
* epoch resumes from this model instead of the base model, and the new epochs build on top of it.
|
|
98
98
|
*/
|
|
99
99
|
continueFrom?: null | string;
|
|
100
|
+
/**
|
|
101
|
+
* What each epoch job records to its trace stream (`output.epochs[].traceUrl`): `none` (default), `logs` (plain-text console output)
|
|
102
|
+
* or `events` (NDJSON of console lines, step progress, phases and epoch checkpoints).
|
|
103
|
+
*/
|
|
100
104
|
trace: TrainingTraceMode;
|
|
101
105
|
/**
|
|
102
106
|
* Per-epoch surcharge (buzz) for the delivered checkpoint and its preview samples, billed on top of the per-step cost. Override where per-epoch samples are expensive (e.g. video).
|
|
@@ -272,6 +276,10 @@ export type AceStepAudioInput = {
|
|
|
272
276
|
* Optional diffusion model (unet) override. Defaults to ACE-Step 1.5 turbo 2B.
|
|
273
277
|
*/
|
|
274
278
|
diffusionModel?: null | string;
|
|
279
|
+
/**
|
|
280
|
+
* Optional cover image. When provided, the output is a WebM video
|
|
281
|
+
* with this image as the visual; otherwise, output is audio-only (MP3).
|
|
282
|
+
*/
|
|
275
283
|
cover?: AceStepAudioCover;
|
|
276
284
|
/**
|
|
277
285
|
* Optional text encoder (CLIP) override. Defaults to qwen_4b_ace15.
|
|
@@ -304,6 +312,9 @@ export type AceStepAudioInput = {
|
|
|
304
312
|
};
|
|
305
313
|
};
|
|
306
314
|
export type AceStepAudioOutput = {
|
|
315
|
+
/**
|
|
316
|
+
* The generated output blob — VideoBlob (with background image) or AudioBlob (audio only).
|
|
317
|
+
*/
|
|
307
318
|
blob: Blob;
|
|
308
319
|
};
|
|
309
320
|
/**
|
|
@@ -318,6 +329,9 @@ export type AceStepAudioStep = Omit<WorkflowStep, '$type'> & {
|
|
|
318
329
|
* Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
|
|
319
330
|
*/
|
|
320
331
|
export type AceStepAudioStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
332
|
+
/**
|
|
333
|
+
* Input for the AceStepAudioStep step.
|
|
334
|
+
*/
|
|
321
335
|
input: AceStepAudioInput;
|
|
322
336
|
$type: 'aceStepAudio';
|
|
323
337
|
};
|
|
@@ -401,6 +415,9 @@ export type AgeClassificationStep = Omit<WorkflowStep, '$type'> & {
|
|
|
401
415
|
* Age classification
|
|
402
416
|
*/
|
|
403
417
|
export type AgeClassificationStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
418
|
+
/**
|
|
419
|
+
* Input for the AgeClassificationStep step.
|
|
420
|
+
*/
|
|
404
421
|
input: AgeClassificationInput;
|
|
405
422
|
$type: 'ageClassification';
|
|
406
423
|
};
|
|
@@ -547,6 +564,76 @@ export declare const AnylineMergeWith: {
|
|
|
547
564
|
readonly MANGA_LINE: 'manga_line';
|
|
548
565
|
};
|
|
549
566
|
export type AnylineMergeWith = (typeof AnylineMergeWith)[keyof typeof AnylineMergeWith];
|
|
567
|
+
export type ArchiveEntry = {
|
|
568
|
+
/**
|
|
569
|
+
* The entry's normalized path inside the archive.
|
|
570
|
+
*/
|
|
571
|
+
path: string;
|
|
572
|
+
/**
|
|
573
|
+
* The blob AIR (urn:air:other:other:orchestrator:blob@{blobKey}).
|
|
574
|
+
*/
|
|
575
|
+
air: string;
|
|
576
|
+
mediaType: ArchiveEntryMediaType;
|
|
577
|
+
size: number;
|
|
578
|
+
blob: Blob;
|
|
579
|
+
};
|
|
580
|
+
export declare const ArchiveEntryMediaType: {
|
|
581
|
+
readonly IMAGE: 'image';
|
|
582
|
+
readonly VIDEO: 'video';
|
|
583
|
+
readonly AUDIO: 'audio';
|
|
584
|
+
readonly TEXT: 'text';
|
|
585
|
+
};
|
|
586
|
+
export type ArchiveEntryMediaType =
|
|
587
|
+
(typeof ArchiveEntryMediaType)[keyof typeof ArchiveEntryMediaType];
|
|
588
|
+
export declare const ArchiveEntryRejectionReason: {
|
|
589
|
+
readonly UNSUPPORTED_TYPE: 'unsupportedType';
|
|
590
|
+
readonly TOO_LARGE: 'tooLarge';
|
|
591
|
+
readonly INVALID_PATH: 'invalidPath';
|
|
592
|
+
readonly NESTED_ARCHIVE: 'nestedArchive';
|
|
593
|
+
readonly LIMIT_EXCEEDED: 'limitExceeded';
|
|
594
|
+
readonly BLOCKED: 'blocked';
|
|
595
|
+
};
|
|
596
|
+
export type ArchiveEntryRejectionReason =
|
|
597
|
+
(typeof ArchiveEntryRejectionReason)[keyof typeof ArchiveEntryRejectionReason];
|
|
598
|
+
export type ArchiveExtractionInput = {
|
|
599
|
+
/**
|
|
600
|
+
* A .zip, .tar or .tar.gz archive.
|
|
601
|
+
*/
|
|
602
|
+
sourceUrl: string;
|
|
603
|
+
/**
|
|
604
|
+
* The kinds of entries to extract; anything else is reported as rejected. Defaults to all.
|
|
605
|
+
*/
|
|
606
|
+
mediaTypes?: null | Array<ArchiveEntryMediaType>;
|
|
607
|
+
/**
|
|
608
|
+
* Extracted entries beyond this many are reported as rejected.
|
|
609
|
+
*/
|
|
610
|
+
maxEntries?: number;
|
|
611
|
+
};
|
|
612
|
+
export type ArchiveExtractionOutput = {
|
|
613
|
+
/**
|
|
614
|
+
* The extracted entries, in archive order.
|
|
615
|
+
*/
|
|
616
|
+
entries: Array<ArchiveEntry>;
|
|
617
|
+
rejected: Array<RejectedArchiveEntry>;
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Archive Extraction
|
|
621
|
+
*/
|
|
622
|
+
export type ArchiveExtractionStep = Omit<WorkflowStep, '$type'> & {
|
|
623
|
+
input: ArchiveExtractionInput;
|
|
624
|
+
output?: ArchiveExtractionOutput;
|
|
625
|
+
$type: 'archiveExtraction';
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* Archive Extraction
|
|
629
|
+
*/
|
|
630
|
+
export type ArchiveExtractionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
631
|
+
/**
|
|
632
|
+
* Input for the ArchiveExtractionStep step.
|
|
633
|
+
*/
|
|
634
|
+
input: ArchiveExtractionInput;
|
|
635
|
+
$type: 'archiveExtraction';
|
|
636
|
+
};
|
|
550
637
|
export declare const ArchiveFormat: {
|
|
551
638
|
readonly ZIP: 'zip';
|
|
552
639
|
readonly TAR: 'tar';
|
|
@@ -594,11 +681,14 @@ export type AudioCaptioningInput = {
|
|
|
594
681
|
* Maximum number of tokens to generate for each ACE-Step request.
|
|
595
682
|
*/
|
|
596
683
|
maxNewTokens: number;
|
|
684
|
+
includeCaption: boolean;
|
|
685
|
+
prepareForModeration: boolean;
|
|
597
686
|
};
|
|
598
687
|
export type AudioCaptioningOutput = {
|
|
599
688
|
results: {
|
|
600
689
|
[key: string]: AudioCaptioningOutputItem;
|
|
601
690
|
};
|
|
691
|
+
hasAudio?: null | boolean;
|
|
602
692
|
};
|
|
603
693
|
export type AudioCaptioningOutputItem = {
|
|
604
694
|
text: string;
|
|
@@ -609,6 +699,7 @@ export type AudioCaptioningOutputItem = {
|
|
|
609
699
|
timeSignature?: null | string;
|
|
610
700
|
duration?: null | string;
|
|
611
701
|
language?: null | string;
|
|
702
|
+
finishReason?: null | string;
|
|
612
703
|
};
|
|
613
704
|
/**
|
|
614
705
|
* Audio Captioning
|
|
@@ -622,9 +713,31 @@ export type AudioCaptioningStep = Omit<WorkflowStep, '$type'> & {
|
|
|
622
713
|
* Audio Captioning
|
|
623
714
|
*/
|
|
624
715
|
export type AudioCaptioningStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
716
|
+
/**
|
|
717
|
+
* Input for the AudioCaptioningStep step.
|
|
718
|
+
*/
|
|
625
719
|
input: AudioCaptioningInput;
|
|
626
720
|
$type: 'audioCaptioning';
|
|
627
721
|
};
|
|
722
|
+
export type AudioClassificationInput = {
|
|
723
|
+
mediaUrl: string;
|
|
724
|
+
};
|
|
725
|
+
export type AudioClassificationOutput = {
|
|
726
|
+
hasAudio: boolean;
|
|
727
|
+
model: string;
|
|
728
|
+
segments: Array<AudioClassificationSegment>;
|
|
729
|
+
classificationMilliseconds: number;
|
|
730
|
+
};
|
|
731
|
+
export type AudioClassificationSegment = {
|
|
732
|
+
blobKey: string;
|
|
733
|
+
name: string;
|
|
734
|
+
kind: string;
|
|
735
|
+
durationSeconds: number;
|
|
736
|
+
speechScore: number;
|
|
737
|
+
musicScore: number;
|
|
738
|
+
singingScore: number;
|
|
739
|
+
speechFraction: number;
|
|
740
|
+
};
|
|
628
741
|
/**
|
|
629
742
|
* An audio mixdown produced when the composition has no video.
|
|
630
743
|
*/
|
|
@@ -632,6 +745,57 @@ export type AudioComposeMediaOutput = Omit<ComposeMediaOutput, 'type'> & {
|
|
|
632
745
|
audioBlob: AudioBlob;
|
|
633
746
|
type: 'audio';
|
|
634
747
|
};
|
|
748
|
+
export type AudioModerationInput = {
|
|
749
|
+
mediaUrl: string;
|
|
750
|
+
/**
|
|
751
|
+
* auto classifies each segment on CPU and sends speech to ASR when the language is supported, everything else to ACE-Step.
|
|
752
|
+
*/
|
|
753
|
+
transcriber: 'auto' | 'aceStep' | 'asr';
|
|
754
|
+
language?: null | string;
|
|
755
|
+
};
|
|
756
|
+
export type AudioModerationOutput = {
|
|
757
|
+
lyrics: string;
|
|
758
|
+
sexualizedMinors: boolean;
|
|
759
|
+
score: null | number;
|
|
760
|
+
model: null | string;
|
|
761
|
+
policyHash: null | string;
|
|
762
|
+
hasAudio?: null | boolean;
|
|
763
|
+
skippedReason?: null | string;
|
|
764
|
+
readonly blocked: boolean;
|
|
765
|
+
};
|
|
766
|
+
/**
|
|
767
|
+
* Transcribe every audio track and classify the lyrics for sexualized minors.
|
|
768
|
+
*/
|
|
769
|
+
export type AudioModerationStep = Omit<WorkflowStep, '$type'> & {
|
|
770
|
+
input: AudioModerationInput;
|
|
771
|
+
output?: AudioModerationOutput;
|
|
772
|
+
$type: 'audioModeration';
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* Transcribe every audio track and classify the lyrics for sexualized minors.
|
|
776
|
+
*/
|
|
777
|
+
export type AudioModerationStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
778
|
+
/**
|
|
779
|
+
* Input for the AudioModerationStep step.
|
|
780
|
+
*/
|
|
781
|
+
input: AudioModerationInput;
|
|
782
|
+
$type: 'audioModeration';
|
|
783
|
+
};
|
|
784
|
+
export type AudioTextModerationInput = {
|
|
785
|
+
lyrics?: null | string;
|
|
786
|
+
audioCaptioning?: AudioCaptioningOutput;
|
|
787
|
+
transcription?: TranscriptionOutput;
|
|
788
|
+
};
|
|
789
|
+
export type AudioTextModerationOutput = {
|
|
790
|
+
lyrics: string;
|
|
791
|
+
sexualizedMinors: boolean;
|
|
792
|
+
score: null | number;
|
|
793
|
+
model: null | string;
|
|
794
|
+
policyHash: null | string;
|
|
795
|
+
hasAudio?: null | boolean;
|
|
796
|
+
skippedReason?: null | string;
|
|
797
|
+
readonly blocked: boolean;
|
|
798
|
+
};
|
|
635
799
|
export type AvailableResourceAvailability = Omit<ResourceAvailability, 'status'> & {
|
|
636
800
|
workers: number;
|
|
637
801
|
status: 'available';
|
|
@@ -652,6 +816,10 @@ export type AvifOutputFormat = Omit<ImageOutputFormat, 'format'> & {
|
|
|
652
816
|
* are kept. Video only; needs an alpha-capable container (webp) and a transparent canvas background to carry the transparency.
|
|
653
817
|
*/
|
|
654
818
|
export type BackgroundRemovalTransformer = Omit<MediaTransformer, 'type'> & {
|
|
819
|
+
/**
|
|
820
|
+
* Shadow handling. Sources with painted soft drop shadows need Civitai.Orchestration.Grains.Workflows.Steps.ComposeMedia.ShadowRemoval.Gentle
|
|
821
|
+
* (the default) or Civitai.Orchestration.Grains.Workflows.Steps.ComposeMedia.ShadowRemoval.Aggressive.
|
|
822
|
+
*/
|
|
655
823
|
shadowRemoval?: ShadowRemoval;
|
|
656
824
|
/**
|
|
657
825
|
* Also seed the fill from the frame centre, for artwork with an enclosed background-coloured
|
|
@@ -689,14 +857,11 @@ export type Blob = {
|
|
|
689
857
|
nsfwLevel?: NsfwLevel;
|
|
690
858
|
blockedReason?: null | string;
|
|
691
859
|
/**
|
|
692
|
-
* Deprecated:
|
|
693
|
-
* one was declared. Null resolves to the private managed tier, falling back to the classic one for blobs
|
|
694
|
-
* written before producers moved off it.
|
|
860
|
+
* Deprecated: a public blob's Civitai.Orchestration.Grains.Workflows.Steps.Common.Blob.Url is its public url. The storage tier holding this blob, when one was declared.
|
|
695
861
|
*/
|
|
696
862
|
tier?: null | string;
|
|
697
863
|
/**
|
|
698
|
-
*
|
|
699
|
-
* requested, so it may 404 until the workflow that produces it completes; Civitai.Orchestration.Grains.Workflows.Steps.Common.Blob.Url waits instead.
|
|
864
|
+
* Deprecated and always null: Civitai.Orchestration.Grains.Workflows.Steps.Common.Blob.Url becomes the public url once the blob has passed moderation.
|
|
700
865
|
*/
|
|
701
866
|
publicUrl?: null | string;
|
|
702
867
|
};
|
|
@@ -746,6 +911,9 @@ export type BlobArchiveStep = Omit<WorkflowStep, '$type'> & {
|
|
|
746
911
|
* Runs in-process in the orchestrator; no worker job is dispatched.
|
|
747
912
|
*/
|
|
748
913
|
export type BlobArchiveStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
914
|
+
/**
|
|
915
|
+
* Input for the BlobArchiveStep step.
|
|
916
|
+
*/
|
|
749
917
|
input: BlobArchiveInput;
|
|
750
918
|
$type: 'blobArchive';
|
|
751
919
|
};
|
|
@@ -759,6 +927,11 @@ export type BlobTrainingDataItem = {
|
|
|
759
927
|
* Optional caption for this item, written as the trainer's sidecar caption file.
|
|
760
928
|
*/
|
|
761
929
|
caption?: null | string;
|
|
930
|
+
/**
|
|
931
|
+
* Optional relative file name to stage the blob under. A .txt blob is the caption of the media item whose path
|
|
932
|
+
* matches it up to the extension, as in a training zip.
|
|
933
|
+
*/
|
|
934
|
+
path?: null | string;
|
|
762
935
|
};
|
|
763
936
|
/**
|
|
764
937
|
* Training data supplied as individually uploaded blobs (via POST /v2/consumer/blobs),
|
|
@@ -860,6 +1033,9 @@ export type BucketResponse = {
|
|
|
860
1033
|
successRate?: null | number;
|
|
861
1034
|
canceledRate: number;
|
|
862
1035
|
userErrorRate: number;
|
|
1036
|
+
/**
|
|
1037
|
+
* Per-request spend over succeeded steps — see Civitai.Orchestration.Api.Controllers.v2.Consumers.Services.MetricsResponse.CostBuzz.
|
|
1038
|
+
*/
|
|
863
1039
|
costBuzz?: PercentilesResponse;
|
|
864
1040
|
latencySeconds?: PercentilesResponse;
|
|
865
1041
|
};
|
|
@@ -872,9 +1048,12 @@ export declare const BuzzClientAccount: {
|
|
|
872
1048
|
export type BuzzClientAccount = (typeof BuzzClientAccount)[keyof typeof BuzzClientAccount];
|
|
873
1049
|
export type ChatCompletionChoice = {
|
|
874
1050
|
index: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* An assistant message representing a prior response.
|
|
1053
|
+
*/
|
|
875
1054
|
message: AssistantMessage;
|
|
876
1055
|
finishReason?: null | string;
|
|
877
|
-
logprobs?:
|
|
1056
|
+
logprobs?: unknown;
|
|
878
1057
|
};
|
|
879
1058
|
/**
|
|
880
1059
|
* Accepts both camelCase (`imageUrl`) and snake_case (`image_url`) type discriminators.
|
|
@@ -887,7 +1066,7 @@ export type ChatCompletionContentPart = {
|
|
|
887
1066
|
export type ChatCompletionFunction = {
|
|
888
1067
|
name: string;
|
|
889
1068
|
description?: null | string;
|
|
890
|
-
parameters?:
|
|
1069
|
+
parameters?: unknown;
|
|
891
1070
|
strict?: null | boolean;
|
|
892
1071
|
};
|
|
893
1072
|
export type ChatCompletionFunctionCall = {
|
|
@@ -900,6 +1079,9 @@ export type ChatCompletionFunctionCall = {
|
|
|
900
1079
|
*/
|
|
901
1080
|
export type ChatCompletionGeneratedImage = {
|
|
902
1081
|
type?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Currently always a base64 data URI.
|
|
1084
|
+
*/
|
|
903
1085
|
image_url: ChatCompletionGeneratedImageUrl;
|
|
904
1086
|
};
|
|
905
1087
|
/**
|
|
@@ -998,13 +1180,20 @@ export type ChatCompletionInput = {
|
|
|
998
1180
|
* Controls which (if any) tool is called by the model.
|
|
999
1181
|
* Can be "auto", "none", "required", or an object specifying a particular function.
|
|
1000
1182
|
*/
|
|
1001
|
-
tool_choice?:
|
|
1183
|
+
tool_choice?: unknown;
|
|
1002
1184
|
/**
|
|
1003
1185
|
* Output modalities, "text" and/or "image"; defaults to text-only. Including "image" routes the request to the
|
|
1004
1186
|
* image generation pipeline and returns generated images on the assistant message.
|
|
1005
1187
|
*/
|
|
1006
1188
|
modalities?: null | Array<string>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Image-generation parameters. Only consulted when Civitai.Orchestration.Grains.Workflows.Steps.ChatCompletion.ChatCompletionInput.Modalities contains "image".
|
|
1191
|
+
*/
|
|
1007
1192
|
image_config?: ChatCompletionImageConfig;
|
|
1193
|
+
/**
|
|
1194
|
+
* OpenAI-compatible response_format (`json_object` or `json_schema`). When set, the parsed content is exposed on
|
|
1195
|
+
* Civitai.Orchestration.Grains.Workflows.Steps.ChatCompletion.ChatCompletionOutput.Parsed so later steps can reference fields via `$ref` paths such as `output.parsed.lyrics`.
|
|
1196
|
+
*/
|
|
1008
1197
|
responseFormat?: ChatCompletionResponseFormat;
|
|
1009
1198
|
};
|
|
1010
1199
|
export type ChatCompletionJsonSchema = {
|
|
@@ -1034,7 +1223,7 @@ export type ChatCompletionOutput = {
|
|
|
1034
1223
|
* Parsed JSON of `Choices[0].Message.Content`, populated when the request used a JSON `response_format`
|
|
1035
1224
|
* and the content parsed. Reachable from later steps via `$ref` paths like `output.parsed.<field>`.
|
|
1036
1225
|
*/
|
|
1037
|
-
parsed?:
|
|
1226
|
+
parsed?: unknown;
|
|
1038
1227
|
};
|
|
1039
1228
|
/**
|
|
1040
1229
|
* OpenAI-compatible response_format. For `json_object` or `json_schema` the content is parsed server-side and
|
|
@@ -1045,12 +1234,18 @@ export type ChatCompletionResponseFormat = {
|
|
|
1045
1234
|
* OpenAI-compatible value: `text`, `json_object`, or `json_schema`.
|
|
1046
1235
|
*/
|
|
1047
1236
|
type: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* Required when Civitai.Orchestration.Grains.Workflows.Steps.ChatCompletion.ChatCompletionResponseFormat.Type is `json_schema`. Ignored otherwise.
|
|
1239
|
+
*/
|
|
1048
1240
|
jsonSchema?: ChatCompletionJsonSchema;
|
|
1049
1241
|
};
|
|
1050
1242
|
/**
|
|
1051
1243
|
* ChatCompletion
|
|
1052
1244
|
*/
|
|
1053
1245
|
export type ChatCompletionStep = Omit<WorkflowStep, '$type'> & {
|
|
1246
|
+
/**
|
|
1247
|
+
* Input for a chat completion step, compatible with OpenAI Chat Completions API.
|
|
1248
|
+
*/
|
|
1054
1249
|
input: ChatCompletionInput;
|
|
1055
1250
|
output?: ChatCompletionOutput;
|
|
1056
1251
|
$type: 'chatCompletion';
|
|
@@ -1059,6 +1254,9 @@ export type ChatCompletionStep = Omit<WorkflowStep, '$type'> & {
|
|
|
1059
1254
|
* ChatCompletion
|
|
1060
1255
|
*/
|
|
1061
1256
|
export type ChatCompletionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
1257
|
+
/**
|
|
1258
|
+
* Input for the ChatCompletionStep step.
|
|
1259
|
+
*/
|
|
1062
1260
|
input: ChatCompletionInput;
|
|
1063
1261
|
$type: 'chatCompletion';
|
|
1064
1262
|
};
|
|
@@ -1074,7 +1272,7 @@ export type ChatCompletionTool = {
|
|
|
1074
1272
|
/**
|
|
1075
1273
|
* Server-tool parameters for providers such as OpenRouter.
|
|
1076
1274
|
*/
|
|
1077
|
-
parameters?:
|
|
1275
|
+
parameters?: unknown;
|
|
1078
1276
|
};
|
|
1079
1277
|
export type ChatCompletionToolCall = {
|
|
1080
1278
|
id: string;
|
|
@@ -1085,6 +1283,9 @@ export type ChatCompletionUsage = {
|
|
|
1085
1283
|
promptTokens: number;
|
|
1086
1284
|
completionTokens: number;
|
|
1087
1285
|
totalTokens: number;
|
|
1286
|
+
/**
|
|
1287
|
+
* Breakdown of Civitai.Orchestration.Grains.Workflows.Steps.ChatCompletion.ChatCompletionUsage.CompletionTokens, present when the provider reports one.
|
|
1288
|
+
*/
|
|
1088
1289
|
completionTokensDetails?: ChatCompletionTokensDetails;
|
|
1089
1290
|
};
|
|
1090
1291
|
export type ChromaAiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
|
|
@@ -1496,6 +1697,9 @@ export type ComfyFlux2KleinEditImageInput = Omit<
|
|
|
1496
1697
|
ComfyFlux2KleinImageGenInput,
|
|
1497
1698
|
'engine' | 'ecosystem' | 'operation'
|
|
1498
1699
|
> & {
|
|
1700
|
+
/**
|
|
1701
|
+
* Up to seven reference images, or four for the 9b and 9b-kv variants.
|
|
1702
|
+
*/
|
|
1499
1703
|
images?: Array<string>;
|
|
1500
1704
|
operation: 'editImage';
|
|
1501
1705
|
ecosystem: 'flux2Klein';
|
|
@@ -1631,7 +1835,13 @@ export type ComfyHiDreamI1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'e
|
|
|
1631
1835
|
prompt: string;
|
|
1632
1836
|
negativePrompt?: null | string;
|
|
1633
1837
|
variant?: HiDreamI1Variant;
|
|
1838
|
+
/**
|
|
1839
|
+
* Defaults to fp8, except for the full variant which is only available in fp16.
|
|
1840
|
+
*/
|
|
1634
1841
|
precision?: HiDreamI1Precision;
|
|
1842
|
+
/**
|
|
1843
|
+
* Defaults to lcm for fast and dev, uni_pc for full.
|
|
1844
|
+
*/
|
|
1635
1845
|
sampler?: ComfySampler;
|
|
1636
1846
|
/**
|
|
1637
1847
|
* Defaults to 16 for fast, 28 for dev and 50 for full.
|
|
@@ -2384,6 +2594,9 @@ export type ComfyMingDesignImageGenInput = Omit<
|
|
|
2384
2594
|
operation: null | string;
|
|
2385
2595
|
prompt: string;
|
|
2386
2596
|
negativePrompt?: null | string;
|
|
2597
|
+
/**
|
|
2598
|
+
* Defaults to Euler for generation, LCM for editing.
|
|
2599
|
+
*/
|
|
2387
2600
|
sampler?: ComfySampler;
|
|
2388
2601
|
scheduler?: ComfyScheduler;
|
|
2389
2602
|
steps?: number;
|
|
@@ -2582,16 +2795,36 @@ export type ComfyNodepackSnapshotResult = {
|
|
|
2582
2795
|
* Declare this, not the bare pack URN, on a customComfy step's `resources`.
|
|
2583
2796
|
*/
|
|
2584
2797
|
layerAir: string;
|
|
2798
|
+
/**
|
|
2799
|
+
* Tar of the pack's site-packages + custom_nodes install delta; mounted by spine workers to skip pip.
|
|
2800
|
+
*/
|
|
2585
2801
|
layer: Blob;
|
|
2802
|
+
/**
|
|
2803
|
+
* The full ComfyUI /object_info with the pack installed; ComfyCloud diffs it against its baseline for the editor.
|
|
2804
|
+
*/
|
|
2586
2805
|
objectInfo: Blob;
|
|
2806
|
+
/**
|
|
2807
|
+
* Tar of the pack's WEB_DIRECTORY (extension JS) for the editor.
|
|
2808
|
+
*/
|
|
2587
2809
|
web: Blob;
|
|
2588
2810
|
};
|
|
2589
2811
|
export type ComfyNodepackSnapshotStep = Omit<WorkflowStep, '$type'> & {
|
|
2812
|
+
/**
|
|
2813
|
+
* Installs ComfyUI custom nodepacks on a comfy image and captures the resolved install and editor metadata as
|
|
2814
|
+
* reusable blobs. Runs on a real worker so compiled deps match the fleet the consumer will run on.
|
|
2815
|
+
*/
|
|
2590
2816
|
input: ComfyNodepackSnapshotInput;
|
|
2817
|
+
/**
|
|
2818
|
+
* One result per installed pack, each carrying the captured install layer, full /object_info and web assets as
|
|
2819
|
+
* blobs that consumers read directly from orchestrator blob storage.
|
|
2820
|
+
*/
|
|
2591
2821
|
output?: ComfyNodepackSnapshotOutput;
|
|
2592
2822
|
$type: 'comfyNodepackSnapshot';
|
|
2593
2823
|
};
|
|
2594
2824
|
export type ComfyNodepackSnapshotStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
2825
|
+
/**
|
|
2826
|
+
* Input for the ComfyNodepackSnapshotStep step.
|
|
2827
|
+
*/
|
|
2595
2828
|
input: ComfyNodepackSnapshotInput;
|
|
2596
2829
|
$type: 'comfyNodepackSnapshot';
|
|
2597
2830
|
};
|
|
@@ -2941,6 +3174,9 @@ export type ComfyStep = Omit<WorkflowStep, '$type'> & {
|
|
|
2941
3174
|
* Comfy workflows
|
|
2942
3175
|
*/
|
|
2943
3176
|
export type ComfyStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
3177
|
+
/**
|
|
3178
|
+
* Input for the ComfyStep step.
|
|
3179
|
+
*/
|
|
2944
3180
|
input: ComfyInput;
|
|
2945
3181
|
$type: 'comfy';
|
|
2946
3182
|
};
|
|
@@ -3025,6 +3261,10 @@ export type ComfyTrainingInput = Omit<TrainingInput, 'engine'> & {
|
|
|
3025
3261
|
* epoch resumes from this model instead of the base model, and the new epochs build on top of it.
|
|
3026
3262
|
*/
|
|
3027
3263
|
continueFrom?: null | string;
|
|
3264
|
+
/**
|
|
3265
|
+
* What each epoch job records to its trace stream (`output.epochs[].traceUrl`): `none` (default), `logs` (plain-text console output)
|
|
3266
|
+
* or `events` (NDJSON of console lines, step progress, phases and epoch checkpoints).
|
|
3267
|
+
*/
|
|
3028
3268
|
trace: TrainingTraceMode;
|
|
3029
3269
|
/**
|
|
3030
3270
|
* Per-epoch surcharge (buzz) for the delivered checkpoint and its preview samples, billed on top of the per-step cost. Override where per-epoch samples are expensive (e.g. video).
|
|
@@ -3166,6 +3406,10 @@ export type ComposeMediaElementInput = {
|
|
|
3166
3406
|
* Ignored when Civitai.Orchestration.Grains.Workflows.Steps.ComposeMedia.ComposeMediaElementInput.At is set.
|
|
3167
3407
|
*/
|
|
3168
3408
|
offset?: number;
|
|
3409
|
+
/**
|
|
3410
|
+
* Spatial placement of this element on the output canvas. Ignored for audio elements and for
|
|
3411
|
+
* all-audio compositions.
|
|
3412
|
+
*/
|
|
3169
3413
|
layout?: MediaLayout;
|
|
3170
3414
|
/**
|
|
3171
3415
|
* Ordered per-element transformers (fades, volume, ...) applied in array order.
|
|
@@ -3178,7 +3422,15 @@ export type ComposeMediaInput = {
|
|
|
3178
3422
|
* `zOrder` then array order. To stitch videos end-to-end, list them with no `at`/`offset`.
|
|
3179
3423
|
*/
|
|
3180
3424
|
elements: Array<ComposeMediaElementInput>;
|
|
3425
|
+
/**
|
|
3426
|
+
* Output geometry for video output; when omitted, derived from the elements (largest video, fastest frame rate).
|
|
3427
|
+
* Supplying a canvas does not by itself force video output — see Civitai.Orchestration.Grains.Workflows.Steps.ComposeMedia.ComposeMediaInput.Output.
|
|
3428
|
+
*/
|
|
3181
3429
|
canvas?: MediaCanvas;
|
|
3430
|
+
/**
|
|
3431
|
+
* Desired output kind and container. When omitted, the kind is derived from the elements and
|
|
3432
|
+
* the container defaults to MP4 (video) or Ogg (audio).
|
|
3433
|
+
*/
|
|
3182
3434
|
output?: ComposeMediaOutputSpec;
|
|
3183
3435
|
/**
|
|
3184
3436
|
* Divide the audio mix by the number of overlapping elements to avoid clipping. Defaults to false.
|
|
@@ -3198,7 +3450,14 @@ export type ComposeMediaOutput = {
|
|
|
3198
3450
|
* Civitai.Orchestration.Grains.Workflows.Steps.ComposeMedia.ComposeMediaOutputSpec.Type unset to derive the kind from the elements.
|
|
3199
3451
|
*/
|
|
3200
3452
|
export type ComposeMediaOutputSpec = {
|
|
3453
|
+
/**
|
|
3454
|
+
* Forces the output kind. When null, it is derived from the elements: video if any element is
|
|
3455
|
+
* video or a canvas is supplied, otherwise audio.
|
|
3456
|
+
*/
|
|
3201
3457
|
type?: MediaOutputType;
|
|
3458
|
+
/**
|
|
3459
|
+
* Output container. Civitai.Orchestration.Grains.Workflows.Steps.ComposeMedia.MediaContainer.Auto selects MP4 for video and Ogg for audio.
|
|
3460
|
+
*/
|
|
3202
3461
|
container?: MediaContainer;
|
|
3203
3462
|
};
|
|
3204
3463
|
/**
|
|
@@ -3223,6 +3482,9 @@ export type ComposeMediaStep = Omit<WorkflowStep, '$type'> & {
|
|
|
3223
3482
|
* Compose Media
|
|
3224
3483
|
*/
|
|
3225
3484
|
export type ComposeMediaStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
3485
|
+
/**
|
|
3486
|
+
* Input for the ComposeMediaStep step.
|
|
3487
|
+
*/
|
|
3226
3488
|
input: ComposeMediaInput;
|
|
3227
3489
|
$type: 'composeMedia';
|
|
3228
3490
|
};
|
|
@@ -3253,6 +3515,10 @@ export type ConvertImageInput = {
|
|
|
3253
3515
|
};
|
|
3254
3516
|
export type ConvertImageOutput = {
|
|
3255
3517
|
blob?: ImageBlob;
|
|
3518
|
+
/**
|
|
3519
|
+
* Why the source cannot be converted. Retrying the same source fails the same way.
|
|
3520
|
+
*/
|
|
3521
|
+
errors?: null | Array<string>;
|
|
3256
3522
|
};
|
|
3257
3523
|
/**
|
|
3258
3524
|
* A workflow step that converts images to different formats and applies optional transforms.
|
|
@@ -3266,6 +3532,9 @@ export type ConvertImageStep = Omit<WorkflowStep, '$type'> & {
|
|
|
3266
3532
|
* A workflow step that converts images to different formats and applies optional transforms.
|
|
3267
3533
|
*/
|
|
3268
3534
|
export type ConvertImageStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
3535
|
+
/**
|
|
3536
|
+
* Input for the ConvertImageStep step.
|
|
3537
|
+
*/
|
|
3269
3538
|
input: ConvertImageInput;
|
|
3270
3539
|
$type: 'convertImage';
|
|
3271
3540
|
};
|
|
@@ -3288,6 +3557,10 @@ export type CustomComfyInput = {
|
|
|
3288
3557
|
* the orchestrator does not inspect or validate node contents.
|
|
3289
3558
|
*/
|
|
3290
3559
|
workflow: unknown;
|
|
3560
|
+
/**
|
|
3561
|
+
* How much of the ComfyUI `/ws` activity the worker records to a streaming blob the consumer can tail
|
|
3562
|
+
* live (URL on `output.traceUrl`). Civitai.Orchestration.Grains.Workflows.Steps.CustomComfy.TraceMode.None (default) records nothing.
|
|
3563
|
+
*/
|
|
3291
3564
|
trace: TraceMode;
|
|
3292
3565
|
/**
|
|
3293
3566
|
* When set, the scheduler prefers a worker that already holds this session's ComfyUI container.
|
|
@@ -3335,6 +3608,9 @@ export type CustomComfyStep = Omit<WorkflowStep, '$type'> & {
|
|
|
3335
3608
|
* CustomComfy
|
|
3336
3609
|
*/
|
|
3337
3610
|
export type CustomComfyStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
3611
|
+
/**
|
|
3612
|
+
* Input for the CustomComfyStep step.
|
|
3613
|
+
*/
|
|
3338
3614
|
input: CustomComfyInput;
|
|
3339
3615
|
$type: 'customComfy';
|
|
3340
3616
|
};
|
|
@@ -3444,9 +3720,17 @@ export type EchoStep = Omit<WorkflowStep, '$type'> & {
|
|
|
3444
3720
|
* Echo
|
|
3445
3721
|
*/
|
|
3446
3722
|
export type EchoStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
3723
|
+
/**
|
|
3724
|
+
* Input for the EchoStep step.
|
|
3725
|
+
*/
|
|
3447
3726
|
input: EchoInput;
|
|
3448
3727
|
$type: 'echo';
|
|
3449
3728
|
};
|
|
3729
|
+
export declare const EmbeddingPrecision: {
|
|
3730
|
+
readonly FLOAT32: 'float32';
|
|
3731
|
+
readonly FLOAT16: 'float16';
|
|
3732
|
+
};
|
|
3733
|
+
export type EmbeddingPrecision = (typeof EmbeddingPrecision)[keyof typeof EmbeddingPrecision];
|
|
3450
3734
|
export type EpochResult = {
|
|
3451
3735
|
epochNumber: number;
|
|
3452
3736
|
blobName: string;
|
|
@@ -3860,6 +4144,9 @@ export type Flux2KleinEditImageInput = Omit<
|
|
|
3860
4144
|
Flux2KleinImageGenInput,
|
|
3861
4145
|
'engine' | 'model' | 'operation'
|
|
3862
4146
|
> & {
|
|
4147
|
+
/**
|
|
4148
|
+
* Up to seven reference images, or four for the 9b-kv variant.
|
|
4149
|
+
*/
|
|
3863
4150
|
images?: Array<string>;
|
|
3864
4151
|
operation: 'editImage';
|
|
3865
4152
|
model: 'klein';
|
|
@@ -4050,6 +4337,53 @@ export type Flux3KleinAiToolkitTrainingInput = Omit<
|
|
|
4050
4337
|
*/
|
|
4051
4338
|
batchSize?: null | number;
|
|
4052
4339
|
};
|
|
4340
|
+
export type Flux3MaxImageToVideoInput = Omit<
|
|
4341
|
+
Flux3MaxVideoGenInput,
|
|
4342
|
+
'engine' | 'version' | 'operation'
|
|
4343
|
+
> & {
|
|
4344
|
+
/**
|
|
4345
|
+
* Either A URL, A DataURL or a Base64 string
|
|
4346
|
+
*/
|
|
4347
|
+
image: string;
|
|
4348
|
+
/**
|
|
4349
|
+
* Either A URL, A DataURL or a Base64 string
|
|
4350
|
+
*/
|
|
4351
|
+
endImage?: null | string;
|
|
4352
|
+
operation: 'imageToVideo';
|
|
4353
|
+
version: 'v3.0-max';
|
|
4354
|
+
engine: 'flux';
|
|
4355
|
+
};
|
|
4356
|
+
export type Flux3MaxKeyframesToVideoInput = Omit<
|
|
4357
|
+
Flux3MaxVideoGenInput,
|
|
4358
|
+
'engine' | 'version' | 'operation'
|
|
4359
|
+
> & {
|
|
4360
|
+
keyframes: Array<Flux3Keyframe>;
|
|
4361
|
+
operation: 'keyframesToVideo';
|
|
4362
|
+
version: 'v3.0-max';
|
|
4363
|
+
engine: 'flux';
|
|
4364
|
+
};
|
|
4365
|
+
export type Flux3MaxTextToVideoInput = Omit<
|
|
4366
|
+
Flux3MaxVideoGenInput,
|
|
4367
|
+
'engine' | 'version' | 'operation'
|
|
4368
|
+
> & {
|
|
4369
|
+
operation: 'textToVideo';
|
|
4370
|
+
version: 'v3.0-max';
|
|
4371
|
+
engine: 'flux';
|
|
4372
|
+
};
|
|
4373
|
+
export type Flux3MaxVideoGenInput = Omit<Flux3VideoGenInput, 'engine' | 'version'> & {
|
|
4374
|
+
operation: string;
|
|
4375
|
+
duration?: number;
|
|
4376
|
+
resolution?: '720p' | '1080p';
|
|
4377
|
+
aspectRatio?: 'auto' | '21:9' | '2:1' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
4378
|
+
generateAudio?: boolean;
|
|
4379
|
+
/**
|
|
4380
|
+
* Higher reasoning effort increases generation time.
|
|
4381
|
+
*/
|
|
4382
|
+
reasoningLevel?: 'low' | 'high';
|
|
4383
|
+
seed?: null | number;
|
|
4384
|
+
version: 'v3.0-max';
|
|
4385
|
+
engine: 'flux';
|
|
4386
|
+
};
|
|
4053
4387
|
/**
|
|
4054
4388
|
* Re-render a previously generated draft at full-quality 1080p with audio.
|
|
4055
4389
|
*/
|
|
@@ -4271,6 +4605,10 @@ export type FundResponse = {
|
|
|
4271
4605
|
id: string;
|
|
4272
4606
|
allowMatureContent: boolean;
|
|
4273
4607
|
description?: null | string;
|
|
4608
|
+
/**
|
|
4609
|
+
* Only one user has deposited, so what is left goes back to them when the fund expires or is deleted, or on `POST /funds/{id}/refund`. Otherwise it stays with Civitai.
|
|
4610
|
+
*/
|
|
4611
|
+
leftoverRefundable: boolean;
|
|
4274
4612
|
createdAt: string;
|
|
4275
4613
|
expiresAt: string;
|
|
4276
4614
|
balance: number;
|
|
@@ -4597,6 +4935,9 @@ export type HaiperVideoGenCameraMovement =
|
|
|
4597
4935
|
(typeof HaiperVideoGenCameraMovement)[keyof typeof HaiperVideoGenCameraMovement];
|
|
4598
4936
|
export type HaiperVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
4599
4937
|
negativePrompt?: null | string;
|
|
4938
|
+
/**
|
|
4939
|
+
* Get or set camera movement. This is only available when targeting the v1.5 Model
|
|
4940
|
+
*/
|
|
4600
4941
|
cameraMovement?: HaiperVideoGenCameraMovement;
|
|
4601
4942
|
seed?: number;
|
|
4602
4943
|
duration?: 2 | 4 | 8;
|
|
@@ -4746,7 +5087,7 @@ export type HappyHorseVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
4746
5087
|
export type HeyGenVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
4747
5088
|
operation: 'textToVideo' | 'imageToVideo' | 'referenceToVideo';
|
|
4748
5089
|
duration: number;
|
|
4749
|
-
resolution: '480p' | '768p';
|
|
5090
|
+
resolution: '480p' | '768p' | '2K';
|
|
4750
5091
|
/**
|
|
4751
5092
|
* Ignored for imageToVideo, which follows the first frame's aspect ratio.
|
|
4752
5093
|
*/
|
|
@@ -4997,6 +5338,9 @@ export type ImageBackgroundRemovalInput = {
|
|
|
4997
5338
|
* Either A URL, A DataURL or a Base64 string
|
|
4998
5339
|
*/
|
|
4999
5340
|
image: string;
|
|
5341
|
+
/**
|
|
5342
|
+
* The output image format. Defaults to PNG, which preserves transparency.
|
|
5343
|
+
*/
|
|
5000
5344
|
format?: ImageBackgroundRemovalFormat;
|
|
5001
5345
|
};
|
|
5002
5346
|
export type ImageBackgroundRemovalOutput = {
|
|
@@ -5014,6 +5358,9 @@ export type ImageBackgroundRemovalStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5014
5358
|
* Removes the background from an image using BiRefNet.
|
|
5015
5359
|
*/
|
|
5016
5360
|
export type ImageBackgroundRemovalStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
5361
|
+
/**
|
|
5362
|
+
* Input for the ImageBackgroundRemovalStep step.
|
|
5363
|
+
*/
|
|
5017
5364
|
input: ImageBackgroundRemovalInput;
|
|
5018
5365
|
$type: 'imageBackgroundRemoval';
|
|
5019
5366
|
};
|
|
@@ -5061,6 +5408,9 @@ export type ImageGenStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5061
5408
|
* Image Generation
|
|
5062
5409
|
*/
|
|
5063
5410
|
export type ImageGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
5411
|
+
/**
|
|
5412
|
+
* Input for the ImageGenStep step.
|
|
5413
|
+
*/
|
|
5064
5414
|
input: ImageGenInput;
|
|
5065
5415
|
$type: 'imageGen';
|
|
5066
5416
|
};
|
|
@@ -5124,6 +5474,9 @@ export type ImageResourceTrainingInput = {
|
|
|
5124
5474
|
negativePrompt?: null | string;
|
|
5125
5475
|
};
|
|
5126
5476
|
export type ImageResourceTrainingOutput = {
|
|
5477
|
+
/**
|
|
5478
|
+
* The status of age classification
|
|
5479
|
+
*/
|
|
5127
5480
|
moderationStatus: ImageResouceTrainingModerationStatus;
|
|
5128
5481
|
epochs: Array<EpochResult>;
|
|
5129
5482
|
sampleImagesPrompts: Array<string>;
|
|
@@ -5149,6 +5502,9 @@ export type ImageResourceTrainingStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5149
5502
|
* LORA Training
|
|
5150
5503
|
*/
|
|
5151
5504
|
export type ImageResourceTrainingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
5505
|
+
/**
|
|
5506
|
+
* Input for the ImageResourceTrainingStep step.
|
|
5507
|
+
*/
|
|
5152
5508
|
input: ImageResourceTrainingInput;
|
|
5153
5509
|
$type: 'imageResourceTraining';
|
|
5154
5510
|
};
|
|
@@ -5252,6 +5608,9 @@ export type ImageScanningStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5252
5608
|
* Image scanning
|
|
5253
5609
|
*/
|
|
5254
5610
|
export type ImageScanningStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
5611
|
+
/**
|
|
5612
|
+
* Input for the ImageScanningStep step.
|
|
5613
|
+
*/
|
|
5255
5614
|
input: ImageScanningInput;
|
|
5256
5615
|
$type: 'imageScanning';
|
|
5257
5616
|
};
|
|
@@ -5291,6 +5650,9 @@ export type ImageToSvgStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5291
5650
|
* Converts a raster image to an SVG using a local StarVector or OmniSVG model.
|
|
5292
5651
|
*/
|
|
5293
5652
|
export type ImageToSvgStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
5653
|
+
/**
|
|
5654
|
+
* Input for the ImageToSvgStep step.
|
|
5655
|
+
*/
|
|
5294
5656
|
input: ImageToSvgInput;
|
|
5295
5657
|
$type: 'imageToSvg';
|
|
5296
5658
|
};
|
|
@@ -5377,6 +5739,9 @@ export type ImageUpscalerStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5377
5739
|
$type: 'imageUpscaler';
|
|
5378
5740
|
};
|
|
5379
5741
|
export type ImageUpscalerStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
5742
|
+
/**
|
|
5743
|
+
* Input for the ImageUpscalerStep step.
|
|
5744
|
+
*/
|
|
5380
5745
|
input: ImageUpscalerInput;
|
|
5381
5746
|
$type: 'imageUpscaler';
|
|
5382
5747
|
};
|
|
@@ -5552,6 +5917,62 @@ export type KlingV3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
5552
5917
|
engine: 'kling-v3';
|
|
5553
5918
|
multiPrompt?: null | Array<KlingV3MultiPrompt>;
|
|
5554
5919
|
};
|
|
5920
|
+
export type KlingV4ElementInput = {
|
|
5921
|
+
/**
|
|
5922
|
+
* Either A URL, A DataURL or a Base64 string
|
|
5923
|
+
*/
|
|
5924
|
+
frontalImage?: null | string;
|
|
5925
|
+
referenceImages?: Array<string>;
|
|
5926
|
+
/**
|
|
5927
|
+
* Public HTTP(S) video, 3-8 seconds, instead of image views.
|
|
5928
|
+
*/
|
|
5929
|
+
videoUrl?: null | string;
|
|
5930
|
+
voiceId?: null | string;
|
|
5931
|
+
};
|
|
5932
|
+
export type KlingV4Shot = {
|
|
5933
|
+
prompt: string;
|
|
5934
|
+
duration?: number;
|
|
5935
|
+
};
|
|
5936
|
+
export type KlingV4VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
5937
|
+
operation?: 'textToVideo' | 'imageToVideo' | 'referenceToVideo' | 'videoToVideoEdit';
|
|
5938
|
+
/**
|
|
5939
|
+
* Defaults to 5 seconds for generation or the source length for edits. MultiPrompt overrides this.
|
|
5940
|
+
*/
|
|
5941
|
+
duration?: null | number;
|
|
5942
|
+
resolution?: '720p' | '1080p';
|
|
5943
|
+
/**
|
|
5944
|
+
* Text/reference generation only. Defaults to 16:9; auto requires references.
|
|
5945
|
+
*/
|
|
5946
|
+
aspectRatio?: null | 'auto' | '16:9' | '9:16' | '1:1' | '21:9';
|
|
5947
|
+
/**
|
|
5948
|
+
* Either A URL, A DataURL or a Base64 string
|
|
5949
|
+
*/
|
|
5950
|
+
sourceImage?: null | string;
|
|
5951
|
+
/**
|
|
5952
|
+
* Either A URL, A DataURL or a Base64 string
|
|
5953
|
+
*/
|
|
5954
|
+
endImage?: null | string;
|
|
5955
|
+
middleImages?: Array<string>;
|
|
5956
|
+
images?: Array<string>;
|
|
5957
|
+
/**
|
|
5958
|
+
* Public HTTP(S) source video for edits, 3-30 seconds.
|
|
5959
|
+
*/
|
|
5960
|
+
videoUrl?: null | string;
|
|
5961
|
+
/**
|
|
5962
|
+
* Public HTTP(S) reference videos, 3-30 seconds each. Edits allow four; reference generation allows five.
|
|
5963
|
+
*/
|
|
5964
|
+
videos?: Array<string>;
|
|
5965
|
+
elements?: Array<KlingV4ElementInput>;
|
|
5966
|
+
/**
|
|
5967
|
+
* At most three voices, including those bound to elements.
|
|
5968
|
+
*/
|
|
5969
|
+
voiceIds?: Array<string>;
|
|
5970
|
+
/**
|
|
5971
|
+
* Generation only. Shot durations must total 3-30 seconds; use an empty prompt for shots only.
|
|
5972
|
+
*/
|
|
5973
|
+
multiPrompt?: null | Array<KlingV4Shot>;
|
|
5974
|
+
engine: 'kling-v4';
|
|
5975
|
+
};
|
|
5555
5976
|
export declare const KlingVideoGenAspectRatio: {
|
|
5556
5977
|
readonly '16_9': '16:9';
|
|
5557
5978
|
readonly '9_16': '9:16';
|
|
@@ -5695,7 +6116,7 @@ export type Krea2StyleReference = {
|
|
|
5695
6116
|
*/
|
|
5696
6117
|
export type Krea3ImageGenInput = Omit<ImageGenInput, 'engine'> & {
|
|
5697
6118
|
prompt: string;
|
|
5698
|
-
thinkingMode?: 'instant' | 'medium';
|
|
6119
|
+
thinkingMode?: 'instant' | 'medium' | 'ultra';
|
|
5699
6120
|
/**
|
|
5700
6121
|
* Omit for text-to-image, or provide up to six images to edit.
|
|
5701
6122
|
*/
|
|
@@ -5793,25 +6214,51 @@ export type LightricksVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
5793
6214
|
enhancePrompt?: boolean;
|
|
5794
6215
|
engine: 'lightricks';
|
|
5795
6216
|
};
|
|
5796
|
-
|
|
6217
|
+
/**
|
|
6218
|
+
* Qwen3 Base: speaks in a voice cloned from Civitai.Orchestration.Grains.Workflows.Steps.LiveTextToSpeech.LiveQwen3BaseTTSInput.RefAudioUrl, like `textToSpeech`'s `base` operation.
|
|
6219
|
+
*/
|
|
6220
|
+
export type LiveQwen3BaseTtsInput = Omit<
|
|
5797
6221
|
LiveQwen3TextToSpeechInput,
|
|
5798
6222
|
'engine' | 'ecosystem' | 'operation'
|
|
5799
6223
|
> & {
|
|
5800
6224
|
/**
|
|
5801
|
-
*
|
|
6225
|
+
* Reference audio AIR URN or external URL for voice cloning.
|
|
6226
|
+
* Accepts AIR URNs (existing resources) or HTTP(S) URLs.
|
|
5802
6227
|
*/
|
|
5803
|
-
|
|
5804
|
-
| 'aiden'
|
|
5805
|
-
| 'dylan'
|
|
5806
|
-
| 'eric'
|
|
5807
|
-
| 'ono_anna'
|
|
5808
|
-
| 'ryan'
|
|
5809
|
-
| 'serena'
|
|
5810
|
-
| 'sohee'
|
|
5811
|
-
| 'uncle_fu'
|
|
5812
|
-
| 'vivian';
|
|
6228
|
+
refAudioUrl: string;
|
|
5813
6229
|
/**
|
|
5814
|
-
*
|
|
6230
|
+
* Transcript of the reference audio.
|
|
6231
|
+
* Required unless XVectorOnlyMode is true.
|
|
6232
|
+
*/
|
|
6233
|
+
refText?: null | string;
|
|
6234
|
+
/**
|
|
6235
|
+
* If true, clones from the speaker embedding alone and ignores refText.
|
|
6236
|
+
* Defaults to true on live: in-context mode has been seen generating to the token cap on short sentences.
|
|
6237
|
+
*/
|
|
6238
|
+
xVectorOnlyMode?: boolean;
|
|
6239
|
+
operation: 'base';
|
|
6240
|
+
ecosystem: 'qwen3';
|
|
6241
|
+
engine: 'vllm-omni';
|
|
6242
|
+
};
|
|
6243
|
+
export type LiveQwen3CustomVoiceTtsInput = Omit<
|
|
6244
|
+
LiveQwen3TextToSpeechInput,
|
|
6245
|
+
'engine' | 'ecosystem' | 'operation'
|
|
6246
|
+
> & {
|
|
6247
|
+
/**
|
|
6248
|
+
* Built-in speaker name.
|
|
6249
|
+
*/
|
|
6250
|
+
speaker:
|
|
6251
|
+
| 'aiden'
|
|
6252
|
+
| 'dylan'
|
|
6253
|
+
| 'eric'
|
|
6254
|
+
| 'ono_anna'
|
|
6255
|
+
| 'ryan'
|
|
6256
|
+
| 'serena'
|
|
6257
|
+
| 'sohee'
|
|
6258
|
+
| 'uncle_fu'
|
|
6259
|
+
| 'vivian';
|
|
6260
|
+
/**
|
|
6261
|
+
* Optional style instruction (e.g., "speak slowly and clearly").
|
|
5815
6262
|
*/
|
|
5816
6263
|
instruct?: null | string;
|
|
5817
6264
|
operation: 'customVoice';
|
|
@@ -5823,6 +6270,19 @@ export type LiveQwen3TextToSpeechInput = Omit<
|
|
|
5823
6270
|
'engine' | 'ecosystem'
|
|
5824
6271
|
> & {
|
|
5825
6272
|
operation: string;
|
|
6273
|
+
language?:
|
|
6274
|
+
| null
|
|
6275
|
+
| 'Auto'
|
|
6276
|
+
| 'Chinese'
|
|
6277
|
+
| 'English'
|
|
6278
|
+
| 'French'
|
|
6279
|
+
| 'German'
|
|
6280
|
+
| 'Italian'
|
|
6281
|
+
| 'Japanese'
|
|
6282
|
+
| 'Korean'
|
|
6283
|
+
| 'Portuguese'
|
|
6284
|
+
| 'Russian'
|
|
6285
|
+
| 'Spanish';
|
|
5826
6286
|
/**
|
|
5827
6287
|
* Token cap per sentence.
|
|
5828
6288
|
*/
|
|
@@ -5881,6 +6341,9 @@ export type LiveTextToSpeechOutput = {
|
|
|
5881
6341
|
* Live text to speech
|
|
5882
6342
|
*/
|
|
5883
6343
|
export type LiveTextToSpeechStep = Omit<WorkflowStep, '$type'> & {
|
|
6344
|
+
/**
|
|
6345
|
+
* Mirrors `textToSpeech` inputs, but only for voices proven to stream with low first-audio latency.
|
|
6346
|
+
*/
|
|
5884
6347
|
input: LiveTextToSpeechInput;
|
|
5885
6348
|
output?: LiveTextToSpeechOutput;
|
|
5886
6349
|
$type: 'liveTextToSpeech';
|
|
@@ -5889,6 +6352,9 @@ export type LiveTextToSpeechStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5889
6352
|
* Live text to speech
|
|
5890
6353
|
*/
|
|
5891
6354
|
export type LiveTextToSpeechStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6355
|
+
/**
|
|
6356
|
+
* Input for the LiveTextToSpeechStep step.
|
|
6357
|
+
*/
|
|
5892
6358
|
input: LiveTextToSpeechInput;
|
|
5893
6359
|
$type: 'liveTextToSpeech';
|
|
5894
6360
|
};
|
|
@@ -5953,6 +6419,9 @@ export type LiveTranscriptionStep = Omit<WorkflowStep, '$type'> & {
|
|
|
5953
6419
|
* Live transcription
|
|
5954
6420
|
*/
|
|
5955
6421
|
export type LiveTranscriptionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6422
|
+
/**
|
|
6423
|
+
* Input for the LiveTranscriptionStep step.
|
|
6424
|
+
*/
|
|
5956
6425
|
input: LiveTranscriptionInput;
|
|
5957
6426
|
$type: 'liveTranscription';
|
|
5958
6427
|
};
|
|
@@ -6118,6 +6587,9 @@ export type MediaCaptioningStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6118
6587
|
* Media Captioning
|
|
6119
6588
|
*/
|
|
6120
6589
|
export type MediaCaptioningStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6590
|
+
/**
|
|
6591
|
+
* Input for the MediaCaptioningStep step.
|
|
6592
|
+
*/
|
|
6121
6593
|
input: MediaCaptioningInput;
|
|
6122
6594
|
$type: 'mediaCaptioning';
|
|
6123
6595
|
};
|
|
@@ -6169,6 +6641,9 @@ export type MediaHashStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6169
6641
|
* MediaHash
|
|
6170
6642
|
*/
|
|
6171
6643
|
export type MediaHashStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6644
|
+
/**
|
|
6645
|
+
* Input for the MediaHashStep step.
|
|
6646
|
+
*/
|
|
6172
6647
|
input: MediaHashInput;
|
|
6173
6648
|
$type: 'mediaHash';
|
|
6174
6649
|
};
|
|
@@ -6199,6 +6674,9 @@ export type MediaLayout = {
|
|
|
6199
6674
|
* Uniform scale applied to the element before placement. `1.0` keeps the fitted size.
|
|
6200
6675
|
*/
|
|
6201
6676
|
scale?: number;
|
|
6677
|
+
/**
|
|
6678
|
+
* How a video element is fitted into the output canvas when its aspect ratio differs.
|
|
6679
|
+
*/
|
|
6202
6680
|
fit?: MediaFit;
|
|
6203
6681
|
};
|
|
6204
6682
|
/**
|
|
@@ -6263,16 +6741,34 @@ export type MediaRatingOutput = {
|
|
|
6263
6741
|
labels?: null | Array<string>;
|
|
6264
6742
|
ageClassification?: AgeClassificationResult;
|
|
6265
6743
|
faceRecognition?: FaceRecognitionResult;
|
|
6744
|
+
/**
|
|
6745
|
+
* Represents AI vs real image recognition results.
|
|
6746
|
+
*/
|
|
6266
6747
|
aiRecognition?: AiRecognitionResult;
|
|
6748
|
+
/**
|
|
6749
|
+
* Represents anime vs real image recognition results.
|
|
6750
|
+
*/
|
|
6267
6751
|
animeRecognition?: AnimeRecognitionResult;
|
|
6268
6752
|
/**
|
|
6269
6753
|
* Potential CSAM signal from conditional age classification on R-or-higher content.
|
|
6270
6754
|
* Null means the image was below R or age classification failed.
|
|
6271
6755
|
*/
|
|
6272
6756
|
csam?: null | boolean;
|
|
6757
|
+
/**
|
|
6758
|
+
* Represents human vs non-human image recognition results.
|
|
6759
|
+
*/
|
|
6273
6760
|
humanRecognition?: HumanRecognitionResult;
|
|
6761
|
+
/**
|
|
6762
|
+
* Body-only apparent-age and child-risk results (if requested).
|
|
6763
|
+
*/
|
|
6274
6764
|
bodyAgeClassification?: BodyAgeClassificationResult;
|
|
6765
|
+
/**
|
|
6766
|
+
* Anime apparent-age and child-risk results (if requested).
|
|
6767
|
+
*/
|
|
6275
6768
|
animeBodyAgeClassification?: AnimeBodyAgeClassificationResult;
|
|
6769
|
+
/**
|
|
6770
|
+
* Joint face-and-body apparent-age results for photo and anime content (if requested).
|
|
6771
|
+
*/
|
|
6276
6772
|
jointAgeClassification?: JointAgeClassificationResult;
|
|
6277
6773
|
};
|
|
6278
6774
|
/**
|
|
@@ -6287,6 +6783,9 @@ export type MediaRatingStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6287
6783
|
* MediaRating
|
|
6288
6784
|
*/
|
|
6289
6785
|
export type MediaRatingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6786
|
+
/**
|
|
6787
|
+
* Input for the MediaRatingStep step.
|
|
6788
|
+
*/
|
|
6290
6789
|
input: MediaRatingInput;
|
|
6291
6790
|
$type: 'mediaRating';
|
|
6292
6791
|
};
|
|
@@ -6309,6 +6808,9 @@ export type MergeField = {
|
|
|
6309
6808
|
* from every item of a list; nested `[*]` flatten into one list.
|
|
6310
6809
|
*/
|
|
6311
6810
|
path: string;
|
|
6811
|
+
/**
|
|
6812
|
+
* How a merge field combines its values. Null values are skipped, except by `any` and `all`, which count them as false.
|
|
6813
|
+
*/
|
|
6312
6814
|
reduce: MergeReducer;
|
|
6313
6815
|
/**
|
|
6314
6816
|
* For `group`: the property of each item to group by.
|
|
@@ -6327,6 +6829,9 @@ export type MergeField = {
|
|
|
6327
6829
|
includeIndex: boolean;
|
|
6328
6830
|
};
|
|
6329
6831
|
export type MergeInput = {
|
|
6832
|
+
/**
|
|
6833
|
+
* What to do when a source item selected by a `[*]` has no output, e.g. a repeat iteration that failed.
|
|
6834
|
+
*/
|
|
6330
6835
|
onMissing: MergeMissingBehavior;
|
|
6331
6836
|
/**
|
|
6332
6837
|
* The fields of the merged result, keyed by the name each appears under in the output.
|
|
@@ -6351,7 +6856,7 @@ export type MergeOutput = {
|
|
|
6351
6856
|
* The merged values, keyed by the field names of the input. Their shape follows the requested reducers.
|
|
6352
6857
|
*/
|
|
6353
6858
|
fields: {
|
|
6354
|
-
[key: string]:
|
|
6859
|
+
[key: string]: unknown;
|
|
6355
6860
|
};
|
|
6356
6861
|
/**
|
|
6357
6862
|
* The number of source items selected by the first `[*]` of the fields' paths.
|
|
@@ -6400,6 +6905,9 @@ export type MergeStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6400
6905
|
* Merge
|
|
6401
6906
|
*/
|
|
6402
6907
|
export type MergeStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
6908
|
+
/**
|
|
6909
|
+
* Input for the MergeStep step.
|
|
6910
|
+
*/
|
|
6403
6911
|
input: MergeInput;
|
|
6404
6912
|
$type: 'merge';
|
|
6405
6913
|
};
|
|
@@ -6452,6 +6960,66 @@ export type MeshyV6FalPolyGenInput = Omit<MeshyFalPolyGenInput, 'engine' | 'mode
|
|
|
6452
6960
|
model: 'meshy';
|
|
6453
6961
|
engine: 'fal';
|
|
6454
6962
|
};
|
|
6963
|
+
export type MeshyV71FalPolyGenInput = Omit<MeshyFalPolyGenInput, 'engine' | 'model' | 'version'> & {
|
|
6964
|
+
operation: string;
|
|
6965
|
+
/**
|
|
6966
|
+
* Defaults to 4,000 for Smart Topology, otherwise 30,000.
|
|
6967
|
+
*/
|
|
6968
|
+
targetPolycount?: number;
|
|
6969
|
+
poseMode?: 'none' | 'a-pose' | 't-pose';
|
|
6970
|
+
textureImageUrl?: null | string;
|
|
6971
|
+
riggingHeightMeters?: number;
|
|
6972
|
+
animationActionId?: number;
|
|
6973
|
+
version: 'v7.1';
|
|
6974
|
+
model: 'meshy';
|
|
6975
|
+
engine: 'fal';
|
|
6976
|
+
};
|
|
6977
|
+
export type MeshyV71ImageTo3dFalPolyGenInput = Omit<
|
|
6978
|
+
MeshyV71FalPolyGenInput,
|
|
6979
|
+
'engine' | 'model' | 'version' | 'operation'
|
|
6980
|
+
> & {
|
|
6981
|
+
imageUrl: string;
|
|
6982
|
+
shouldTexture?: boolean;
|
|
6983
|
+
modelType?: 'standard' | 'smart-topology';
|
|
6984
|
+
/**
|
|
6985
|
+
* 2K and 4K require modelType "standard".
|
|
6986
|
+
*/
|
|
6987
|
+
geometryResolution?: 'standard' | '2k' | '4k';
|
|
6988
|
+
operation: 'imageTo3D';
|
|
6989
|
+
version: 'v7.1';
|
|
6990
|
+
model: 'meshy';
|
|
6991
|
+
engine: 'fal';
|
|
6992
|
+
};
|
|
6993
|
+
export type MeshyV71MultiImageTo3dFalPolyGenInput = Omit<
|
|
6994
|
+
MeshyV71FalPolyGenInput,
|
|
6995
|
+
'engine' | 'model' | 'version' | 'operation'
|
|
6996
|
+
> & {
|
|
6997
|
+
imageUrls: Array<string>;
|
|
6998
|
+
shouldTexture?: boolean;
|
|
6999
|
+
geometryResolution?: 'standard' | '2k';
|
|
7000
|
+
operation: 'multiImageTo3D';
|
|
7001
|
+
version: 'v7.1';
|
|
7002
|
+
model: 'meshy';
|
|
7003
|
+
engine: 'fal';
|
|
7004
|
+
};
|
|
7005
|
+
export type MeshyV71TextTo3dFalPolyGenInput = Omit<
|
|
7006
|
+
MeshyV71FalPolyGenInput,
|
|
7007
|
+
'engine' | 'model' | 'version' | 'operation'
|
|
7008
|
+
> & {
|
|
7009
|
+
prompt: string;
|
|
7010
|
+
mode?: 'preview' | 'full';
|
|
7011
|
+
modelType?: 'standard' | 'smart-topology';
|
|
7012
|
+
/**
|
|
7013
|
+
* 2K and 4K require modelType "standard".
|
|
7014
|
+
*/
|
|
7015
|
+
geometryResolution?: 'standard' | '2k' | '4k';
|
|
7016
|
+
seed?: null | number;
|
|
7017
|
+
enablePromptExpansion?: boolean;
|
|
7018
|
+
operation: 'textTo3D';
|
|
7019
|
+
version: 'v7.1';
|
|
7020
|
+
model: 'meshy';
|
|
7021
|
+
engine: 'fal';
|
|
7022
|
+
};
|
|
6455
7023
|
/**
|
|
6456
7024
|
* Meshy v7. FAL endpoints: meshy/v7/{image-to-3d,multi-image-to-3d}
|
|
6457
7025
|
*/
|
|
@@ -6543,7 +7111,14 @@ export type MetricsResponse = {
|
|
|
6543
7111
|
* rejection. Kept out of the success rate so refusing disallowed requests does not mark a service unhealthy.
|
|
6544
7112
|
*/
|
|
6545
7113
|
userErrorRate: number;
|
|
7114
|
+
/**
|
|
7115
|
+
* What callers actually paid per request, over succeeded requests only. Not a unit price and not comparable
|
|
7116
|
+
* between services; use Civitai.Orchestration.Api.Controllers.v2.Consumers.Services.ServiceResponse.Estimate for an exact quote.
|
|
7117
|
+
*/
|
|
6546
7118
|
costBuzz?: PercentilesResponse;
|
|
7119
|
+
/**
|
|
7120
|
+
* Null for services that never create a job to time, such as imageUpload.
|
|
7121
|
+
*/
|
|
6547
7122
|
latencySeconds?: PercentilesResponse;
|
|
6548
7123
|
};
|
|
6549
7124
|
export type MingAiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
|
|
@@ -6651,10 +7226,16 @@ export type MiniMaxH3MaxVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
6651
7226
|
enableSafetyChecker?: boolean;
|
|
6652
7227
|
engine: 'minimax-h3-max';
|
|
6653
7228
|
};
|
|
7229
|
+
export declare const MiniMaxH3Model: {
|
|
7230
|
+
readonly STANDARD: 'standard';
|
|
7231
|
+
readonly HIGHSPEED: 'highspeed';
|
|
7232
|
+
readonly LITE: 'lite';
|
|
7233
|
+
};
|
|
7234
|
+
export type MiniMaxH3Model = (typeof MiniMaxH3Model)[keyof typeof MiniMaxH3Model];
|
|
6654
7235
|
export type MiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
6655
7236
|
aspectRatio: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
6656
7237
|
duration: number;
|
|
6657
|
-
resolution: '2K';
|
|
7238
|
+
resolution: '2K' | '768P' | '480P';
|
|
6658
7239
|
/**
|
|
6659
7240
|
* Either A URL, A DataURL or a Base64 string
|
|
6660
7241
|
*/
|
|
@@ -6672,6 +7253,7 @@ export type MiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
6672
7253
|
* reference video at the output per-second rate, so it must be known before the estimate is charged.
|
|
6673
7254
|
*/
|
|
6674
7255
|
referenceVideoSeconds?: number;
|
|
7256
|
+
model?: MiniMaxH3Model;
|
|
6675
7257
|
engine: 'minimax-h3';
|
|
6676
7258
|
};
|
|
6677
7259
|
export type MiniMaxMusic3Input = {
|
|
@@ -6725,6 +7307,9 @@ export type MiniMaxMusic3Step = Omit<WorkflowStep, '$type'> & {
|
|
|
6725
7307
|
* Generate a complete song from a structured caption and lyrics with MiniMax Music 3.
|
|
6726
7308
|
*/
|
|
6727
7309
|
export type MiniMaxMusic3StepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7310
|
+
/**
|
|
7311
|
+
* Input for the MiniMaxMusic3Step step.
|
|
7312
|
+
*/
|
|
6728
7313
|
input: MiniMaxMusic3Input;
|
|
6729
7314
|
$type: 'miniMaxMusic3';
|
|
6730
7315
|
};
|
|
@@ -6788,6 +7373,9 @@ export type Model3dPreviewStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6788
7373
|
* 3D model preview
|
|
6789
7374
|
*/
|
|
6790
7375
|
export type Model3dPreviewStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7376
|
+
/**
|
|
7377
|
+
* Input for the Model3DPreviewStep step.
|
|
7378
|
+
*/
|
|
6791
7379
|
input: Model3dPreviewInput;
|
|
6792
7380
|
$type: 'model3DPreview';
|
|
6793
7381
|
};
|
|
@@ -6797,6 +7385,9 @@ export type ModelClamScanInput = {
|
|
|
6797
7385
|
export type ModelClamScanOutput = {
|
|
6798
7386
|
exitCode?: null | number;
|
|
6799
7387
|
output?: null | string;
|
|
7388
|
+
/**
|
|
7389
|
+
* Classified scan result derived from the ClamAV exit code.
|
|
7390
|
+
*/
|
|
6800
7391
|
status?: ModelClamScanStatus;
|
|
6801
7392
|
/**
|
|
6802
7393
|
* True when ClamAV reported one or more infected files (exit code 1).
|
|
@@ -6824,6 +7415,9 @@ export type ModelClamScanStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6824
7415
|
* ModelClamScan
|
|
6825
7416
|
*/
|
|
6826
7417
|
export type ModelClamScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7418
|
+
/**
|
|
7419
|
+
* Input for the ModelClamScanStep step.
|
|
7420
|
+
*/
|
|
6827
7421
|
input: ModelClamScanInput;
|
|
6828
7422
|
$type: 'modelClamScan';
|
|
6829
7423
|
};
|
|
@@ -6868,6 +7462,9 @@ export type ModelHashStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6868
7462
|
* ModelHash
|
|
6869
7463
|
*/
|
|
6870
7464
|
export type ModelHashStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7465
|
+
/**
|
|
7466
|
+
* Input for the ModelHashStep step.
|
|
7467
|
+
*/
|
|
6871
7468
|
input: ModelHashInput;
|
|
6872
7469
|
$type: 'modelHash';
|
|
6873
7470
|
};
|
|
@@ -6893,6 +7490,9 @@ export type ModelParseMetadataStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6893
7490
|
* ModelParseMetadata
|
|
6894
7491
|
*/
|
|
6895
7492
|
export type ModelParseMetadataStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7493
|
+
/**
|
|
7494
|
+
* Input for the ModelParseMetadataStep step.
|
|
7495
|
+
*/
|
|
6896
7496
|
input: ModelParseMetadataInput;
|
|
6897
7497
|
$type: 'modelParseMetadata';
|
|
6898
7498
|
};
|
|
@@ -6941,6 +7541,9 @@ export type ModelPickleScanStep = Omit<WorkflowStep, '$type'> & {
|
|
|
6941
7541
|
* ModelPickleScan
|
|
6942
7542
|
*/
|
|
6943
7543
|
export type ModelPickleScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7544
|
+
/**
|
|
7545
|
+
* Input for the ModelPickleScanStep step.
|
|
7546
|
+
*/
|
|
6944
7547
|
input: ModelPickleScanInput;
|
|
6945
7548
|
$type: 'modelPickleScan';
|
|
6946
7549
|
};
|
|
@@ -6977,6 +7580,59 @@ export type MossImageSftAiToolkitTrainingInput = Omit<
|
|
|
6977
7580
|
*/
|
|
6978
7581
|
batchSize?: null | number;
|
|
6979
7582
|
};
|
|
7583
|
+
/**
|
|
7584
|
+
* Multimodal Embedding
|
|
7585
|
+
*/
|
|
7586
|
+
export type MultimodalEmbeddingStep = Omit<WorkflowStep, '$type'> & {
|
|
7587
|
+
/**
|
|
7588
|
+
* Exactly one of text, imageUrl or videoUrl.
|
|
7589
|
+
*/
|
|
7590
|
+
input: MultimodalEmbeddingStepInput;
|
|
7591
|
+
output?: MultimodalEmbeddingStepOutput;
|
|
7592
|
+
$type: 'multimodalEmbedding';
|
|
7593
|
+
};
|
|
7594
|
+
/**
|
|
7595
|
+
* Exactly one of text, imageUrl or videoUrl.
|
|
7596
|
+
*/
|
|
7597
|
+
export type MultimodalEmbeddingStepInput = {
|
|
7598
|
+
model?: 'wemm-2b';
|
|
7599
|
+
dimensions?: 64 | 128 | 256 | 512 | 1024 | 2048;
|
|
7600
|
+
text?: null | string;
|
|
7601
|
+
imageUrl?: null | string;
|
|
7602
|
+
/**
|
|
7603
|
+
* At most 60 seconds, 100 MiB and 4096 pixels per side; audio is ignored.
|
|
7604
|
+
*/
|
|
7605
|
+
videoUrl?: null | string;
|
|
7606
|
+
/**
|
|
7607
|
+
* Number format of the stored blob; Float16 halves its size.
|
|
7608
|
+
*/
|
|
7609
|
+
precision?: EmbeddingPrecision;
|
|
7610
|
+
};
|
|
7611
|
+
export type MultimodalEmbeddingStepOutput = {
|
|
7612
|
+
model: string;
|
|
7613
|
+
modelRevision: string;
|
|
7614
|
+
profile: string;
|
|
7615
|
+
dimensions: number;
|
|
7616
|
+
precision: EmbeddingPrecision;
|
|
7617
|
+
/**
|
|
7618
|
+
* L2-normalized values, exactly representable in the requested precision; empty until the blob is available.
|
|
7619
|
+
*/
|
|
7620
|
+
embedding: Array<number>;
|
|
7621
|
+
/**
|
|
7622
|
+
* The same values as raw little-endian bytes in the requested precision.
|
|
7623
|
+
*/
|
|
7624
|
+
blob: Blob;
|
|
7625
|
+
};
|
|
7626
|
+
/**
|
|
7627
|
+
* Multimodal Embedding
|
|
7628
|
+
*/
|
|
7629
|
+
export type MultimodalEmbeddingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
7630
|
+
/**
|
|
7631
|
+
* Input for the MultimodalEmbeddingStep step.
|
|
7632
|
+
*/
|
|
7633
|
+
input: MultimodalEmbeddingStepInput;
|
|
7634
|
+
$type: 'multimodalEmbedding';
|
|
7635
|
+
};
|
|
6980
7636
|
export type MuseImageCreateFalImageGenInput = Omit<
|
|
6981
7637
|
MuseImageFalImageGenInput,
|
|
6982
7638
|
'engine' | 'model' | 'operation'
|
|
@@ -7406,13 +8062,37 @@ export type PolyGenInput = {
|
|
|
7406
8062
|
engine: string;
|
|
7407
8063
|
};
|
|
7408
8064
|
export type PolyGenOutput = {
|
|
8065
|
+
/**
|
|
8066
|
+
* Generated 3D model in GLB format. Null when the engine only produces FBX (Tripo with quad enabled).
|
|
8067
|
+
*/
|
|
7409
8068
|
model?: Model3dBlob;
|
|
8069
|
+
/**
|
|
8070
|
+
* Generated 3D model in FBX format, when the engine produces one.
|
|
8071
|
+
*/
|
|
7410
8072
|
fbxModel?: Model3dBlob;
|
|
8073
|
+
/**
|
|
8074
|
+
* Preview thumbnail image of the generated model, when the engine produces one.
|
|
8075
|
+
*/
|
|
7411
8076
|
thumbnail?: ImageBlob;
|
|
8077
|
+
/**
|
|
8078
|
+
* Rigged character in GLB format, when rigging is enabled.
|
|
8079
|
+
*/
|
|
7412
8080
|
riggedModel?: Model3dBlob;
|
|
8081
|
+
/**
|
|
8082
|
+
* Rigged character in FBX format, when rigging is enabled.
|
|
8083
|
+
*/
|
|
7413
8084
|
riggedFbxModel?: Model3dBlob;
|
|
8085
|
+
/**
|
|
8086
|
+
* Animated 3D model in GLB format, when animation is enabled.
|
|
8087
|
+
*/
|
|
7414
8088
|
animatedModel?: Model3dBlob;
|
|
8089
|
+
/**
|
|
8090
|
+
* Animated 3D model in FBX format, when animation is enabled.
|
|
8091
|
+
*/
|
|
7415
8092
|
animatedFbxModel?: Model3dBlob;
|
|
8093
|
+
/**
|
|
8094
|
+
* Basic walking and running animations, when rigging is enabled.
|
|
8095
|
+
*/
|
|
7416
8096
|
basicAnimations?: BasicAnimationsBlobs;
|
|
7417
8097
|
};
|
|
7418
8098
|
/**
|
|
@@ -7427,6 +8107,9 @@ export type PolyGenStep = Omit<WorkflowStep, '$type'> & {
|
|
|
7427
8107
|
* 3D model generation
|
|
7428
8108
|
*/
|
|
7429
8109
|
export type PolyGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8110
|
+
/**
|
|
8111
|
+
* Input for the PolyGenStep step.
|
|
8112
|
+
*/
|
|
7430
8113
|
input: PolyGenInput;
|
|
7431
8114
|
$type: 'polyGen';
|
|
7432
8115
|
};
|
|
@@ -7611,6 +8294,9 @@ export type PreprocessImageStep = Omit<WorkflowStep, '$type'> & {
|
|
|
7611
8294
|
$type: 'preprocessImage';
|
|
7612
8295
|
};
|
|
7613
8296
|
export type PreprocessImageStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8297
|
+
/**
|
|
8298
|
+
* Input for the PreprocessImageStep step.
|
|
8299
|
+
*/
|
|
7614
8300
|
input: PreprocessImageInput;
|
|
7615
8301
|
$type: 'preprocessImage';
|
|
7616
8302
|
};
|
|
@@ -7698,6 +8384,9 @@ export type PreprocessVideoStep = Omit<WorkflowStep, '$type'> & {
|
|
|
7698
8384
|
$type: 'preprocessVideo';
|
|
7699
8385
|
};
|
|
7700
8386
|
export type PreprocessVideoStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8387
|
+
/**
|
|
8388
|
+
* Input for the PreprocessVideoStep step.
|
|
8389
|
+
*/
|
|
7701
8390
|
input: PreprocessVideoInput;
|
|
7702
8391
|
$type: 'preprocessVideo';
|
|
7703
8392
|
};
|
|
@@ -7755,6 +8444,9 @@ export type PromptEnhancementStep = Omit<WorkflowStep, '$type'> & {
|
|
|
7755
8444
|
* PromptEnhancement
|
|
7756
8445
|
*/
|
|
7757
8446
|
export type PromptEnhancementStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8447
|
+
/**
|
|
8448
|
+
* Input for the PromptEnhancementStep step.
|
|
8449
|
+
*/
|
|
7758
8450
|
input: PromptEnhancementInput;
|
|
7759
8451
|
$type: 'promptEnhancement';
|
|
7760
8452
|
};
|
|
@@ -7803,6 +8495,9 @@ export type PromptModerationStep = Omit<WorkflowStep, '$type'> & {
|
|
|
7803
8495
|
* PromptModeration
|
|
7804
8496
|
*/
|
|
7805
8497
|
export type PromptModerationStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8498
|
+
/**
|
|
8499
|
+
* Input for the PromptModerationStep step.
|
|
8500
|
+
*/
|
|
7806
8501
|
input: PromptModerationInput;
|
|
7807
8502
|
$type: 'promptModeration';
|
|
7808
8503
|
};
|
|
@@ -7992,6 +8687,19 @@ export type Qwen3CustomVoiceTtsInput = Omit<
|
|
|
7992
8687
|
};
|
|
7993
8688
|
export type Qwen3TextToSpeechInput = Omit<VllmOmniTextToSpeechInput, 'engine' | 'ecosystem'> & {
|
|
7994
8689
|
operation: string;
|
|
8690
|
+
language?:
|
|
8691
|
+
| null
|
|
8692
|
+
| 'Auto'
|
|
8693
|
+
| 'Chinese'
|
|
8694
|
+
| 'English'
|
|
8695
|
+
| 'French'
|
|
8696
|
+
| 'German'
|
|
8697
|
+
| 'Italian'
|
|
8698
|
+
| 'Japanese'
|
|
8699
|
+
| 'Korean'
|
|
8700
|
+
| 'Portuguese'
|
|
8701
|
+
| 'Russian'
|
|
8702
|
+
| 'Spanish';
|
|
7995
8703
|
maxNewTokens?: null | number;
|
|
7996
8704
|
ecosystem: 'qwen3';
|
|
7997
8705
|
engine: 'vllm-omni';
|
|
@@ -8123,6 +8831,9 @@ export type QwenImageBenchStep = Omit<WorkflowStep, '$type'> & {
|
|
|
8123
8831
|
* Qwen Image Bench
|
|
8124
8832
|
*/
|
|
8125
8833
|
export type QwenImageBenchStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
8834
|
+
/**
|
|
8835
|
+
* Input for the QwenImageBenchStep step.
|
|
8836
|
+
*/
|
|
8126
8837
|
input: QwenImageBenchInput;
|
|
8127
8838
|
$type: 'qwenImageBench';
|
|
8128
8839
|
};
|
|
@@ -8131,6 +8842,10 @@ export type QwenImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
|
|
|
8131
8842
|
ecosystem: 'qwen';
|
|
8132
8843
|
engine: 'sdcpp';
|
|
8133
8844
|
};
|
|
8845
|
+
export type RejectedArchiveEntry = {
|
|
8846
|
+
path: string;
|
|
8847
|
+
reason: ArchiveEntryRejectionReason;
|
|
8848
|
+
};
|
|
8134
8849
|
export type RepeatForClause = {
|
|
8135
8850
|
/**
|
|
8136
8851
|
* The dynamic assignment reference to the array to iterate over (e.g., "$stepName").
|
|
@@ -8146,7 +8861,13 @@ export type RepeatForClause = {
|
|
|
8146
8861
|
as: string;
|
|
8147
8862
|
};
|
|
8148
8863
|
export type RepeatInput = {
|
|
8864
|
+
/**
|
|
8865
|
+
* The "for" clause that specifies what array to iterate over and how to reference items.
|
|
8866
|
+
*/
|
|
8149
8867
|
for: RepeatForClause;
|
|
8868
|
+
/**
|
|
8869
|
+
* The template of the workflow step to execute for each item in the iteration.
|
|
8870
|
+
*/
|
|
8150
8871
|
template: WorkflowStepTemplate;
|
|
8151
8872
|
};
|
|
8152
8873
|
export type RepeatOutput = {
|
|
@@ -8214,6 +8935,9 @@ export type ResourceInfo = {
|
|
|
8214
8935
|
* NSFW covers X and XXX, whereas mature content also includes R.
|
|
8215
8936
|
*/
|
|
8216
8937
|
hasNSFWContentRestriction: boolean;
|
|
8938
|
+
/**
|
|
8939
|
+
* License fee charged per use.
|
|
8940
|
+
*/
|
|
8217
8941
|
fee?: ResourceFee;
|
|
8218
8942
|
/**
|
|
8219
8943
|
* False makes the resource ineligible for compensation.
|
|
@@ -8228,6 +8952,9 @@ export type ResourceInfo = {
|
|
|
8228
8952
|
* attribution follows ownership transfers instead of being resolved retroactively.
|
|
8229
8953
|
*/
|
|
8230
8954
|
userId?: null | number;
|
|
8955
|
+
/**
|
|
8956
|
+
* Whether this resource can be generated with right now, across the whole fleet.
|
|
8957
|
+
*/
|
|
8231
8958
|
availability?: ResourceAvailability;
|
|
8232
8959
|
/**
|
|
8233
8960
|
* Promoted resources download in the High lane for free, whatever lane the job asked for.
|
|
@@ -8612,9 +9339,24 @@ export type ServiceResponse = {
|
|
|
8612
9339
|
strengths?: null | string;
|
|
8613
9340
|
weaknesses?: null | string;
|
|
8614
9341
|
releasedAt?: null | string;
|
|
9342
|
+
/**
|
|
9343
|
+
* What this consumes and produces. Independent of Civitai.Orchestration.Api.Controllers.v2.Consumers.Services.ServiceResponse.Category, and null for
|
|
9344
|
+
* services with no meaningful modality.
|
|
9345
|
+
*/
|
|
8615
9346
|
modalities?: ModalitiesResponse;
|
|
9347
|
+
/**
|
|
9348
|
+
* Health over the requested window. Always present: a service with no traffic reports
|
|
9349
|
+
* "unknown" rather than nothing, so callers never have to distinguish absent from healthy.
|
|
9350
|
+
*/
|
|
8616
9351
|
status: ServiceStatus;
|
|
9352
|
+
/**
|
|
9353
|
+
* Null when nothing ran in the window.
|
|
9354
|
+
*/
|
|
8617
9355
|
metrics?: MetricsResponse;
|
|
9356
|
+
/**
|
|
9357
|
+
* The metric time series over the window. Only present when a single service is requested —
|
|
9358
|
+
* the list omits it to stay cheap.
|
|
9359
|
+
*/
|
|
8618
9360
|
history?: ServiceHistory;
|
|
8619
9361
|
};
|
|
8620
9362
|
export declare const ServiceStatus: {
|
|
@@ -8670,6 +9412,9 @@ export type ShieldstralModerationStep = Omit<WorkflowStep, '$type'> & {
|
|
|
8670
9412
|
* ShieldstralModeration
|
|
8671
9413
|
*/
|
|
8672
9414
|
export type ShieldstralModerationStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9415
|
+
/**
|
|
9416
|
+
* Input for the ShieldstralModerationStep step.
|
|
9417
|
+
*/
|
|
8673
9418
|
input: ShieldstralModerationInput;
|
|
8674
9419
|
$type: 'shieldstralModeration';
|
|
8675
9420
|
};
|
|
@@ -8724,6 +9469,9 @@ export type SoniloAudioGenOutput = {
|
|
|
8724
9469
|
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
8725
9470
|
*/
|
|
8726
9471
|
export type SoniloAudioGenStep = Omit<WorkflowStep, '$type'> & {
|
|
9472
|
+
/**
|
|
9473
|
+
* Text-to-audio via Sonilo; `operation` picks music or a standalone sound effect.
|
|
9474
|
+
*/
|
|
8727
9475
|
input: SoniloAudioGenInput;
|
|
8728
9476
|
output?: SoniloAudioGenOutput;
|
|
8729
9477
|
$type: 'soniloAudioGen';
|
|
@@ -8732,6 +9480,9 @@ export type SoniloAudioGenStep = Omit<WorkflowStep, '$type'> & {
|
|
|
8732
9480
|
* Generate music or a standalone sound effect from a text prompt with Sonilo.
|
|
8733
9481
|
*/
|
|
8734
9482
|
export type SoniloAudioGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9483
|
+
/**
|
|
9484
|
+
* Input for the SoniloAudioGenStep step.
|
|
9485
|
+
*/
|
|
8735
9486
|
input: SoniloAudioGenInput;
|
|
8736
9487
|
$type: 'soniloAudioGen';
|
|
8737
9488
|
};
|
|
@@ -8837,6 +9588,9 @@ export type TextToImageInput = {
|
|
|
8837
9588
|
*/
|
|
8838
9589
|
imageMetadata?: null | string;
|
|
8839
9590
|
engine?: null | string;
|
|
9591
|
+
/**
|
|
9592
|
+
* The format in which to output images, Png and WebP may charge an additional cost
|
|
9593
|
+
*/
|
|
8840
9594
|
outputFormat?: OutputFormat;
|
|
8841
9595
|
/**
|
|
8842
9596
|
* An optional source image to trigger img-to-img
|
|
@@ -8862,6 +9616,9 @@ export type TextToImageStep = Omit<WorkflowStep, '$type'> & {
|
|
|
8862
9616
|
* TextToImage
|
|
8863
9617
|
*/
|
|
8864
9618
|
export type TextToImageStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9619
|
+
/**
|
|
9620
|
+
* Input for the TextToImageStep step.
|
|
9621
|
+
*/
|
|
8865
9622
|
input: TextToImageInput;
|
|
8866
9623
|
$type: 'textToImage';
|
|
8867
9624
|
};
|
|
@@ -8896,6 +9653,9 @@ export type TextToSpeechStep = Omit<WorkflowStep, '$type'> & {
|
|
|
8896
9653
|
* Text-to-Speech
|
|
8897
9654
|
*/
|
|
8898
9655
|
export type TextToSpeechStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9656
|
+
/**
|
|
9657
|
+
* Input for the TextToSpeechStep step.
|
|
9658
|
+
*/
|
|
8899
9659
|
input: TextToSpeechInput;
|
|
8900
9660
|
$type: 'textToSpeech';
|
|
8901
9661
|
};
|
|
@@ -8927,6 +9687,9 @@ export type TrainingData = {
|
|
|
8927
9687
|
export type TrainingInput = {
|
|
8928
9688
|
engine: string;
|
|
8929
9689
|
trainingData: TrainingData;
|
|
9690
|
+
/**
|
|
9691
|
+
* Sample generation configuration for preview outputs during training
|
|
9692
|
+
*/
|
|
8930
9693
|
samples?: TrainingInputSamples;
|
|
8931
9694
|
/**
|
|
8932
9695
|
* Whether this run uses step-based pricing rather than the legacy flat per-epoch price.
|
|
@@ -8973,6 +9736,10 @@ export type TrainingOutputEpochResult = {
|
|
|
8973
9736
|
* The epoch number (1-based)
|
|
8974
9737
|
*/
|
|
8975
9738
|
epochNumber: number;
|
|
9739
|
+
/**
|
|
9740
|
+
* The trained model blob for this epoch. `available` is false (and there is no URL) while the
|
|
9741
|
+
* epoch is still pending or training.
|
|
9742
|
+
*/
|
|
8976
9743
|
model: Blob;
|
|
8977
9744
|
/**
|
|
8978
9745
|
* Sample outputs (images/videos/audio) generated with this epoch's model
|
|
@@ -8996,6 +9763,9 @@ export type TrainingStep = Omit<WorkflowStep, '$type'> & {
|
|
|
8996
9763
|
* Training
|
|
8997
9764
|
*/
|
|
8998
9765
|
export type TrainingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9766
|
+
/**
|
|
9767
|
+
* Input for the TrainingStep step.
|
|
9768
|
+
*/
|
|
8999
9769
|
input: TrainingInput;
|
|
9000
9770
|
$type: 'training';
|
|
9001
9771
|
};
|
|
@@ -9064,13 +9834,12 @@ export type TranscodeOutput = {
|
|
|
9064
9834
|
urlExpiresAt?: null | string;
|
|
9065
9835
|
jobId: string;
|
|
9066
9836
|
/**
|
|
9067
|
-
* Deprecated:
|
|
9837
|
+
* Deprecated: a public blob's Civitai.Orchestration.Grains.Workflows.Steps.Transcode.TranscodeOutput.Url is its public url. Storage tier holding the blob; null when none
|
|
9068
9838
|
* was declared.
|
|
9069
9839
|
*/
|
|
9070
9840
|
tier?: null | string;
|
|
9071
9841
|
/**
|
|
9072
|
-
*
|
|
9073
|
-
* produces it completes; Civitai.Orchestration.Grains.Workflows.Steps.Transcode.TranscodeOutput.Url waits instead.
|
|
9842
|
+
* Deprecated and always null: Civitai.Orchestration.Grains.Workflows.Steps.Transcode.TranscodeOutput.Url becomes the public url once the blob has passed moderation.
|
|
9074
9843
|
*/
|
|
9075
9844
|
publicUrl?: null | string;
|
|
9076
9845
|
};
|
|
@@ -9086,6 +9855,9 @@ export type TranscodeStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9086
9855
|
* Transcoding
|
|
9087
9856
|
*/
|
|
9088
9857
|
export type TranscodeStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9858
|
+
/**
|
|
9859
|
+
* Input for the TranscodeStep step.
|
|
9860
|
+
*/
|
|
9089
9861
|
input: TranscodeInput;
|
|
9090
9862
|
$type: 'transcode';
|
|
9091
9863
|
};
|
|
@@ -9112,6 +9884,10 @@ export type TranscriptionOutput = {
|
|
|
9112
9884
|
*/
|
|
9113
9885
|
timeStamps: Array<TranscriptionTimeStamp>;
|
|
9114
9886
|
elapsedSeconds: number;
|
|
9887
|
+
/**
|
|
9888
|
+
* False when the media has no audio track; null when the worker did not check.
|
|
9889
|
+
*/
|
|
9890
|
+
hasAudio?: null | boolean;
|
|
9115
9891
|
};
|
|
9116
9892
|
/**
|
|
9117
9893
|
* Transcription
|
|
@@ -9125,6 +9901,9 @@ export type TranscriptionStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9125
9901
|
* Transcription
|
|
9126
9902
|
*/
|
|
9127
9903
|
export type TranscriptionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
9904
|
+
/**
|
|
9905
|
+
* Input for the TranscriptionStep step.
|
|
9906
|
+
*/
|
|
9128
9907
|
input: TranscriptionInput;
|
|
9129
9908
|
$type: 'transcription';
|
|
9130
9909
|
};
|
|
@@ -9183,7 +9962,10 @@ export type Trellis2TexGenComfyPolyGenInput = Omit<
|
|
|
9183
9962
|
model: 'trellis2';
|
|
9184
9963
|
engine: 'comfy';
|
|
9185
9964
|
};
|
|
9186
|
-
export type TripoFalPolyGenInput = Omit<
|
|
9965
|
+
export type TripoFalPolyGenInput = Omit<
|
|
9966
|
+
TripoVersionedFalPolyGenInput,
|
|
9967
|
+
'engine' | 'model' | 'version'
|
|
9968
|
+
> & {
|
|
9187
9969
|
imageUrl: string;
|
|
9188
9970
|
texture?: 'no' | 'standard' | 'HD';
|
|
9189
9971
|
pbr?: boolean;
|
|
@@ -9197,22 +9979,88 @@ export type TripoFalPolyGenInput = Omit<FalPolyGenInput, 'engine' | 'model'> & {
|
|
|
9197
9979
|
orientation?: 'default' | 'align_image';
|
|
9198
9980
|
seed?: null | number;
|
|
9199
9981
|
textureSeed?: null | number;
|
|
9982
|
+
version: 'v2.5';
|
|
9200
9983
|
model: 'tripo';
|
|
9201
9984
|
engine: 'fal';
|
|
9202
9985
|
};
|
|
9203
|
-
export type
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9986
|
+
export type TripoH31FalPolyGenInput = Omit<
|
|
9987
|
+
TripoVersionedFalPolyGenInput,
|
|
9988
|
+
'engine' | 'model' | 'version'
|
|
9989
|
+
> & {
|
|
9990
|
+
operation: string;
|
|
9991
|
+
texture?: boolean;
|
|
9992
|
+
/**
|
|
9993
|
+
* PBR enables textures even when texture is false.
|
|
9994
|
+
*/
|
|
9995
|
+
pbr?: boolean;
|
|
9996
|
+
faceLimit?: null | number;
|
|
9997
|
+
autoSize?: boolean;
|
|
9998
|
+
quad?: boolean;
|
|
9999
|
+
geometryQuality?: 'standard' | 'detailed';
|
|
10000
|
+
textureQuality?: 'standard' | 'detailed';
|
|
10001
|
+
seed?: null | number;
|
|
10002
|
+
textureSeed?: null | number;
|
|
10003
|
+
version: 'h3.1';
|
|
10004
|
+
model: 'tripo';
|
|
10005
|
+
engine: 'fal';
|
|
9213
10006
|
};
|
|
9214
|
-
export type
|
|
9215
|
-
|
|
10007
|
+
export type TripoH31ImageTo3dFalPolyGenInput = Omit<
|
|
10008
|
+
TripoH31FalPolyGenInput,
|
|
10009
|
+
'engine' | 'model' | 'version' | 'operation'
|
|
10010
|
+
> & {
|
|
10011
|
+
imageUrl: string;
|
|
10012
|
+
textureAlignment?: 'original_image' | 'geometry';
|
|
10013
|
+
orientation?: 'default' | 'align_image';
|
|
10014
|
+
operation: 'imageTo3D';
|
|
10015
|
+
version: 'h3.1';
|
|
10016
|
+
model: 'tripo';
|
|
10017
|
+
engine: 'fal';
|
|
10018
|
+
};
|
|
10019
|
+
export type TripoH31MultiviewTo3dFalPolyGenInput = Omit<
|
|
10020
|
+
TripoH31FalPolyGenInput,
|
|
10021
|
+
'engine' | 'model' | 'version' | 'operation'
|
|
10022
|
+
> & {
|
|
10023
|
+
/**
|
|
10024
|
+
* 2–4 views of the same object, ordered front, left, back, right.
|
|
10025
|
+
*/
|
|
10026
|
+
imageUrls: Array<string>;
|
|
10027
|
+
textureAlignment?: 'original_image' | 'geometry';
|
|
10028
|
+
orientation?: 'default' | 'align_image';
|
|
10029
|
+
operation: 'multiviewTo3D';
|
|
10030
|
+
version: 'h3.1';
|
|
10031
|
+
model: 'tripo';
|
|
10032
|
+
engine: 'fal';
|
|
10033
|
+
};
|
|
10034
|
+
export type TripoH31TextTo3dFalPolyGenInput = Omit<
|
|
10035
|
+
TripoH31FalPolyGenInput,
|
|
10036
|
+
'engine' | 'model' | 'version' | 'operation'
|
|
10037
|
+
> & {
|
|
10038
|
+
prompt: string;
|
|
10039
|
+
negativePrompt?: null | string;
|
|
10040
|
+
imageSeed?: null | number;
|
|
10041
|
+
operation: 'textTo3D';
|
|
10042
|
+
version: 'h3.1';
|
|
10043
|
+
model: 'tripo';
|
|
10044
|
+
engine: 'fal';
|
|
10045
|
+
};
|
|
10046
|
+
export type TripoVersionedFalPolyGenInput = Omit<FalPolyGenInput, 'engine' | 'model'> & {
|
|
10047
|
+
version: null | string;
|
|
10048
|
+
model: 'tripo';
|
|
10049
|
+
engine: 'fal';
|
|
10050
|
+
};
|
|
10051
|
+
export type TryOnUInput = {
|
|
10052
|
+
subjectUrl: string;
|
|
10053
|
+
garmentUrl: string;
|
|
10054
|
+
subjectMaskUrl?: null | string;
|
|
10055
|
+
subjectMaskBlobKey?: null | string;
|
|
10056
|
+
garmentDescription?: null | string;
|
|
10057
|
+
maskSubject: boolean;
|
|
10058
|
+
cropSubject: boolean;
|
|
10059
|
+
steps?: number;
|
|
10060
|
+
seed: number;
|
|
10061
|
+
};
|
|
10062
|
+
export type TryOnUOutput = {
|
|
10063
|
+
blob: Blob;
|
|
9216
10064
|
};
|
|
9217
10065
|
/**
|
|
9218
10066
|
* Eligible, but nothing is pulling it. A resource waiting in a download lane reports
|
|
@@ -9246,6 +10094,11 @@ export type UpdateWorkflowRequest = {
|
|
|
9246
10094
|
* Set to true to remove the mature content restriction on the workflow.
|
|
9247
10095
|
*/
|
|
9248
10096
|
allowMatureContent?: null | boolean;
|
|
10097
|
+
/**
|
|
10098
|
+
* Raise the download priority for resources this workflow needs but the fleet does not hold.
|
|
10099
|
+
* Only Civitai.Orchestration.Grains.Workflows.Priority.High may be requested, and it carries a Buzz charge for each cold
|
|
10100
|
+
* resource above the free size threshold.
|
|
10101
|
+
*/
|
|
9249
10102
|
downloadPriority?: Priority;
|
|
9250
10103
|
};
|
|
9251
10104
|
export declare const UpdateWorkflowStatus: {
|
|
@@ -9332,6 +10185,9 @@ export type Veo3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
9332
10185
|
seed?: null | number;
|
|
9333
10186
|
fastMode?: boolean;
|
|
9334
10187
|
images?: Array<string>;
|
|
10188
|
+
/**
|
|
10189
|
+
* Google retired the Veo 3.0 endpoints on 2026-08-28; requests with `3.0` are rejected with 400. Use `3.1`.
|
|
10190
|
+
*/
|
|
9335
10191
|
version?: Veo3Version;
|
|
9336
10192
|
mode?: Veo3GenerationMode;
|
|
9337
10193
|
};
|
|
@@ -9361,6 +10217,9 @@ export type VideoBackgroundRemovalStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9361
10217
|
* Tracks a prompted foreground object across a video and returns a lossless animated WebP with transparency.
|
|
9362
10218
|
*/
|
|
9363
10219
|
export type VideoBackgroundRemovalStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10220
|
+
/**
|
|
10221
|
+
* Input for the VideoBackgroundRemovalStep step.
|
|
10222
|
+
*/
|
|
9364
10223
|
input: VideoBackgroundRemovalInput;
|
|
9365
10224
|
$type: 'videoBackgroundRemoval';
|
|
9366
10225
|
};
|
|
@@ -9408,6 +10267,9 @@ export type VideoEnhancementStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9408
10267
|
* Upscale videos and/or interpolate frames
|
|
9409
10268
|
*/
|
|
9410
10269
|
export type VideoEnhancementStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10270
|
+
/**
|
|
10271
|
+
* Input for the VideoEnhancementStep step.
|
|
10272
|
+
*/
|
|
9411
10273
|
input: VideoEnhancementInput;
|
|
9412
10274
|
$type: 'videoEnhancement';
|
|
9413
10275
|
};
|
|
@@ -9451,6 +10313,9 @@ export type VideoFrameExtractionStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9451
10313
|
* Video Frame Extraction
|
|
9452
10314
|
*/
|
|
9453
10315
|
export type VideoFrameExtractionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10316
|
+
/**
|
|
10317
|
+
* Input for the VideoFrameExtractionStep step.
|
|
10318
|
+
*/
|
|
9454
10319
|
input: VideoFrameExtractionInput;
|
|
9455
10320
|
$type: 'videoFrameExtraction';
|
|
9456
10321
|
};
|
|
@@ -9469,6 +10334,10 @@ export type VideoGenOutput = {
|
|
|
9469
10334
|
* Civitai.Orchestration.Grains.Workflows.Steps.VideoGen.VideoGenOutput.Video is always the primary slot. Null/empty for single-output engines.
|
|
9470
10335
|
*/
|
|
9471
10336
|
additionalVideos?: null | Array<VideoBlob>;
|
|
10337
|
+
/**
|
|
10338
|
+
* Encrypted draft cache produced by a FLUX-3 draft generation. Pass its url as the draftCache
|
|
10339
|
+
* input of a later draftEnhance step to re-render the draft at full quality.
|
|
10340
|
+
*/
|
|
9472
10341
|
draftCache?: Blob;
|
|
9473
10342
|
};
|
|
9474
10343
|
/**
|
|
@@ -9483,6 +10352,9 @@ export type VideoGenStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9483
10352
|
* Video generation
|
|
9484
10353
|
*/
|
|
9485
10354
|
export type VideoGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10355
|
+
/**
|
|
10356
|
+
* Input for the VideoGenStep step.
|
|
10357
|
+
*/
|
|
9486
10358
|
input: VideoGenInput;
|
|
9487
10359
|
$type: 'videoGen';
|
|
9488
10360
|
};
|
|
@@ -9506,6 +10378,9 @@ export type VideoInterpolationStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9506
10378
|
* Interpolate videos using VFI Mamba
|
|
9507
10379
|
*/
|
|
9508
10380
|
export type VideoInterpolationStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10381
|
+
/**
|
|
10382
|
+
* Input for the VideoInterpolationStep step.
|
|
10383
|
+
*/
|
|
9509
10384
|
input: VideoInterpolationInput;
|
|
9510
10385
|
$type: 'videoInterpolation';
|
|
9511
10386
|
};
|
|
@@ -9530,6 +10405,9 @@ export type VideoMetadataStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9530
10405
|
* Extract metadata from videos including width, height, FPS, and duration
|
|
9531
10406
|
*/
|
|
9532
10407
|
export type VideoMetadataStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10408
|
+
/**
|
|
10409
|
+
* Input for the VideoMetadataStep step.
|
|
10410
|
+
*/
|
|
9533
10411
|
input: VideoMetadataInput;
|
|
9534
10412
|
$type: 'videoMetadata';
|
|
9535
10413
|
};
|
|
@@ -9552,6 +10430,9 @@ export type VideoUpscalerStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9552
10430
|
* Upscale videos using FlashVSR
|
|
9553
10431
|
*/
|
|
9554
10432
|
export type VideoUpscalerStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10433
|
+
/**
|
|
10434
|
+
* Input for the VideoUpscalerStep step.
|
|
10435
|
+
*/
|
|
9555
10436
|
input: VideoUpscalerInput;
|
|
9556
10437
|
$type: 'videoUpscaler';
|
|
9557
10438
|
};
|
|
@@ -9684,6 +10565,9 @@ export type WdTaggingStep = Omit<WorkflowStep, '$type'> & {
|
|
|
9684
10565
|
* WDTagging
|
|
9685
10566
|
*/
|
|
9686
10567
|
export type WdTaggingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
10568
|
+
/**
|
|
10569
|
+
* Input for the WDTaggingStep step.
|
|
10570
|
+
*/
|
|
9687
10571
|
input: WdTaggingInput;
|
|
9688
10572
|
$type: 'wdTagging';
|
|
9689
10573
|
};
|
|
@@ -9708,9 +10592,25 @@ export type Wan21FalVideoGenInput = Omit<Wan21VideoGenInput, 'engine' | 'version
|
|
|
9708
10592
|
};
|
|
9709
10593
|
export type Wan21VideoGenInput = Omit<WanVideoGenInput, 'engine' | 'version'> & {
|
|
9710
10594
|
provider: null | string;
|
|
10595
|
+
/**
|
|
10596
|
+
* Either A URL, A DataURL or a Base64 string
|
|
10597
|
+
*/
|
|
10598
|
+
sourceImage?: null | string;
|
|
9711
10599
|
version: 'v2.1';
|
|
9712
10600
|
engine: 'wan';
|
|
9713
10601
|
};
|
|
10602
|
+
export type Wan225bComfyVideoGenInput = Omit<
|
|
10603
|
+
Wan225bVideoGenInput,
|
|
10604
|
+
'engine' | 'version' | 'provider'
|
|
10605
|
+
> & {
|
|
10606
|
+
resolution?: '480p' | '580p' | '720p';
|
|
10607
|
+
aspectRatio?: '1:1' | '16:9' | '9:16' | 'auto';
|
|
10608
|
+
images?: Array<string>;
|
|
10609
|
+
negativePrompt?: null | string;
|
|
10610
|
+
provider: 'comfy';
|
|
10611
|
+
version: 'v2.2-5b';
|
|
10612
|
+
engine: 'wan';
|
|
10613
|
+
};
|
|
9714
10614
|
export type Wan225bFalImageGenInput = Omit<
|
|
9715
10615
|
Wan225bImageGenInput,
|
|
9716
10616
|
'engine' | 'version' | 'provider'
|
|
@@ -9772,6 +10672,10 @@ export type Wan22ComfyVideoGenInput = Omit<
|
|
|
9772
10672
|
Wan22VideoGenInput,
|
|
9773
10673
|
'engine' | 'version' | 'provider'
|
|
9774
10674
|
> & {
|
|
10675
|
+
/**
|
|
10676
|
+
* Either A URL, A DataURL or a Base64 string
|
|
10677
|
+
*/
|
|
10678
|
+
sourceImage?: null | string;
|
|
9775
10679
|
width?: number;
|
|
9776
10680
|
height?: number;
|
|
9777
10681
|
diffusionModel?: null | string;
|
|
@@ -10172,10 +11076,6 @@ export type WanImageGenInput = Omit<ImageGenInput, 'engine'> & {
|
|
|
10172
11076
|
};
|
|
10173
11077
|
export type WanVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
10174
11078
|
version: null | string;
|
|
10175
|
-
/**
|
|
10176
|
-
* Either A URL, A DataURL or a Base64 string
|
|
10177
|
-
*/
|
|
10178
|
-
sourceImage?: null | string;
|
|
10179
11079
|
cfgScale: number;
|
|
10180
11080
|
fps?: number;
|
|
10181
11081
|
engine: 'wan';
|
|
@@ -10245,6 +11145,9 @@ export type WebScrapeStep = Omit<WorkflowStep, '$type'> & {
|
|
|
10245
11145
|
* WebScrape
|
|
10246
11146
|
*/
|
|
10247
11147
|
export type WebScrapeStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
11148
|
+
/**
|
|
11149
|
+
* Input for the WebScrapeStep step.
|
|
11150
|
+
*/
|
|
10248
11151
|
input: WebScrapeInput;
|
|
10249
11152
|
$type: 'webScrape';
|
|
10250
11153
|
};
|
|
@@ -10291,6 +11194,9 @@ export type WebSearchStep = Omit<WorkflowStep, '$type'> & {
|
|
|
10291
11194
|
* WebSearch
|
|
10292
11195
|
*/
|
|
10293
11196
|
export type WebSearchStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
11197
|
+
/**
|
|
11198
|
+
* Input for the WebSearchStep step.
|
|
11199
|
+
*/
|
|
10294
11200
|
input: WebSearchInput;
|
|
10295
11201
|
$type: 'webSearch';
|
|
10296
11202
|
};
|
|
@@ -10326,14 +11232,27 @@ export type Workflow = {
|
|
|
10326
11232
|
};
|
|
10327
11233
|
readonly steps: Array<WorkflowStep>;
|
|
10328
11234
|
callbacks: Array<WorkflowCallback>;
|
|
11235
|
+
/**
|
|
11236
|
+
* Optional tips for either civitai or the creators involved in this workflow.
|
|
11237
|
+
*/
|
|
10329
11238
|
tips: WorkflowTips;
|
|
11239
|
+
/**
|
|
11240
|
+
* Get a summary of the actual cost consumed by this workflow.
|
|
11241
|
+
* On dry-run requests, this will contain the estimated cost.
|
|
11242
|
+
*/
|
|
10330
11243
|
cost: WorkflowCost;
|
|
11244
|
+
/**
|
|
11245
|
+
* An optional limit in what content is safe to return
|
|
11246
|
+
*/
|
|
10331
11247
|
nsfwLevel?: NsfwLevel;
|
|
10332
11248
|
/**
|
|
10333
11249
|
* Opts the workflow in to new features or behaviours that are not yet stable.
|
|
10334
11250
|
*/
|
|
10335
11251
|
experimental?: null | boolean;
|
|
10336
11252
|
allowMatureContent?: null | boolean;
|
|
11253
|
+
/**
|
|
11254
|
+
* Specifies how a workflow should be upgraded when mature content is detected and green or blue buzz was used for payment.
|
|
11255
|
+
*/
|
|
10337
11256
|
upgradeMode: WorkflowUpgradeMode;
|
|
10338
11257
|
currencies: Array<BuzzClientAccount>;
|
|
10339
11258
|
/**
|
|
@@ -10359,7 +11278,14 @@ export type Workflow = {
|
|
|
10359
11278
|
* Soft delete: the telemetry document is kept until its TTL for operators, but consumer reads treat the workflow as gone.
|
|
10360
11279
|
*/
|
|
10361
11280
|
deletedAt?: null | string;
|
|
11281
|
+
/**
|
|
11282
|
+
* Download lane for resources this workflow needs but the fleet does not hold. Resolved from
|
|
11283
|
+
* membership at submission unless the consumer paid to pin it to Civitai.Orchestration.Grains.Workflows.Priority.High.
|
|
11284
|
+
*/
|
|
10362
11285
|
downloadPriority?: Priority;
|
|
11286
|
+
/**
|
|
11287
|
+
* How a workflow is paid for.
|
|
11288
|
+
*/
|
|
10363
11289
|
tier: WorkflowTier;
|
|
10364
11290
|
fund?: null | string;
|
|
10365
11291
|
};
|
|
@@ -10439,6 +11365,9 @@ export type WorkflowEvent = {
|
|
|
10439
11365
|
status: WorkflowStatus;
|
|
10440
11366
|
timestamp: string;
|
|
10441
11367
|
readonly $type: string;
|
|
11368
|
+
/**
|
|
11369
|
+
* Only present when the callback requests detailed events.
|
|
11370
|
+
*/
|
|
10442
11371
|
details?: WorkflowEventDetails;
|
|
10443
11372
|
};
|
|
10444
11373
|
/**
|
|
@@ -10446,10 +11375,10 @@ export type WorkflowEvent = {
|
|
|
10446
11375
|
*/
|
|
10447
11376
|
export type WorkflowEventDetails = {
|
|
10448
11377
|
metadata?: null | {
|
|
10449
|
-
[key: string]:
|
|
11378
|
+
[key: string]: unknown;
|
|
10450
11379
|
};
|
|
10451
11380
|
arguments?: null | {
|
|
10452
|
-
[key: string]:
|
|
11381
|
+
[key: string]: unknown;
|
|
10453
11382
|
};
|
|
10454
11383
|
createdAt: string;
|
|
10455
11384
|
completedAt?: null | string;
|
|
@@ -10462,10 +11391,10 @@ export type WorkflowEventStepDetails = {
|
|
|
10462
11391
|
startedAt?: null | string;
|
|
10463
11392
|
completedAt?: null | string;
|
|
10464
11393
|
metadata?: null | {
|
|
10465
|
-
[key: string]:
|
|
11394
|
+
[key: string]: unknown;
|
|
10466
11395
|
};
|
|
10467
|
-
input?:
|
|
10468
|
-
output?:
|
|
11396
|
+
input?: unknown;
|
|
11397
|
+
output?: unknown;
|
|
10469
11398
|
cost?: null | number;
|
|
10470
11399
|
};
|
|
10471
11400
|
export declare const WorkflowStatus: {
|
|
@@ -10503,6 +11432,10 @@ export type WorkflowStep = {
|
|
|
10503
11432
|
* the step is preparing.
|
|
10504
11433
|
*/
|
|
10505
11434
|
preparation?: null | Array<WorkflowStepPreparationResource>;
|
|
11435
|
+
/**
|
|
11436
|
+
* The step's queue position, aggregated across its jobs (worst support, fewest preceding jobs,
|
|
11437
|
+
* earliest estimated start, latest estimated completion). Null once the step starts processing.
|
|
11438
|
+
*/
|
|
10506
11439
|
queuePosition?: WorkflowStepQueuePosition;
|
|
10507
11440
|
/**
|
|
10508
11441
|
* Non-fatal warnings about this step, such as a requested model that is scheduled for retirement.
|
|
@@ -10515,6 +11448,9 @@ export type WorkflowStepEvent = {
|
|
|
10515
11448
|
name: string;
|
|
10516
11449
|
status: WorkflowStatus;
|
|
10517
11450
|
readonly $type: string;
|
|
11451
|
+
/**
|
|
11452
|
+
* Only present when the callback requests detailed events.
|
|
11453
|
+
*/
|
|
10518
11454
|
details?: WorkflowStepEventDetails;
|
|
10519
11455
|
/**
|
|
10520
11456
|
* Every resource download this step is waiting on, gating resource first. Only set while preparing.
|
|
@@ -10533,10 +11469,10 @@ export type WorkflowStepEventDetails = {
|
|
|
10533
11469
|
estimatedProgressRate?: null | number;
|
|
10534
11470
|
retries: number;
|
|
10535
11471
|
metadata?: null | {
|
|
10536
|
-
[key: string]:
|
|
11472
|
+
[key: string]: unknown;
|
|
10537
11473
|
};
|
|
10538
|
-
input?:
|
|
10539
|
-
output?:
|
|
11474
|
+
input?: unknown;
|
|
11475
|
+
output?: unknown;
|
|
10540
11476
|
/**
|
|
10541
11477
|
* Every resource download this step is waiting on, gating resource first. Only set while preparing.
|
|
10542
11478
|
*/
|
|
@@ -10625,12 +11561,26 @@ export type WorkflowTemplate = {
|
|
|
10625
11561
|
tags?: null | Array<string>;
|
|
10626
11562
|
steps: Array<WorkflowStepTemplate>;
|
|
10627
11563
|
callbacks?: null | Array<WorkflowCallback>;
|
|
11564
|
+
/**
|
|
11565
|
+
* Optional tips for either civitai or the creators involved in this workflow.
|
|
11566
|
+
*/
|
|
10628
11567
|
tips?: WorkflowTips;
|
|
10629
11568
|
arguments?: null | {
|
|
10630
11569
|
[key: string]: unknown;
|
|
10631
11570
|
};
|
|
11571
|
+
/**
|
|
11572
|
+
* An optional limit in what content is safe to return
|
|
11573
|
+
*/
|
|
10632
11574
|
nsfwLevel?: NsfwLevel;
|
|
11575
|
+
/**
|
|
11576
|
+
* Download urgency for resources the fleet does not hold; omit to derive it from membership.
|
|
11577
|
+
* Only Civitai.Orchestration.Grains.Workflows.Priority.High may be requested, and it carries a Buzz charge per cold resource above the free size threshold.
|
|
11578
|
+
*/
|
|
10633
11579
|
downloadPriority?: Priority;
|
|
11580
|
+
/**
|
|
11581
|
+
* Run this workflow on the free tier. Only steps using a model offered on the free tier are
|
|
11582
|
+
* accepted; they cost no Buzz, count against a per-user quota and run behind all paid work.
|
|
11583
|
+
*/
|
|
10634
11584
|
tier?: WorkflowTier;
|
|
10635
11585
|
/**
|
|
10636
11586
|
* Opts the workflow in to new features or behaviours that are not yet stable.
|
|
@@ -10640,11 +11590,14 @@ export type WorkflowTemplate = {
|
|
|
10640
11590
|
* When false, no content marked as mature is returned; additional payment options are available for such workflows.
|
|
10641
11591
|
*/
|
|
10642
11592
|
allowMatureContent?: null | boolean;
|
|
11593
|
+
/**
|
|
11594
|
+
* Specifies how a workflow should be upgraded when mature content is detected and green or blue buzz was used for payment.
|
|
11595
|
+
*/
|
|
10643
11596
|
upgradeMode?: WorkflowUpgradeMode;
|
|
10644
11597
|
/**
|
|
10645
11598
|
* Limit the currencies that can be used to pay for this workflow.
|
|
10646
11599
|
*/
|
|
10647
|
-
currencies
|
|
11600
|
+
currencies?: Array<BuzzClientAccount>;
|
|
10648
11601
|
/**
|
|
10649
11602
|
* Bill this workflow to a fund (see `POST /v2/consumer/funds`) instead of the caller's Buzz. Implies the paid tier;
|
|
10650
11603
|
* Civitai.Orchestration.Grains.Workflows.WorkflowTemplate.Currencies then limits which of the fund's currencies are spent.
|
|
@@ -10787,6 +11740,9 @@ export type XGuardModerationStep = Omit<WorkflowStep, '$type'> & {
|
|
|
10787
11740
|
* XGuardModeration
|
|
10788
11741
|
*/
|
|
10789
11742
|
export type XGuardModerationStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
11743
|
+
/**
|
|
11744
|
+
* Input for the XGuardModerationStep step.
|
|
11745
|
+
*/
|
|
10790
11746
|
input: XGuardModerationInput;
|
|
10791
11747
|
$type: 'xGuardModeration';
|
|
10792
11748
|
};
|
|
@@ -10797,6 +11753,10 @@ export type XGuardPromptModerationInput = Omit<XGuardModerationInput, 'mode'> &
|
|
|
10797
11753
|
* Additional instructions are unsupported by the fixed Civitai Scan contract.
|
|
10798
11754
|
*/
|
|
10799
11755
|
instructions?: null | string;
|
|
11756
|
+
/**
|
|
11757
|
+
* Only Combined is supported: both prompts are sent as JSON, negative terms act as exclusions (excluding adulthood is an age-down cue).
|
|
11758
|
+
* For positive-only input use Combined with an empty negative prompt.
|
|
11759
|
+
*/
|
|
10800
11760
|
scope: XGuardPromptScope;
|
|
10801
11761
|
mode: 'prompt';
|
|
10802
11762
|
};
|
|
@@ -10913,6 +11873,9 @@ export type YuE2SampleOverride = {
|
|
|
10913
11873
|
* Generate a song from style and lyrics with YuE2.
|
|
10914
11874
|
*/
|
|
10915
11875
|
export type YuE2Step = Omit<WorkflowStep, '$type'> & {
|
|
11876
|
+
/**
|
|
11877
|
+
* YuE2 text-to-music generation with optional ABC score planning.
|
|
11878
|
+
*/
|
|
10916
11879
|
input: YuE2Input;
|
|
10917
11880
|
output?: YuE2Output;
|
|
10918
11881
|
$type: 'yuE2';
|
|
@@ -10921,6 +11884,9 @@ export type YuE2Step = Omit<WorkflowStep, '$type'> & {
|
|
|
10921
11884
|
* Generate a song from style and lyrics with YuE2.
|
|
10922
11885
|
*/
|
|
10923
11886
|
export type YuE2StepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
11887
|
+
/**
|
|
11888
|
+
* Input for the YuE2Step step.
|
|
11889
|
+
*/
|
|
10924
11890
|
input: YuE2Input;
|
|
10925
11891
|
$type: 'yuE2';
|
|
10926
11892
|
};
|
|
@@ -11113,6 +12079,10 @@ export type AiToolkitTrainingInputWritable = Omit<TrainingInputWritable2, 'engin
|
|
|
11113
12079
|
* epoch resumes from this model instead of the base model, and the new epochs build on top of it.
|
|
11114
12080
|
*/
|
|
11115
12081
|
continueFrom?: null | string;
|
|
12082
|
+
/**
|
|
12083
|
+
* What each epoch job records to its trace stream (`output.epochs[].traceUrl`): `none` (default), `logs` (plain-text console output)
|
|
12084
|
+
* or `events` (NDJSON of console lines, step progress, phases and epoch checkpoints).
|
|
12085
|
+
*/
|
|
11116
12086
|
trace: TrainingTraceMode;
|
|
11117
12087
|
engine: 'ai-toolkit';
|
|
11118
12088
|
};
|
|
@@ -11202,6 +12172,32 @@ export type AssistantMessageWritable = Omit<ChatCompletionMessageWritable, 'role
|
|
|
11202
12172
|
reasoning?: null | string;
|
|
11203
12173
|
role: 'assistant';
|
|
11204
12174
|
};
|
|
12175
|
+
export type AudioModerationOutputWritable = {
|
|
12176
|
+
lyrics: string;
|
|
12177
|
+
sexualizedMinors: boolean;
|
|
12178
|
+
score: null | number;
|
|
12179
|
+
model: null | string;
|
|
12180
|
+
policyHash: null | string;
|
|
12181
|
+
hasAudio?: null | boolean;
|
|
12182
|
+
skippedReason?: null | string;
|
|
12183
|
+
};
|
|
12184
|
+
/**
|
|
12185
|
+
* Transcribe every audio track and classify the lyrics for sexualized minors.
|
|
12186
|
+
*/
|
|
12187
|
+
export type AudioModerationStepWritable = Omit<WorkflowStepWritable, '$type'> & {
|
|
12188
|
+
input: AudioModerationInput;
|
|
12189
|
+
output?: AudioModerationOutputWritable;
|
|
12190
|
+
$type: 'audioModeration';
|
|
12191
|
+
};
|
|
12192
|
+
export type AudioTextModerationOutputWritable = {
|
|
12193
|
+
lyrics: string;
|
|
12194
|
+
sexualizedMinors: boolean;
|
|
12195
|
+
score: null | number;
|
|
12196
|
+
model: null | string;
|
|
12197
|
+
policyHash: null | string;
|
|
12198
|
+
hasAudio?: null | boolean;
|
|
12199
|
+
skippedReason?: null | string;
|
|
12200
|
+
};
|
|
11205
12201
|
export type BooguAiToolkitTrainingInputWritable = Omit<
|
|
11206
12202
|
AiToolkitTrainingInputWritable,
|
|
11207
12203
|
'engine' | 'ecosystem'
|
|
@@ -11215,9 +12211,12 @@ export type BooguAiToolkitTrainingInputWritable = Omit<
|
|
|
11215
12211
|
};
|
|
11216
12212
|
export type ChatCompletionChoiceWritable = {
|
|
11217
12213
|
index: number;
|
|
12214
|
+
/**
|
|
12215
|
+
* An assistant message representing a prior response.
|
|
12216
|
+
*/
|
|
11218
12217
|
message: AssistantMessageWritable;
|
|
11219
12218
|
finishReason?: null | string;
|
|
11220
|
-
logprobs?:
|
|
12219
|
+
logprobs?: unknown;
|
|
11221
12220
|
};
|
|
11222
12221
|
/**
|
|
11223
12222
|
* Accepts both camelCase (`imageUrl`) and snake_case (`image_url`) type discriminators.
|
|
@@ -11241,12 +12240,15 @@ export type ChatCompletionOutputWritable = {
|
|
|
11241
12240
|
* Parsed JSON of `Choices[0].Message.Content`, populated when the request used a JSON `response_format`
|
|
11242
12241
|
* and the content parsed. Reachable from later steps via `$ref` paths like `output.parsed.<field>`.
|
|
11243
12242
|
*/
|
|
11244
|
-
parsed?:
|
|
12243
|
+
parsed?: unknown;
|
|
11245
12244
|
};
|
|
11246
12245
|
/**
|
|
11247
12246
|
* ChatCompletion
|
|
11248
12247
|
*/
|
|
11249
12248
|
export type ChatCompletionStepWritable = Omit<WorkflowStepWritable, '$type'> & {
|
|
12249
|
+
/**
|
|
12250
|
+
* Input for a chat completion step, compatible with OpenAI Chat Completions API.
|
|
12251
|
+
*/
|
|
11250
12252
|
input: ChatCompletionInput;
|
|
11251
12253
|
output?: ChatCompletionOutputWritable;
|
|
11252
12254
|
$type: 'chatCompletion';
|
|
@@ -11411,6 +12413,10 @@ export type ComfyTrainingInputWritable = Omit<TrainingInputWritable2, 'engine'>
|
|
|
11411
12413
|
* epoch resumes from this model instead of the base model, and the new epochs build on top of it.
|
|
11412
12414
|
*/
|
|
11413
12415
|
continueFrom?: null | string;
|
|
12416
|
+
/**
|
|
12417
|
+
* What each epoch job records to its trace stream (`output.epochs[].traceUrl`): `none` (default), `logs` (plain-text console output)
|
|
12418
|
+
* or `events` (NDJSON of console lines, step progress, phases and epoch checkpoints).
|
|
12419
|
+
*/
|
|
11414
12420
|
trace: TrainingTraceMode;
|
|
11415
12421
|
resolution?: number;
|
|
11416
12422
|
noHalfVae?: boolean;
|
|
@@ -12052,6 +13058,9 @@ export type PreprocessImageStepWritable = Omit<WorkflowStepWritable, '$type'> &
|
|
|
12052
13058
|
$type: 'preprocessImage';
|
|
12053
13059
|
};
|
|
12054
13060
|
export type PreprocessImageStepTemplateWritable = Omit<WorkflowStepTemplateWritable, '$type'> & {
|
|
13061
|
+
/**
|
|
13062
|
+
* Input for the PreprocessImageStep step.
|
|
13063
|
+
*/
|
|
12055
13064
|
input: PreprocessImageInputWritable;
|
|
12056
13065
|
$type: 'preprocessImage';
|
|
12057
13066
|
};
|
|
@@ -12141,6 +13150,9 @@ export type PreprocessVideoStepWritable = Omit<WorkflowStepWritable, '$type'> &
|
|
|
12141
13150
|
$type: 'preprocessVideo';
|
|
12142
13151
|
};
|
|
12143
13152
|
export type PreprocessVideoStepTemplateWritable = Omit<WorkflowStepTemplateWritable, '$type'> & {
|
|
13153
|
+
/**
|
|
13154
|
+
* Input for the PreprocessVideoStep step.
|
|
13155
|
+
*/
|
|
12144
13156
|
input: PreprocessVideoInputWritable;
|
|
12145
13157
|
$type: 'preprocessVideo';
|
|
12146
13158
|
};
|
|
@@ -12228,6 +13240,9 @@ export type SdxlAiToolkitTrainingInputWritable = Omit<
|
|
|
12228
13240
|
export type TrainingInputWritable = {
|
|
12229
13241
|
engine: string;
|
|
12230
13242
|
trainingData: TrainingData;
|
|
13243
|
+
/**
|
|
13244
|
+
* Sample generation configuration for preview outputs during training
|
|
13245
|
+
*/
|
|
12231
13246
|
samples?: TrainingInputSamples;
|
|
12232
13247
|
};
|
|
12233
13248
|
/**
|
|
@@ -12242,6 +13257,9 @@ export type TrainingStepWritable = Omit<WorkflowStepWritable, '$type'> & {
|
|
|
12242
13257
|
* Training
|
|
12243
13258
|
*/
|
|
12244
13259
|
export type TrainingStepTemplateWritable = Omit<WorkflowStepTemplateWritable, '$type'> & {
|
|
13260
|
+
/**
|
|
13261
|
+
* Input for the TrainingStep step.
|
|
13262
|
+
*/
|
|
12245
13263
|
input: TrainingInputWritable;
|
|
12246
13264
|
$type: 'training';
|
|
12247
13265
|
};
|
|
@@ -12274,14 +13292,27 @@ export type WorkflowWritable = {
|
|
|
12274
13292
|
[key: string]: unknown;
|
|
12275
13293
|
};
|
|
12276
13294
|
callbacks: Array<WorkflowCallback>;
|
|
13295
|
+
/**
|
|
13296
|
+
* Optional tips for either civitai or the creators involved in this workflow.
|
|
13297
|
+
*/
|
|
12277
13298
|
tips: WorkflowTips;
|
|
13299
|
+
/**
|
|
13300
|
+
* Get a summary of the actual cost consumed by this workflow.
|
|
13301
|
+
* On dry-run requests, this will contain the estimated cost.
|
|
13302
|
+
*/
|
|
12278
13303
|
cost: WorkflowCostWritable;
|
|
13304
|
+
/**
|
|
13305
|
+
* An optional limit in what content is safe to return
|
|
13306
|
+
*/
|
|
12279
13307
|
nsfwLevel?: NsfwLevel;
|
|
12280
13308
|
/**
|
|
12281
13309
|
* Opts the workflow in to new features or behaviours that are not yet stable.
|
|
12282
13310
|
*/
|
|
12283
13311
|
experimental?: null | boolean;
|
|
12284
13312
|
allowMatureContent?: null | boolean;
|
|
13313
|
+
/**
|
|
13314
|
+
* Specifies how a workflow should be upgraded when mature content is detected and green or blue buzz was used for payment.
|
|
13315
|
+
*/
|
|
12285
13316
|
upgradeMode: WorkflowUpgradeMode;
|
|
12286
13317
|
currencies: Array<BuzzClientAccount>;
|
|
12287
13318
|
/**
|
|
@@ -12307,7 +13338,14 @@ export type WorkflowWritable = {
|
|
|
12307
13338
|
* Soft delete: the telemetry document is kept until its TTL for operators, but consumer reads treat the workflow as gone.
|
|
12308
13339
|
*/
|
|
12309
13340
|
deletedAt?: null | string;
|
|
13341
|
+
/**
|
|
13342
|
+
* Download lane for resources this workflow needs but the fleet does not hold. Resolved from
|
|
13343
|
+
* membership at submission unless the consumer paid to pin it to Civitai.Orchestration.Grains.Workflows.Priority.High.
|
|
13344
|
+
*/
|
|
12310
13345
|
downloadPriority?: Priority;
|
|
13346
|
+
/**
|
|
13347
|
+
* How a workflow is paid for.
|
|
13348
|
+
*/
|
|
12311
13349
|
tier: WorkflowTier;
|
|
12312
13350
|
fund?: null | string;
|
|
12313
13351
|
};
|
|
@@ -12342,12 +13380,18 @@ export type WorkflowEventWritable = {
|
|
|
12342
13380
|
workflowId: string;
|
|
12343
13381
|
status: WorkflowStatus;
|
|
12344
13382
|
timestamp: string;
|
|
13383
|
+
/**
|
|
13384
|
+
* Only present when the callback requests detailed events.
|
|
13385
|
+
*/
|
|
12345
13386
|
details?: WorkflowEventDetails;
|
|
12346
13387
|
};
|
|
12347
13388
|
export type WorkflowStepEventWritable = {
|
|
12348
13389
|
workflowId: string;
|
|
12349
13390
|
name: string;
|
|
12350
13391
|
status: WorkflowStatus;
|
|
13392
|
+
/**
|
|
13393
|
+
* Only present when the callback requests detailed events.
|
|
13394
|
+
*/
|
|
12351
13395
|
details?: WorkflowStepEventDetails;
|
|
12352
13396
|
/**
|
|
12353
13397
|
* Every resource download this step is waiting on, gating resource first. Only set while preparing.
|
|
@@ -12451,6 +13495,9 @@ export type ZImageTurboAiToolkitTrainingInputWritable = Omit<
|
|
|
12451
13495
|
export type TrainingInputWritable2 = {
|
|
12452
13496
|
engine: string;
|
|
12453
13497
|
trainingData: TrainingData;
|
|
13498
|
+
/**
|
|
13499
|
+
* Sample generation configuration for preview outputs during training
|
|
13500
|
+
*/
|
|
12454
13501
|
samples?: TrainingInputSamples;
|
|
12455
13502
|
/**
|
|
12456
13503
|
* Whether this run uses step-based pricing rather than the legacy flat per-epoch price.
|
|
@@ -12484,6 +13531,10 @@ export type WorkflowStepWritable = {
|
|
|
12484
13531
|
* the step is preparing.
|
|
12485
13532
|
*/
|
|
12486
13533
|
preparation?: null | Array<WorkflowStepPreparationResource>;
|
|
13534
|
+
/**
|
|
13535
|
+
* The step's queue position, aggregated across its jobs (worst support, fewest preceding jobs,
|
|
13536
|
+
* earliest estimated start, latest estimated completion). Null once the step starts processing.
|
|
13537
|
+
*/
|
|
12487
13538
|
queuePosition?: WorkflowStepQueuePosition;
|
|
12488
13539
|
/**
|
|
12489
13540
|
* Non-fatal warnings about this step, such as a requested model that is scheduled for retirement.
|
|
@@ -12591,7 +13642,12 @@ export type HeadBlobData = {
|
|
|
12591
13642
|
path: {
|
|
12592
13643
|
blobId: string;
|
|
12593
13644
|
};
|
|
12594
|
-
query?:
|
|
13645
|
+
query?: {
|
|
13646
|
+
workflowId?: string;
|
|
13647
|
+
nsfwLevel?: NsfwLevel;
|
|
13648
|
+
filename?: string;
|
|
13649
|
+
download?: boolean;
|
|
13650
|
+
};
|
|
12595
13651
|
url: '/v2/consumer/blobs/{blobId}';
|
|
12596
13652
|
};
|
|
12597
13653
|
export type HeadBlobErrors = {
|
|
@@ -12603,6 +13659,10 @@ export type HeadBlobErrors = {
|
|
|
12603
13659
|
* Not Found
|
|
12604
13660
|
*/
|
|
12605
13661
|
404: ProblemDetails;
|
|
13662
|
+
/**
|
|
13663
|
+
* Service Unavailable
|
|
13664
|
+
*/
|
|
13665
|
+
503: unknown;
|
|
12606
13666
|
};
|
|
12607
13667
|
export type HeadBlobError = HeadBlobErrors[keyof HeadBlobErrors];
|
|
12608
13668
|
export type HeadBlobResponses = {
|
|
@@ -12676,60 +13736,6 @@ export type UploadConsumerBlobResponses = {
|
|
|
12676
13736
|
};
|
|
12677
13737
|
export type UploadConsumerBlobResponse =
|
|
12678
13738
|
UploadConsumerBlobResponses[keyof UploadConsumerBlobResponses];
|
|
12679
|
-
export type IngestConsumerBlobData = {
|
|
12680
|
-
body?: never;
|
|
12681
|
-
path?: never;
|
|
12682
|
-
query?: {
|
|
12683
|
-
/**
|
|
12684
|
-
* Object to copy; must resolve to a configured trusted source.
|
|
12685
|
-
*/
|
|
12686
|
-
sourceUrl?: string;
|
|
12687
|
-
/**
|
|
12688
|
-
* Store in the public tier and return a durable, unsigned URL.
|
|
12689
|
-
*/
|
|
12690
|
-
public?: boolean;
|
|
12691
|
-
};
|
|
12692
|
-
url: '/v2/consumer/blobs/ingest';
|
|
12693
|
-
};
|
|
12694
|
-
export type IngestConsumerBlobErrors = {
|
|
12695
|
-
/**
|
|
12696
|
-
* Bad Request
|
|
12697
|
-
*/
|
|
12698
|
-
400: ProblemDetails;
|
|
12699
|
-
/**
|
|
12700
|
-
* Unauthorized
|
|
12701
|
-
*/
|
|
12702
|
-
401: ProblemDetails;
|
|
12703
|
-
/**
|
|
12704
|
-
* Forbidden
|
|
12705
|
-
*/
|
|
12706
|
-
403: ProblemDetails;
|
|
12707
|
-
/**
|
|
12708
|
-
* Not Found
|
|
12709
|
-
*/
|
|
12710
|
-
404: ProblemDetails;
|
|
12711
|
-
/**
|
|
12712
|
-
* Unprocessable Content
|
|
12713
|
-
*/
|
|
12714
|
-
422: ProblemDetails;
|
|
12715
|
-
/**
|
|
12716
|
-
* Bad Gateway
|
|
12717
|
-
*/
|
|
12718
|
-
502: unknown;
|
|
12719
|
-
};
|
|
12720
|
-
export type IngestConsumerBlobError = IngestConsumerBlobErrors[keyof IngestConsumerBlobErrors];
|
|
12721
|
-
export type IngestConsumerBlobResponses = {
|
|
12722
|
-
/**
|
|
12723
|
-
* OK
|
|
12724
|
-
*/
|
|
12725
|
-
200: Blob;
|
|
12726
|
-
/**
|
|
12727
|
-
* Created
|
|
12728
|
-
*/
|
|
12729
|
-
201: Blob;
|
|
12730
|
-
};
|
|
12731
|
-
export type IngestConsumerBlobResponse =
|
|
12732
|
-
IngestConsumerBlobResponses[keyof IngestConsumerBlobResponses];
|
|
12733
13739
|
export type GetBlobContentData = {
|
|
12734
13740
|
body?: never;
|
|
12735
13741
|
path: {
|
|
@@ -12926,7 +13932,7 @@ export type CreateFundErrors = {
|
|
|
12926
13932
|
/**
|
|
12927
13933
|
* Forbidden
|
|
12928
13934
|
*/
|
|
12929
|
-
403:
|
|
13935
|
+
403: ProblemDetails;
|
|
12930
13936
|
};
|
|
12931
13937
|
export type CreateFundError = CreateFundErrors[keyof CreateFundErrors];
|
|
12932
13938
|
export type CreateFundResponses = {
|
|
@@ -13048,6 +14054,36 @@ export type DepositIntoFundResponses = {
|
|
|
13048
14054
|
200: FundResponse;
|
|
13049
14055
|
};
|
|
13050
14056
|
export type DepositIntoFundResponse = DepositIntoFundResponses[keyof DepositIntoFundResponses];
|
|
14057
|
+
export type RefundFundData = {
|
|
14058
|
+
body?: never;
|
|
14059
|
+
path: {
|
|
14060
|
+
fundId: string;
|
|
14061
|
+
};
|
|
14062
|
+
query?: never;
|
|
14063
|
+
url: '/v2/consumer/funds/{fundId}/refund';
|
|
14064
|
+
};
|
|
14065
|
+
export type RefundFundErrors = {
|
|
14066
|
+
/**
|
|
14067
|
+
* Unauthorized
|
|
14068
|
+
*/
|
|
14069
|
+
401: ProblemDetails;
|
|
14070
|
+
/**
|
|
14071
|
+
* Not Found
|
|
14072
|
+
*/
|
|
14073
|
+
404: ProblemDetails;
|
|
14074
|
+
/**
|
|
14075
|
+
* Conflict
|
|
14076
|
+
*/
|
|
14077
|
+
409: ProblemDetails;
|
|
14078
|
+
};
|
|
14079
|
+
export type RefundFundError = RefundFundErrors[keyof RefundFundErrors];
|
|
14080
|
+
export type RefundFundResponses = {
|
|
14081
|
+
/**
|
|
14082
|
+
* OK
|
|
14083
|
+
*/
|
|
14084
|
+
200: FundResponse;
|
|
14085
|
+
};
|
|
14086
|
+
export type RefundFundResponse = RefundFundResponses[keyof RefundFundResponses];
|
|
13051
14087
|
export type InvokeAceStepAudioStepTemplateData = {
|
|
13052
14088
|
body?: AceStepAudioInput;
|
|
13053
14089
|
path?: never;
|
|
@@ -13060,6 +14096,7 @@ export type InvokeAceStepAudioStepTemplateData = {
|
|
|
13060
14096
|
* How a workflow is paid for.
|
|
13061
14097
|
*/
|
|
13062
14098
|
tier?: WorkflowTier;
|
|
14099
|
+
tags?: Array<string>;
|
|
13063
14100
|
};
|
|
13064
14101
|
url: '/v2/consumer/recipes/aceStepAudio';
|
|
13065
14102
|
};
|
|
@@ -13099,6 +14136,7 @@ export type InvokeAgeClassificationStepTemplateData = {
|
|
|
13099
14136
|
* How a workflow is paid for.
|
|
13100
14137
|
*/
|
|
13101
14138
|
tier?: WorkflowTier;
|
|
14139
|
+
tags?: Array<string>;
|
|
13102
14140
|
};
|
|
13103
14141
|
url: '/v2/consumer/recipes/ageClassification';
|
|
13104
14142
|
};
|
|
@@ -13126,6 +14164,46 @@ export type InvokeAgeClassificationStepTemplateResponses = {
|
|
|
13126
14164
|
};
|
|
13127
14165
|
export type InvokeAgeClassificationStepTemplateResponse =
|
|
13128
14166
|
InvokeAgeClassificationStepTemplateResponses[keyof InvokeAgeClassificationStepTemplateResponses];
|
|
14167
|
+
export type InvokeArchiveExtractionStepTemplateData = {
|
|
14168
|
+
body?: ArchiveExtractionInput;
|
|
14169
|
+
path?: never;
|
|
14170
|
+
query?: {
|
|
14171
|
+
experimental?: boolean;
|
|
14172
|
+
allowMatureContent?: boolean;
|
|
14173
|
+
whatif?: boolean;
|
|
14174
|
+
ephemeral?: boolean;
|
|
14175
|
+
/**
|
|
14176
|
+
* How a workflow is paid for.
|
|
14177
|
+
*/
|
|
14178
|
+
tier?: WorkflowTier;
|
|
14179
|
+
tags?: Array<string>;
|
|
14180
|
+
};
|
|
14181
|
+
url: '/v2/consumer/recipes/archiveExtraction';
|
|
14182
|
+
};
|
|
14183
|
+
export type InvokeArchiveExtractionStepTemplateErrors = {
|
|
14184
|
+
/**
|
|
14185
|
+
* Bad Request
|
|
14186
|
+
*/
|
|
14187
|
+
400: ProblemDetails;
|
|
14188
|
+
/**
|
|
14189
|
+
* Unauthorized
|
|
14190
|
+
*/
|
|
14191
|
+
401: ProblemDetails;
|
|
14192
|
+
/**
|
|
14193
|
+
* Forbidden
|
|
14194
|
+
*/
|
|
14195
|
+
403: ProblemDetails;
|
|
14196
|
+
};
|
|
14197
|
+
export type InvokeArchiveExtractionStepTemplateError =
|
|
14198
|
+
InvokeArchiveExtractionStepTemplateErrors[keyof InvokeArchiveExtractionStepTemplateErrors];
|
|
14199
|
+
export type InvokeArchiveExtractionStepTemplateResponses = {
|
|
14200
|
+
/**
|
|
14201
|
+
* OK
|
|
14202
|
+
*/
|
|
14203
|
+
200: ArchiveExtractionOutput;
|
|
14204
|
+
};
|
|
14205
|
+
export type InvokeArchiveExtractionStepTemplateResponse =
|
|
14206
|
+
InvokeArchiveExtractionStepTemplateResponses[keyof InvokeArchiveExtractionStepTemplateResponses];
|
|
13129
14207
|
export type InvokeAudioCaptioningStepTemplateData = {
|
|
13130
14208
|
body?: AudioCaptioningInput;
|
|
13131
14209
|
path?: never;
|
|
@@ -13138,6 +14216,7 @@ export type InvokeAudioCaptioningStepTemplateData = {
|
|
|
13138
14216
|
* How a workflow is paid for.
|
|
13139
14217
|
*/
|
|
13140
14218
|
tier?: WorkflowTier;
|
|
14219
|
+
tags?: Array<string>;
|
|
13141
14220
|
};
|
|
13142
14221
|
url: '/v2/consumer/recipes/audioCaptioning';
|
|
13143
14222
|
};
|
|
@@ -13165,6 +14244,126 @@ export type InvokeAudioCaptioningStepTemplateResponses = {
|
|
|
13165
14244
|
};
|
|
13166
14245
|
export type InvokeAudioCaptioningStepTemplateResponse =
|
|
13167
14246
|
InvokeAudioCaptioningStepTemplateResponses[keyof InvokeAudioCaptioningStepTemplateResponses];
|
|
14247
|
+
export type InvokeAudioClassificationStepTemplateData = {
|
|
14248
|
+
body?: AudioClassificationInput;
|
|
14249
|
+
path?: never;
|
|
14250
|
+
query?: {
|
|
14251
|
+
experimental?: boolean;
|
|
14252
|
+
allowMatureContent?: boolean;
|
|
14253
|
+
whatif?: boolean;
|
|
14254
|
+
ephemeral?: boolean;
|
|
14255
|
+
/**
|
|
14256
|
+
* How a workflow is paid for.
|
|
14257
|
+
*/
|
|
14258
|
+
tier?: WorkflowTier;
|
|
14259
|
+
tags?: Array<string>;
|
|
14260
|
+
};
|
|
14261
|
+
url: '/v2/consumer/recipes/audioClassification';
|
|
14262
|
+
};
|
|
14263
|
+
export type InvokeAudioClassificationStepTemplateErrors = {
|
|
14264
|
+
/**
|
|
14265
|
+
* Bad Request
|
|
14266
|
+
*/
|
|
14267
|
+
400: ProblemDetails;
|
|
14268
|
+
/**
|
|
14269
|
+
* Unauthorized
|
|
14270
|
+
*/
|
|
14271
|
+
401: ProblemDetails;
|
|
14272
|
+
/**
|
|
14273
|
+
* Forbidden
|
|
14274
|
+
*/
|
|
14275
|
+
403: ProblemDetails;
|
|
14276
|
+
};
|
|
14277
|
+
export type InvokeAudioClassificationStepTemplateError =
|
|
14278
|
+
InvokeAudioClassificationStepTemplateErrors[keyof InvokeAudioClassificationStepTemplateErrors];
|
|
14279
|
+
export type InvokeAudioClassificationStepTemplateResponses = {
|
|
14280
|
+
/**
|
|
14281
|
+
* OK
|
|
14282
|
+
*/
|
|
14283
|
+
200: AudioClassificationOutput;
|
|
14284
|
+
};
|
|
14285
|
+
export type InvokeAudioClassificationStepTemplateResponse =
|
|
14286
|
+
InvokeAudioClassificationStepTemplateResponses[keyof InvokeAudioClassificationStepTemplateResponses];
|
|
14287
|
+
export type InvokeAudioModerationStepTemplateData = {
|
|
14288
|
+
body?: AudioModerationInput;
|
|
14289
|
+
path?: never;
|
|
14290
|
+
query?: {
|
|
14291
|
+
experimental?: boolean;
|
|
14292
|
+
allowMatureContent?: boolean;
|
|
14293
|
+
whatif?: boolean;
|
|
14294
|
+
ephemeral?: boolean;
|
|
14295
|
+
/**
|
|
14296
|
+
* How a workflow is paid for.
|
|
14297
|
+
*/
|
|
14298
|
+
tier?: WorkflowTier;
|
|
14299
|
+
tags?: Array<string>;
|
|
14300
|
+
};
|
|
14301
|
+
url: '/v2/consumer/recipes/audioModeration';
|
|
14302
|
+
};
|
|
14303
|
+
export type InvokeAudioModerationStepTemplateErrors = {
|
|
14304
|
+
/**
|
|
14305
|
+
* Bad Request
|
|
14306
|
+
*/
|
|
14307
|
+
400: ProblemDetails;
|
|
14308
|
+
/**
|
|
14309
|
+
* Unauthorized
|
|
14310
|
+
*/
|
|
14311
|
+
401: ProblemDetails;
|
|
14312
|
+
/**
|
|
14313
|
+
* Forbidden
|
|
14314
|
+
*/
|
|
14315
|
+
403: ProblemDetails;
|
|
14316
|
+
};
|
|
14317
|
+
export type InvokeAudioModerationStepTemplateError =
|
|
14318
|
+
InvokeAudioModerationStepTemplateErrors[keyof InvokeAudioModerationStepTemplateErrors];
|
|
14319
|
+
export type InvokeAudioModerationStepTemplateResponses = {
|
|
14320
|
+
/**
|
|
14321
|
+
* OK
|
|
14322
|
+
*/
|
|
14323
|
+
200: AudioModerationOutput;
|
|
14324
|
+
};
|
|
14325
|
+
export type InvokeAudioModerationStepTemplateResponse =
|
|
14326
|
+
InvokeAudioModerationStepTemplateResponses[keyof InvokeAudioModerationStepTemplateResponses];
|
|
14327
|
+
export type InvokeAudioTextModerationStepTemplateData = {
|
|
14328
|
+
body?: AudioTextModerationInput;
|
|
14329
|
+
path?: never;
|
|
14330
|
+
query?: {
|
|
14331
|
+
experimental?: boolean;
|
|
14332
|
+
allowMatureContent?: boolean;
|
|
14333
|
+
whatif?: boolean;
|
|
14334
|
+
ephemeral?: boolean;
|
|
14335
|
+
/**
|
|
14336
|
+
* How a workflow is paid for.
|
|
14337
|
+
*/
|
|
14338
|
+
tier?: WorkflowTier;
|
|
14339
|
+
tags?: Array<string>;
|
|
14340
|
+
};
|
|
14341
|
+
url: '/v2/consumer/recipes/audioTextModeration';
|
|
14342
|
+
};
|
|
14343
|
+
export type InvokeAudioTextModerationStepTemplateErrors = {
|
|
14344
|
+
/**
|
|
14345
|
+
* Bad Request
|
|
14346
|
+
*/
|
|
14347
|
+
400: ProblemDetails;
|
|
14348
|
+
/**
|
|
14349
|
+
* Unauthorized
|
|
14350
|
+
*/
|
|
14351
|
+
401: ProblemDetails;
|
|
14352
|
+
/**
|
|
14353
|
+
* Forbidden
|
|
14354
|
+
*/
|
|
14355
|
+
403: ProblemDetails;
|
|
14356
|
+
};
|
|
14357
|
+
export type InvokeAudioTextModerationStepTemplateError =
|
|
14358
|
+
InvokeAudioTextModerationStepTemplateErrors[keyof InvokeAudioTextModerationStepTemplateErrors];
|
|
14359
|
+
export type InvokeAudioTextModerationStepTemplateResponses = {
|
|
14360
|
+
/**
|
|
14361
|
+
* OK
|
|
14362
|
+
*/
|
|
14363
|
+
200: AudioTextModerationOutput;
|
|
14364
|
+
};
|
|
14365
|
+
export type InvokeAudioTextModerationStepTemplateResponse =
|
|
14366
|
+
InvokeAudioTextModerationStepTemplateResponses[keyof InvokeAudioTextModerationStepTemplateResponses];
|
|
13168
14367
|
export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
|
|
13169
14368
|
body?: BatchOcrSafetyClassificationInput;
|
|
13170
14369
|
path?: never;
|
|
@@ -13177,6 +14376,7 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
|
|
|
13177
14376
|
* How a workflow is paid for.
|
|
13178
14377
|
*/
|
|
13179
14378
|
tier?: WorkflowTier;
|
|
14379
|
+
tags?: Array<string>;
|
|
13180
14380
|
};
|
|
13181
14381
|
url: '/v2/consumer/recipes/batchOCRSafetyClassification';
|
|
13182
14382
|
};
|
|
@@ -13216,6 +14416,7 @@ export type InvokeBlobArchiveStepTemplateData = {
|
|
|
13216
14416
|
* How a workflow is paid for.
|
|
13217
14417
|
*/
|
|
13218
14418
|
tier?: WorkflowTier;
|
|
14419
|
+
tags?: Array<string>;
|
|
13219
14420
|
};
|
|
13220
14421
|
url: '/v2/consumer/recipes/blobArchive';
|
|
13221
14422
|
};
|
|
@@ -13244,6 +14445,9 @@ export type InvokeBlobArchiveStepTemplateResponses = {
|
|
|
13244
14445
|
export type InvokeBlobArchiveStepTemplateResponse =
|
|
13245
14446
|
InvokeBlobArchiveStepTemplateResponses[keyof InvokeBlobArchiveStepTemplateResponses];
|
|
13246
14447
|
export type InvokeChatCompletionStepTemplateData = {
|
|
14448
|
+
/**
|
|
14449
|
+
* Input for a chat completion step, compatible with OpenAI Chat Completions API.
|
|
14450
|
+
*/
|
|
13247
14451
|
body?: ChatCompletionInput;
|
|
13248
14452
|
path?: never;
|
|
13249
14453
|
query?: {
|
|
@@ -13255,6 +14459,7 @@ export type InvokeChatCompletionStepTemplateData = {
|
|
|
13255
14459
|
* How a workflow is paid for.
|
|
13256
14460
|
*/
|
|
13257
14461
|
tier?: WorkflowTier;
|
|
14462
|
+
tags?: Array<string>;
|
|
13258
14463
|
};
|
|
13259
14464
|
url: '/v2/consumer/recipes/chatCompletion';
|
|
13260
14465
|
};
|
|
@@ -13294,6 +14499,7 @@ export type InvokeComfyStepTemplateData = {
|
|
|
13294
14499
|
* How a workflow is paid for.
|
|
13295
14500
|
*/
|
|
13296
14501
|
tier?: WorkflowTier;
|
|
14502
|
+
tags?: Array<string>;
|
|
13297
14503
|
};
|
|
13298
14504
|
url: '/v2/consumer/recipes/comfy';
|
|
13299
14505
|
};
|
|
@@ -13322,6 +14528,10 @@ export type InvokeComfyStepTemplateResponses = {
|
|
|
13322
14528
|
export type InvokeComfyStepTemplateResponse =
|
|
13323
14529
|
InvokeComfyStepTemplateResponses[keyof InvokeComfyStepTemplateResponses];
|
|
13324
14530
|
export type InvokeComfyNodepackSnapshotStepTemplateData = {
|
|
14531
|
+
/**
|
|
14532
|
+
* Installs ComfyUI custom nodepacks on a comfy image and captures the resolved install and editor metadata as
|
|
14533
|
+
* reusable blobs. Runs on a real worker so compiled deps match the fleet the consumer will run on.
|
|
14534
|
+
*/
|
|
13325
14535
|
body?: ComfyNodepackSnapshotInput;
|
|
13326
14536
|
path?: never;
|
|
13327
14537
|
query?: {
|
|
@@ -13333,6 +14543,7 @@ export type InvokeComfyNodepackSnapshotStepTemplateData = {
|
|
|
13333
14543
|
* How a workflow is paid for.
|
|
13334
14544
|
*/
|
|
13335
14545
|
tier?: WorkflowTier;
|
|
14546
|
+
tags?: Array<string>;
|
|
13336
14547
|
};
|
|
13337
14548
|
url: '/v2/consumer/recipes/comfyNodepackSnapshot';
|
|
13338
14549
|
};
|
|
@@ -13354,7 +14565,8 @@ export type InvokeComfyNodepackSnapshotStepTemplateError =
|
|
|
13354
14565
|
InvokeComfyNodepackSnapshotStepTemplateErrors[keyof InvokeComfyNodepackSnapshotStepTemplateErrors];
|
|
13355
14566
|
export type InvokeComfyNodepackSnapshotStepTemplateResponses = {
|
|
13356
14567
|
/**
|
|
13357
|
-
*
|
|
14568
|
+
* One result per installed pack, each carrying the captured install layer, full /object_info and web assets as
|
|
14569
|
+
* blobs that consumers read directly from orchestrator blob storage.
|
|
13358
14570
|
*/
|
|
13359
14571
|
200: ComfyNodepackSnapshotOutput;
|
|
13360
14572
|
};
|
|
@@ -13372,6 +14584,7 @@ export type InvokeComposeMediaStepTemplateData = {
|
|
|
13372
14584
|
* How a workflow is paid for.
|
|
13373
14585
|
*/
|
|
13374
14586
|
tier?: WorkflowTier;
|
|
14587
|
+
tags?: Array<string>;
|
|
13375
14588
|
};
|
|
13376
14589
|
url: '/v2/consumer/recipes/composeMedia';
|
|
13377
14590
|
};
|
|
@@ -13411,6 +14624,7 @@ export type InvokeConvertImageStepTemplateData = {
|
|
|
13411
14624
|
* How a workflow is paid for.
|
|
13412
14625
|
*/
|
|
13413
14626
|
tier?: WorkflowTier;
|
|
14627
|
+
tags?: Array<string>;
|
|
13414
14628
|
};
|
|
13415
14629
|
url: '/v2/consumer/recipes/convertImage';
|
|
13416
14630
|
};
|
|
@@ -13450,6 +14664,7 @@ export type InvokeCustomComfyStepTemplateData = {
|
|
|
13450
14664
|
* How a workflow is paid for.
|
|
13451
14665
|
*/
|
|
13452
14666
|
tier?: WorkflowTier;
|
|
14667
|
+
tags?: Array<string>;
|
|
13453
14668
|
};
|
|
13454
14669
|
url: '/v2/consumer/recipes/customComfy';
|
|
13455
14670
|
};
|
|
@@ -13489,6 +14704,7 @@ export type InvokeEchoStepTemplateData = {
|
|
|
13489
14704
|
* How a workflow is paid for.
|
|
13490
14705
|
*/
|
|
13491
14706
|
tier?: WorkflowTier;
|
|
14707
|
+
tags?: Array<string>;
|
|
13492
14708
|
};
|
|
13493
14709
|
url: '/v2/consumer/recipes/echo';
|
|
13494
14710
|
};
|
|
@@ -13528,6 +14744,7 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
|
|
|
13528
14744
|
* How a workflow is paid for.
|
|
13529
14745
|
*/
|
|
13530
14746
|
tier?: WorkflowTier;
|
|
14747
|
+
tags?: Array<string>;
|
|
13531
14748
|
};
|
|
13532
14749
|
url: '/v2/consumer/recipes/humanoidImageMask';
|
|
13533
14750
|
};
|
|
@@ -13567,6 +14784,7 @@ export type InvokeImageBackgroundRemovalStepTemplateData = {
|
|
|
13567
14784
|
* How a workflow is paid for.
|
|
13568
14785
|
*/
|
|
13569
14786
|
tier?: WorkflowTier;
|
|
14787
|
+
tags?: Array<string>;
|
|
13570
14788
|
};
|
|
13571
14789
|
url: '/v2/consumer/recipes/imageBackgroundRemoval';
|
|
13572
14790
|
};
|
|
@@ -13606,6 +14824,7 @@ export type InvokeImageGenStepTemplateData = {
|
|
|
13606
14824
|
* How a workflow is paid for.
|
|
13607
14825
|
*/
|
|
13608
14826
|
tier?: WorkflowTier;
|
|
14827
|
+
tags?: Array<string>;
|
|
13609
14828
|
};
|
|
13610
14829
|
url: '/v2/consumer/recipes/imageGen';
|
|
13611
14830
|
};
|
|
@@ -13645,6 +14864,7 @@ export type InvokeImageResourceTrainingStepTemplateData = {
|
|
|
13645
14864
|
* How a workflow is paid for.
|
|
13646
14865
|
*/
|
|
13647
14866
|
tier?: WorkflowTier;
|
|
14867
|
+
tags?: Array<string>;
|
|
13648
14868
|
};
|
|
13649
14869
|
url: '/v2/consumer/recipes/imageResourceTraining';
|
|
13650
14870
|
};
|
|
@@ -13684,6 +14904,7 @@ export type InvokeImageScanningStepTemplateData = {
|
|
|
13684
14904
|
* How a workflow is paid for.
|
|
13685
14905
|
*/
|
|
13686
14906
|
tier?: WorkflowTier;
|
|
14907
|
+
tags?: Array<string>;
|
|
13687
14908
|
};
|
|
13688
14909
|
url: '/v2/consumer/recipes/imageScanning';
|
|
13689
14910
|
};
|
|
@@ -13723,6 +14944,7 @@ export type InvokeImageToSvgStepTemplateData = {
|
|
|
13723
14944
|
* How a workflow is paid for.
|
|
13724
14945
|
*/
|
|
13725
14946
|
tier?: WorkflowTier;
|
|
14947
|
+
tags?: Array<string>;
|
|
13726
14948
|
};
|
|
13727
14949
|
url: '/v2/consumer/recipes/imageToSvg';
|
|
13728
14950
|
};
|
|
@@ -13762,6 +14984,7 @@ export type InvokeImageUploadStepTemplateData = {
|
|
|
13762
14984
|
* How a workflow is paid for.
|
|
13763
14985
|
*/
|
|
13764
14986
|
tier?: WorkflowTier;
|
|
14987
|
+
tags?: Array<string>;
|
|
13765
14988
|
};
|
|
13766
14989
|
url: '/v2/consumer/recipes/imageUpload';
|
|
13767
14990
|
};
|
|
@@ -13801,6 +15024,7 @@ export type InvokeImageUpscalerStepTemplateData = {
|
|
|
13801
15024
|
* How a workflow is paid for.
|
|
13802
15025
|
*/
|
|
13803
15026
|
tier?: WorkflowTier;
|
|
15027
|
+
tags?: Array<string>;
|
|
13804
15028
|
};
|
|
13805
15029
|
url: '/v2/consumer/recipes/imageUpscaler';
|
|
13806
15030
|
};
|
|
@@ -13829,6 +15053,9 @@ export type InvokeImageUpscalerStepTemplateResponses = {
|
|
|
13829
15053
|
export type InvokeImageUpscalerStepTemplateResponse =
|
|
13830
15054
|
InvokeImageUpscalerStepTemplateResponses[keyof InvokeImageUpscalerStepTemplateResponses];
|
|
13831
15055
|
export type InvokeLiveTextToSpeechStepTemplateData = {
|
|
15056
|
+
/**
|
|
15057
|
+
* Mirrors `textToSpeech` inputs, but only for voices proven to stream with low first-audio latency.
|
|
15058
|
+
*/
|
|
13832
15059
|
body?: LiveTextToSpeechInput;
|
|
13833
15060
|
path?: never;
|
|
13834
15061
|
query?: {
|
|
@@ -13840,6 +15067,7 @@ export type InvokeLiveTextToSpeechStepTemplateData = {
|
|
|
13840
15067
|
* How a workflow is paid for.
|
|
13841
15068
|
*/
|
|
13842
15069
|
tier?: WorkflowTier;
|
|
15070
|
+
tags?: Array<string>;
|
|
13843
15071
|
};
|
|
13844
15072
|
url: '/v2/consumer/recipes/liveTextToSpeech';
|
|
13845
15073
|
};
|
|
@@ -13879,6 +15107,7 @@ export type InvokeLiveTranscriptionStepTemplateData = {
|
|
|
13879
15107
|
* How a workflow is paid for.
|
|
13880
15108
|
*/
|
|
13881
15109
|
tier?: WorkflowTier;
|
|
15110
|
+
tags?: Array<string>;
|
|
13882
15111
|
};
|
|
13883
15112
|
url: '/v2/consumer/recipes/liveTranscription';
|
|
13884
15113
|
};
|
|
@@ -13918,6 +15147,7 @@ export type InvokeMediaCaptioningStepTemplateData = {
|
|
|
13918
15147
|
* How a workflow is paid for.
|
|
13919
15148
|
*/
|
|
13920
15149
|
tier?: WorkflowTier;
|
|
15150
|
+
tags?: Array<string>;
|
|
13921
15151
|
};
|
|
13922
15152
|
url: '/v2/consumer/recipes/mediaCaptioning';
|
|
13923
15153
|
};
|
|
@@ -13957,6 +15187,7 @@ export type InvokeMediaHashStepTemplateData = {
|
|
|
13957
15187
|
* How a workflow is paid for.
|
|
13958
15188
|
*/
|
|
13959
15189
|
tier?: WorkflowTier;
|
|
15190
|
+
tags?: Array<string>;
|
|
13960
15191
|
};
|
|
13961
15192
|
url: '/v2/consumer/recipes/mediaHash';
|
|
13962
15193
|
};
|
|
@@ -13996,6 +15227,7 @@ export type InvokeMediaRatingStepTemplateData = {
|
|
|
13996
15227
|
* How a workflow is paid for.
|
|
13997
15228
|
*/
|
|
13998
15229
|
tier?: WorkflowTier;
|
|
15230
|
+
tags?: Array<string>;
|
|
13999
15231
|
};
|
|
14000
15232
|
url: '/v2/consumer/recipes/mediaRating';
|
|
14001
15233
|
};
|
|
@@ -14035,6 +15267,7 @@ export type InvokeMergeStepTemplateData = {
|
|
|
14035
15267
|
* How a workflow is paid for.
|
|
14036
15268
|
*/
|
|
14037
15269
|
tier?: WorkflowTier;
|
|
15270
|
+
tags?: Array<string>;
|
|
14038
15271
|
};
|
|
14039
15272
|
url: '/v2/consumer/recipes/merge';
|
|
14040
15273
|
};
|
|
@@ -14074,6 +15307,7 @@ export type InvokeMiniMaxMusic3StepTemplateData = {
|
|
|
14074
15307
|
* How a workflow is paid for.
|
|
14075
15308
|
*/
|
|
14076
15309
|
tier?: WorkflowTier;
|
|
15310
|
+
tags?: Array<string>;
|
|
14077
15311
|
};
|
|
14078
15312
|
url: '/v2/consumer/recipes/miniMaxMusic3';
|
|
14079
15313
|
};
|
|
@@ -14113,6 +15347,7 @@ export type InvokeModel3dPreviewStepTemplateData = {
|
|
|
14113
15347
|
* How a workflow is paid for.
|
|
14114
15348
|
*/
|
|
14115
15349
|
tier?: WorkflowTier;
|
|
15350
|
+
tags?: Array<string>;
|
|
14116
15351
|
};
|
|
14117
15352
|
url: '/v2/consumer/recipes/model3DPreview';
|
|
14118
15353
|
};
|
|
@@ -14152,6 +15387,7 @@ export type InvokeModelClamScanStepTemplateData = {
|
|
|
14152
15387
|
* How a workflow is paid for.
|
|
14153
15388
|
*/
|
|
14154
15389
|
tier?: WorkflowTier;
|
|
15390
|
+
tags?: Array<string>;
|
|
14155
15391
|
};
|
|
14156
15392
|
url: '/v2/consumer/recipes/modelClamScan';
|
|
14157
15393
|
};
|
|
@@ -14191,6 +15427,7 @@ export type InvokeModelHashStepTemplateData = {
|
|
|
14191
15427
|
* How a workflow is paid for.
|
|
14192
15428
|
*/
|
|
14193
15429
|
tier?: WorkflowTier;
|
|
15430
|
+
tags?: Array<string>;
|
|
14194
15431
|
};
|
|
14195
15432
|
url: '/v2/consumer/recipes/modelHash';
|
|
14196
15433
|
};
|
|
@@ -14230,6 +15467,7 @@ export type InvokeModelParseMetadataStepTemplateData = {
|
|
|
14230
15467
|
* How a workflow is paid for.
|
|
14231
15468
|
*/
|
|
14232
15469
|
tier?: WorkflowTier;
|
|
15470
|
+
tags?: Array<string>;
|
|
14233
15471
|
};
|
|
14234
15472
|
url: '/v2/consumer/recipes/modelParseMetadata';
|
|
14235
15473
|
};
|
|
@@ -14269,6 +15507,7 @@ export type InvokeModelPickleScanStepTemplateData = {
|
|
|
14269
15507
|
* How a workflow is paid for.
|
|
14270
15508
|
*/
|
|
14271
15509
|
tier?: WorkflowTier;
|
|
15510
|
+
tags?: Array<string>;
|
|
14272
15511
|
};
|
|
14273
15512
|
url: '/v2/consumer/recipes/modelPickleScan';
|
|
14274
15513
|
};
|
|
@@ -14296,6 +15535,49 @@ export type InvokeModelPickleScanStepTemplateResponses = {
|
|
|
14296
15535
|
};
|
|
14297
15536
|
export type InvokeModelPickleScanStepTemplateResponse =
|
|
14298
15537
|
InvokeModelPickleScanStepTemplateResponses[keyof InvokeModelPickleScanStepTemplateResponses];
|
|
15538
|
+
export type InvokeMultimodalEmbeddingStepTemplateData = {
|
|
15539
|
+
/**
|
|
15540
|
+
* Exactly one of text, imageUrl or videoUrl.
|
|
15541
|
+
*/
|
|
15542
|
+
body?: MultimodalEmbeddingStepInput;
|
|
15543
|
+
path?: never;
|
|
15544
|
+
query?: {
|
|
15545
|
+
experimental?: boolean;
|
|
15546
|
+
allowMatureContent?: boolean;
|
|
15547
|
+
whatif?: boolean;
|
|
15548
|
+
ephemeral?: boolean;
|
|
15549
|
+
/**
|
|
15550
|
+
* How a workflow is paid for.
|
|
15551
|
+
*/
|
|
15552
|
+
tier?: WorkflowTier;
|
|
15553
|
+
tags?: Array<string>;
|
|
15554
|
+
};
|
|
15555
|
+
url: '/v2/consumer/recipes/multimodalEmbedding';
|
|
15556
|
+
};
|
|
15557
|
+
export type InvokeMultimodalEmbeddingStepTemplateErrors = {
|
|
15558
|
+
/**
|
|
15559
|
+
* Bad Request
|
|
15560
|
+
*/
|
|
15561
|
+
400: ProblemDetails;
|
|
15562
|
+
/**
|
|
15563
|
+
* Unauthorized
|
|
15564
|
+
*/
|
|
15565
|
+
401: ProblemDetails;
|
|
15566
|
+
/**
|
|
15567
|
+
* Forbidden
|
|
15568
|
+
*/
|
|
15569
|
+
403: ProblemDetails;
|
|
15570
|
+
};
|
|
15571
|
+
export type InvokeMultimodalEmbeddingStepTemplateError =
|
|
15572
|
+
InvokeMultimodalEmbeddingStepTemplateErrors[keyof InvokeMultimodalEmbeddingStepTemplateErrors];
|
|
15573
|
+
export type InvokeMultimodalEmbeddingStepTemplateResponses = {
|
|
15574
|
+
/**
|
|
15575
|
+
* OK
|
|
15576
|
+
*/
|
|
15577
|
+
200: MultimodalEmbeddingStepOutput;
|
|
15578
|
+
};
|
|
15579
|
+
export type InvokeMultimodalEmbeddingStepTemplateResponse =
|
|
15580
|
+
InvokeMultimodalEmbeddingStepTemplateResponses[keyof InvokeMultimodalEmbeddingStepTemplateResponses];
|
|
14299
15581
|
export type InvokePolyGenStepTemplateData = {
|
|
14300
15582
|
body?: PolyGenInput;
|
|
14301
15583
|
path?: never;
|
|
@@ -14308,6 +15590,7 @@ export type InvokePolyGenStepTemplateData = {
|
|
|
14308
15590
|
* How a workflow is paid for.
|
|
14309
15591
|
*/
|
|
14310
15592
|
tier?: WorkflowTier;
|
|
15593
|
+
tags?: Array<string>;
|
|
14311
15594
|
};
|
|
14312
15595
|
url: '/v2/consumer/recipes/polyGen';
|
|
14313
15596
|
};
|
|
@@ -14347,6 +15630,7 @@ export type InvokePrepareResourceStepTemplateData = {
|
|
|
14347
15630
|
* How a workflow is paid for.
|
|
14348
15631
|
*/
|
|
14349
15632
|
tier?: WorkflowTier;
|
|
15633
|
+
tags?: Array<string>;
|
|
14350
15634
|
};
|
|
14351
15635
|
url: '/v2/consumer/recipes/prepareResource';
|
|
14352
15636
|
};
|
|
@@ -14386,6 +15670,7 @@ export type InvokePreprocessImageStepTemplateData = {
|
|
|
14386
15670
|
* How a workflow is paid for.
|
|
14387
15671
|
*/
|
|
14388
15672
|
tier?: WorkflowTier;
|
|
15673
|
+
tags?: Array<string>;
|
|
14389
15674
|
};
|
|
14390
15675
|
url: '/v2/consumer/recipes/preprocessImage';
|
|
14391
15676
|
};
|
|
@@ -14425,6 +15710,7 @@ export type InvokePreprocessVideoStepTemplateData = {
|
|
|
14425
15710
|
* How a workflow is paid for.
|
|
14426
15711
|
*/
|
|
14427
15712
|
tier?: WorkflowTier;
|
|
15713
|
+
tags?: Array<string>;
|
|
14428
15714
|
};
|
|
14429
15715
|
url: '/v2/consumer/recipes/preprocessVideo';
|
|
14430
15716
|
};
|
|
@@ -14464,6 +15750,7 @@ export type InvokePromptEnhancementStepTemplateData = {
|
|
|
14464
15750
|
* How a workflow is paid for.
|
|
14465
15751
|
*/
|
|
14466
15752
|
tier?: WorkflowTier;
|
|
15753
|
+
tags?: Array<string>;
|
|
14467
15754
|
};
|
|
14468
15755
|
url: '/v2/consumer/recipes/promptEnhancement';
|
|
14469
15756
|
};
|
|
@@ -14503,6 +15790,7 @@ export type InvokePromptModerationStepTemplateData = {
|
|
|
14503
15790
|
* How a workflow is paid for.
|
|
14504
15791
|
*/
|
|
14505
15792
|
tier?: WorkflowTier;
|
|
15793
|
+
tags?: Array<string>;
|
|
14506
15794
|
};
|
|
14507
15795
|
url: '/v2/consumer/recipes/promptModeration';
|
|
14508
15796
|
};
|
|
@@ -14542,6 +15830,7 @@ export type InvokeQwenImageBenchStepTemplateData = {
|
|
|
14542
15830
|
* How a workflow is paid for.
|
|
14543
15831
|
*/
|
|
14544
15832
|
tier?: WorkflowTier;
|
|
15833
|
+
tags?: Array<string>;
|
|
14545
15834
|
};
|
|
14546
15835
|
url: '/v2/consumer/recipes/qwenImageBench';
|
|
14547
15836
|
};
|
|
@@ -14581,6 +15870,7 @@ export type InvokeRepeatStepTemplateData = {
|
|
|
14581
15870
|
* How a workflow is paid for.
|
|
14582
15871
|
*/
|
|
14583
15872
|
tier?: WorkflowTier;
|
|
15873
|
+
tags?: Array<string>;
|
|
14584
15874
|
};
|
|
14585
15875
|
url: '/v2/consumer/recipes/repeat';
|
|
14586
15876
|
};
|
|
@@ -14620,6 +15910,7 @@ export type InvokeShieldstralModerationStepTemplateData = {
|
|
|
14620
15910
|
* How a workflow is paid for.
|
|
14621
15911
|
*/
|
|
14622
15912
|
tier?: WorkflowTier;
|
|
15913
|
+
tags?: Array<string>;
|
|
14623
15914
|
};
|
|
14624
15915
|
url: '/v2/consumer/recipes/shieldstralModeration';
|
|
14625
15916
|
};
|
|
@@ -14648,6 +15939,9 @@ export type InvokeShieldstralModerationStepTemplateResponses = {
|
|
|
14648
15939
|
export type InvokeShieldstralModerationStepTemplateResponse =
|
|
14649
15940
|
InvokeShieldstralModerationStepTemplateResponses[keyof InvokeShieldstralModerationStepTemplateResponses];
|
|
14650
15941
|
export type InvokeSoniloAudioGenStepTemplateData = {
|
|
15942
|
+
/**
|
|
15943
|
+
* Text-to-audio via Sonilo; `operation` picks music or a standalone sound effect.
|
|
15944
|
+
*/
|
|
14651
15945
|
body?: SoniloAudioGenInput;
|
|
14652
15946
|
path?: never;
|
|
14653
15947
|
query?: {
|
|
@@ -14659,6 +15953,7 @@ export type InvokeSoniloAudioGenStepTemplateData = {
|
|
|
14659
15953
|
* How a workflow is paid for.
|
|
14660
15954
|
*/
|
|
14661
15955
|
tier?: WorkflowTier;
|
|
15956
|
+
tags?: Array<string>;
|
|
14662
15957
|
};
|
|
14663
15958
|
url: '/v2/consumer/recipes/soniloAudioGen';
|
|
14664
15959
|
};
|
|
@@ -14698,6 +15993,7 @@ export type InvokeTextToImageStepTemplateData = {
|
|
|
14698
15993
|
* How a workflow is paid for.
|
|
14699
15994
|
*/
|
|
14700
15995
|
tier?: WorkflowTier;
|
|
15996
|
+
tags?: Array<string>;
|
|
14701
15997
|
};
|
|
14702
15998
|
url: '/v2/consumer/recipes/textToImage';
|
|
14703
15999
|
};
|
|
@@ -14737,6 +16033,7 @@ export type InvokeTextToSpeechStepTemplateData = {
|
|
|
14737
16033
|
* How a workflow is paid for.
|
|
14738
16034
|
*/
|
|
14739
16035
|
tier?: WorkflowTier;
|
|
16036
|
+
tags?: Array<string>;
|
|
14740
16037
|
};
|
|
14741
16038
|
url: '/v2/consumer/recipes/textToSpeech';
|
|
14742
16039
|
};
|
|
@@ -14776,6 +16073,7 @@ export type InvokeTrainingStepTemplateData = {
|
|
|
14776
16073
|
* How a workflow is paid for.
|
|
14777
16074
|
*/
|
|
14778
16075
|
tier?: WorkflowTier;
|
|
16076
|
+
tags?: Array<string>;
|
|
14779
16077
|
};
|
|
14780
16078
|
url: '/v2/consumer/recipes/training';
|
|
14781
16079
|
};
|
|
@@ -14815,6 +16113,7 @@ export type InvokeTranscodeStepTemplateData = {
|
|
|
14815
16113
|
* How a workflow is paid for.
|
|
14816
16114
|
*/
|
|
14817
16115
|
tier?: WorkflowTier;
|
|
16116
|
+
tags?: Array<string>;
|
|
14818
16117
|
};
|
|
14819
16118
|
url: '/v2/consumer/recipes/transcode';
|
|
14820
16119
|
};
|
|
@@ -14854,6 +16153,7 @@ export type InvokeTranscriptionStepTemplateData = {
|
|
|
14854
16153
|
* How a workflow is paid for.
|
|
14855
16154
|
*/
|
|
14856
16155
|
tier?: WorkflowTier;
|
|
16156
|
+
tags?: Array<string>;
|
|
14857
16157
|
};
|
|
14858
16158
|
url: '/v2/consumer/recipes/transcription';
|
|
14859
16159
|
};
|
|
@@ -14893,6 +16193,7 @@ export type InvokeTryOnUStepTemplateData = {
|
|
|
14893
16193
|
* How a workflow is paid for.
|
|
14894
16194
|
*/
|
|
14895
16195
|
tier?: WorkflowTier;
|
|
16196
|
+
tags?: Array<string>;
|
|
14896
16197
|
};
|
|
14897
16198
|
url: '/v2/consumer/recipes/tryOnU';
|
|
14898
16199
|
};
|
|
@@ -14932,6 +16233,7 @@ export type InvokeVideoBackgroundRemovalStepTemplateData = {
|
|
|
14932
16233
|
* How a workflow is paid for.
|
|
14933
16234
|
*/
|
|
14934
16235
|
tier?: WorkflowTier;
|
|
16236
|
+
tags?: Array<string>;
|
|
14935
16237
|
};
|
|
14936
16238
|
url: '/v2/consumer/recipes/videoBackgroundRemoval';
|
|
14937
16239
|
};
|
|
@@ -14971,6 +16273,7 @@ export type InvokeVideoEnhancementStepTemplateData = {
|
|
|
14971
16273
|
* How a workflow is paid for.
|
|
14972
16274
|
*/
|
|
14973
16275
|
tier?: WorkflowTier;
|
|
16276
|
+
tags?: Array<string>;
|
|
14974
16277
|
};
|
|
14975
16278
|
url: '/v2/consumer/recipes/videoEnhancement';
|
|
14976
16279
|
};
|
|
@@ -15010,6 +16313,7 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
|
|
|
15010
16313
|
* How a workflow is paid for.
|
|
15011
16314
|
*/
|
|
15012
16315
|
tier?: WorkflowTier;
|
|
16316
|
+
tags?: Array<string>;
|
|
15013
16317
|
};
|
|
15014
16318
|
url: '/v2/consumer/recipes/videoFrameExtraction';
|
|
15015
16319
|
};
|
|
@@ -15049,6 +16353,7 @@ export type InvokeVideoGenStepTemplateData = {
|
|
|
15049
16353
|
* How a workflow is paid for.
|
|
15050
16354
|
*/
|
|
15051
16355
|
tier?: WorkflowTier;
|
|
16356
|
+
tags?: Array<string>;
|
|
15052
16357
|
};
|
|
15053
16358
|
url: '/v2/consumer/recipes/videoGen';
|
|
15054
16359
|
};
|
|
@@ -15088,6 +16393,7 @@ export type InvokeVideoInterpolationStepTemplateData = {
|
|
|
15088
16393
|
* How a workflow is paid for.
|
|
15089
16394
|
*/
|
|
15090
16395
|
tier?: WorkflowTier;
|
|
16396
|
+
tags?: Array<string>;
|
|
15091
16397
|
};
|
|
15092
16398
|
url: '/v2/consumer/recipes/videoInterpolation';
|
|
15093
16399
|
};
|
|
@@ -15127,6 +16433,7 @@ export type InvokeVideoMetadataStepTemplateData = {
|
|
|
15127
16433
|
* How a workflow is paid for.
|
|
15128
16434
|
*/
|
|
15129
16435
|
tier?: WorkflowTier;
|
|
16436
|
+
tags?: Array<string>;
|
|
15130
16437
|
};
|
|
15131
16438
|
url: '/v2/consumer/recipes/videoMetadata';
|
|
15132
16439
|
};
|
|
@@ -15166,6 +16473,7 @@ export type InvokeVideoUpscalerStepTemplateData = {
|
|
|
15166
16473
|
* How a workflow is paid for.
|
|
15167
16474
|
*/
|
|
15168
16475
|
tier?: WorkflowTier;
|
|
16476
|
+
tags?: Array<string>;
|
|
15169
16477
|
};
|
|
15170
16478
|
url: '/v2/consumer/recipes/videoUpscaler';
|
|
15171
16479
|
};
|
|
@@ -15205,6 +16513,7 @@ export type InvokeWdTaggingStepTemplateData = {
|
|
|
15205
16513
|
* How a workflow is paid for.
|
|
15206
16514
|
*/
|
|
15207
16515
|
tier?: WorkflowTier;
|
|
16516
|
+
tags?: Array<string>;
|
|
15208
16517
|
};
|
|
15209
16518
|
url: '/v2/consumer/recipes/wdTagging';
|
|
15210
16519
|
};
|
|
@@ -15244,6 +16553,7 @@ export type InvokeWebScrapeStepTemplateData = {
|
|
|
15244
16553
|
* How a workflow is paid for.
|
|
15245
16554
|
*/
|
|
15246
16555
|
tier?: WorkflowTier;
|
|
16556
|
+
tags?: Array<string>;
|
|
15247
16557
|
};
|
|
15248
16558
|
url: '/v2/consumer/recipes/webScrape';
|
|
15249
16559
|
};
|
|
@@ -15283,6 +16593,7 @@ export type InvokeWebSearchStepTemplateData = {
|
|
|
15283
16593
|
* How a workflow is paid for.
|
|
15284
16594
|
*/
|
|
15285
16595
|
tier?: WorkflowTier;
|
|
16596
|
+
tags?: Array<string>;
|
|
15286
16597
|
};
|
|
15287
16598
|
url: '/v2/consumer/recipes/webSearch';
|
|
15288
16599
|
};
|
|
@@ -15322,6 +16633,7 @@ export type InvokeXGuardModerationStepTemplateData = {
|
|
|
15322
16633
|
* How a workflow is paid for.
|
|
15323
16634
|
*/
|
|
15324
16635
|
tier?: WorkflowTier;
|
|
16636
|
+
tags?: Array<string>;
|
|
15325
16637
|
};
|
|
15326
16638
|
url: '/v2/consumer/recipes/xGuardModeration';
|
|
15327
16639
|
};
|
|
@@ -15350,6 +16662,9 @@ export type InvokeXGuardModerationStepTemplateResponses = {
|
|
|
15350
16662
|
export type InvokeXGuardModerationStepTemplateResponse =
|
|
15351
16663
|
InvokeXGuardModerationStepTemplateResponses[keyof InvokeXGuardModerationStepTemplateResponses];
|
|
15352
16664
|
export type InvokeYuE2StepTemplateData = {
|
|
16665
|
+
/**
|
|
16666
|
+
* YuE2 text-to-music generation with optional ABC score planning.
|
|
16667
|
+
*/
|
|
15353
16668
|
body?: YuE2Input;
|
|
15354
16669
|
path?: never;
|
|
15355
16670
|
query?: {
|
|
@@ -15361,6 +16676,7 @@ export type InvokeYuE2StepTemplateData = {
|
|
|
15361
16676
|
* How a workflow is paid for.
|
|
15362
16677
|
*/
|
|
15363
16678
|
tier?: WorkflowTier;
|
|
16679
|
+
tags?: Array<string>;
|
|
15364
16680
|
};
|
|
15365
16681
|
url: '/v2/consumer/recipes/yuE2';
|
|
15366
16682
|
};
|
|
@@ -15559,7 +16875,7 @@ export type GetServiceErrors = {
|
|
|
15559
16875
|
export type GetServiceError = GetServiceErrors[keyof GetServiceErrors];
|
|
15560
16876
|
export type GetServiceResponses = {
|
|
15561
16877
|
/**
|
|
15562
|
-
*
|
|
16878
|
+
* A service we offer.
|
|
15563
16879
|
*/
|
|
15564
16880
|
200: ServiceResponse;
|
|
15565
16881
|
};
|
|
@@ -15712,7 +17028,7 @@ export type SubmitWorkflowErrors = {
|
|
|
15712
17028
|
/**
|
|
15713
17029
|
* Bad Request
|
|
15714
17030
|
*/
|
|
15715
|
-
400:
|
|
17031
|
+
400: ValidationProblemDetails;
|
|
15716
17032
|
/**
|
|
15717
17033
|
* Unauthorized
|
|
15718
17034
|
*/
|
|
@@ -15720,7 +17036,7 @@ export type SubmitWorkflowErrors = {
|
|
|
15720
17036
|
/**
|
|
15721
17037
|
* Forbidden
|
|
15722
17038
|
*/
|
|
15723
|
-
403:
|
|
17039
|
+
403: ProblemDetails;
|
|
15724
17040
|
/**
|
|
15725
17041
|
* Too Many Requests
|
|
15726
17042
|
*/
|
|
@@ -15776,8 +17092,7 @@ export type GetWorkflowData = {
|
|
|
15776
17092
|
*/
|
|
15777
17093
|
wait?: number;
|
|
15778
17094
|
/**
|
|
15779
|
-
* What
|
|
15780
|
-
* final status, `change` as soon as its status or any of its steps changes.
|
|
17095
|
+
* What a held read of a workflow waits for before it returns.
|
|
15781
17096
|
*/
|
|
15782
17097
|
until?: WorkflowWaitUntil;
|
|
15783
17098
|
/**
|