@civitai/orchestration-client 0.2.0-beta.125 → 0.2.0

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.
@@ -564,6 +564,76 @@ export declare const AnylineMergeWith: {
564
564
  readonly MANGA_LINE: 'manga_line';
565
565
  };
566
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
+ };
567
637
  export declare const ArchiveFormat: {
568
638
  readonly ZIP: 'zip';
569
639
  readonly TAR: 'tar';
@@ -787,14 +857,11 @@ export type Blob = {
787
857
  nsfwLevel?: NsfwLevel;
788
858
  blockedReason?: null | string;
789
859
  /**
790
- * Deprecated: use Civitai.Orchestration.Grains.Workflows.Steps.Common.Blob.PublicUrl to tell a public blob. Get the storage tier holding this blob, when
791
- * one was declared. Null resolves to the private managed tier, falling back to the classic one for blobs
792
- * 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.
793
861
  */
794
862
  tier?: null | string;
795
863
  /**
796
- * The durable, unsigned url of a blob requested public, which a CDN can cache. Set as soon as the blob is
797
- * 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.
798
865
  */
799
866
  publicUrl?: null | string;
800
867
  };
@@ -860,6 +927,11 @@ export type BlobTrainingDataItem = {
860
927
  * Optional caption for this item, written as the trainer's sidecar caption file.
861
928
  */
862
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;
863
935
  };
864
936
  /**
865
937
  * Training data supplied as individually uploaded blobs (via POST /v2/consumer/blobs),
@@ -1625,6 +1697,9 @@ export type ComfyFlux2KleinEditImageInput = Omit<
1625
1697
  ComfyFlux2KleinImageGenInput,
1626
1698
  'engine' | 'ecosystem' | 'operation'
1627
1699
  > & {
1700
+ /**
1701
+ * Up to seven reference images, or four for the 9b and 9b-kv variants.
1702
+ */
1628
1703
  images?: Array<string>;
1629
1704
  operation: 'editImage';
1630
1705
  ecosystem: 'flux2Klein';
@@ -3440,6 +3515,10 @@ export type ConvertImageInput = {
3440
3515
  };
3441
3516
  export type ConvertImageOutput = {
3442
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>;
3443
3522
  };
3444
3523
  /**
3445
3524
  * A workflow step that converts images to different formats and applies optional transforms.
@@ -3647,6 +3726,11 @@ export type EchoStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
3647
3726
  input: EchoInput;
3648
3727
  $type: 'echo';
3649
3728
  };
3729
+ export declare const EmbeddingPrecision: {
3730
+ readonly FLOAT32: 'float32';
3731
+ readonly FLOAT16: 'float16';
3732
+ };
3733
+ export type EmbeddingPrecision = (typeof EmbeddingPrecision)[keyof typeof EmbeddingPrecision];
3650
3734
  export type EpochResult = {
3651
3735
  epochNumber: number;
3652
3736
  blobName: string;
@@ -4060,6 +4144,9 @@ export type Flux2KleinEditImageInput = Omit<
4060
4144
  Flux2KleinImageGenInput,
4061
4145
  'engine' | 'model' | 'operation'
4062
4146
  > & {
4147
+ /**
4148
+ * Up to seven reference images, or four for the 9b-kv variant.
4149
+ */
4063
4150
  images?: Array<string>;
4064
4151
  operation: 'editImage';
4065
4152
  model: 'klein';
@@ -4518,6 +4605,10 @@ export type FundResponse = {
4518
4605
  id: string;
4519
4606
  allowMatureContent: boolean;
4520
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;
4521
4612
  createdAt: string;
4522
4613
  expiresAt: string;
4523
4614
  balance: number;
@@ -4996,7 +5087,7 @@ export type HappyHorseVideoGenInput = Omit<VideoGenInput, 'engine'> & {
4996
5087
  export type HeyGenVideoGenInput = Omit<VideoGenInput, 'engine'> & {
4997
5088
  operation: 'textToVideo' | 'imageToVideo' | 'referenceToVideo';
4998
5089
  duration: number;
4999
- resolution: '480p' | '768p';
5090
+ resolution: '480p' | '768p' | '2K';
5000
5091
  /**
5001
5092
  * Ignored for imageToVideo, which follows the first frame's aspect ratio.
5002
5093
  */
@@ -5826,6 +5917,62 @@ export type KlingV3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
5826
5917
  engine: 'kling-v3';
5827
5918
  multiPrompt?: null | Array<KlingV3MultiPrompt>;
5828
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
+ };
5829
5976
  export declare const KlingVideoGenAspectRatio: {
5830
5977
  readonly '16_9': '16:9';
5831
5978
  readonly '9_16': '9:16';
@@ -6123,6 +6270,19 @@ export type LiveQwen3TextToSpeechInput = Omit<
6123
6270
  'engine' | 'ecosystem'
6124
6271
  > & {
6125
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';
6126
6286
  /**
6127
6287
  * Token cap per sentence.
6128
6288
  */
@@ -6800,6 +6960,66 @@ export type MeshyV6FalPolyGenInput = Omit<MeshyFalPolyGenInput, 'engine' | 'mode
6800
6960
  model: 'meshy';
6801
6961
  engine: 'fal';
6802
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
+ };
6803
7023
  /**
6804
7024
  * Meshy v7. FAL endpoints: meshy/v7/{image-to-3d,multi-image-to-3d}
6805
7025
  */
@@ -7006,10 +7226,16 @@ export type MiniMaxH3MaxVideoGenInput = Omit<VideoGenInput, 'engine'> & {
7006
7226
  enableSafetyChecker?: boolean;
7007
7227
  engine: 'minimax-h3-max';
7008
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];
7009
7235
  export type MiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
7010
7236
  aspectRatio: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
7011
7237
  duration: number;
7012
- resolution: '2K';
7238
+ resolution: '2K' | '768P' | '480P';
7013
7239
  /**
7014
7240
  * Either A URL, A DataURL or a Base64 string
7015
7241
  */
@@ -7027,6 +7253,7 @@ export type MiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
7027
7253
  * reference video at the output per-second rate, so it must be known before the estimate is charged.
7028
7254
  */
7029
7255
  referenceVideoSeconds?: number;
7256
+ model?: MiniMaxH3Model;
7030
7257
  engine: 'minimax-h3';
7031
7258
  };
7032
7259
  export type MiniMaxMusic3Input = {
@@ -7353,6 +7580,59 @@ export type MossImageSftAiToolkitTrainingInput = Omit<
7353
7580
  */
7354
7581
  batchSize?: null | number;
7355
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
+ };
7356
7636
  export type MuseImageCreateFalImageGenInput = Omit<
7357
7637
  MuseImageFalImageGenInput,
7358
7638
  'engine' | 'model' | 'operation'
@@ -8407,6 +8687,19 @@ export type Qwen3CustomVoiceTtsInput = Omit<
8407
8687
  };
8408
8688
  export type Qwen3TextToSpeechInput = Omit<VllmOmniTextToSpeechInput, 'engine' | 'ecosystem'> & {
8409
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';
8410
8703
  maxNewTokens?: null | number;
8411
8704
  ecosystem: 'qwen3';
8412
8705
  engine: 'vllm-omni';
@@ -8549,6 +8842,10 @@ export type QwenImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
8549
8842
  ecosystem: 'qwen';
8550
8843
  engine: 'sdcpp';
8551
8844
  };
8845
+ export type RejectedArchiveEntry = {
8846
+ path: string;
8847
+ reason: ArchiveEntryRejectionReason;
8848
+ };
8552
8849
  export type RepeatForClause = {
8553
8850
  /**
8554
8851
  * The dynamic assignment reference to the array to iterate over (e.g., "$stepName").
@@ -9537,13 +9834,12 @@ export type TranscodeOutput = {
9537
9834
  urlExpiresAt?: null | string;
9538
9835
  jobId: string;
9539
9836
  /**
9540
- * Deprecated: use Civitai.Orchestration.Grains.Workflows.Steps.Transcode.TranscodeOutput.PublicUrl to tell a public blob. Storage tier holding the blob; null when none
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
9541
9838
  * was declared.
9542
9839
  */
9543
9840
  tier?: null | string;
9544
9841
  /**
9545
- * The durable, unsigned url of a blob requested public, which a CDN can cache. May 404 until the workflow that
9546
- * 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.
9547
9843
  */
9548
9844
  publicUrl?: null | string;
9549
9845
  };
@@ -9666,7 +9962,10 @@ export type Trellis2TexGenComfyPolyGenInput = Omit<
9666
9962
  model: 'trellis2';
9667
9963
  engine: 'comfy';
9668
9964
  };
9669
- export type TripoFalPolyGenInput = Omit<FalPolyGenInput, 'engine' | 'model'> & {
9965
+ export type TripoFalPolyGenInput = Omit<
9966
+ TripoVersionedFalPolyGenInput,
9967
+ 'engine' | 'model' | 'version'
9968
+ > & {
9670
9969
  imageUrl: string;
9671
9970
  texture?: 'no' | 'standard' | 'HD';
9672
9971
  pbr?: boolean;
@@ -9680,6 +9979,72 @@ export type TripoFalPolyGenInput = Omit<FalPolyGenInput, 'engine' | 'model'> & {
9680
9979
  orientation?: 'default' | 'align_image';
9681
9980
  seed?: null | number;
9682
9981
  textureSeed?: null | number;
9982
+ version: 'v2.5';
9983
+ model: 'tripo';
9984
+ engine: 'fal';
9985
+ };
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';
10006
+ };
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;
9683
10048
  model: 'tripo';
9684
10049
  engine: 'fal';
9685
10050
  };
@@ -10227,9 +10592,25 @@ export type Wan21FalVideoGenInput = Omit<Wan21VideoGenInput, 'engine' | 'version
10227
10592
  };
10228
10593
  export type Wan21VideoGenInput = Omit<WanVideoGenInput, 'engine' | 'version'> & {
10229
10594
  provider: null | string;
10595
+ /**
10596
+ * Either A URL, A DataURL or a Base64 string
10597
+ */
10598
+ sourceImage?: null | string;
10230
10599
  version: 'v2.1';
10231
10600
  engine: 'wan';
10232
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
+ };
10233
10614
  export type Wan225bFalImageGenInput = Omit<
10234
10615
  Wan225bImageGenInput,
10235
10616
  'engine' | 'version' | 'provider'
@@ -10291,6 +10672,10 @@ export type Wan22ComfyVideoGenInput = Omit<
10291
10672
  Wan22VideoGenInput,
10292
10673
  'engine' | 'version' | 'provider'
10293
10674
  > & {
10675
+ /**
10676
+ * Either A URL, A DataURL or a Base64 string
10677
+ */
10678
+ sourceImage?: null | string;
10294
10679
  width?: number;
10295
10680
  height?: number;
10296
10681
  diffusionModel?: null | string;
@@ -10691,10 +11076,6 @@ export type WanImageGenInput = Omit<ImageGenInput, 'engine'> & {
10691
11076
  };
10692
11077
  export type WanVideoGenInput = Omit<VideoGenInput, 'engine'> & {
10693
11078
  version: null | string;
10694
- /**
10695
- * Either A URL, A DataURL or a Base64 string
10696
- */
10697
- sourceImage?: null | string;
10698
11079
  cfgScale: number;
10699
11080
  fps?: number;
10700
11081
  engine: 'wan';
@@ -11216,7 +11597,7 @@ export type WorkflowTemplate = {
11216
11597
  /**
11217
11598
  * Limit the currencies that can be used to pay for this workflow.
11218
11599
  */
11219
- currencies: Array<BuzzClientAccount>;
11600
+ currencies?: Array<BuzzClientAccount>;
11220
11601
  /**
11221
11602
  * Bill this workflow to a fund (see `POST /v2/consumer/funds`) instead of the caller's Buzz. Implies the paid tier;
11222
11603
  * Civitai.Orchestration.Grains.Workflows.WorkflowTemplate.Currencies then limits which of the fund's currencies are spent.
@@ -13261,7 +13642,12 @@ export type HeadBlobData = {
13261
13642
  path: {
13262
13643
  blobId: string;
13263
13644
  };
13264
- query?: never;
13645
+ query?: {
13646
+ workflowId?: string;
13647
+ nsfwLevel?: NsfwLevel;
13648
+ filename?: string;
13649
+ download?: boolean;
13650
+ };
13265
13651
  url: '/v2/consumer/blobs/{blobId}';
13266
13652
  };
13267
13653
  export type HeadBlobErrors = {
@@ -13273,6 +13659,10 @@ export type HeadBlobErrors = {
13273
13659
  * Not Found
13274
13660
  */
13275
13661
  404: ProblemDetails;
13662
+ /**
13663
+ * Service Unavailable
13664
+ */
13665
+ 503: unknown;
13276
13666
  };
13277
13667
  export type HeadBlobError = HeadBlobErrors[keyof HeadBlobErrors];
13278
13668
  export type HeadBlobResponses = {
@@ -13346,60 +13736,6 @@ export type UploadConsumerBlobResponses = {
13346
13736
  };
13347
13737
  export type UploadConsumerBlobResponse =
13348
13738
  UploadConsumerBlobResponses[keyof UploadConsumerBlobResponses];
13349
- export type IngestConsumerBlobData = {
13350
- body?: never;
13351
- path?: never;
13352
- query?: {
13353
- /**
13354
- * Object to copy; must resolve to a configured trusted source.
13355
- */
13356
- sourceUrl?: string;
13357
- /**
13358
- * Store in the public tier and return a durable, unsigned URL.
13359
- */
13360
- public?: boolean;
13361
- };
13362
- url: '/v2/consumer/blobs/ingest';
13363
- };
13364
- export type IngestConsumerBlobErrors = {
13365
- /**
13366
- * Bad Request
13367
- */
13368
- 400: ProblemDetails;
13369
- /**
13370
- * Unauthorized
13371
- */
13372
- 401: ProblemDetails;
13373
- /**
13374
- * Forbidden
13375
- */
13376
- 403: ProblemDetails;
13377
- /**
13378
- * Not Found
13379
- */
13380
- 404: ProblemDetails;
13381
- /**
13382
- * Unprocessable Content
13383
- */
13384
- 422: ProblemDetails;
13385
- /**
13386
- * Bad Gateway
13387
- */
13388
- 502: unknown;
13389
- };
13390
- export type IngestConsumerBlobError = IngestConsumerBlobErrors[keyof IngestConsumerBlobErrors];
13391
- export type IngestConsumerBlobResponses = {
13392
- /**
13393
- * OK
13394
- */
13395
- 200: Blob;
13396
- /**
13397
- * Created
13398
- */
13399
- 201: Blob;
13400
- };
13401
- export type IngestConsumerBlobResponse =
13402
- IngestConsumerBlobResponses[keyof IngestConsumerBlobResponses];
13403
13739
  export type GetBlobContentData = {
13404
13740
  body?: never;
13405
13741
  path: {
@@ -13596,7 +13932,7 @@ export type CreateFundErrors = {
13596
13932
  /**
13597
13933
  * Forbidden
13598
13934
  */
13599
- 403: string;
13935
+ 403: ProblemDetails;
13600
13936
  };
13601
13937
  export type CreateFundError = CreateFundErrors[keyof CreateFundErrors];
13602
13938
  export type CreateFundResponses = {
@@ -13718,6 +14054,36 @@ export type DepositIntoFundResponses = {
13718
14054
  200: FundResponse;
13719
14055
  };
13720
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];
13721
14087
  export type InvokeAceStepAudioStepTemplateData = {
13722
14088
  body?: AceStepAudioInput;
13723
14089
  path?: never;
@@ -13730,6 +14096,7 @@ export type InvokeAceStepAudioStepTemplateData = {
13730
14096
  * How a workflow is paid for.
13731
14097
  */
13732
14098
  tier?: WorkflowTier;
14099
+ tags?: Array<string>;
13733
14100
  };
13734
14101
  url: '/v2/consumer/recipes/aceStepAudio';
13735
14102
  };
@@ -13769,6 +14136,7 @@ export type InvokeAgeClassificationStepTemplateData = {
13769
14136
  * How a workflow is paid for.
13770
14137
  */
13771
14138
  tier?: WorkflowTier;
14139
+ tags?: Array<string>;
13772
14140
  };
13773
14141
  url: '/v2/consumer/recipes/ageClassification';
13774
14142
  };
@@ -13796,6 +14164,46 @@ export type InvokeAgeClassificationStepTemplateResponses = {
13796
14164
  };
13797
14165
  export type InvokeAgeClassificationStepTemplateResponse =
13798
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];
13799
14207
  export type InvokeAudioCaptioningStepTemplateData = {
13800
14208
  body?: AudioCaptioningInput;
13801
14209
  path?: never;
@@ -13808,6 +14216,7 @@ export type InvokeAudioCaptioningStepTemplateData = {
13808
14216
  * How a workflow is paid for.
13809
14217
  */
13810
14218
  tier?: WorkflowTier;
14219
+ tags?: Array<string>;
13811
14220
  };
13812
14221
  url: '/v2/consumer/recipes/audioCaptioning';
13813
14222
  };
@@ -13847,6 +14256,7 @@ export type InvokeAudioClassificationStepTemplateData = {
13847
14256
  * How a workflow is paid for.
13848
14257
  */
13849
14258
  tier?: WorkflowTier;
14259
+ tags?: Array<string>;
13850
14260
  };
13851
14261
  url: '/v2/consumer/recipes/audioClassification';
13852
14262
  };
@@ -13886,6 +14296,7 @@ export type InvokeAudioModerationStepTemplateData = {
13886
14296
  * How a workflow is paid for.
13887
14297
  */
13888
14298
  tier?: WorkflowTier;
14299
+ tags?: Array<string>;
13889
14300
  };
13890
14301
  url: '/v2/consumer/recipes/audioModeration';
13891
14302
  };
@@ -13925,6 +14336,7 @@ export type InvokeAudioTextModerationStepTemplateData = {
13925
14336
  * How a workflow is paid for.
13926
14337
  */
13927
14338
  tier?: WorkflowTier;
14339
+ tags?: Array<string>;
13928
14340
  };
13929
14341
  url: '/v2/consumer/recipes/audioTextModeration';
13930
14342
  };
@@ -13964,6 +14376,7 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
13964
14376
  * How a workflow is paid for.
13965
14377
  */
13966
14378
  tier?: WorkflowTier;
14379
+ tags?: Array<string>;
13967
14380
  };
13968
14381
  url: '/v2/consumer/recipes/batchOCRSafetyClassification';
13969
14382
  };
@@ -14003,6 +14416,7 @@ export type InvokeBlobArchiveStepTemplateData = {
14003
14416
  * How a workflow is paid for.
14004
14417
  */
14005
14418
  tier?: WorkflowTier;
14419
+ tags?: Array<string>;
14006
14420
  };
14007
14421
  url: '/v2/consumer/recipes/blobArchive';
14008
14422
  };
@@ -14045,6 +14459,7 @@ export type InvokeChatCompletionStepTemplateData = {
14045
14459
  * How a workflow is paid for.
14046
14460
  */
14047
14461
  tier?: WorkflowTier;
14462
+ tags?: Array<string>;
14048
14463
  };
14049
14464
  url: '/v2/consumer/recipes/chatCompletion';
14050
14465
  };
@@ -14084,6 +14499,7 @@ export type InvokeComfyStepTemplateData = {
14084
14499
  * How a workflow is paid for.
14085
14500
  */
14086
14501
  tier?: WorkflowTier;
14502
+ tags?: Array<string>;
14087
14503
  };
14088
14504
  url: '/v2/consumer/recipes/comfy';
14089
14505
  };
@@ -14127,6 +14543,7 @@ export type InvokeComfyNodepackSnapshotStepTemplateData = {
14127
14543
  * How a workflow is paid for.
14128
14544
  */
14129
14545
  tier?: WorkflowTier;
14546
+ tags?: Array<string>;
14130
14547
  };
14131
14548
  url: '/v2/consumer/recipes/comfyNodepackSnapshot';
14132
14549
  };
@@ -14167,6 +14584,7 @@ export type InvokeComposeMediaStepTemplateData = {
14167
14584
  * How a workflow is paid for.
14168
14585
  */
14169
14586
  tier?: WorkflowTier;
14587
+ tags?: Array<string>;
14170
14588
  };
14171
14589
  url: '/v2/consumer/recipes/composeMedia';
14172
14590
  };
@@ -14206,6 +14624,7 @@ export type InvokeConvertImageStepTemplateData = {
14206
14624
  * How a workflow is paid for.
14207
14625
  */
14208
14626
  tier?: WorkflowTier;
14627
+ tags?: Array<string>;
14209
14628
  };
14210
14629
  url: '/v2/consumer/recipes/convertImage';
14211
14630
  };
@@ -14245,6 +14664,7 @@ export type InvokeCustomComfyStepTemplateData = {
14245
14664
  * How a workflow is paid for.
14246
14665
  */
14247
14666
  tier?: WorkflowTier;
14667
+ tags?: Array<string>;
14248
14668
  };
14249
14669
  url: '/v2/consumer/recipes/customComfy';
14250
14670
  };
@@ -14284,6 +14704,7 @@ export type InvokeEchoStepTemplateData = {
14284
14704
  * How a workflow is paid for.
14285
14705
  */
14286
14706
  tier?: WorkflowTier;
14707
+ tags?: Array<string>;
14287
14708
  };
14288
14709
  url: '/v2/consumer/recipes/echo';
14289
14710
  };
@@ -14323,6 +14744,7 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
14323
14744
  * How a workflow is paid for.
14324
14745
  */
14325
14746
  tier?: WorkflowTier;
14747
+ tags?: Array<string>;
14326
14748
  };
14327
14749
  url: '/v2/consumer/recipes/humanoidImageMask';
14328
14750
  };
@@ -14362,6 +14784,7 @@ export type InvokeImageBackgroundRemovalStepTemplateData = {
14362
14784
  * How a workflow is paid for.
14363
14785
  */
14364
14786
  tier?: WorkflowTier;
14787
+ tags?: Array<string>;
14365
14788
  };
14366
14789
  url: '/v2/consumer/recipes/imageBackgroundRemoval';
14367
14790
  };
@@ -14401,6 +14824,7 @@ export type InvokeImageGenStepTemplateData = {
14401
14824
  * How a workflow is paid for.
14402
14825
  */
14403
14826
  tier?: WorkflowTier;
14827
+ tags?: Array<string>;
14404
14828
  };
14405
14829
  url: '/v2/consumer/recipes/imageGen';
14406
14830
  };
@@ -14440,6 +14864,7 @@ export type InvokeImageResourceTrainingStepTemplateData = {
14440
14864
  * How a workflow is paid for.
14441
14865
  */
14442
14866
  tier?: WorkflowTier;
14867
+ tags?: Array<string>;
14443
14868
  };
14444
14869
  url: '/v2/consumer/recipes/imageResourceTraining';
14445
14870
  };
@@ -14479,6 +14904,7 @@ export type InvokeImageScanningStepTemplateData = {
14479
14904
  * How a workflow is paid for.
14480
14905
  */
14481
14906
  tier?: WorkflowTier;
14907
+ tags?: Array<string>;
14482
14908
  };
14483
14909
  url: '/v2/consumer/recipes/imageScanning';
14484
14910
  };
@@ -14518,6 +14944,7 @@ export type InvokeImageToSvgStepTemplateData = {
14518
14944
  * How a workflow is paid for.
14519
14945
  */
14520
14946
  tier?: WorkflowTier;
14947
+ tags?: Array<string>;
14521
14948
  };
14522
14949
  url: '/v2/consumer/recipes/imageToSvg';
14523
14950
  };
@@ -14557,6 +14984,7 @@ export type InvokeImageUploadStepTemplateData = {
14557
14984
  * How a workflow is paid for.
14558
14985
  */
14559
14986
  tier?: WorkflowTier;
14987
+ tags?: Array<string>;
14560
14988
  };
14561
14989
  url: '/v2/consumer/recipes/imageUpload';
14562
14990
  };
@@ -14596,6 +15024,7 @@ export type InvokeImageUpscalerStepTemplateData = {
14596
15024
  * How a workflow is paid for.
14597
15025
  */
14598
15026
  tier?: WorkflowTier;
15027
+ tags?: Array<string>;
14599
15028
  };
14600
15029
  url: '/v2/consumer/recipes/imageUpscaler';
14601
15030
  };
@@ -14638,6 +15067,7 @@ export type InvokeLiveTextToSpeechStepTemplateData = {
14638
15067
  * How a workflow is paid for.
14639
15068
  */
14640
15069
  tier?: WorkflowTier;
15070
+ tags?: Array<string>;
14641
15071
  };
14642
15072
  url: '/v2/consumer/recipes/liveTextToSpeech';
14643
15073
  };
@@ -14677,6 +15107,7 @@ export type InvokeLiveTranscriptionStepTemplateData = {
14677
15107
  * How a workflow is paid for.
14678
15108
  */
14679
15109
  tier?: WorkflowTier;
15110
+ tags?: Array<string>;
14680
15111
  };
14681
15112
  url: '/v2/consumer/recipes/liveTranscription';
14682
15113
  };
@@ -14716,6 +15147,7 @@ export type InvokeMediaCaptioningStepTemplateData = {
14716
15147
  * How a workflow is paid for.
14717
15148
  */
14718
15149
  tier?: WorkflowTier;
15150
+ tags?: Array<string>;
14719
15151
  };
14720
15152
  url: '/v2/consumer/recipes/mediaCaptioning';
14721
15153
  };
@@ -14755,6 +15187,7 @@ export type InvokeMediaHashStepTemplateData = {
14755
15187
  * How a workflow is paid for.
14756
15188
  */
14757
15189
  tier?: WorkflowTier;
15190
+ tags?: Array<string>;
14758
15191
  };
14759
15192
  url: '/v2/consumer/recipes/mediaHash';
14760
15193
  };
@@ -14794,6 +15227,7 @@ export type InvokeMediaRatingStepTemplateData = {
14794
15227
  * How a workflow is paid for.
14795
15228
  */
14796
15229
  tier?: WorkflowTier;
15230
+ tags?: Array<string>;
14797
15231
  };
14798
15232
  url: '/v2/consumer/recipes/mediaRating';
14799
15233
  };
@@ -14833,6 +15267,7 @@ export type InvokeMergeStepTemplateData = {
14833
15267
  * How a workflow is paid for.
14834
15268
  */
14835
15269
  tier?: WorkflowTier;
15270
+ tags?: Array<string>;
14836
15271
  };
14837
15272
  url: '/v2/consumer/recipes/merge';
14838
15273
  };
@@ -14872,6 +15307,7 @@ export type InvokeMiniMaxMusic3StepTemplateData = {
14872
15307
  * How a workflow is paid for.
14873
15308
  */
14874
15309
  tier?: WorkflowTier;
15310
+ tags?: Array<string>;
14875
15311
  };
14876
15312
  url: '/v2/consumer/recipes/miniMaxMusic3';
14877
15313
  };
@@ -14911,6 +15347,7 @@ export type InvokeModel3dPreviewStepTemplateData = {
14911
15347
  * How a workflow is paid for.
14912
15348
  */
14913
15349
  tier?: WorkflowTier;
15350
+ tags?: Array<string>;
14914
15351
  };
14915
15352
  url: '/v2/consumer/recipes/model3DPreview';
14916
15353
  };
@@ -14950,6 +15387,7 @@ export type InvokeModelClamScanStepTemplateData = {
14950
15387
  * How a workflow is paid for.
14951
15388
  */
14952
15389
  tier?: WorkflowTier;
15390
+ tags?: Array<string>;
14953
15391
  };
14954
15392
  url: '/v2/consumer/recipes/modelClamScan';
14955
15393
  };
@@ -14989,6 +15427,7 @@ export type InvokeModelHashStepTemplateData = {
14989
15427
  * How a workflow is paid for.
14990
15428
  */
14991
15429
  tier?: WorkflowTier;
15430
+ tags?: Array<string>;
14992
15431
  };
14993
15432
  url: '/v2/consumer/recipes/modelHash';
14994
15433
  };
@@ -15028,6 +15467,7 @@ export type InvokeModelParseMetadataStepTemplateData = {
15028
15467
  * How a workflow is paid for.
15029
15468
  */
15030
15469
  tier?: WorkflowTier;
15470
+ tags?: Array<string>;
15031
15471
  };
15032
15472
  url: '/v2/consumer/recipes/modelParseMetadata';
15033
15473
  };
@@ -15067,6 +15507,7 @@ export type InvokeModelPickleScanStepTemplateData = {
15067
15507
  * How a workflow is paid for.
15068
15508
  */
15069
15509
  tier?: WorkflowTier;
15510
+ tags?: Array<string>;
15070
15511
  };
15071
15512
  url: '/v2/consumer/recipes/modelPickleScan';
15072
15513
  };
@@ -15094,6 +15535,49 @@ export type InvokeModelPickleScanStepTemplateResponses = {
15094
15535
  };
15095
15536
  export type InvokeModelPickleScanStepTemplateResponse =
15096
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];
15097
15581
  export type InvokePolyGenStepTemplateData = {
15098
15582
  body?: PolyGenInput;
15099
15583
  path?: never;
@@ -15106,6 +15590,7 @@ export type InvokePolyGenStepTemplateData = {
15106
15590
  * How a workflow is paid for.
15107
15591
  */
15108
15592
  tier?: WorkflowTier;
15593
+ tags?: Array<string>;
15109
15594
  };
15110
15595
  url: '/v2/consumer/recipes/polyGen';
15111
15596
  };
@@ -15145,6 +15630,7 @@ export type InvokePrepareResourceStepTemplateData = {
15145
15630
  * How a workflow is paid for.
15146
15631
  */
15147
15632
  tier?: WorkflowTier;
15633
+ tags?: Array<string>;
15148
15634
  };
15149
15635
  url: '/v2/consumer/recipes/prepareResource';
15150
15636
  };
@@ -15184,6 +15670,7 @@ export type InvokePreprocessImageStepTemplateData = {
15184
15670
  * How a workflow is paid for.
15185
15671
  */
15186
15672
  tier?: WorkflowTier;
15673
+ tags?: Array<string>;
15187
15674
  };
15188
15675
  url: '/v2/consumer/recipes/preprocessImage';
15189
15676
  };
@@ -15223,6 +15710,7 @@ export type InvokePreprocessVideoStepTemplateData = {
15223
15710
  * How a workflow is paid for.
15224
15711
  */
15225
15712
  tier?: WorkflowTier;
15713
+ tags?: Array<string>;
15226
15714
  };
15227
15715
  url: '/v2/consumer/recipes/preprocessVideo';
15228
15716
  };
@@ -15262,6 +15750,7 @@ export type InvokePromptEnhancementStepTemplateData = {
15262
15750
  * How a workflow is paid for.
15263
15751
  */
15264
15752
  tier?: WorkflowTier;
15753
+ tags?: Array<string>;
15265
15754
  };
15266
15755
  url: '/v2/consumer/recipes/promptEnhancement';
15267
15756
  };
@@ -15301,6 +15790,7 @@ export type InvokePromptModerationStepTemplateData = {
15301
15790
  * How a workflow is paid for.
15302
15791
  */
15303
15792
  tier?: WorkflowTier;
15793
+ tags?: Array<string>;
15304
15794
  };
15305
15795
  url: '/v2/consumer/recipes/promptModeration';
15306
15796
  };
@@ -15340,6 +15830,7 @@ export type InvokeQwenImageBenchStepTemplateData = {
15340
15830
  * How a workflow is paid for.
15341
15831
  */
15342
15832
  tier?: WorkflowTier;
15833
+ tags?: Array<string>;
15343
15834
  };
15344
15835
  url: '/v2/consumer/recipes/qwenImageBench';
15345
15836
  };
@@ -15379,6 +15870,7 @@ export type InvokeRepeatStepTemplateData = {
15379
15870
  * How a workflow is paid for.
15380
15871
  */
15381
15872
  tier?: WorkflowTier;
15873
+ tags?: Array<string>;
15382
15874
  };
15383
15875
  url: '/v2/consumer/recipes/repeat';
15384
15876
  };
@@ -15418,6 +15910,7 @@ export type InvokeShieldstralModerationStepTemplateData = {
15418
15910
  * How a workflow is paid for.
15419
15911
  */
15420
15912
  tier?: WorkflowTier;
15913
+ tags?: Array<string>;
15421
15914
  };
15422
15915
  url: '/v2/consumer/recipes/shieldstralModeration';
15423
15916
  };
@@ -15460,6 +15953,7 @@ export type InvokeSoniloAudioGenStepTemplateData = {
15460
15953
  * How a workflow is paid for.
15461
15954
  */
15462
15955
  tier?: WorkflowTier;
15956
+ tags?: Array<string>;
15463
15957
  };
15464
15958
  url: '/v2/consumer/recipes/soniloAudioGen';
15465
15959
  };
@@ -15499,6 +15993,7 @@ export type InvokeTextToImageStepTemplateData = {
15499
15993
  * How a workflow is paid for.
15500
15994
  */
15501
15995
  tier?: WorkflowTier;
15996
+ tags?: Array<string>;
15502
15997
  };
15503
15998
  url: '/v2/consumer/recipes/textToImage';
15504
15999
  };
@@ -15538,6 +16033,7 @@ export type InvokeTextToSpeechStepTemplateData = {
15538
16033
  * How a workflow is paid for.
15539
16034
  */
15540
16035
  tier?: WorkflowTier;
16036
+ tags?: Array<string>;
15541
16037
  };
15542
16038
  url: '/v2/consumer/recipes/textToSpeech';
15543
16039
  };
@@ -15577,6 +16073,7 @@ export type InvokeTrainingStepTemplateData = {
15577
16073
  * How a workflow is paid for.
15578
16074
  */
15579
16075
  tier?: WorkflowTier;
16076
+ tags?: Array<string>;
15580
16077
  };
15581
16078
  url: '/v2/consumer/recipes/training';
15582
16079
  };
@@ -15616,6 +16113,7 @@ export type InvokeTranscodeStepTemplateData = {
15616
16113
  * How a workflow is paid for.
15617
16114
  */
15618
16115
  tier?: WorkflowTier;
16116
+ tags?: Array<string>;
15619
16117
  };
15620
16118
  url: '/v2/consumer/recipes/transcode';
15621
16119
  };
@@ -15655,6 +16153,7 @@ export type InvokeTranscriptionStepTemplateData = {
15655
16153
  * How a workflow is paid for.
15656
16154
  */
15657
16155
  tier?: WorkflowTier;
16156
+ tags?: Array<string>;
15658
16157
  };
15659
16158
  url: '/v2/consumer/recipes/transcription';
15660
16159
  };
@@ -15694,6 +16193,7 @@ export type InvokeTryOnUStepTemplateData = {
15694
16193
  * How a workflow is paid for.
15695
16194
  */
15696
16195
  tier?: WorkflowTier;
16196
+ tags?: Array<string>;
15697
16197
  };
15698
16198
  url: '/v2/consumer/recipes/tryOnU';
15699
16199
  };
@@ -15733,6 +16233,7 @@ export type InvokeVideoBackgroundRemovalStepTemplateData = {
15733
16233
  * How a workflow is paid for.
15734
16234
  */
15735
16235
  tier?: WorkflowTier;
16236
+ tags?: Array<string>;
15736
16237
  };
15737
16238
  url: '/v2/consumer/recipes/videoBackgroundRemoval';
15738
16239
  };
@@ -15772,6 +16273,7 @@ export type InvokeVideoEnhancementStepTemplateData = {
15772
16273
  * How a workflow is paid for.
15773
16274
  */
15774
16275
  tier?: WorkflowTier;
16276
+ tags?: Array<string>;
15775
16277
  };
15776
16278
  url: '/v2/consumer/recipes/videoEnhancement';
15777
16279
  };
@@ -15811,6 +16313,7 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
15811
16313
  * How a workflow is paid for.
15812
16314
  */
15813
16315
  tier?: WorkflowTier;
16316
+ tags?: Array<string>;
15814
16317
  };
15815
16318
  url: '/v2/consumer/recipes/videoFrameExtraction';
15816
16319
  };
@@ -15850,6 +16353,7 @@ export type InvokeVideoGenStepTemplateData = {
15850
16353
  * How a workflow is paid for.
15851
16354
  */
15852
16355
  tier?: WorkflowTier;
16356
+ tags?: Array<string>;
15853
16357
  };
15854
16358
  url: '/v2/consumer/recipes/videoGen';
15855
16359
  };
@@ -15889,6 +16393,7 @@ export type InvokeVideoInterpolationStepTemplateData = {
15889
16393
  * How a workflow is paid for.
15890
16394
  */
15891
16395
  tier?: WorkflowTier;
16396
+ tags?: Array<string>;
15892
16397
  };
15893
16398
  url: '/v2/consumer/recipes/videoInterpolation';
15894
16399
  };
@@ -15928,6 +16433,7 @@ export type InvokeVideoMetadataStepTemplateData = {
15928
16433
  * How a workflow is paid for.
15929
16434
  */
15930
16435
  tier?: WorkflowTier;
16436
+ tags?: Array<string>;
15931
16437
  };
15932
16438
  url: '/v2/consumer/recipes/videoMetadata';
15933
16439
  };
@@ -15967,6 +16473,7 @@ export type InvokeVideoUpscalerStepTemplateData = {
15967
16473
  * How a workflow is paid for.
15968
16474
  */
15969
16475
  tier?: WorkflowTier;
16476
+ tags?: Array<string>;
15970
16477
  };
15971
16478
  url: '/v2/consumer/recipes/videoUpscaler';
15972
16479
  };
@@ -16006,6 +16513,7 @@ export type InvokeWdTaggingStepTemplateData = {
16006
16513
  * How a workflow is paid for.
16007
16514
  */
16008
16515
  tier?: WorkflowTier;
16516
+ tags?: Array<string>;
16009
16517
  };
16010
16518
  url: '/v2/consumer/recipes/wdTagging';
16011
16519
  };
@@ -16045,6 +16553,7 @@ export type InvokeWebScrapeStepTemplateData = {
16045
16553
  * How a workflow is paid for.
16046
16554
  */
16047
16555
  tier?: WorkflowTier;
16556
+ tags?: Array<string>;
16048
16557
  };
16049
16558
  url: '/v2/consumer/recipes/webScrape';
16050
16559
  };
@@ -16084,6 +16593,7 @@ export type InvokeWebSearchStepTemplateData = {
16084
16593
  * How a workflow is paid for.
16085
16594
  */
16086
16595
  tier?: WorkflowTier;
16596
+ tags?: Array<string>;
16087
16597
  };
16088
16598
  url: '/v2/consumer/recipes/webSearch';
16089
16599
  };
@@ -16123,6 +16633,7 @@ export type InvokeXGuardModerationStepTemplateData = {
16123
16633
  * How a workflow is paid for.
16124
16634
  */
16125
16635
  tier?: WorkflowTier;
16636
+ tags?: Array<string>;
16126
16637
  };
16127
16638
  url: '/v2/consumer/recipes/xGuardModeration';
16128
16639
  };
@@ -16165,6 +16676,7 @@ export type InvokeYuE2StepTemplateData = {
16165
16676
  * How a workflow is paid for.
16166
16677
  */
16167
16678
  tier?: WorkflowTier;
16679
+ tags?: Array<string>;
16168
16680
  };
16169
16681
  url: '/v2/consumer/recipes/yuE2';
16170
16682
  };
@@ -16516,7 +17028,7 @@ export type SubmitWorkflowErrors = {
16516
17028
  /**
16517
17029
  * Bad Request
16518
17030
  */
16519
- 400: ProblemDetails;
17031
+ 400: ValidationProblemDetails;
16520
17032
  /**
16521
17033
  * Unauthorized
16522
17034
  */
@@ -16524,7 +17036,7 @@ export type SubmitWorkflowErrors = {
16524
17036
  /**
16525
17037
  * Forbidden
16526
17038
  */
16527
- 403: string;
17039
+ 403: ProblemDetails;
16528
17040
  /**
16529
17041
  * Too Many Requests
16530
17042
  */