@civitai/orchestration-client 0.2.9 → 0.2.11

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.
@@ -4791,15 +4791,6 @@ export type Gemini25FlashCreateImageGenInput = Omit<
4791
4791
  model: '2.5-flash';
4792
4792
  engine: 'gemini';
4793
4793
  };
4794
- export type Gemini25FlashEditImageGenInput = Omit<
4795
- Gemini25FlashImageGenInput,
4796
- 'engine' | 'model' | 'operation'
4797
- > & {
4798
- images: Array<string>;
4799
- operation: 'editImage';
4800
- model: '2.5-flash';
4801
- engine: 'gemini';
4802
- };
4803
4794
  export type Gemini25FlashImageGenInput = Omit<GeminiImageGenInput, 'engine' | 'model'> & {
4804
4795
  operation: string;
4805
4796
  quantity?: number;
@@ -5348,82 +5339,88 @@ export type HumanoidImageMaskInput = {
5348
5339
  export type HumanoidImageMaskOutput = {
5349
5340
  blob: Blob;
5350
5341
  };
5351
- export type Hunyuan3dComfyPolyGenInput = Omit<ComfyPolyGenInput, 'engine' | 'model'> & {
5352
- operation: null | string;
5353
- modelVersion?: 'v2' | 'v2.1' | 'v2-mini';
5354
- modelAir?: null | string;
5355
- steps?: null | number;
5356
- cfgScale?: null | number;
5357
- sampler?:
5358
- | 'euler'
5359
- | 'euler_ancestral'
5360
- | 'heun'
5361
- | 'heunpp2'
5362
- | 'dpm_2'
5363
- | 'dpm_2_ancestral'
5364
- | 'lms'
5365
- | 'dpm_fast'
5366
- | 'dpm_adaptive'
5367
- | 'dpmpp_2s_ancestral'
5368
- | 'dpmpp_sde'
5369
- | 'dpmpp_2m'
5370
- | 'dpmpp_2m_sde'
5371
- | 'dpmpp_3m_sde'
5372
- | 'ddpm'
5373
- | 'lcm'
5374
- | 'uni_pc'
5375
- | 'uni_pc_bh2';
5376
- scheduler?:
5377
- | 'normal'
5378
- | 'karras'
5379
- | 'exponential'
5380
- | 'sgm_uniform'
5381
- | 'simple'
5382
- | 'ddim_uniform'
5383
- | 'beta';
5384
- resolution?: null | number;
5385
- vaeNumChunks?: number;
5386
- octreeResolution?: number;
5387
- meshThreshold?: number;
5388
- seed?: null | number;
5389
- shift?: number;
5390
- model: 'hunyuan3D';
5391
- engine: 'comfy';
5342
+ export type Hunyuan3dFalPolyGenInput = Omit<FalPolyGenInput, 'engine' | 'model'> & {
5343
+ version: string;
5344
+ model: 'hunyuan3d';
5345
+ engine: 'fal';
5392
5346
  };
5393
- export type Hunyuan3dImageTo3dComfyPolyGenInput = Omit<
5394
- Hunyuan3dComfyPolyGenInput,
5395
- 'engine' | 'model' | 'operation'
5347
+ export type Hunyuan3Dv36FalPolyGenInput = Omit<
5348
+ Hunyuan3dFalPolyGenInput,
5349
+ 'engine' | 'model' | 'version'
5396
5350
  > & {
5397
- imageUrl: string;
5398
- prompt?: null | string;
5399
- shouldTexture?: boolean;
5400
- shouldRemesh?: boolean;
5401
- enablePbr?: boolean;
5402
- operation: 'imageTo3D';
5403
- model: 'hunyuan3D';
5404
- engine: 'comfy';
5351
+ operation: string;
5352
+ /**
5353
+ * false generates an untextured mesh and ignores every texture option.
5354
+ */
5355
+ texture?: boolean;
5356
+ /**
5357
+ * Target face count of the mesh. Defaults to 2,000,000.
5358
+ */
5359
+ faceCount?: null | number;
5360
+ /**
5361
+ * Hit faceCount exactly instead of adapting it to the geometry.
5362
+ */
5363
+ faceStrictMode?: boolean;
5364
+ pbr?: boolean;
5365
+ textureResolution?: '2k' | '4k' | '8k';
5366
+ textureFormat?: 'jpeg' | 'png' | 'webp';
5367
+ /**
5368
+ * Fewer texture seams at the cost of some detail.
5369
+ */
5370
+ seamlessTexture?: boolean;
5371
+ version: 'v3.6';
5372
+ model: 'hunyuan3d';
5373
+ engine: 'fal';
5405
5374
  };
5406
- export type Hunyuan3dShapeGenComfyPolyGenInput = Omit<
5407
- Hunyuan3dComfyPolyGenInput,
5408
- 'engine' | 'model' | 'operation'
5375
+ export type Hunyuan3Dv36ImageTo3dFalPolyGenInput = Omit<
5376
+ Hunyuan3Dv36FalPolyGenInput,
5377
+ 'engine' | 'model' | 'version' | 'operation'
5409
5378
  > & {
5379
+ /**
5380
+ * Front view of the object: JPG, PNG or WebP, 128–5000 pixels per side, under 10 MB.
5381
+ */
5410
5382
  imageUrl: string;
5411
- prompt?: null | string;
5412
- operation: 'shapeGen';
5413
- model: 'hunyuan3D';
5414
- engine: 'comfy';
5383
+ /**
5384
+ * Additional views of the object, at most one image per view.
5385
+ */
5386
+ viewImages?: Array<Hunyuan3dViewImage>;
5387
+ /**
5388
+ * Keep the image's lighting and shadows in the texture instead of an unlit albedo.
5389
+ */
5390
+ bakeLighting?: boolean;
5391
+ /**
5392
+ * Ambient occlusion strength; applies only with viewImages.
5393
+ */
5394
+ aoStrength?: number;
5395
+ operation: 'imageTo3D';
5396
+ version: 'v3.6';
5397
+ model: 'hunyuan3d';
5398
+ engine: 'fal';
5415
5399
  };
5416
- export type Hunyuan3dTexGenComfyPolyGenInput = Omit<
5417
- Hunyuan3dComfyPolyGenInput,
5418
- 'engine' | 'model' | 'operation'
5400
+ export type Hunyuan3Dv36TextTo3dFalPolyGenInput = Omit<
5401
+ Hunyuan3Dv36FalPolyGenInput,
5402
+ 'engine' | 'model' | 'version' | 'operation'
5419
5403
  > & {
5404
+ prompt: string;
5405
+ style?: null | 'qinghuaci' | 'china_style' | 'sculpture' | 'cartoon' | 'cyberpunk';
5406
+ operation: 'textTo3D';
5407
+ version: 'v3.6';
5408
+ model: 'hunyuan3d';
5409
+ engine: 'fal';
5410
+ };
5411
+ export declare const Hunyuan3dView: {
5412
+ readonly BACK: 'back';
5413
+ readonly LEFT: 'left';
5414
+ readonly RIGHT: 'right';
5415
+ readonly TOP: 'top';
5416
+ readonly BOTTOM: 'bottom';
5417
+ readonly LEFT_FRONT: 'left_front';
5418
+ readonly RIGHT_FRONT: 'right_front';
5419
+ };
5420
+ export type Hunyuan3dView = (typeof Hunyuan3dView)[keyof typeof Hunyuan3dView];
5421
+ export type Hunyuan3dViewImage = {
5422
+ view: Hunyuan3dView;
5420
5423
  imageUrl: string;
5421
- mesh: string;
5422
- shouldRemesh?: boolean;
5423
- enablePbr?: boolean;
5424
- operation: 'texGen';
5425
- model: 'hunyuan3D';
5426
- engine: 'comfy';
5427
5424
  };
5428
5425
  export type HunyuanVdeoGenInput = Omit<VideoGenInput, 'engine'> & {
5429
5426
  cfgScale: number;
@@ -5905,7 +5902,7 @@ export type ImageScanningLabelScore = {
5905
5902
  };
5906
5903
  export type ImageScanningOutput = {
5907
5904
  /**
5908
- * Legacy PG–XXX rating. NA for RADIO; use RatingV2 instead.
5905
+ * PG–XXX rating. For RADIO it is mapped from RatingV2's sexual label.
5909
5906
  */
5910
5907
  nsfwLevel: NsfwLevel;
5911
5908
  score: number;
@@ -5921,7 +5918,7 @@ export type ImageScanningOutput = {
5921
5918
  */
5922
5919
  blockedReason?: null | string;
5923
5920
  /**
5924
- * Experimental RADIO axes and routing decision; independent of the legacy NSFW scale.
5921
+ * RADIO axes and the scanner's own routing decision.
5925
5922
  */
5926
5923
  ratingV2?: ImageScanningRatingV2;
5927
5924
  };
@@ -6103,6 +6100,10 @@ export type ImageUpscalerInput = {
6103
6100
  * Comfy engine only; sd.cpp always outputs jpeg.
6104
6101
  */
6105
6102
  outputFormat?: ImageGenOutputFormat;
6103
+ /**
6104
+ * External metadata that will be stored with the image
6105
+ */
6106
+ imageMetadata?: null | string;
6106
6107
  };
6107
6108
  export type ImageUpscalerOutput = {
6108
6109
  blob: ImageBlob;
@@ -6119,15 +6120,6 @@ export type ImageUpscalerStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
6119
6120
  input: ImageUpscalerInput;
6120
6121
  $type: 'imageUpscaler';
6121
6122
  };
6122
- export type Imagen4ImageGenInput = Omit<GoogleImageGenInput, 'engine' | 'model'> & {
6123
- prompt: string;
6124
- negativePrompt?: string;
6125
- aspectRatio?: '1:1' | '16:9' | '9:16' | '3:4' | '4:3';
6126
- quantity?: number;
6127
- model: 'imagen4';
6128
- seed?: null | number;
6129
- engine: 'google';
6130
- };
6131
6123
  export declare const JobSupport: {
6132
6124
  readonly UNSUPPORTED: 'unsupported';
6133
6125
  readonly UNAVAILABLE: 'unavailable';
@@ -7900,24 +7892,6 @@ export type MiniMaxMusic3StepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
7900
7892
  input: MiniMaxMusic3Input;
7901
7893
  $type: 'miniMaxMusic3';
7902
7894
  };
7903
- export type MiniMaxVideoGenInput = Omit<VideoGenInput, 'engine'> & {
7904
- model?: MiniMaxVideoGenModel;
7905
- enhancePrompt?: boolean;
7906
- engine: 'minimax';
7907
- /**
7908
- * Either A URL, A DataURL or a Base64 string
7909
- */
7910
- sourceImage?: null | string;
7911
- };
7912
- export declare const MiniMaxVideoGenModel: {
7913
- readonly HAILOU: 'hailou';
7914
- };
7915
- export type MiniMaxVideoGenModel = (typeof MiniMaxVideoGenModel)[keyof typeof MiniMaxVideoGenModel];
7916
- export type MochiVideoGenInput = Omit<VideoGenInput, 'engine'> & {
7917
- seed: number;
7918
- enhancePrompt?: boolean;
7919
- engine: 'mochi';
7920
- };
7921
7895
  export type ModalitiesResponse = {
7922
7896
  input: Array<string>;
7923
7897
  output: Array<string>;
@@ -8438,57 +8412,6 @@ export type OmniVoiceTextToSpeechInput = Omit<VllmOmniTextToSpeechInput, 'engine
8438
8412
  ecosystem: 'omnivoice';
8439
8413
  engine: 'vllm-omni';
8440
8414
  };
8441
- export type OpenAiDallE2CreateImageGenInput = Omit<
8442
- OpenAiDallE2ImageGenInput,
8443
- 'engine' | 'model' | 'operation'
8444
- > & {
8445
- background?: 'auto' | 'transparent' | 'opaque';
8446
- operation: 'createImage';
8447
- model: 'dall-e-2';
8448
- engine: 'openai';
8449
- };
8450
- export type OpenAiDallE2EditImageInput = Omit<
8451
- OpenAiDallE2ImageGenInput,
8452
- 'engine' | 'model' | 'operation'
8453
- > & {
8454
- /**
8455
- * Either A URL, A DataURL or a Base64 string
8456
- */
8457
- image: string;
8458
- /**
8459
- * Either A URL, A DataURL or a Base64 string
8460
- */
8461
- mask?: null | string;
8462
- operation: 'editImage';
8463
- model: 'dall-e-2';
8464
- engine: 'openai';
8465
- };
8466
- export type OpenAiDallE2ImageGenInput = Omit<OpenApiImageGenInput, 'engine' | 'model'> & {
8467
- operation: string;
8468
- prompt: string;
8469
- size: '256x256' | '512x512' | '1024x1024';
8470
- quantity?: number;
8471
- model: 'dall-e-2';
8472
- engine: 'openai';
8473
- };
8474
- export type OpenAiDallE3CreateImageGenInput = Omit<
8475
- OpenAiDallE3ImageGenInput,
8476
- 'engine' | 'model' | 'operation'
8477
- > & {
8478
- background?: 'auto' | 'transparent' | 'opaque';
8479
- operation: 'createImage';
8480
- model: 'dall-e-3';
8481
- engine: 'openai';
8482
- };
8483
- export type OpenAiDallE3ImageGenInput = Omit<OpenApiImageGenInput, 'engine' | 'model'> & {
8484
- operation: string;
8485
- prompt: string;
8486
- size: '1024x1024' | '1792x1024' | '1024x1792';
8487
- style?: 'natural' | 'vivid';
8488
- quality?: 'auto' | 'hd' | 'standard';
8489
- model: 'dall-e-3';
8490
- engine: 'openai';
8491
- };
8492
8415
  export type OpenAiGpt15CreateImageInput = Omit<
8493
8416
  OpenAiGpt15ImageGenInput,
8494
8417
  'engine' | 'model' | 'operation'
@@ -8518,37 +8441,6 @@ export type OpenAiGpt15ImageGenInput = Omit<OpenApiImageGenInput, 'engine' | 'mo
8518
8441
  model: 'gpt-image-1.5';
8519
8442
  engine: 'openai';
8520
8443
  };
8521
- export type OpenAiGpt1CreateImageInput = Omit<
8522
- OpenAiGpt1ImageGenInput,
8523
- 'engine' | 'model' | 'operation'
8524
- > & {
8525
- operation: 'createImage';
8526
- model: 'gpt-image-1';
8527
- engine: 'openai';
8528
- };
8529
- export type OpenAiGpt1EditImageInput = Omit<
8530
- OpenAiGpt1ImageGenInput,
8531
- 'engine' | 'model' | 'operation'
8532
- > & {
8533
- images: Array<string>;
8534
- /**
8535
- * Either A URL, A DataURL or a Base64 string
8536
- */
8537
- mask?: null | string;
8538
- operation: 'editImage';
8539
- model: 'gpt-image-1';
8540
- engine: 'openai';
8541
- };
8542
- export type OpenAiGpt1ImageGenInput = Omit<OpenApiImageGenInput, 'engine' | 'model'> & {
8543
- operation: string;
8544
- prompt: string;
8545
- size?: '1024x1024' | '1536x1024' | '1024x1536';
8546
- quantity?: number;
8547
- background?: 'auto' | 'transparent' | 'opaque';
8548
- quality?: 'auto' | 'high' | 'medium' | 'low';
8549
- model: 'gpt-image-1';
8550
- engine: 'openai';
8551
- };
8552
8444
  export type OpenAiGpt25FlareCreateImageInput = Omit<
8553
8445
  OpenAiGpt25FlareImageGenInput,
8554
8446
  'engine' | 'model' | 'operation'
@@ -8582,7 +8474,6 @@ export type OpenAiGpt25FlareEditImageInput = Omit<
8582
8474
  };
8583
8475
  /**
8584
8476
  * GPT-Image-2.5 "flare": the faster of the two variants.
8585
- * FAL endpoints: openai/gpt-image-2.5/flare/text-to-image[/edit]
8586
8477
  */
8587
8478
  export type OpenAiGpt25FlareImageGenInput = Omit<OpenApiImageGenInput, 'engine' | 'model'> & {
8588
8479
  operation: string;
@@ -8627,7 +8518,6 @@ export type OpenAiGpt25SunburstEditImageInput = Omit<
8627
8518
  };
8628
8519
  /**
8629
8520
  * GPT-Image-2.5 "sunburst": higher fidelity on intricate detail, slower.
8630
- * FAL endpoints: openai/gpt-image-2.5/sunburst/text-to-image[/edit]
8631
8521
  */
8632
8522
  export type OpenAiGpt25SunburstImageGenInput = Omit<OpenApiImageGenInput, 'engine' | 'model'> & {
8633
8523
  operation: string;
@@ -9741,52 +9631,6 @@ export declare const ResourceView: {
9741
9631
  * are addressed by AIR and only materialise once something asks for them.
9742
9632
  */
9743
9633
  export type ResourceView = (typeof ResourceView)[keyof typeof ResourceView];
9744
- export type ReveCreateFalImageGenInput = Omit<
9745
- ReveFalImageGenInput,
9746
- 'engine' | 'model' | 'operation'
9747
- > & {
9748
- operation: 'createImage';
9749
- model: 'reve';
9750
- engine: 'fal';
9751
- };
9752
- export type ReveEditFalImageGenInput = Omit<
9753
- ReveFalImageGenInput,
9754
- 'engine' | 'model' | 'operation'
9755
- > & {
9756
- /**
9757
- * Address these from the prompt as <frame>N</frame>, 0-based.
9758
- */
9759
- images: Array<string>;
9760
- operation: 'editImage';
9761
- model: 'reve';
9762
- engine: 'fal';
9763
- };
9764
- export type ReveFalImageGenInput = Omit<FalImageGenInput, 'engine' | 'model'> & {
9765
- operation: string;
9766
- prompt: string;
9767
- aspectRatio?:
9768
- | 'auto'
9769
- | '4:1'
9770
- | '3:1'
9771
- | '21:9'
9772
- | '2:1'
9773
- | '17:9'
9774
- | '16:9'
9775
- | '3:2'
9776
- | '4:3'
9777
- | '5:4'
9778
- | '1:1'
9779
- | '4:5'
9780
- | '3:4'
9781
- | '2:3'
9782
- | '9:16'
9783
- | '1:2'
9784
- | '1:3'
9785
- | '1:4';
9786
- quantity?: number;
9787
- model: 'reve';
9788
- engine: 'fal';
9789
- };
9790
9634
  export type Sd1AiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
9791
9635
  /**
9792
9636
  * Compensates for the varying noise strength applied to training images, suppressing large jumps when images have little noise.
@@ -9981,6 +9825,122 @@ export type SdxlVariantImageGenInput = Omit<
9981
9825
  ecosystem: 'sdxl';
9982
9826
  engine: 'sdcpp';
9983
9827
  };
9828
+ /**
9829
+ * Translate a video's speech into another language and return the dubbed soundtrack, matching the video's length.
9830
+ */
9831
+ export type SeedAudioDubbingInput = Omit<SeedAudioGenInput, 'operation'> & {
9832
+ /**
9833
+ * The video to dub (mp4 or mov, 4–360 s, 480p–1080p). Its speech must be Chinese or English; the source language is detected.
9834
+ */
9835
+ video: string;
9836
+ targetLanguage:
9837
+ | 'zh'
9838
+ | 'en'
9839
+ | 'ja'
9840
+ | 'ko'
9841
+ | 'de'
9842
+ | 'fr'
9843
+ | 'pt-BR'
9844
+ | 'th'
9845
+ | 'id'
9846
+ | 'vi'
9847
+ | 'ms'
9848
+ | 'fil'
9849
+ | 'it'
9850
+ | 'ru'
9851
+ | 'nl'
9852
+ | 'pl'
9853
+ | 'tr'
9854
+ | 'sv'
9855
+ | 'es-ES'
9856
+ | 'es-MX'
9857
+ | 'ar'
9858
+ | 'pt-PT'
9859
+ | 'fi'
9860
+ | 'da'
9861
+ | 'no'
9862
+ | 'cs'
9863
+ | 'hu'
9864
+ | 'el'
9865
+ | 'ro'
9866
+ | 'hi';
9867
+ operation: 'dubbing';
9868
+ };
9869
+ /**
9870
+ * BytePlus Seed Audio; `operation` picks generation, dubbing a video, or separating audio into tracks.
9871
+ */
9872
+ export type SeedAudioGenInput = {
9873
+ operation: null | string;
9874
+ outputFormat?: 'mp3' | 'wav';
9875
+ };
9876
+ export type SeedAudioGenOutput = {
9877
+ /**
9878
+ * The generated tracks, in the order Seed Audio returned them.
9879
+ */
9880
+ blobs: Array<AudioBlob>;
9881
+ /**
9882
+ * Why Seed Audio refused the request, when it did.
9883
+ */
9884
+ errors?: null | Array<string>;
9885
+ };
9886
+ /**
9887
+ * Generate speech, music and ambience, dub a video into another language, or separate audio into tracks with BytePlus Seed Audio.
9888
+ */
9889
+ export type SeedAudioGenStep = Omit<WorkflowStep, '$type'> & {
9890
+ /**
9891
+ * BytePlus Seed Audio; `operation` picks generation, dubbing a video, or separating audio into tracks.
9892
+ */
9893
+ input: SeedAudioGenInput;
9894
+ output?: SeedAudioGenOutput;
9895
+ $type: 'seedAudioGen';
9896
+ };
9897
+ /**
9898
+ * Generate speech, music and ambience, dub a video into another language, or separate audio into tracks with BytePlus Seed Audio.
9899
+ */
9900
+ export type SeedAudioGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
9901
+ /**
9902
+ * Input for the SeedAudioGenStep step.
9903
+ */
9904
+ input: SeedAudioGenInput;
9905
+ $type: 'seedAudioGen';
9906
+ };
9907
+ /**
9908
+ * Generate speech with music and ambience from a prompt, optionally guided by reference voices, a video or an image.
9909
+ */
9910
+ export type SeedAudioGenerateInput = Omit<SeedAudioGenInput, 'operation'> & {
9911
+ /**
9912
+ * What to generate: the spoken lines in quotes, with language, speaker, emotion and pace, plus any music or ambience.
9913
+ * Seed Audio rejects prompts without a spoken line.
9914
+ */
9915
+ prompt: string;
9916
+ /**
9917
+ * Up to 6 voice references (wav or mp3, 2–30 s each, 180 s in total).
9918
+ */
9919
+ referenceAudios?: Array<string>;
9920
+ /**
9921
+ * A video (mp4 or mov, 4–360 s) for the audio to follow.
9922
+ */
9923
+ referenceVideo?: null | string;
9924
+ /**
9925
+ * An image to set the scene. Can't be combined with reference audio or video.
9926
+ */
9927
+ referenceImage?: null | string;
9928
+ operation: 'generate';
9929
+ };
9930
+ /**
9931
+ * Split an audio file into up to 6 tracks described in the prompt, such as each speaker, the music and the ambience.
9932
+ */
9933
+ export type SeedAudioSeparationInput = Omit<SeedAudioGenInput, 'operation'> & {
9934
+ /**
9935
+ * The tracks to split into, each with a name and a description, e.g. "1. 'speech': all spoken voices. 2. 'background': music and ambience."
9936
+ */
9937
+ prompt: string;
9938
+ /**
9939
+ * The audio to separate (wav or mp3, 2–360 s).
9940
+ */
9941
+ audio: string;
9942
+ operation: 'separation';
9943
+ };
9984
9944
  export declare const SeedanceModel: {
9985
9945
  readonly V2: 'v2';
9986
9946
  readonly V2_FAST: 'v2-fast';
@@ -10062,6 +10022,12 @@ export type ServiceHistory = {
10062
10022
  */
10063
10023
  buckets: Array<BucketResponse>;
10064
10024
  };
10025
+ export declare const ServiceHosting: {
10026
+ readonly PARTNER: 'partner';
10027
+ readonly INTERNAL: 'internal';
10028
+ readonly PER_REQUEST: 'perRequest';
10029
+ };
10030
+ export type ServiceHosting = (typeof ServiceHosting)[keyof typeof ServiceHosting];
10065
10031
  /**
10066
10032
  * A service we offer.
10067
10033
  */
@@ -10086,6 +10052,11 @@ export type ServiceResponse = {
10086
10052
  * The workflow step $type this service is reached through.
10087
10053
  */
10088
10054
  step?: null | string;
10055
+ /**
10056
+ * Who runs it: internal on Civitai's own workers, partner at an external provider, or perRequest when the request
10057
+ * decides. Null for a service the API doesn't declare.
10058
+ */
10059
+ hosting?: ServiceHosting;
10089
10060
  /**
10090
10061
  * Where to submit this service.
10091
10062
  */
@@ -10267,39 +10238,60 @@ export type SoniloSoundEffectInput = Omit<SoniloAudioGenInput, 'operation'> & {
10267
10238
  duration?: number;
10268
10239
  operation: 'soundEffect';
10269
10240
  };
10241
+ export type StarVectorImageToSvgInput = Omit<ComfyImageToSvgInput, 'engine' | 'ecosystem'> & {
10242
+ model?: 'starvector-1b' | 'starvector-8b';
10243
+ precision?: 'fp16' | 'bf16';
10244
+ maxLength?: number;
10245
+ ecosystem: 'starvector';
10246
+ engine: 'comfy';
10247
+ };
10270
10248
  /**
10271
- * FAL endpoints fal-ai/sora-2/image-to-video and fal-ai/sora-2/image-to-video/pro
10249
+ * A sticker on the first tracked frame: centre and width as fractions of the frame, rotation in degrees clockwise.
10272
10250
  */
10273
- export type Sora2ImageToVideoInput = Omit<SoraVideoGenInput, 'engine' | 'operation'> & {
10274
- images?: Array<string>;
10275
- operation: 'image-to-video';
10276
- engine: 'sora';
10251
+ export type StickerPlacement = {
10252
+ x: number;
10253
+ y: number;
10254
+ scale: number;
10255
+ rotation: number;
10256
+ };
10257
+ export type StickerTrackInput = {
10258
+ video: string;
10259
+ /**
10260
+ * A sticker on the first tracked frame: centre and width as fractions of the frame, rotation in degrees clockwise.
10261
+ */
10262
+ placement: StickerPlacement;
10263
+ /**
10264
+ * Where tracking starts in the video, in milliseconds; `placement` is the sticker on this frame.
10265
+ */
10266
+ startMs?: number;
10267
+ /**
10268
+ * How many milliseconds to track from `startMs`; the rest of the video, up to 60 seconds, when unset.
10269
+ */
10270
+ maxMs?: null | number;
10271
+ };
10272
+ export type StickerTrackOutput = {
10273
+ /**
10274
+ * The track JSON: `{"v":1,"ms":250,"show":[[tick,0|1]],"x":[[tick,value]],"y":…,"s":…,"r":…}`, see civitai/civitai-sticker-track.
10275
+ */
10276
+ track: Blob;
10277
10277
  };
10278
10278
  /**
10279
- * FAL endpoints fal-ai/sora-2/text-to-video and fal-ai/sora-2/text-to-video/pro
10279
+ * Keeps a sticker placed on the first tracked frame of a video on the character's head or eyes, returning a per-frame JSON track.
10280
10280
  */
10281
- export type Sora2TextToVideoInput = Omit<SoraVideoGenInput, 'engine' | 'operation'> & {
10282
- operation: 'text-to-video';
10283
- engine: 'sora';
10281
+ export type StickerTrackStep = Omit<WorkflowStep, '$type'> & {
10282
+ input: StickerTrackInput;
10283
+ output?: StickerTrackOutput;
10284
+ $type: 'stickerTrack';
10284
10285
  };
10285
10286
  /**
10286
- * Retired: OpenAI shut down the Sora 2 API on 2026-09-24 and new requests are rejected.
10287
+ * Keeps a sticker placed on the first tracked frame of a video on the character's head or eyes, returning a per-frame JSON track.
10287
10288
  */
10288
- export type SoraVideoGenInput = Omit<VideoGenInput, 'engine'> & {
10289
- operation: null | string;
10290
- duration?: number;
10291
- seed?: null | number;
10292
- resolution?: '720p' | '1080p';
10293
- aspectRatio?: 'auto' | '16:9' | '9:16';
10294
- usePro?: boolean;
10295
- engine: 'sora';
10296
- };
10297
- export type StarVectorImageToSvgInput = Omit<ComfyImageToSvgInput, 'engine' | 'ecosystem'> & {
10298
- model?: 'starvector-1b' | 'starvector-8b';
10299
- precision?: 'fp16' | 'bf16';
10300
- maxLength?: number;
10301
- ecosystem: 'starvector';
10302
- engine: 'comfy';
10289
+ export type StickerTrackStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
10290
+ /**
10291
+ * Input for the StickerTrackStep step.
10292
+ */
10293
+ input: StickerTrackInput;
10294
+ $type: 'stickerTrack';
10303
10295
  };
10304
10296
  export type StreamingBlobAppendResponse = {
10305
10297
  /**
@@ -11531,16 +11523,6 @@ export type Wan25FalImageGenInput = Omit<Wan25ImageGenInput, 'engine' | 'version
11531
11523
  version: 'v2.5';
11532
11524
  engine: 'wan';
11533
11525
  };
11534
- export type Wan25FalImageToImageInput = Omit<
11535
- Wan25FalImageGenInput,
11536
- 'engine' | 'version' | 'provider' | 'operation'
11537
- > & {
11538
- images?: Array<string>;
11539
- operation: 'image-to-image';
11540
- provider: 'fal';
11541
- version: 'v2.5';
11542
- engine: 'wan';
11543
- };
11544
11526
  export type Wan25FalImageToVideoInput = Omit<
11545
11527
  Wan25FalVideoGenInput,
11546
11528
  'engine' | 'version' | 'provider' | 'operation'
@@ -11974,6 +11956,56 @@ export type Watermark = {
11974
11956
  */
11975
11957
  angle?: number;
11976
11958
  };
11959
+ export type WatermarkDetectionAudio = {
11960
+ detected: boolean;
11961
+ /**
11962
+ * The share of the audio that reads as watermarked, from 0 to 1; from 0.5 the watermark counts as found.
11963
+ */
11964
+ score: number;
11965
+ };
11966
+ export type WatermarkDetectionInput = {
11967
+ /**
11968
+ * The image, video or audio file to check. URLs are imported into orchestrator blob storage before the job is queued.
11969
+ */
11970
+ mediaUrl: string;
11971
+ };
11972
+ export type WatermarkDetectionOutput = {
11973
+ /**
11974
+ * Whether the picture or the audio carries Civitai's watermark.
11975
+ */
11976
+ detected: boolean;
11977
+ /**
11978
+ * The watermark of the image or of the video's frames; null when the media has no picture.
11979
+ */
11980
+ visual?: WatermarkDetectionVisual;
11981
+ /**
11982
+ * The watermark of the audio; null when the media has no audio.
11983
+ */
11984
+ audio?: WatermarkDetectionAudio;
11985
+ };
11986
+ export type WatermarkDetectionStep = Omit<WorkflowStep, '$type'> & {
11987
+ input: WatermarkDetectionInput;
11988
+ output?: WatermarkDetectionOutput;
11989
+ $type: 'watermarkDetection';
11990
+ };
11991
+ export type WatermarkDetectionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
11992
+ /**
11993
+ * Input for the WatermarkDetectionStep step.
11994
+ */
11995
+ input: WatermarkDetectionInput;
11996
+ $type: 'watermarkDetection';
11997
+ };
11998
+ export type WatermarkDetectionVisual = {
11999
+ detected: boolean;
12000
+ /**
12001
+ * The version of the watermark that was found.
12002
+ */
12003
+ version?: null | number;
12004
+ /**
12005
+ * How strongly the picture matches the watermark, as a z-score: unmarked pictures score around 0, and above 4.75 the watermark counts as found.
12006
+ */
12007
+ score: number;
12008
+ };
11977
12009
  export type WatermarkTransform = Omit<ImageTransform, 'type'> & {
11978
12010
  /**
11979
12011
  * An image repeated across the whole output, burned into every frame.
@@ -17105,6 +17137,49 @@ export type InvokeRepeatStepTemplateResponses = {
17105
17137
  };
17106
17138
  export type InvokeRepeatStepTemplateResponse =
17107
17139
  InvokeRepeatStepTemplateResponses[keyof InvokeRepeatStepTemplateResponses];
17140
+ export type InvokeSeedAudioGenStepTemplateData = {
17141
+ /**
17142
+ * BytePlus Seed Audio; `operation` picks generation, dubbing a video, or separating audio into tracks.
17143
+ */
17144
+ body?: SeedAudioGenInput;
17145
+ path?: never;
17146
+ query?: {
17147
+ experimental?: boolean;
17148
+ allowMatureContent?: boolean;
17149
+ whatif?: boolean;
17150
+ ephemeral?: boolean;
17151
+ /**
17152
+ * How a workflow is paid for.
17153
+ */
17154
+ tier?: WorkflowTier;
17155
+ tags?: Array<string>;
17156
+ };
17157
+ url: '/v2/consumer/recipes/seedAudioGen';
17158
+ };
17159
+ export type InvokeSeedAudioGenStepTemplateErrors = {
17160
+ /**
17161
+ * Bad Request
17162
+ */
17163
+ 400: ProblemDetails;
17164
+ /**
17165
+ * Unauthorized
17166
+ */
17167
+ 401: ProblemDetails;
17168
+ /**
17169
+ * Forbidden
17170
+ */
17171
+ 403: ProblemDetails;
17172
+ };
17173
+ export type InvokeSeedAudioGenStepTemplateError =
17174
+ InvokeSeedAudioGenStepTemplateErrors[keyof InvokeSeedAudioGenStepTemplateErrors];
17175
+ export type InvokeSeedAudioGenStepTemplateResponses = {
17176
+ /**
17177
+ * OK
17178
+ */
17179
+ 200: SeedAudioGenOutput;
17180
+ };
17181
+ export type InvokeSeedAudioGenStepTemplateResponse =
17182
+ InvokeSeedAudioGenStepTemplateResponses[keyof InvokeSeedAudioGenStepTemplateResponses];
17108
17183
  export type InvokeShieldstralModerationStepTemplateData = {
17109
17184
  body?: ShieldstralModerationInput;
17110
17185
  path?: never;
@@ -17188,6 +17263,46 @@ export type InvokeSoniloAudioGenStepTemplateResponses = {
17188
17263
  };
17189
17264
  export type InvokeSoniloAudioGenStepTemplateResponse =
17190
17265
  InvokeSoniloAudioGenStepTemplateResponses[keyof InvokeSoniloAudioGenStepTemplateResponses];
17266
+ export type InvokeStickerTrackStepTemplateData = {
17267
+ body?: StickerTrackInput;
17268
+ path?: never;
17269
+ query?: {
17270
+ experimental?: boolean;
17271
+ allowMatureContent?: boolean;
17272
+ whatif?: boolean;
17273
+ ephemeral?: boolean;
17274
+ /**
17275
+ * How a workflow is paid for.
17276
+ */
17277
+ tier?: WorkflowTier;
17278
+ tags?: Array<string>;
17279
+ };
17280
+ url: '/v2/consumer/recipes/stickerTrack';
17281
+ };
17282
+ export type InvokeStickerTrackStepTemplateErrors = {
17283
+ /**
17284
+ * Bad Request
17285
+ */
17286
+ 400: ProblemDetails;
17287
+ /**
17288
+ * Unauthorized
17289
+ */
17290
+ 401: ProblemDetails;
17291
+ /**
17292
+ * Forbidden
17293
+ */
17294
+ 403: ProblemDetails;
17295
+ };
17296
+ export type InvokeStickerTrackStepTemplateError =
17297
+ InvokeStickerTrackStepTemplateErrors[keyof InvokeStickerTrackStepTemplateErrors];
17298
+ export type InvokeStickerTrackStepTemplateResponses = {
17299
+ /**
17300
+ * OK
17301
+ */
17302
+ 200: StickerTrackOutput;
17303
+ };
17304
+ export type InvokeStickerTrackStepTemplateResponse =
17305
+ InvokeStickerTrackStepTemplateResponses[keyof InvokeStickerTrackStepTemplateResponses];
17191
17306
  export type InvokeTextToImageStepTemplateData = {
17192
17307
  body?: TextToImageInput;
17193
17308
  path?: never;
@@ -17748,6 +17863,46 @@ export type InvokeWasmStepTemplateResponses = {
17748
17863
  };
17749
17864
  export type InvokeWasmStepTemplateResponse =
17750
17865
  InvokeWasmStepTemplateResponses[keyof InvokeWasmStepTemplateResponses];
17866
+ export type InvokeWatermarkDetectionStepTemplateData = {
17867
+ body?: WatermarkDetectionInput;
17868
+ path?: never;
17869
+ query?: {
17870
+ experimental?: boolean;
17871
+ allowMatureContent?: boolean;
17872
+ whatif?: boolean;
17873
+ ephemeral?: boolean;
17874
+ /**
17875
+ * How a workflow is paid for.
17876
+ */
17877
+ tier?: WorkflowTier;
17878
+ tags?: Array<string>;
17879
+ };
17880
+ url: '/v2/consumer/recipes/watermarkDetection';
17881
+ };
17882
+ export type InvokeWatermarkDetectionStepTemplateErrors = {
17883
+ /**
17884
+ * Bad Request
17885
+ */
17886
+ 400: ProblemDetails;
17887
+ /**
17888
+ * Unauthorized
17889
+ */
17890
+ 401: ProblemDetails;
17891
+ /**
17892
+ * Forbidden
17893
+ */
17894
+ 403: ProblemDetails;
17895
+ };
17896
+ export type InvokeWatermarkDetectionStepTemplateError =
17897
+ InvokeWatermarkDetectionStepTemplateErrors[keyof InvokeWatermarkDetectionStepTemplateErrors];
17898
+ export type InvokeWatermarkDetectionStepTemplateResponses = {
17899
+ /**
17900
+ * OK
17901
+ */
17902
+ 200: WatermarkDetectionOutput;
17903
+ };
17904
+ export type InvokeWatermarkDetectionStepTemplateResponse =
17905
+ InvokeWatermarkDetectionStepTemplateResponses[keyof InvokeWatermarkDetectionStepTemplateResponses];
17751
17906
  export type InvokeWdTaggingStepTemplateData = {
17752
17907
  body?: WdTaggingInput;
17753
17908
  path?: never;