@picsart/ai-sdk 5.26.3 → 5.27.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.
@@ -60,6 +60,7 @@ interface GeminiPart$2 {
60
60
  thoughtSignature?: string;
61
61
  partMetadata?: Record<string, unknown>;
62
62
  videoMetadata?: Record<string, unknown>;
63
+ mediaProcessing?: MediaProcessing$2;
63
64
  }
64
65
  interface GeminiPartFileData$2 {
65
66
  mimeType?: string;
@@ -69,6 +70,7 @@ interface PartInlineData$3 {
69
70
  mimeType?: string;
70
71
  data?: string;
71
72
  }
73
+ type MediaProcessing$2 = "MEDIA_PROCESSING_UNSPECIFIED" | "STATIC" | "AGENTIC";
72
74
  interface GenerationConfig$2 {
73
75
  temperature?: number;
74
76
  topK?: number;
@@ -109,7 +111,7 @@ interface SpeakerVoiceConfig$2 {
109
111
  speaker: string;
110
112
  voiceConfig: VoiceConfig$2;
111
113
  }
112
- type GeminiModel$1 = "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-flash-image-preview" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.0-flash-lite" | "gemini-1.5-flash" | "gemini-1.5-flash-8b" | "gemini-1.5-pro" | "gemini-embedding-exp" | "gemini-3-pro" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3-pro-image" | "gemini-3-pro-image-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-image" | "gemini-3.1-flash-lite-image" | "gemini-2.5-flash-tts" | "gemini-2.5-pro-tts" | "instant-ramen";
114
+ type GeminiModel$1 = "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-flash-image-preview" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.0-flash-lite" | "gemini-1.5-flash" | "gemini-1.5-flash-8b" | "gemini-1.5-pro" | "gemini-embedding-exp" | "gemini-3-pro" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-lite" | "gemini-3.5-flash-lite" | "gemini-3.6-flash" | "gemini-3.7-flash" | "gemini-3.1-flash-lite-preview" | "gemini-3-pro-image" | "gemini-3-pro-image-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-image" | "gemini-3.1-flash-lite-image" | "gemini-2.5-flash-tts" | "gemini-2.5-pro-tts" | "instant-ramen";
113
115
  interface GeminiResult$1 {
114
116
  id: string;
115
117
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
@@ -386,6 +388,7 @@ interface GeminiPart$1 {
386
388
  thoughtSignature?: string;
387
389
  partMetadata?: Record<string, unknown>;
388
390
  videoMetadata?: Record<string, unknown>;
391
+ mediaProcessing?: MediaProcessing$1;
389
392
  }
390
393
  interface GeminiPartFileData$1 {
391
394
  mimeType?: string;
@@ -395,6 +398,7 @@ interface PartInlineData$2 {
395
398
  mimeType?: string;
396
399
  data?: string;
397
400
  }
401
+ type MediaProcessing$1 = "MEDIA_PROCESSING_UNSPECIFIED" | "STATIC" | "AGENTIC";
398
402
  interface GenerationConfig$1 {
399
403
  temperature?: number;
400
404
  topK?: number;
@@ -435,7 +439,7 @@ interface SpeakerVoiceConfig$1 {
435
439
  speaker: string;
436
440
  voiceConfig: VoiceConfig$1;
437
441
  }
438
- type GeminiModel = "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-flash-image-preview" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.0-flash-lite" | "gemini-1.5-flash" | "gemini-1.5-flash-8b" | "gemini-1.5-pro" | "gemini-embedding-exp" | "gemini-3-pro" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3-pro-image" | "gemini-3-pro-image-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-image" | "gemini-3.1-flash-lite-image" | "gemini-2.5-flash-tts" | "gemini-2.5-pro-tts" | "instant-ramen";
442
+ type GeminiModel = "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-flash-image-preview" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.0-flash-lite" | "gemini-1.5-flash" | "gemini-1.5-flash-8b" | "gemini-1.5-pro" | "gemini-embedding-exp" | "gemini-3-pro" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-lite" | "gemini-3.5-flash-lite" | "gemini-3.6-flash" | "gemini-3.7-flash" | "gemini-3.1-flash-lite-preview" | "gemini-3-pro-image" | "gemini-3-pro-image-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-image" | "gemini-3.1-flash-lite-image" | "gemini-2.5-flash-tts" | "gemini-2.5-pro-tts" | "instant-ramen";
439
443
  interface GeminiResult {
440
444
  id: string;
441
445
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
@@ -523,6 +527,7 @@ interface GeminiPart {
523
527
  thoughtSignature?: string;
524
528
  partMetadata?: Record<string, unknown>;
525
529
  videoMetadata?: Record<string, unknown>;
530
+ mediaProcessing?: MediaProcessing;
526
531
  }
527
532
  interface GeminiPartFileData {
528
533
  mimeType?: string;
@@ -532,6 +537,7 @@ interface PartInlineData$1 {
532
537
  mimeType?: string;
533
538
  data?: string;
534
539
  }
540
+ type MediaProcessing = "MEDIA_PROCESSING_UNSPECIFIED" | "STATIC" | "AGENTIC";
535
541
  interface GenerationConfig {
536
542
  temperature?: number;
537
543
  topK?: number;
@@ -829,15 +835,15 @@ interface EditedImageResult {
829
835
  }
830
836
 
831
837
  interface ImageToVideoInput$1 {
832
- audio_url?: string | unknown;
833
- prompt: string;
834
- seed?: number | unknown;
835
838
  resolution?: "480p" | "720p" | "1080p";
839
+ image_url: string;
836
840
  duration?: "5" | "10";
841
+ audio_url?: string | unknown;
842
+ prompt: string;
837
843
  enable_prompt_expansion?: boolean;
844
+ seed?: number | unknown;
838
845
  negative_prompt?: string | unknown;
839
846
  enable_safety_checker?: boolean;
840
- image_url: string;
841
847
  options?: {
842
848
  safety_checks?: {
843
849
  enabled?: boolean;
@@ -859,30 +865,30 @@ interface Wan25PreviewImageToVideoResponse {
859
865
  }
860
866
  interface VideoOutput$1 {
861
867
  actual_prompt?: string | unknown;
868
+ seed: number;
862
869
  video: {
870
+ duration?: number | unknown;
863
871
  fps?: number | unknown;
864
- width?: number | unknown;
865
- file_size?: number | unknown;
866
872
  content_type?: string | unknown;
867
- duration?: number | unknown;
868
- num_frames?: number | unknown;
869
873
  file_name?: string | unknown;
870
- height?: number | unknown;
871
874
  url: string;
875
+ width?: number | unknown;
876
+ num_frames?: number | unknown;
877
+ file_size?: number | unknown;
878
+ height?: number | unknown;
872
879
  };
873
- seed: number;
874
880
  }
875
881
 
876
882
  interface TextToVideoInput {
883
+ resolution?: "480p" | "720p" | "1080p";
884
+ duration?: "5" | "10";
877
885
  audio_url?: string | unknown;
878
886
  prompt: string;
879
887
  seed?: number | unknown;
880
- resolution?: "480p" | "720p" | "1080p";
881
- duration?: "5" | "10";
882
- aspect_ratio?: "16:9" | "9:16" | "1:1";
883
888
  enable_prompt_expansion?: boolean;
884
889
  negative_prompt?: string | unknown;
885
890
  enable_safety_checker?: boolean;
891
+ aspect_ratio?: "16:9" | "9:16" | "1:1";
886
892
  options?: {
887
893
  safety_checks?: {
888
894
  enabled?: boolean;
@@ -904,40 +910,40 @@ interface Wan25PreviewTextToVideoResponse {
904
910
  }
905
911
  interface VideoOutput {
906
912
  actual_prompt?: string | unknown;
913
+ seed: number;
907
914
  video: {
915
+ duration?: number | unknown;
908
916
  fps?: number | unknown;
909
- width?: number | unknown;
910
- file_size?: number | unknown;
911
917
  content_type?: string | unknown;
912
- duration?: number | unknown;
913
- num_frames?: number | unknown;
914
918
  file_name?: string | unknown;
915
- height?: number | unknown;
916
919
  url: string;
920
+ width?: number | unknown;
921
+ num_frames?: number | unknown;
922
+ file_size?: number | unknown;
923
+ height?: number | unknown;
917
924
  };
918
- seed: number;
919
925
  }
920
926
 
921
927
  interface BaseQwenImageInput {
922
- output_format?: "jpeg" | "png";
923
- acceleration?: "none" | "regular" | "high";
924
- negative_prompt?: string;
925
- use_turbo?: boolean;
926
- sync_mode?: boolean;
928
+ seed?: number | unknown;
929
+ prompt: string;
927
930
  loras?: {
928
931
  scale?: number;
929
932
  path: string;
930
933
  }[];
931
934
  num_inference_steps?: number;
932
- guidance_scale?: number;
933
- seed?: number | unknown;
934
- num_images?: number;
935
+ sync_mode?: boolean;
936
+ acceleration?: "none" | "regular" | "high";
935
937
  enable_safety_checker?: boolean;
938
+ output_format?: "jpeg" | "png";
939
+ guidance_scale?: number;
936
940
  image_size?: {
937
941
  height?: number;
938
942
  width?: number;
939
943
  } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9";
940
- prompt: string;
944
+ negative_prompt?: string;
945
+ use_turbo?: boolean;
946
+ num_images?: number;
941
947
  options?: {
942
948
  safety_checks?: {
943
949
  enabled?: boolean;
@@ -958,40 +964,40 @@ interface QwenImageResponse {
958
964
  result: QwenImageOutput;
959
965
  }
960
966
  interface QwenImageOutput {
961
- has_nsfw_concepts: boolean[];
962
- timings: Record<string, number>;
963
- seed: number;
964
967
  prompt: string;
968
+ timings: Record<string, number>;
965
969
  images: ({
966
- height: number;
967
970
  content_type?: string | unknown;
968
971
  url: string;
972
+ height: number;
969
973
  width: number;
970
974
  })[];
975
+ has_nsfw_concepts: boolean[];
976
+ seed: number;
971
977
  }
972
978
 
973
979
  interface QwenImageI2IInput {
974
- strength?: number;
980
+ loras?: {
981
+ scale?: number;
982
+ path: string;
983
+ }[];
984
+ enable_safety_checker?: boolean;
975
985
  acceleration?: "none" | "regular" | "high";
976
- sync_mode?: boolean;
977
- seed?: number | unknown;
978
- num_inference_steps?: number;
979
- image_url: string;
986
+ negative_prompt?: string;
987
+ output_format?: "jpeg" | "png";
988
+ guidance_scale?: number;
980
989
  image_size?: {
981
990
  height?: number;
982
991
  width?: number;
983
992
  } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | unknown;
993
+ seed?: number | unknown;
984
994
  prompt: string;
985
- output_format?: "jpeg" | "png";
986
- negative_prompt?: string;
995
+ strength?: number;
996
+ image_url: string;
997
+ num_inference_steps?: number;
998
+ sync_mode?: boolean;
987
999
  use_turbo?: boolean;
988
- loras?: {
989
- scale?: number;
990
- path: string;
991
- }[];
992
- guidance_scale?: number;
993
1000
  num_images?: number;
994
- enable_safety_checker?: boolean;
995
1001
  options?: {
996
1002
  safety_checks?: {
997
1003
  enabled?: boolean;
@@ -1012,16 +1018,16 @@ interface QwenImageImageToImageResponse {
1012
1018
  result: QwenImageI2IOutput;
1013
1019
  }
1014
1020
  interface QwenImageI2IOutput {
1015
- has_nsfw_concepts: boolean[];
1016
- timings: Record<string, number>;
1017
- seed: number;
1018
1021
  prompt: string;
1022
+ timings: Record<string, number>;
1019
1023
  images: ({
1020
- height: number;
1021
1024
  content_type?: string | unknown;
1022
1025
  url: string;
1026
+ height: number;
1023
1027
  width: number;
1024
1028
  })[];
1029
+ has_nsfw_concepts: boolean[];
1030
+ seed: number;
1025
1031
  }
1026
1032
 
1027
1033
  interface HunyuanTextToImageInputV3 {
@@ -1367,12 +1373,12 @@ interface TTSOutput {
1367
1373
  }
1368
1374
 
1369
1375
  interface OviT2VRequest {
1370
- seed?: number | unknown;
1371
1376
  resolution?: "512x992" | "992x512" | "960x512" | "512x960" | "720x720" | "448x1120" | "1120x448";
1377
+ seed?: number | unknown;
1372
1378
  prompt: string;
1379
+ negative_prompt?: string;
1373
1380
  audio_negative_prompt?: string;
1374
1381
  num_inference_steps?: number;
1375
- negative_prompt?: string;
1376
1382
  options?: {
1377
1383
  safety_checks?: {
1378
1384
  enabled?: boolean;
@@ -1395,20 +1401,20 @@ interface OviResponse {
1395
1401
  interface OviT2VResponse {
1396
1402
  seed: number;
1397
1403
  video?: {
1398
- file_name?: string | unknown;
1404
+ url: string;
1399
1405
  file_size?: number | unknown;
1400
1406
  content_type?: string | unknown;
1401
- url: string;
1407
+ file_name?: string | unknown;
1402
1408
  } | unknown;
1403
1409
  }
1404
1410
 
1405
1411
  interface OviI2VRequest {
1412
+ negative_prompt?: string;
1406
1413
  seed?: number | unknown;
1407
1414
  prompt: string;
1408
- audio_negative_prompt?: string;
1409
1415
  image_url: string;
1416
+ audio_negative_prompt?: string;
1410
1417
  num_inference_steps?: number;
1411
- negative_prompt?: string;
1412
1418
  options?: {
1413
1419
  safety_checks?: {
1414
1420
  enabled?: boolean;
@@ -1431,19 +1437,19 @@ interface OviImageToVideoResponse {
1431
1437
  interface OviI2VResponse {
1432
1438
  seed: number;
1433
1439
  video?: {
1434
- file_name?: string | unknown;
1440
+ url: string;
1435
1441
  file_size?: number | unknown;
1436
1442
  content_type?: string | unknown;
1437
- url: string;
1443
+ file_name?: string | unknown;
1438
1444
  } | unknown;
1439
1445
  }
1440
1446
 
1441
1447
  interface ReveCreateInput {
1442
- output_format?: "png" | "jpeg" | "webp";
1443
1448
  num_images?: number;
1444
1449
  sync_mode?: boolean;
1445
1450
  aspect_ratio?: "16:9" | "9:16" | "3:2" | "2:3" | "4:3" | "3:4" | "1:1";
1446
1451
  prompt: string;
1452
+ output_format?: "png" | "jpeg" | "webp";
1447
1453
  options?: {
1448
1454
  safety_checks?: {
1449
1455
  enabled?: boolean;
@@ -1465,21 +1471,21 @@ interface ReveTextToImageResponse {
1465
1471
  }
1466
1472
  interface ReveCreateOutput {
1467
1473
  images: ({
1468
- height?: number | unknown;
1474
+ file_name?: string | unknown;
1469
1475
  content_type?: string | unknown;
1476
+ height?: number | unknown;
1470
1477
  url: string;
1471
- width?: number | unknown;
1472
1478
  file_size?: number | unknown;
1473
- file_name?: string | unknown;
1479
+ width?: number | unknown;
1474
1480
  })[];
1475
1481
  }
1476
1482
 
1477
1483
  interface ReveEditInput {
1478
- output_format?: "png" | "jpeg" | "webp";
1479
1484
  num_images?: number;
1480
1485
  sync_mode?: boolean;
1481
- prompt: string;
1482
1486
  image_url: string;
1487
+ prompt: string;
1488
+ output_format?: "png" | "jpeg" | "webp";
1483
1489
  options?: {
1484
1490
  safety_checks?: {
1485
1491
  enabled?: boolean;
@@ -1501,12 +1507,12 @@ interface ReveEditResponse {
1501
1507
  }
1502
1508
  interface ReveEditOutput {
1503
1509
  images: ({
1504
- height?: number | unknown;
1510
+ file_name?: string | unknown;
1505
1511
  content_type?: string | unknown;
1512
+ height?: number | unknown;
1506
1513
  url: string;
1507
- width?: number | unknown;
1508
1514
  file_size?: number | unknown;
1509
- file_name?: string | unknown;
1515
+ width?: number | unknown;
1510
1516
  })[];
1511
1517
  }
1512
1518
 
@@ -1726,16 +1732,16 @@ interface AuroraOutputModel {
1726
1732
  }
1727
1733
 
1728
1734
  interface VideoUpscaleRequest {
1729
- grain?: number | unknown;
1730
- target_fps?: number | unknown;
1731
1735
  noise?: number | unknown;
1732
- compression?: number | unknown;
1736
+ target_fps?: number | unknown;
1733
1737
  upscale_factor?: number;
1734
- recover_detail?: number | unknown;
1735
- halo?: number | unknown;
1736
1738
  model?: "Proteus" | "Artemis HQ" | "Artemis MQ" | "Artemis LQ" | "Gaia HQ" | "Gaia CG" | "Gaia 2" | "Nyx" | "Nyx Fast" | "Nyx XL" | "Nyx HF" | "Starlight Precise 2.5" | "Starlight HQ" | "Starlight Mini" | "Starlight Sharp" | "Starlight Fast 2" | "Starlight Precise 1" | "Starlight Precise 2" | "Starlight Fast 1";
1737
- H264_output?: boolean;
1739
+ halo?: number | unknown;
1740
+ compression?: number | unknown;
1741
+ grain?: number | unknown;
1742
+ recover_detail?: number | unknown;
1738
1743
  video_url: string;
1744
+ H264_output?: boolean;
1739
1745
  options?: {
1740
1746
  safety_checks?: {
1741
1747
  enabled?: boolean;
@@ -1757,33 +1763,33 @@ interface TopazUpscaleVideoResponse {
1757
1763
  }
1758
1764
  interface VideoUpscaleOutput {
1759
1765
  video: {
1760
- file_name?: string | unknown;
1761
1766
  url: string;
1762
- content_type?: string | unknown;
1763
1767
  file_size?: number | unknown;
1768
+ file_name?: string | unknown;
1769
+ content_type?: string | unknown;
1764
1770
  };
1765
1771
  }
1766
1772
 
1767
1773
  interface ImageUpscaleRequest {
1768
- denoise?: number | unknown;
1769
- model?: "Standard V2" | "High Fidelity V2" | "Low Resolution V2" | "CGI" | "Text Refine" | "Wonder 3" | "Wonder" | "Standard MAX" | "Redefine" | "Recovery V2" | "Recovery";
1770
- upscale_factor?: number;
1771
- strength?: number | unknown;
1774
+ fix_compression?: number | unknown;
1775
+ detail?: number | unknown;
1776
+ output_format?: "jpeg" | "png";
1777
+ face_enhancement_creativity?: number;
1772
1778
  autoprompt?: boolean | unknown;
1779
+ face_enhancement?: boolean;
1780
+ denoise?: number | unknown;
1781
+ texture?: number | unknown;
1773
1782
  prompt?: string | unknown;
1774
- face_enhancement_creativity?: number;
1775
- output_format?: "jpeg" | "png";
1776
- sharpen?: number | unknown;
1777
- detail?: number | unknown;
1783
+ upscale_factor?: number;
1784
+ model?: "Standard V2" | "High Fidelity V2" | "Low Resolution V2" | "CGI" | "Text Refine" | "Wonder 3" | "Wonder" | "Standard MAX" | "Redefine" | "Recovery V2" | "Recovery";
1785
+ face_enhancement_strength?: number;
1778
1786
  image_url: string;
1779
- fix_compression?: number | unknown;
1780
- enhancement_strength?: "low" | "medium" | "high" | unknown;
1781
1787
  crop_to_fill?: boolean;
1782
- face_enhancement_strength?: number;
1788
+ enhancement_strength?: "low" | "medium" | "high" | unknown;
1789
+ sharpen?: number | unknown;
1783
1790
  creativity?: number | unknown;
1791
+ strength?: number | unknown;
1784
1792
  subject_detection?: "All" | "Foreground" | "Background";
1785
- texture?: number | unknown;
1786
- face_enhancement?: boolean;
1787
1793
  options?: {
1788
1794
  safety_checks?: {
1789
1795
  enabled?: boolean;
@@ -1805,10 +1811,10 @@ interface TopazUpscaleImageResponse {
1805
1811
  }
1806
1812
  interface ImageUpscaleOutput {
1807
1813
  image: {
1808
- file_name?: string | unknown;
1809
1814
  url: string;
1810
- content_type?: string | unknown;
1811
1815
  file_size?: number | unknown;
1816
+ file_name?: string | unknown;
1817
+ content_type?: string | unknown;
1812
1818
  };
1813
1819
  }
1814
1820
 
@@ -1949,14 +1955,14 @@ interface ThumbnailResult {
1949
1955
  }
1950
1956
 
1951
1957
  interface SeedVRImageInput {
1952
- output_format?: "png" | "jpg" | "webp";
1953
- seed?: number | unknown;
1954
- sync_mode?: boolean;
1955
1958
  noise_scale?: number;
1956
- image_url: string;
1957
- upscale_factor?: number;
1958
1959
  target_resolution?: "720p" | "1080p" | "1440p" | "2160p";
1959
1960
  upscale_mode?: "target" | "factor";
1961
+ upscale_factor?: number;
1962
+ output_format?: "png" | "jpg" | "webp";
1963
+ image_url: string;
1964
+ seed?: number | unknown;
1965
+ sync_mode?: boolean;
1960
1966
  options?: {
1961
1967
  safety_checks?: {
1962
1968
  enabled?: boolean;
@@ -1978,22 +1984,22 @@ interface SeedvrUpscaleImageResponse {
1978
1984
  }
1979
1985
  interface SeedVRImageOutput {
1980
1986
  image: {
1987
+ height?: number | unknown;
1981
1988
  url: string;
1982
1989
  content_type?: string | unknown;
1983
- height?: number | unknown;
1984
- width?: number | unknown;
1985
1990
  file_size?: number | unknown;
1991
+ width?: number | unknown;
1986
1992
  file_name?: string | unknown;
1987
1993
  };
1988
1994
  seed: number;
1989
1995
  }
1990
1996
 
1991
1997
  interface XAIImageInput {
1992
- prompt: string;
1998
+ output_format?: "jpeg" | "png" | "webp";
1993
1999
  num_images?: number;
1994
2000
  aspect_ratio?: "2:1" | "20:9" | "19.5:9" | "16:9" | "4:3" | "3:2" | "1:1" | "2:3" | "3:4" | "9:16" | "9:19.5" | "9:20" | "1:2";
2001
+ prompt: string;
1995
2002
  resolution?: "1k" | "2k";
1996
- output_format?: "jpeg" | "png" | "webp";
1997
2003
  sync_mode?: boolean;
1998
2004
  options?: {
1999
2005
  safety_checks?: {
@@ -2016,23 +2022,23 @@ interface XaiGrokImagineImageResponse {
2016
2022
  }
2017
2023
  interface XAIImageOutput {
2018
2024
  images: ({
2025
+ content_type?: string | unknown;
2026
+ height?: number | unknown;
2019
2027
  width?: number | unknown;
2028
+ file_size?: number | unknown;
2020
2029
  file_name?: string | unknown;
2021
- height?: number | unknown;
2022
2030
  url: string;
2023
- content_type?: string | unknown;
2024
- file_size?: number | unknown;
2025
2031
  })[];
2026
2032
  revised_prompt?: string | unknown;
2027
2033
  }
2028
2034
 
2029
2035
  interface XAIImageEditInput {
2030
- prompt: string;
2031
- num_images?: number;
2032
2036
  image_urls?: string[];
2033
- resolution?: "1k" | "2k";
2034
2037
  output_format?: "jpeg" | "png" | "webp";
2038
+ num_images?: number;
2035
2039
  aspect_ratio?: "auto" | "2:1" | "20:9" | "19.5:9" | "16:9" | "4:3" | "3:2" | "1:1" | "2:3" | "3:4" | "9:16" | "9:19.5" | "9:20" | "1:2";
2040
+ prompt: string;
2041
+ resolution?: "1k" | "2k";
2036
2042
  sync_mode?: boolean;
2037
2043
  options?: {
2038
2044
  safety_checks?: {
@@ -2055,21 +2061,21 @@ interface XaiGrokImagineImageEditResponse {
2055
2061
  }
2056
2062
  interface XAIImageEditOutput {
2057
2063
  images: ({
2064
+ content_type?: string | unknown;
2065
+ height?: number | unknown;
2058
2066
  width?: number | unknown;
2067
+ file_size?: number | unknown;
2059
2068
  file_name?: string | unknown;
2060
- height?: number | unknown;
2061
2069
  url: string;
2062
- content_type?: string | unknown;
2063
- file_size?: number | unknown;
2064
2070
  })[];
2065
2071
  revised_prompt?: string | unknown;
2066
2072
  }
2067
2073
 
2068
2074
  interface XAITextToVideoInput {
2075
+ resolution?: "480p" | "720p";
2076
+ duration?: number;
2069
2077
  prompt: string;
2070
2078
  aspect_ratio?: "16:9" | "4:3" | "3:2" | "1:1" | "2:3" | "3:4" | "9:16";
2071
- duration?: number;
2072
- resolution?: "480p" | "720p";
2073
2079
  options?: {
2074
2080
  safety_checks?: {
2075
2081
  enabled?: boolean;
@@ -2092,22 +2098,22 @@ interface XaiGrokImagineVideoTextToVideoResponse {
2092
2098
  interface XAITextToVideoOutput {
2093
2099
  video: {
2094
2100
  width?: number | unknown;
2095
- fps?: number | unknown;
2096
- content_type?: string | unknown;
2097
2101
  num_frames?: number | unknown;
2102
+ fps?: number | unknown;
2098
2103
  file_name?: string | unknown;
2099
- duration?: number | unknown;
2100
2104
  url: string;
2105
+ content_type?: string | unknown;
2101
2106
  height?: number | unknown;
2102
2107
  file_size?: number | unknown;
2108
+ duration?: number | unknown;
2103
2109
  };
2104
2110
  }
2105
2111
 
2106
2112
  interface XAIImageToVideoInput {
2107
- prompt: string;
2108
2113
  image_url: string;
2109
- duration?: number;
2110
2114
  resolution?: "480p" | "720p";
2115
+ duration?: number;
2116
+ prompt: string;
2111
2117
  aspect_ratio?: "auto" | "16:9" | "4:3" | "3:2" | "1:1" | "2:3" | "3:4" | "9:16" | unknown;
2112
2118
  options?: {
2113
2119
  safety_checks?: {
@@ -2131,20 +2137,20 @@ interface XaiGrokImagineVideoImageToVideoResponse {
2131
2137
  interface XAIImageToVideoOutput {
2132
2138
  video: {
2133
2139
  width?: number | unknown;
2134
- fps?: number | unknown;
2135
- content_type?: string | unknown;
2136
2140
  num_frames?: number | unknown;
2141
+ fps?: number | unknown;
2137
2142
  file_name?: string | unknown;
2138
- duration?: number | unknown;
2139
2143
  url: string;
2144
+ content_type?: string | unknown;
2140
2145
  height?: number | unknown;
2141
2146
  file_size?: number | unknown;
2147
+ duration?: number | unknown;
2142
2148
  };
2143
2149
  }
2144
2150
 
2145
2151
  interface XAIVideoEditInput {
2146
- prompt: string;
2147
2152
  resolution?: "auto" | "480p" | "720p";
2153
+ prompt: string;
2148
2154
  video_url: string;
2149
2155
  options?: {
2150
2156
  safety_checks?: {
@@ -2168,14 +2174,14 @@ interface XaiGrokImagineVideoEditVideoResponse {
2168
2174
  interface XAIVideoEditOutput {
2169
2175
  video: {
2170
2176
  width?: number | unknown;
2171
- fps?: number | unknown;
2172
- content_type?: string | unknown;
2173
2177
  num_frames?: number | unknown;
2178
+ fps?: number | unknown;
2174
2179
  file_name?: string | unknown;
2175
- duration?: number | unknown;
2176
2180
  url: string;
2181
+ content_type?: string | unknown;
2177
2182
  height?: number | unknown;
2178
2183
  file_size?: number | unknown;
2184
+ duration?: number | unknown;
2179
2185
  };
2180
2186
  }
2181
2187
 
@@ -2245,14 +2251,14 @@ interface VideoFrameNsfw {
2245
2251
 
2246
2252
  interface ImageExpansionInput {
2247
2253
  original_image_size?: number[] | unknown;
2248
- image_url: string;
2249
2254
  negative_prompt?: string;
2250
- seed?: number | unknown;
2255
+ canvas_size: number[];
2251
2256
  sync_mode?: boolean;
2257
+ prompt?: string;
2252
2258
  aspect_ratio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | unknown;
2253
2259
  original_image_location?: number[] | unknown;
2254
- canvas_size: number[];
2255
- prompt?: string;
2260
+ image_url: string;
2261
+ seed?: number | unknown;
2256
2262
  options?: {
2257
2263
  safety_checks?: {
2258
2264
  enabled?: boolean;
@@ -2274,12 +2280,12 @@ interface BriaExpandResponse {
2274
2280
  }
2275
2281
  interface ImageExpansionOutput {
2276
2282
  image: {
2277
- content_type?: string | unknown;
2283
+ url: string;
2278
2284
  width?: number | unknown;
2279
- height?: number | unknown;
2285
+ content_type?: string | unknown;
2280
2286
  file_size?: number | unknown;
2287
+ height?: number | unknown;
2281
2288
  file_name?: string | unknown;
2282
- url: string;
2283
2289
  };
2284
2290
  seed: number;
2285
2291
  }
@@ -2728,7 +2734,11 @@ interface KlingAudioResult {
2728
2734
  }
2729
2735
 
2730
2736
  interface KlingVideoToAudioCommand {
2731
- video_url: string;
2737
+ video_url?: string;
2738
+ video_id?: string;
2739
+ sound_effect_prompt?: string;
2740
+ bgm_prompt?: string;
2741
+ asmr_mode?: boolean;
2732
2742
  options?: GenAIOptions$2l;
2733
2743
  }
2734
2744
  interface GenAIOptions$2l {
@@ -2783,8 +2793,8 @@ interface Element {
2783
2793
  }
2784
2794
  interface ReferenceVideo {
2785
2795
  video_url: string;
2786
- refer_type: KlingOmniReferType;
2787
- keep_original_sound: KlingKeepOriginalSound$1;
2796
+ refer_type?: KlingOmniReferType;
2797
+ keep_original_sound?: KlingKeepOriginalSound$1;
2788
2798
  }
2789
2799
  type KlingOmniReferType = "feature" | "base";
2790
2800
  type KlingKeepOriginalSound$1 = "yes" | "no";
@@ -2953,7 +2963,7 @@ interface SoundGenerationCommand {
2953
2963
  loop?: boolean;
2954
2964
  duration_seconds?: number;
2955
2965
  prompt_influence?: number;
2956
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
2966
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
2957
2967
  model_id?: "eleven_text_to_sound_v2";
2958
2968
  options?: GenAIOptions$2g;
2959
2969
  }
@@ -3068,7 +3078,7 @@ interface TextToSpeechCommand {
3068
3078
  voice_id: string;
3069
3079
  text: string;
3070
3080
  model_id?: "eleven_multilingual_v2" | "eleven_v3";
3071
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
3081
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
3072
3082
  voice_settings?: VoiceSettings$1;
3073
3083
  language_code?: string;
3074
3084
  seed?: number;
@@ -3079,6 +3089,7 @@ interface VoiceSettings$1 {
3079
3089
  similarity_boost?: number;
3080
3090
  style?: number;
3081
3091
  speed?: number;
3092
+ use_speaker_boost?: boolean;
3082
3093
  }
3083
3094
  interface GenAIOptions$2d {
3084
3095
  safety_checks?: SafetyChecksOptions$2d;
@@ -3111,7 +3122,7 @@ interface SpeechToSpeechCommand {
3111
3122
  voice_id: string;
3112
3123
  audio_url: string;
3113
3124
  model_id?: "eleven_multilingual_sts_v2" | "eleven_english_sts_v2";
3114
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
3125
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
3115
3126
  voice_settings?: VoiceSettings;
3116
3127
  seed?: number;
3117
3128
  remove_background_noise?: boolean;
@@ -3647,7 +3658,6 @@ interface KlingImageGenerationCommand {
3647
3658
  prompt: string;
3648
3659
  negative_prompt?: string;
3649
3660
  image?: string;
3650
- image_fidelity?: number;
3651
3661
  n?: number;
3652
3662
  aspect_ratio?: KlingImageAspectRatio$2;
3653
3663
  callback_url?: string;
@@ -3809,11 +3819,11 @@ interface WanImagesResult {
3809
3819
  }
3810
3820
 
3811
3821
  interface LTXV23TextToVideoRequest {
3812
- prompt: string;
3813
- aspect_ratio?: "16:9" | "9:16";
3822
+ generate_audio?: boolean;
3814
3823
  resolution?: "1080p" | "1440p" | "2160p";
3815
3824
  fps?: 24 | 25 | 48 | 50;
3816
- generate_audio?: boolean;
3825
+ prompt: string;
3826
+ aspect_ratio?: "16:9" | "9:16";
3817
3827
  duration?: 6 | 8 | 10;
3818
3828
  options?: {
3819
3829
  safety_checks?: {
@@ -3836,27 +3846,27 @@ interface Ltx23TextToVideoResponse {
3836
3846
  }
3837
3847
  interface LTXV23TextToVideoResponse {
3838
3848
  video: {
3839
- content_type?: string | unknown;
3840
- file_name?: string | unknown;
3841
- fps?: number | unknown;
3842
- width?: number | unknown;
3843
- duration?: number | unknown;
3844
3849
  height?: number | unknown;
3845
3850
  file_size?: number | unknown;
3846
- num_frames?: number | unknown;
3851
+ width?: number | unknown;
3852
+ duration?: number | unknown;
3853
+ content_type?: string | unknown;
3854
+ file_name?: string | unknown;
3847
3855
  url: string;
3856
+ num_frames?: number | unknown;
3857
+ fps?: number | unknown;
3848
3858
  };
3849
3859
  }
3850
3860
 
3851
3861
  interface LTXV23ImageToVideoRequest {
3852
- aspect_ratio?: "auto" | "16:9" | "9:16";
3853
3862
  resolution?: "1080p" | "1440p" | "2160p";
3854
- fps?: 24 | 25 | 48 | 50;
3863
+ image_url: string;
3864
+ aspect_ratio?: "auto" | "16:9" | "9:16";
3855
3865
  end_image_url?: string | unknown;
3856
3866
  duration?: 6 | 8 | 10;
3857
- prompt: string;
3858
- image_url: string;
3859
3867
  generate_audio?: boolean;
3868
+ prompt: string;
3869
+ fps?: 24 | 25 | 48 | 50;
3860
3870
  options?: {
3861
3871
  safety_checks?: {
3862
3872
  enabled?: boolean;
@@ -3878,24 +3888,24 @@ interface Ltx23ImageToVideoResponse {
3878
3888
  }
3879
3889
  interface LTXV23ImageToVideoResponse {
3880
3890
  video: {
3881
- content_type?: string | unknown;
3882
- file_name?: string | unknown;
3883
- fps?: number | unknown;
3884
- width?: number | unknown;
3885
- duration?: number | unknown;
3886
3891
  height?: number | unknown;
3887
3892
  file_size?: number | unknown;
3888
- num_frames?: number | unknown;
3893
+ width?: number | unknown;
3894
+ duration?: number | unknown;
3895
+ content_type?: string | unknown;
3896
+ file_name?: string | unknown;
3889
3897
  url: string;
3898
+ num_frames?: number | unknown;
3899
+ fps?: number | unknown;
3890
3900
  };
3891
3901
  }
3892
3902
 
3893
3903
  interface LTXV23TextToVideoFastRequest {
3894
- prompt: string;
3895
- aspect_ratio?: "16:9" | "9:16";
3904
+ generate_audio?: boolean;
3896
3905
  resolution?: "1080p" | "1440p" | "2160p";
3897
3906
  fps?: 24 | 25 | 48 | 50;
3898
- generate_audio?: boolean;
3907
+ prompt: string;
3908
+ aspect_ratio?: "16:9" | "9:16";
3899
3909
  duration?: 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20;
3900
3910
  options?: {
3901
3911
  safety_checks?: {
@@ -3918,27 +3928,27 @@ interface Ltx23TextToVideoFastResponse {
3918
3928
  }
3919
3929
  interface LTXV23TextToVideoFastResponse {
3920
3930
  video: {
3921
- content_type?: string | unknown;
3922
- file_name?: string | unknown;
3923
- fps?: number | unknown;
3924
- width?: number | unknown;
3925
- duration?: number | unknown;
3926
3931
  height?: number | unknown;
3927
3932
  file_size?: number | unknown;
3928
- num_frames?: number | unknown;
3933
+ width?: number | unknown;
3934
+ duration?: number | unknown;
3935
+ content_type?: string | unknown;
3936
+ file_name?: string | unknown;
3929
3937
  url: string;
3938
+ num_frames?: number | unknown;
3939
+ fps?: number | unknown;
3930
3940
  };
3931
3941
  }
3932
3942
 
3933
3943
  interface LTXV23ImageToVideoFastRequest {
3934
- aspect_ratio?: "auto" | "16:9" | "9:16";
3935
3944
  resolution?: "1080p" | "1440p" | "2160p";
3936
- fps?: 24 | 25 | 48 | 50;
3945
+ image_url: string;
3946
+ aspect_ratio?: "auto" | "16:9" | "9:16";
3937
3947
  end_image_url?: string | unknown;
3938
3948
  duration?: 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20;
3939
- prompt: string;
3940
- image_url: string;
3941
3949
  generate_audio?: boolean;
3950
+ prompt: string;
3951
+ fps?: 24 | 25 | 48 | 50;
3942
3952
  options?: {
3943
3953
  safety_checks?: {
3944
3954
  enabled?: boolean;
@@ -3960,23 +3970,23 @@ interface Ltx23ImageToVideoFastResponse {
3960
3970
  }
3961
3971
  interface LTXV23ImageToVideoFastResponse {
3962
3972
  video: {
3963
- content_type?: string | unknown;
3964
- file_name?: string | unknown;
3965
- fps?: number | unknown;
3966
- width?: number | unknown;
3967
- duration?: number | unknown;
3968
3973
  height?: number | unknown;
3969
3974
  file_size?: number | unknown;
3970
- num_frames?: number | unknown;
3975
+ width?: number | unknown;
3976
+ duration?: number | unknown;
3977
+ content_type?: string | unknown;
3978
+ file_name?: string | unknown;
3971
3979
  url: string;
3980
+ num_frames?: number | unknown;
3981
+ fps?: number | unknown;
3972
3982
  };
3973
3983
  }
3974
3984
 
3975
3985
  interface LTXV23AudioToVideoRequest {
3986
+ audio_url: string;
3987
+ image_url?: string | unknown;
3976
3988
  prompt?: string | unknown;
3977
3989
  aspect_ratio?: "auto" | "16:9" | "9:16";
3978
- image_url?: string | unknown;
3979
- audio_url: string;
3980
3990
  guidance_scale?: number | unknown;
3981
3991
  options?: {
3982
3992
  safety_checks?: {
@@ -3999,22 +4009,22 @@ interface Ltx23AudioToVideoResponse {
3999
4009
  }
4000
4010
  interface LTXV23AudioToVideoResponse {
4001
4011
  video: {
4002
- content_type?: string | unknown;
4003
- file_name?: string | unknown;
4004
- fps?: number | unknown;
4005
- width?: number | unknown;
4006
- duration?: number | unknown;
4007
4012
  height?: number | unknown;
4008
4013
  file_size?: number | unknown;
4009
- num_frames?: number | unknown;
4014
+ width?: number | unknown;
4015
+ duration?: number | unknown;
4016
+ content_type?: string | unknown;
4017
+ file_name?: string | unknown;
4010
4018
  url: string;
4019
+ num_frames?: number | unknown;
4020
+ fps?: number | unknown;
4011
4021
  };
4012
4022
  }
4013
4023
 
4014
4024
  interface LTXV23ExtendVideoRequest {
4015
- prompt?: string | unknown;
4016
4025
  context?: number | unknown;
4017
4026
  video_url: string;
4027
+ prompt?: string | unknown;
4018
4028
  mode?: "start" | "end";
4019
4029
  duration?: number;
4020
4030
  options?: {
@@ -4038,24 +4048,24 @@ interface Ltx23ExtendVideoResponse {
4038
4048
  }
4039
4049
  interface LTXV23ExtendVideoResponse {
4040
4050
  video: {
4041
- content_type?: string | unknown;
4042
- file_name?: string | unknown;
4043
- fps?: number | unknown;
4044
- width?: number | unknown;
4045
- duration?: number | unknown;
4046
4051
  height?: number | unknown;
4047
4052
  file_size?: number | unknown;
4048
- num_frames?: number | unknown;
4053
+ width?: number | unknown;
4054
+ duration?: number | unknown;
4055
+ content_type?: string | unknown;
4056
+ file_name?: string | unknown;
4049
4057
  url: string;
4058
+ num_frames?: number | unknown;
4059
+ fps?: number | unknown;
4050
4060
  };
4051
4061
  }
4052
4062
 
4053
4063
  interface LTXV23RetakeVideoRequest {
4054
- prompt: string;
4055
- duration?: number;
4056
- video_url: string;
4057
4064
  retake_mode?: "replace_audio" | "replace_video" | "replace_audio_and_video";
4058
4065
  start_time?: number;
4066
+ video_url: string;
4067
+ prompt: string;
4068
+ duration?: number;
4059
4069
  options?: {
4060
4070
  safety_checks?: {
4061
4071
  enabled?: boolean;
@@ -4077,21 +4087,20 @@ interface Ltx23RetakeVideoResponse {
4077
4087
  }
4078
4088
  interface LTXV23RetakeVideoResponse {
4079
4089
  video: {
4080
- content_type?: string | unknown;
4081
- file_name?: string | unknown;
4082
- fps?: number | unknown;
4083
- width?: number | unknown;
4084
- duration?: number | unknown;
4085
4090
  height?: number | unknown;
4086
4091
  file_size?: number | unknown;
4087
- num_frames?: number | unknown;
4092
+ width?: number | unknown;
4093
+ duration?: number | unknown;
4094
+ content_type?: string | unknown;
4095
+ file_name?: string | unknown;
4088
4096
  url: string;
4097
+ num_frames?: number | unknown;
4098
+ fps?: number | unknown;
4089
4099
  };
4090
4100
  }
4091
4101
 
4092
4102
  interface AudioIsolationCommand {
4093
4103
  audio_url: string;
4094
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4095
4104
  options?: GenAIOptions$1_;
4096
4105
  }
4097
4106
  interface GenAIOptions$1_ {
@@ -4122,13 +4131,12 @@ interface AudioIsolationResult {
4122
4131
  }
4123
4132
 
4124
4133
  interface DubbingCommand {
4125
- audio_url: string;
4126
- source_lang: string;
4134
+ audio_url?: string;
4135
+ source_lang?: string;
4127
4136
  target_lang: string;
4128
4137
  source_url?: string;
4129
4138
  num_speakers?: number;
4130
4139
  watermark?: boolean;
4131
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4132
4140
  options?: GenAIOptions$1Z;
4133
4141
  }
4134
4142
  interface GenAIOptions$1Z {
@@ -4167,7 +4175,7 @@ interface VoiceRemixCommand {
4167
4175
  loudness?: number;
4168
4176
  seed?: number;
4169
4177
  guidance_scale?: number;
4170
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4178
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4171
4179
  options?: GenAIOptions$1Y;
4172
4180
  }
4173
4181
  interface GenAIOptions$1Y {
@@ -4206,7 +4214,7 @@ interface TextToDialogueCommand {
4206
4214
  conversation: ConversationItem[];
4207
4215
  language_code?: string;
4208
4216
  seed?: number;
4209
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4217
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4210
4218
  options?: GenAIOptions$1X;
4211
4219
  }
4212
4220
  interface ConversationItem {
@@ -4250,7 +4258,7 @@ interface VoiceDesignCommand {
4250
4258
  seed?: number;
4251
4259
  guidance_scale?: number;
4252
4260
  should_enhance?: boolean;
4253
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4261
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4254
4262
  options?: GenAIOptions$1W;
4255
4263
  }
4256
4264
  interface GenAIOptions$1W {
@@ -4294,7 +4302,7 @@ interface VoiceCreatePreviewsCommand {
4294
4302
  seed?: number;
4295
4303
  guidance_scale?: number;
4296
4304
  should_enhance?: boolean;
4297
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4305
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
4298
4306
  options?: GenAIOptions$1V;
4299
4307
  }
4300
4308
  interface GenAIOptions$1V {
@@ -4765,18 +4773,18 @@ interface WanV2VideoEditResult {
4765
4773
  }
4766
4774
 
4767
4775
  interface QwenImage2TextToImageInput {
4768
- num_images?: number;
4776
+ enable_prompt_expansion?: boolean;
4777
+ prompt: string;
4778
+ seed?: number | unknown;
4769
4779
  image_size?: {
4770
4780
  height?: number;
4771
4781
  width?: number;
4772
4782
  } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9";
4773
- output_format?: "jpeg" | "png" | "webp";
4774
4783
  negative_prompt?: string | unknown;
4775
- prompt: string;
4784
+ output_format?: "jpeg" | "png" | "webp";
4785
+ num_images?: number;
4776
4786
  enable_safety_checker?: boolean;
4777
4787
  sync_mode?: boolean;
4778
- seed?: number | unknown;
4779
- enable_prompt_expansion?: boolean;
4780
4788
  options?: {
4781
4789
  safety_checks?: {
4782
4790
  enabled?: boolean;
@@ -4799,27 +4807,27 @@ interface QwenImage2TextToImageResponse {
4799
4807
  interface QwenImage2TextToImageOutput {
4800
4808
  images: ({
4801
4809
  file_name?: string | unknown;
4802
- content_type?: string | unknown;
4803
4810
  file_size?: number | unknown;
4811
+ content_type?: string | unknown;
4804
4812
  url: string;
4805
4813
  })[];
4806
4814
  seed: number;
4807
4815
  }
4808
4816
 
4809
4817
  interface QwenImage2EditInput {
4810
- num_images?: number;
4811
4818
  enable_prompt_expansion?: boolean;
4812
- output_format?: "jpeg" | "png" | "webp";
4813
- negative_prompt?: string | unknown;
4814
- image_urls: string[];
4815
4819
  prompt: string;
4816
- enable_safety_checker?: boolean;
4817
- sync_mode?: boolean;
4818
4820
  seed?: number | unknown;
4819
4821
  image_size?: {
4820
4822
  height?: number;
4821
4823
  width?: number;
4822
4824
  } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | unknown;
4825
+ negative_prompt?: string | unknown;
4826
+ output_format?: "jpeg" | "png" | "webp";
4827
+ num_images?: number;
4828
+ enable_safety_checker?: boolean;
4829
+ image_urls: string[];
4830
+ sync_mode?: boolean;
4823
4831
  options?: {
4824
4832
  safety_checks?: {
4825
4833
  enabled?: boolean;
@@ -4842,26 +4850,26 @@ interface QwenImage2EditResponse {
4842
4850
  interface QwenImage2EditOutput {
4843
4851
  images: ({
4844
4852
  file_name?: string | unknown;
4845
- content_type?: string | unknown;
4846
4853
  file_size?: number | unknown;
4854
+ content_type?: string | unknown;
4847
4855
  url: string;
4848
4856
  })[];
4849
4857
  seed: number;
4850
4858
  }
4851
4859
 
4852
4860
  interface QwenImage2ProTextToImageInput {
4853
- num_images?: number;
4861
+ enable_prompt_expansion?: boolean;
4862
+ prompt: string;
4863
+ seed?: number | unknown;
4854
4864
  image_size?: {
4855
4865
  height?: number;
4856
4866
  width?: number;
4857
4867
  } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9";
4858
- output_format?: "jpeg" | "png" | "webp";
4859
4868
  negative_prompt?: string | unknown;
4860
- prompt: string;
4869
+ output_format?: "jpeg" | "png" | "webp";
4870
+ num_images?: number;
4861
4871
  enable_safety_checker?: boolean;
4862
4872
  sync_mode?: boolean;
4863
- seed?: number | unknown;
4864
- enable_prompt_expansion?: boolean;
4865
4873
  options?: {
4866
4874
  safety_checks?: {
4867
4875
  enabled?: boolean;
@@ -4884,27 +4892,27 @@ interface QwenImage2ProTextToImageResponse {
4884
4892
  interface QwenImage2ProTextToImageOutput {
4885
4893
  images: ({
4886
4894
  file_name?: string | unknown;
4887
- content_type?: string | unknown;
4888
4895
  file_size?: number | unknown;
4896
+ content_type?: string | unknown;
4889
4897
  url: string;
4890
4898
  })[];
4891
4899
  seed: number;
4892
4900
  }
4893
4901
 
4894
4902
  interface QwenImage2ProEditInput {
4895
- num_images?: number;
4896
4903
  enable_prompt_expansion?: boolean;
4897
- output_format?: "jpeg" | "png" | "webp";
4898
- negative_prompt?: string | unknown;
4899
- image_urls: string[];
4900
4904
  prompt: string;
4901
- enable_safety_checker?: boolean;
4902
- sync_mode?: boolean;
4903
4905
  seed?: number | unknown;
4904
4906
  image_size?: {
4905
4907
  height?: number;
4906
4908
  width?: number;
4907
4909
  } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | unknown;
4910
+ negative_prompt?: string | unknown;
4911
+ output_format?: "jpeg" | "png" | "webp";
4912
+ num_images?: number;
4913
+ enable_safety_checker?: boolean;
4914
+ image_urls: string[];
4915
+ sync_mode?: boolean;
4908
4916
  options?: {
4909
4917
  safety_checks?: {
4910
4918
  enabled?: boolean;
@@ -4927,8 +4935,8 @@ interface QwenImage2ProEditResponse {
4927
4935
  interface QwenImage2ProEditOutput {
4928
4936
  images: ({
4929
4937
  file_name?: string | unknown;
4930
- content_type?: string | unknown;
4931
4938
  file_size?: number | unknown;
4939
+ content_type?: string | unknown;
4932
4940
  url: string;
4933
4941
  })[];
4934
4942
  seed: number;
@@ -5051,9 +5059,9 @@ interface DriveFolderOptions$1J {
5051
5059
  interface CharacterPerformanceResponse {
5052
5060
  id: string;
5053
5061
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
5054
- result: GeneratedVideoResult$6;
5062
+ result: GeneratedVideoResult$7;
5055
5063
  }
5056
- interface GeneratedVideoResult$6 {
5064
+ interface GeneratedVideoResult$7 {
5057
5065
  url: string;
5058
5066
  mimeType?: string;
5059
5067
  driveFile?: Record<string, unknown>;
@@ -5104,9 +5112,9 @@ interface DriveFolderOptions$1I {
5104
5112
  interface VideoToVideoResponse {
5105
5113
  id: string;
5106
5114
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
5107
- result: GeneratedVideoResult$5;
5115
+ result: GeneratedVideoResult$6;
5108
5116
  }
5109
- interface GeneratedVideoResult$5 {
5117
+ interface GeneratedVideoResult$6 {
5110
5118
  url: string;
5111
5119
  mimeType?: string;
5112
5120
  driveFile?: Record<string, unknown>;
@@ -5147,9 +5155,9 @@ interface PromptImage {
5147
5155
  interface ImageToVideoResponse$2 {
5148
5156
  id: string;
5149
5157
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
5150
- result: GeneratedVideoResult$4;
5158
+ result: GeneratedVideoResult$5;
5151
5159
  }
5152
- interface GeneratedVideoResult$4 {
5160
+ interface GeneratedVideoResult$5 {
5153
5161
  url: string;
5154
5162
  mimeType?: string;
5155
5163
  driveFile?: Record<string, unknown>;
@@ -5185,9 +5193,9 @@ interface DriveFolderOptions$1G {
5185
5193
  interface TextToVideoResponse$1 {
5186
5194
  id: string;
5187
5195
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
5188
- result: GeneratedVideoResult$3;
5196
+ result: GeneratedVideoResult$4;
5189
5197
  }
5190
- interface GeneratedVideoResult$3 {
5198
+ interface GeneratedVideoResult$4 {
5191
5199
  url: string;
5192
5200
  mimeType?: string;
5193
5201
  driveFile?: Record<string, unknown>;
@@ -5393,9 +5401,9 @@ interface DriveFolderOptions$1C {
5393
5401
  id?: string;
5394
5402
  }
5395
5403
  interface SeedanceResponse {
5396
- result: GeneratedVideoResult$2;
5404
+ result: GeneratedVideoResult$3;
5397
5405
  }
5398
- interface GeneratedVideoResult$2 {
5406
+ interface GeneratedVideoResult$3 {
5399
5407
  video_url: string;
5400
5408
  last_frame_url?: string;
5401
5409
  output_format?: string;
@@ -5774,13 +5782,13 @@ interface IdeogramClientData$2 {
5774
5782
  }
5775
5783
 
5776
5784
  interface Seedance2T2VInput {
5777
- resolution?: "480p" | "720p" | "1080p" | "4k";
5785
+ prompt: string;
5778
5786
  generate_audio?: boolean;
5779
- bitrate_mode?: "standard" | "high";
5780
- end_user_id?: string | unknown;
5781
5787
  duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5782
- prompt: string;
5783
5788
  aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5789
+ bitrate_mode?: "standard" | "high";
5790
+ end_user_id?: string | unknown;
5791
+ resolution?: "480p" | "720p" | "1080p" | "4k";
5784
5792
  options?: {
5785
5793
  safety_checks?: {
5786
5794
  enabled?: boolean;
@@ -5803,23 +5811,23 @@ interface BytedanceSeedance20TextToVideoResponse {
5803
5811
  interface Seedance2VideoOutput$5 {
5804
5812
  seed: number;
5805
5813
  video: {
5806
- url: string;
5807
- content_type?: string | unknown;
5808
5814
  file_name?: string | unknown;
5809
5815
  file_size?: number | unknown;
5816
+ content_type?: string | unknown;
5817
+ url: string;
5810
5818
  };
5811
5819
  }
5812
5820
 
5813
5821
  interface Seedance2I2VInput {
5814
- end_user_id?: string | unknown;
5815
- duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5816
- image_url: string;
5817
- aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5818
5822
  resolution?: "480p" | "720p" | "1080p" | "4k";
5819
- generate_audio?: boolean;
5823
+ prompt: string;
5820
5824
  bitrate_mode?: "standard" | "high";
5825
+ generate_audio?: boolean;
5826
+ duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5827
+ aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5828
+ end_user_id?: string | unknown;
5829
+ image_url: string;
5821
5830
  end_image_url?: string | unknown;
5822
- prompt: string;
5823
5831
  options?: {
5824
5832
  safety_checks?: {
5825
5833
  enabled?: boolean;
@@ -5842,21 +5850,21 @@ interface BytedanceSeedance20ImageToVideoResponse {
5842
5850
  interface Seedance2VideoOutput$4 {
5843
5851
  seed: number;
5844
5852
  video: {
5845
- url: string;
5846
- content_type?: string | unknown;
5847
5853
  file_name?: string | unknown;
5848
5854
  file_size?: number | unknown;
5855
+ content_type?: string | unknown;
5856
+ url: string;
5849
5857
  };
5850
5858
  }
5851
5859
 
5852
5860
  interface Seedance2T2VFastInput {
5853
- resolution?: "480p" | "720p";
5861
+ prompt: string;
5854
5862
  generate_audio?: boolean;
5855
- bitrate_mode?: "standard" | "high";
5856
- end_user_id?: string | unknown;
5857
5863
  duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5858
- prompt: string;
5859
5864
  aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5865
+ bitrate_mode?: "standard" | "high";
5866
+ end_user_id?: string | unknown;
5867
+ resolution?: "480p" | "720p";
5860
5868
  options?: {
5861
5869
  safety_checks?: {
5862
5870
  enabled?: boolean;
@@ -5879,23 +5887,23 @@ interface BytedanceSeedance20FastTextToVideoResponse {
5879
5887
  interface Seedance2VideoOutput$3 {
5880
5888
  seed: number;
5881
5889
  video: {
5882
- url: string;
5883
- content_type?: string | unknown;
5884
5890
  file_name?: string | unknown;
5885
5891
  file_size?: number | unknown;
5892
+ content_type?: string | unknown;
5893
+ url: string;
5886
5894
  };
5887
5895
  }
5888
5896
 
5889
5897
  interface Seedance2I2VFastInput {
5890
- end_user_id?: string | unknown;
5891
- duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5892
- image_url: string;
5893
- aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5894
5898
  resolution?: "480p" | "720p";
5895
- generate_audio?: boolean;
5899
+ prompt: string;
5896
5900
  bitrate_mode?: "standard" | "high";
5901
+ generate_audio?: boolean;
5902
+ duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5903
+ aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5904
+ end_user_id?: string | unknown;
5905
+ image_url: string;
5897
5906
  end_image_url?: string | unknown;
5898
- prompt: string;
5899
5907
  options?: {
5900
5908
  safety_checks?: {
5901
5909
  enabled?: boolean;
@@ -5918,23 +5926,23 @@ interface BytedanceSeedance20FastImageToVideoResponse {
5918
5926
  interface Seedance2VideoOutput$2 {
5919
5927
  seed: number;
5920
5928
  video: {
5921
- url: string;
5922
- content_type?: string | unknown;
5923
5929
  file_name?: string | unknown;
5924
5930
  file_size?: number | unknown;
5931
+ content_type?: string | unknown;
5932
+ url: string;
5925
5933
  };
5926
5934
  }
5927
5935
 
5928
5936
  interface Seedance2R2VInput {
5929
- end_user_id?: string | unknown;
5930
- aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5931
- generate_audio?: boolean;
5932
- duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5933
5937
  resolution?: "480p" | "720p" | "1080p" | "4k";
5934
- bitrate_mode?: "standard" | "high";
5935
- video_urls?: string[];
5936
5938
  audio_urls?: string[];
5937
5939
  prompt: string;
5940
+ bitrate_mode?: "standard" | "high";
5941
+ video_urls?: string[];
5942
+ duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5943
+ aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5944
+ end_user_id?: string | unknown;
5945
+ generate_audio?: boolean;
5938
5946
  image_urls?: string[];
5939
5947
  options?: {
5940
5948
  safety_checks?: {
@@ -5958,23 +5966,23 @@ interface BytedanceSeedance20ReferenceToVideoResponse {
5958
5966
  interface Seedance2VideoOutput$1 {
5959
5967
  seed: number;
5960
5968
  video: {
5961
- url: string;
5962
- content_type?: string | unknown;
5963
5969
  file_name?: string | unknown;
5964
5970
  file_size?: number | unknown;
5971
+ content_type?: string | unknown;
5972
+ url: string;
5965
5973
  };
5966
5974
  }
5967
5975
 
5968
5976
  interface Seedance2R2VFastInput {
5969
- end_user_id?: string | unknown;
5970
- aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5971
- generate_audio?: boolean;
5972
- duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5973
5977
  resolution?: "480p" | "720p";
5974
- bitrate_mode?: "standard" | "high";
5975
- video_urls?: string[];
5976
5978
  audio_urls?: string[];
5977
5979
  prompt: string;
5980
+ bitrate_mode?: "standard" | "high";
5981
+ video_urls?: string[];
5982
+ duration?: "auto" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15";
5983
+ aspect_ratio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
5984
+ end_user_id?: string | unknown;
5985
+ generate_audio?: boolean;
5978
5986
  image_urls?: string[];
5979
5987
  options?: {
5980
5988
  safety_checks?: {
@@ -5998,10 +6006,10 @@ interface BytedanceSeedance20FastReferenceToVideoResponse {
5998
6006
  interface Seedance2VideoOutput {
5999
6007
  seed: number;
6000
6008
  video: {
6001
- url: string;
6002
- content_type?: string | unknown;
6003
6009
  file_name?: string | unknown;
6004
6010
  file_size?: number | unknown;
6011
+ content_type?: string | unknown;
6012
+ url: string;
6005
6013
  };
6006
6014
  }
6007
6015
 
@@ -6350,9 +6358,9 @@ interface DriveFolderOptions$1p {
6350
6358
  interface AvatarVideoResponse {
6351
6359
  id: string;
6352
6360
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
6353
- result: GeneratedVideoResult$1;
6361
+ result: GeneratedVideoResult$2;
6354
6362
  }
6355
- interface GeneratedVideoResult$1 {
6363
+ interface GeneratedVideoResult$2 {
6356
6364
  url: string;
6357
6365
  mimeType?: string;
6358
6366
  driveFile?: Record<string, unknown>;
@@ -7175,11 +7183,11 @@ interface QwenImageToImageResultItem {
7175
7183
  driveFile?: Record<string, unknown>;
7176
7184
  }
7177
7185
 
7178
- interface GenfillV6InpaintCommand {
7179
- image: string;
7180
- mask: string;
7181
- quality_jpg?: number;
7182
- model?: "model-genfillv6" | "preview-model-genfillv6";
7186
+ interface FaceCorrectionCommand {
7187
+ image_url: string;
7188
+ types: ("blemish" | "eye-bag" | "face-smooth" | "wrinkle")[];
7189
+ restore_colors?: boolean;
7190
+ model?: "preview-model-face-correction-v1" | "model-face-correction-v1";
7183
7191
  options?: GenAIOptions$16;
7184
7192
  }
7185
7193
  interface GenAIOptions$16 {
@@ -7198,40 +7206,6 @@ interface DriveFolderOptions$16 {
7198
7206
  path?: string;
7199
7207
  id?: string;
7200
7208
  }
7201
- interface GenfillV6InpaintResponse {
7202
- id: string;
7203
- status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
7204
- result: GenfillV6InpaintResultData;
7205
- }
7206
- interface GenfillV6InpaintResultData {
7207
- url: string;
7208
- mimeType?: string;
7209
- driveFile?: Record<string, unknown>;
7210
- }
7211
-
7212
- interface FaceCorrectionCommand {
7213
- image_url: string;
7214
- types: ("blemish" | "eye-bag" | "face-smooth" | "wrinkle")[];
7215
- restore_colors?: boolean;
7216
- model?: "preview-model-face-correction-v1" | "model-face-correction-v1";
7217
- options?: GenAIOptions$15;
7218
- }
7219
- interface GenAIOptions$15 {
7220
- safety_checks?: SafetyChecksOptions$15;
7221
- drive?: DriveOptions$15;
7222
- }
7223
- interface SafetyChecksOptions$15 {
7224
- enabled?: boolean;
7225
- }
7226
- interface DriveOptions$15 {
7227
- name: string;
7228
- attributes?: Record<string, unknown>;
7229
- folder?: DriveFolderOptions$15;
7230
- }
7231
- interface DriveFolderOptions$15 {
7232
- path?: string;
7233
- id?: string;
7234
- }
7235
7209
  interface FaceCorrectionResponse {
7236
7210
  id: string;
7237
7211
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
@@ -7251,25 +7225,25 @@ interface TextToImageCommand {
7251
7225
  output_format?: "png" | "jpeg";
7252
7226
  image_ref?: LumaImageRef$1[];
7253
7227
  web_search?: boolean;
7254
- options?: GenAIOptions$14;
7228
+ options?: GenAIOptions$15;
7255
7229
  }
7256
7230
  interface LumaImageRef$1 {
7257
7231
  url?: string;
7258
7232
  data?: string;
7259
7233
  }
7260
- interface GenAIOptions$14 {
7261
- safety_checks?: SafetyChecksOptions$14;
7262
- drive?: DriveOptions$14;
7234
+ interface GenAIOptions$15 {
7235
+ safety_checks?: SafetyChecksOptions$15;
7236
+ drive?: DriveOptions$15;
7263
7237
  }
7264
- interface SafetyChecksOptions$14 {
7238
+ interface SafetyChecksOptions$15 {
7265
7239
  enabled?: boolean;
7266
7240
  }
7267
- interface DriveOptions$14 {
7241
+ interface DriveOptions$15 {
7268
7242
  name: string;
7269
7243
  attributes?: Record<string, unknown>;
7270
- folder?: DriveFolderOptions$14;
7244
+ folder?: DriveFolderOptions$15;
7271
7245
  }
7272
- interface DriveFolderOptions$14 {
7246
+ interface DriveFolderOptions$15 {
7273
7247
  path?: string;
7274
7248
  id?: string;
7275
7249
  }
@@ -7290,7 +7264,7 @@ interface ImageEditCommand {
7290
7264
  model?: "uni-1" | "uni-1-max";
7291
7265
  style?: "auto" | "manga";
7292
7266
  image_ref?: LumaImageRef[];
7293
- options?: GenAIOptions$13;
7267
+ options?: GenAIOptions$14;
7294
7268
  }
7295
7269
  interface Source {
7296
7270
  url?: string;
@@ -7302,19 +7276,19 @@ interface LumaImageRef {
7302
7276
  data?: string;
7303
7277
  media_type?: string;
7304
7278
  }
7305
- interface GenAIOptions$13 {
7306
- safety_checks?: SafetyChecksOptions$13;
7307
- drive?: DriveOptions$13;
7279
+ interface GenAIOptions$14 {
7280
+ safety_checks?: SafetyChecksOptions$14;
7281
+ drive?: DriveOptions$14;
7308
7282
  }
7309
- interface SafetyChecksOptions$13 {
7283
+ interface SafetyChecksOptions$14 {
7310
7284
  enabled?: boolean;
7311
7285
  }
7312
- interface DriveOptions$13 {
7286
+ interface DriveOptions$14 {
7313
7287
  name: string;
7314
7288
  attributes?: Record<string, unknown>;
7315
- folder?: DriveFolderOptions$13;
7289
+ folder?: DriveFolderOptions$14;
7316
7290
  }
7317
- interface DriveFolderOptions$13 {
7291
+ interface DriveFolderOptions$14 {
7318
7292
  path?: string;
7319
7293
  id?: string;
7320
7294
  }
@@ -7335,21 +7309,21 @@ interface QwenMultipatchEnhancementCommand {
7335
7309
  target_scale?: number;
7336
7310
  output_format?: "JPEG" | "PNG";
7337
7311
  model?: "qwen-multipatch-enhancement" | "preview-qwen-multipatch-enhancement";
7338
- options?: GenAIOptions$12;
7312
+ options?: GenAIOptions$13;
7339
7313
  }
7340
- interface GenAIOptions$12 {
7341
- safety_checks?: SafetyChecksOptions$12;
7342
- drive?: DriveOptions$12;
7314
+ interface GenAIOptions$13 {
7315
+ safety_checks?: SafetyChecksOptions$13;
7316
+ drive?: DriveOptions$13;
7343
7317
  }
7344
- interface SafetyChecksOptions$12 {
7318
+ interface SafetyChecksOptions$13 {
7345
7319
  enabled?: boolean;
7346
7320
  }
7347
- interface DriveOptions$12 {
7321
+ interface DriveOptions$13 {
7348
7322
  name: string;
7349
7323
  attributes?: Record<string, unknown>;
7350
- folder?: DriveFolderOptions$12;
7324
+ folder?: DriveFolderOptions$13;
7351
7325
  }
7352
- interface DriveFolderOptions$12 {
7326
+ interface DriveFolderOptions$13 {
7353
7327
  path?: string;
7354
7328
  id?: string;
7355
7329
  }
@@ -7372,25 +7346,25 @@ interface VideoSegmentationCommand {
7372
7346
  segment_ref_frames?: boolean;
7373
7347
  output_pixel_format?: "yuv444p" | "yuv420p";
7374
7348
  model?: "model-video-segmentation-stcn";
7375
- options?: GenAIOptions$11;
7349
+ options?: GenAIOptions$12;
7376
7350
  }
7377
7351
  interface ReferenceMask {
7378
7352
  frame_index: number;
7379
7353
  mask_url: string;
7380
7354
  }
7381
- interface GenAIOptions$11 {
7382
- safety_checks?: SafetyChecksOptions$11;
7383
- drive?: DriveOptions$11;
7355
+ interface GenAIOptions$12 {
7356
+ safety_checks?: SafetyChecksOptions$12;
7357
+ drive?: DriveOptions$12;
7384
7358
  }
7385
- interface SafetyChecksOptions$11 {
7359
+ interface SafetyChecksOptions$12 {
7386
7360
  enabled?: boolean;
7387
7361
  }
7388
- interface DriveOptions$11 {
7362
+ interface DriveOptions$12 {
7389
7363
  name: string;
7390
7364
  attributes?: Record<string, unknown>;
7391
- folder?: DriveFolderOptions$11;
7365
+ folder?: DriveFolderOptions$12;
7392
7366
  }
7393
- interface DriveFolderOptions$11 {
7367
+ interface DriveFolderOptions$12 {
7394
7368
  path?: string;
7395
7369
  id?: string;
7396
7370
  }
@@ -7409,22 +7383,22 @@ interface KlingVideoEffectsCommand {
7409
7383
  image?: string;
7410
7384
  images?: string[];
7411
7385
  effect_scene: KlingEffectScene;
7412
- options?: GenAIOptions$10;
7386
+ options?: GenAIOptions$11;
7413
7387
  }
7414
- type KlingEffectScene = "korean_baseball" | "pet_skateboard" | "daily_ootd" | "tiny_beast_printer" | "landmark_reveal" | "winter_charm" | "flash_ride" | "maestro_of_magic" | "magic_carpet_ride" | "good_luck_spirit" | "shooting_star" | "sparkler_wand" | "sovereign_scepter" | "dirt_rush" | "return_of_the_king" | "dance_with_dragon" | "minimalist_light" | "martial_meow" | "sassy_shake" | "knock_at_a_door_revenge" | "palm_sized_figure_pro" | "prank_box" | "perler_beads" | "spring_bloom" | "toss_run" | "switch_to_silk" | "get_rich_quick" | "make_it_rain" | "twist_shake" | "the_hip_sway" | "send_my_love" | "funky_martian" | "wealth_drive" | "the_high_kick" | "the_exercise" | "lucky_veggie" | "studio_look" | "flash_drive" | "shush_my_dreams" | "french_elegance" | "finger_swipe" | "advent_of_flora" | "smooth_transition" | "kiss_pro" | "raid_check" | "snow_night_kiss" | "eternal_kiss" | "fortune_in_motion" | "chinese_trend" | "sedan_chair_dance" | "skyfall" | "good_luck_dance" | "laicai_dance" | "yangge_dance" | "color_mixing" | "lantern_festival_cuju" | "unique_firework" | "unique_spring_couplets" | "horse_mask" | "fortune_knocks_cartoon" | "tangyuan_to_animal" | "hot_feet_dance" | "swag_dance" | "pigeon_dance" | "bloodline_dance" | "chanel_dance" | "cute_dance" | "love_theme_song" | "pumpitup_dance" | "city_to_village" | "fortune_god_transform" | "new_year_feast" | "ring_in_new" | "horse_year_firework" | "pet_vlogger" | "crystal_horse" | "drunk_dance" | "drunk_dance_pet" | "daoma_dance" | "bouncy_dance" | "smooth_sailing_dance" | "new_year_greeting" | "lion_dance" | "prosperity" | "great_success" | "golden_horse_fortune" | "red_packet_box" | "lucky_horse_year" | "lucky_red_packet" | "lucky_money_come" | "lion_dance_pet" | "dumpling_making_pet" | "fish_making_pet" | "pet_red_packet" | "lantern_glow" | "expression_challenge" | "overdrive" | "heart_gesture_dance" | "poping" | "martial_arts" | "running" | "nezha" | "motorcycle_dance" | "subject_3_dance" | "ghost_step_dance" | "phantom_jewel" | "zoom_out" | "cheers_2026" | "fight_pro" | "hug_pro" | "heart_gesture_pro" | "dollar_rain_pro" | "pet_bee_pro" | "countdown_teleport" | "santa_random_surprise" | "magic_match_tree" | "bullet_time_360" | "happy_birthday" | "birthday_star" | "thumbs_up_pro" | "tiger_hug_pro" | "pet_lion_pro" | "surprise_bouquet" | "bouquet_drop" | "firework_2026" | "glamour_photo_shoot" | "box_of_joy" | "first_toast_of_the_year" | "my_santa_pic" | "santa_gift" | "steampunk_christmas" | "snowglobe" | "christmas_photo_shoot" | "ornament_crash" | "santa_express" | "instant_christmas" | "coronation_of_frost" | "building_sweater" | "spark_in_the_snow" | "scarlet_and_snow" | "bullet_time_lite" | "jumping_ginger_joy" | "pure_white_wings" | "black_wings" | "golden_wing" | "pink_pink_wings" | "venomous_spider" | "luminous_elf" | "woodland_elf" | "swish_swish" | "snowboarding" | "witch_transform" | "vampire_transform" | "pumpkin_head_transform" | "demon_transform" | "mummy_transform" | "zombie_transform" | "cute_pumpkin_transform" | "halloween_escape" | "tennis_trend" | "football_live" | "f1_live" | "whirling_beverage" | "spielberg_transition";
7415
- interface GenAIOptions$10 {
7416
- safety_checks?: SafetyChecksOptions$10;
7417
- drive?: DriveOptions$10;
7388
+ type KlingEffectScene = "korean_baseball" | "pet_skateboard" | "daily_ootd" | "tiny_beast_printer" | "landmark_reveal" | "winter_charm" | "flash_ride" | "maestro_of_magic" | "magic_carpet_ride" | "good_luck_spirit" | "shooting_star" | "sparkler_wand" | "sovereign_scepter" | "dirt_rush" | "return_of_the_king" | "dance_with_dragon" | "minimalist_light" | "martial_meow" | "sassy_shake" | "knock_at_a_door_revenge" | "palm_sized_figure_pro" | "prank_box" | "perler_beads" | "spring_bloom" | "toss_run" | "switch_to_silk" | "get_rich_quick" | "make_it_rain" | "twist_shake" | "the_hip_sway" | "send_my_love" | "funky_martian" | "wealth_drive" | "the_high_kick" | "the_exercise" | "lucky_veggie" | "studio_look" | "flash_drive" | "shush_my_dreams" | "french_elegance" | "finger_swipe" | "advent_of_flora" | "smooth_transition" | "kiss_pro" | "raid_check" | "snow_night_kiss" | "eternal_kiss" | "fortune_in_motion" | "chinese_trend" | "sedan_chair_dance" | "skyfall" | "good_luck_dance" | "laicai_dance" | "yangge_dance" | "color_mixing" | "lantern_festival_cuju" | "unique_firework" | "unique_spring_couplets" | "horse_mask" | "fortune_knocks_cartoon" | "tangyuan_to_animal" | "hot_feet_dance" | "swag_dance" | "pigeon_dance" | "bloodline_dance" | "chanel_dance" | "cute_dance" | "love_theme_song" | "pumpitup_dance" | "city_to_village" | "fortune_god_transform" | "new_year_feast" | "ring_in_new" | "horse_year_firework" | "crystal_horse" | "drunk_dance" | "drunk_dance_pet" | "daoma_dance" | "bouncy_dance" | "smooth_sailing_dance" | "new_year_greeting" | "lion_dance" | "prosperity" | "great_success" | "golden_horse_fortune" | "red_packet_box" | "lucky_horse_year" | "lucky_red_packet" | "lucky_money_come" | "lion_dance_pet" | "dumpling_making_pet" | "fish_making_pet" | "pet_red_packet" | "lantern_glow" | "expression_challenge" | "overdrive" | "heart_gesture_dance" | "poping" | "martial_arts" | "running" | "nezha" | "motorcycle_dance" | "subject_3_dance" | "ghost_step_dance" | "phantom_jewel" | "zoom_out" | "cheers_2026" | "fight_pro" | "hug_pro" | "heart_gesture_pro" | "dollar_rain_pro" | "pet_bee_pro" | "countdown_teleport" | "santa_random_surprise" | "magic_match_tree" | "bullet_time_360" | "happy_birthday" | "birthday_star" | "thumbs_up_pro" | "tiger_hug_pro" | "pet_lion_pro" | "surprise_bouquet" | "bouquet_drop" | "firework_2026" | "glamour_photo_shoot" | "box_of_joy" | "first_toast_of_the_year" | "my_santa_pic" | "santa_gift" | "steampunk_christmas" | "snowglobe" | "christmas_photo_shoot" | "ornament_crash" | "santa_express" | "instant_christmas" | "coronation_of_frost" | "building_sweater" | "spark_in_the_snow" | "scarlet_and_snow" | "bullet_time_lite" | "jumping_ginger_joy" | "pure_white_wings" | "black_wings" | "golden_wing" | "pink_pink_wings" | "venomous_spider" | "luminous_elf" | "woodland_elf" | "swish_swish" | "snowboarding" | "witch_transform" | "vampire_transform" | "pumpkin_head_transform" | "demon_transform" | "mummy_transform" | "zombie_transform" | "cute_pumpkin_transform" | "halloween_escape" | "tennis_trend" | "football_live" | "f1_live" | "whirling_beverage" | "spielberg_transition";
7389
+ interface GenAIOptions$11 {
7390
+ safety_checks?: SafetyChecksOptions$11;
7391
+ drive?: DriveOptions$11;
7418
7392
  }
7419
- interface SafetyChecksOptions$10 {
7393
+ interface SafetyChecksOptions$11 {
7420
7394
  enabled?: boolean;
7421
7395
  }
7422
- interface DriveOptions$10 {
7396
+ interface DriveOptions$11 {
7423
7397
  name: string;
7424
7398
  attributes?: Record<string, unknown>;
7425
- folder?: DriveFolderOptions$10;
7399
+ folder?: DriveFolderOptions$11;
7426
7400
  }
7427
- interface DriveFolderOptions$10 {
7401
+ interface DriveFolderOptions$11 {
7428
7402
  path?: string;
7429
7403
  id?: string;
7430
7404
  }
@@ -7445,21 +7419,21 @@ interface SanaSprintCommand {
7445
7419
  guidance_scale?: number;
7446
7420
  width?: number;
7447
7421
  height?: number;
7448
- options?: GenAIOptions$$;
7422
+ options?: GenAIOptions$10;
7449
7423
  }
7450
- interface GenAIOptions$$ {
7451
- safety_checks?: SafetyChecksOptions$$;
7452
- drive?: DriveOptions$$;
7424
+ interface GenAIOptions$10 {
7425
+ safety_checks?: SafetyChecksOptions$10;
7426
+ drive?: DriveOptions$10;
7453
7427
  }
7454
- interface SafetyChecksOptions$$ {
7428
+ interface SafetyChecksOptions$10 {
7455
7429
  enabled?: boolean;
7456
7430
  }
7457
- interface DriveOptions$$ {
7431
+ interface DriveOptions$10 {
7458
7432
  name: string;
7459
7433
  attributes?: Record<string, unknown>;
7460
- folder?: DriveFolderOptions$$;
7434
+ folder?: DriveFolderOptions$10;
7461
7435
  }
7462
- interface DriveFolderOptions$$ {
7436
+ interface DriveFolderOptions$10 {
7463
7437
  path?: string;
7464
7438
  id?: string;
7465
7439
  }
@@ -7479,21 +7453,21 @@ interface VideoInpaintingCommand {
7479
7453
  mask_url: string;
7480
7454
  preserve_format?: boolean;
7481
7455
  model?: "model-video-inpainting" | "preview-model-video-inpainting";
7482
- options?: GenAIOptions$_;
7456
+ options?: GenAIOptions$$;
7483
7457
  }
7484
- interface GenAIOptions$_ {
7485
- safety_checks?: SafetyChecksOptions$_;
7486
- drive?: DriveOptions$_;
7458
+ interface GenAIOptions$$ {
7459
+ safety_checks?: SafetyChecksOptions$$;
7460
+ drive?: DriveOptions$$;
7487
7461
  }
7488
- interface SafetyChecksOptions$_ {
7462
+ interface SafetyChecksOptions$$ {
7489
7463
  enabled?: boolean;
7490
7464
  }
7491
- interface DriveOptions$_ {
7465
+ interface DriveOptions$$ {
7492
7466
  name: string;
7493
7467
  attributes?: Record<string, unknown>;
7494
- folder?: DriveFolderOptions$_;
7468
+ folder?: DriveFolderOptions$$;
7495
7469
  }
7496
- interface DriveFolderOptions$_ {
7470
+ interface DriveFolderOptions$$ {
7497
7471
  path?: string;
7498
7472
  id?: string;
7499
7473
  }
@@ -7515,25 +7489,25 @@ interface IdeogramV4GenerateCommand {
7515
7489
  rendering_speed?: IdeogramV4RenderingSpeed;
7516
7490
  enable_copyright_detection?: boolean;
7517
7491
  storage?: StorageParam$1;
7518
- options?: GenAIOptions$Z;
7492
+ options?: GenAIOptions$_;
7519
7493
  }
7520
7494
  type IdeogramV4RenderingSpeed = "TURBO" | "DEFAULT" | "QUALITY";
7521
7495
  interface StorageParam$1 {
7522
7496
  destination: string;
7523
7497
  }
7524
- interface GenAIOptions$Z {
7525
- safety_checks?: SafetyChecksOptions$Z;
7526
- drive?: DriveOptions$Z;
7498
+ interface GenAIOptions$_ {
7499
+ safety_checks?: SafetyChecksOptions$_;
7500
+ drive?: DriveOptions$_;
7527
7501
  }
7528
- interface SafetyChecksOptions$Z {
7502
+ interface SafetyChecksOptions$_ {
7529
7503
  enabled?: boolean;
7530
7504
  }
7531
- interface DriveOptions$Z {
7505
+ interface DriveOptions$_ {
7532
7506
  name: string;
7533
7507
  attributes?: Record<string, unknown>;
7534
- folder?: DriveFolderOptions$Z;
7508
+ folder?: DriveFolderOptions$_;
7535
7509
  }
7536
- interface DriveFolderOptions$Z {
7510
+ interface DriveFolderOptions$_ {
7537
7511
  path?: string;
7538
7512
  id?: string;
7539
7513
  }
@@ -7568,7 +7542,7 @@ interface GeminiOmniVideoGenCommand {
7568
7542
  durationSeconds?: number;
7569
7543
  aspectRatio?: "16:9" | "9:16";
7570
7544
  model?: "gemini-omni-flash-preview" | "gemini-omni-1.1-flash-preview";
7571
- options?: GenAIOptions$Y;
7545
+ options?: GenAIOptions$Z;
7572
7546
  }
7573
7547
  interface GeminiOmniImage {
7574
7548
  url?: string;
@@ -7579,19 +7553,19 @@ interface GeminiOmniVideo {
7579
7553
  url?: string;
7580
7554
  bytesBase64Encoded?: string;
7581
7555
  }
7582
- interface GenAIOptions$Y {
7583
- safety_checks?: SafetyChecksOptions$Y;
7584
- drive?: DriveOptions$Y;
7556
+ interface GenAIOptions$Z {
7557
+ safety_checks?: SafetyChecksOptions$Z;
7558
+ drive?: DriveOptions$Z;
7585
7559
  }
7586
- interface SafetyChecksOptions$Y {
7560
+ interface SafetyChecksOptions$Z {
7587
7561
  enabled?: boolean;
7588
7562
  }
7589
- interface DriveOptions$Y {
7563
+ interface DriveOptions$Z {
7590
7564
  name: string;
7591
7565
  attributes?: Record<string, unknown>;
7592
- folder?: DriveFolderOptions$Y;
7566
+ folder?: DriveFolderOptions$Z;
7593
7567
  }
7594
- interface DriveFolderOptions$Y {
7568
+ interface DriveFolderOptions$Z {
7595
7569
  path?: string;
7596
7570
  id?: string;
7597
7571
  }
@@ -7625,21 +7599,21 @@ interface TextToVideoCommand {
7625
7599
  lip_sync_switch?: boolean;
7626
7600
  lip_sync_tts_content?: string;
7627
7601
  lip_sync_tts_speaker_id?: string;
7628
- options?: GenAIOptions$X;
7602
+ options?: GenAIOptions$Y;
7629
7603
  }
7630
- interface GenAIOptions$X {
7631
- safety_checks?: SafetyChecksOptions$X;
7632
- drive?: DriveOptions$X;
7604
+ interface GenAIOptions$Y {
7605
+ safety_checks?: SafetyChecksOptions$Y;
7606
+ drive?: DriveOptions$Y;
7633
7607
  }
7634
- interface SafetyChecksOptions$X {
7608
+ interface SafetyChecksOptions$Y {
7635
7609
  enabled?: boolean;
7636
7610
  }
7637
- interface DriveOptions$X {
7611
+ interface DriveOptions$Y {
7638
7612
  name: string;
7639
7613
  attributes?: Record<string, unknown>;
7640
- folder?: DriveFolderOptions$X;
7614
+ folder?: DriveFolderOptions$Y;
7641
7615
  }
7642
- interface DriveFolderOptions$X {
7616
+ interface DriveFolderOptions$Y {
7643
7617
  path?: string;
7644
7618
  id?: string;
7645
7619
  }
@@ -7673,21 +7647,21 @@ interface ImageToVideoCommand {
7673
7647
  lip_sync_switch?: boolean;
7674
7648
  lip_sync_tts_content?: string;
7675
7649
  lip_sync_tts_speaker_id?: string;
7676
- options?: GenAIOptions$W;
7650
+ options?: GenAIOptions$X;
7677
7651
  }
7678
- interface GenAIOptions$W {
7679
- safety_checks?: SafetyChecksOptions$W;
7680
- drive?: DriveOptions$W;
7652
+ interface GenAIOptions$X {
7653
+ safety_checks?: SafetyChecksOptions$X;
7654
+ drive?: DriveOptions$X;
7681
7655
  }
7682
- interface SafetyChecksOptions$W {
7656
+ interface SafetyChecksOptions$X {
7683
7657
  enabled?: boolean;
7684
7658
  }
7685
- interface DriveOptions$W {
7659
+ interface DriveOptions$X {
7686
7660
  name: string;
7687
7661
  attributes?: Record<string, unknown>;
7688
- folder?: DriveFolderOptions$W;
7662
+ folder?: DriveFolderOptions$X;
7689
7663
  }
7690
- interface DriveFolderOptions$W {
7664
+ interface DriveFolderOptions$X {
7691
7665
  path?: string;
7692
7666
  id?: string;
7693
7667
  }
@@ -7711,26 +7685,26 @@ interface ReferenceToVideoCommand {
7711
7685
  duration: number;
7712
7686
  seed?: number;
7713
7687
  generate_audio_switch?: boolean;
7714
- options?: GenAIOptions$V;
7688
+ options?: GenAIOptions$W;
7715
7689
  }
7716
7690
  interface ReferenceImageItem {
7717
7691
  url: string;
7718
7692
  type?: "subject" | "background";
7719
7693
  ref_name?: string;
7720
7694
  }
7721
- interface GenAIOptions$V {
7722
- safety_checks?: SafetyChecksOptions$V;
7723
- drive?: DriveOptions$V;
7724
- }
7725
- interface SafetyChecksOptions$V {
7695
+ interface GenAIOptions$W {
7696
+ safety_checks?: SafetyChecksOptions$W;
7697
+ drive?: DriveOptions$W;
7698
+ }
7699
+ interface SafetyChecksOptions$W {
7726
7700
  enabled?: boolean;
7727
7701
  }
7728
- interface DriveOptions$V {
7702
+ interface DriveOptions$W {
7729
7703
  name: string;
7730
7704
  attributes?: Record<string, unknown>;
7731
- folder?: DriveFolderOptions$V;
7705
+ folder?: DriveFolderOptions$W;
7732
7706
  }
7733
- interface DriveFolderOptions$V {
7707
+ interface DriveFolderOptions$W {
7734
7708
  path?: string;
7735
7709
  id?: string;
7736
7710
  }
@@ -7751,21 +7725,21 @@ interface FontSimilaritySearchCommand {
7751
7725
  font_count?: number;
7752
7726
  max_number_of_words?: number;
7753
7727
  find_similar_fonts?: boolean;
7754
- options?: GenAIOptions$U;
7728
+ options?: GenAIOptions$V;
7755
7729
  }
7756
- interface GenAIOptions$U {
7757
- safety_checks?: SafetyChecksOptions$U;
7758
- drive?: DriveOptions$U;
7730
+ interface GenAIOptions$V {
7731
+ safety_checks?: SafetyChecksOptions$V;
7732
+ drive?: DriveOptions$V;
7759
7733
  }
7760
- interface SafetyChecksOptions$U {
7734
+ interface SafetyChecksOptions$V {
7761
7735
  enabled?: boolean;
7762
7736
  }
7763
- interface DriveOptions$U {
7737
+ interface DriveOptions$V {
7764
7738
  name: string;
7765
7739
  attributes?: Record<string, unknown>;
7766
- folder?: DriveFolderOptions$U;
7740
+ folder?: DriveFolderOptions$V;
7767
7741
  }
7768
- interface DriveFolderOptions$U {
7742
+ interface DriveFolderOptions$V {
7769
7743
  path?: string;
7770
7744
  id?: string;
7771
7745
  }
@@ -7788,7 +7762,7 @@ interface VideoCommand {
7788
7762
  aspect_ratio?: "9:16" | "3:4" | "1:1" | "4:3" | "16:9" | "21:9";
7789
7763
  user_id?: string;
7790
7764
  video?: VideoGenerationOptions;
7791
- options?: GenAIOptions$T;
7765
+ options?: GenAIOptions$U;
7792
7766
  }
7793
7767
  interface VideoGenerationOptions {
7794
7768
  resolution?: "540p" | "720p" | "1080p";
@@ -7805,19 +7779,19 @@ interface VideoImageRef$1 {
7805
7779
  media_type?: string;
7806
7780
  generation_id?: string;
7807
7781
  }
7808
- interface GenAIOptions$T {
7809
- safety_checks?: SafetyChecksOptions$T;
7810
- drive?: DriveOptions$T;
7782
+ interface GenAIOptions$U {
7783
+ safety_checks?: SafetyChecksOptions$U;
7784
+ drive?: DriveOptions$U;
7811
7785
  }
7812
- interface SafetyChecksOptions$T {
7786
+ interface SafetyChecksOptions$U {
7813
7787
  enabled?: boolean;
7814
7788
  }
7815
- interface DriveOptions$T {
7789
+ interface DriveOptions$U {
7816
7790
  name: string;
7817
7791
  attributes?: Record<string, unknown>;
7818
- folder?: DriveFolderOptions$T;
7792
+ folder?: DriveFolderOptions$U;
7819
7793
  }
7820
- interface DriveFolderOptions$T {
7794
+ interface DriveFolderOptions$U {
7821
7795
  path?: string;
7822
7796
  id?: string;
7823
7797
  }
@@ -7837,7 +7811,7 @@ interface VideoEditCommand {
7837
7811
  source: VideoSource$1;
7838
7812
  user_id?: string;
7839
7813
  video: VideoEditOptions;
7840
- options?: GenAIOptions$S;
7814
+ options?: GenAIOptions$T;
7841
7815
  }
7842
7816
  interface VideoSource$1 {
7843
7817
  generation_id?: string;
@@ -7880,19 +7854,19 @@ interface VideoEditControl {
7880
7854
  augmentation?: number;
7881
7855
  sparsity?: number;
7882
7856
  }
7883
- interface GenAIOptions$S {
7884
- safety_checks?: SafetyChecksOptions$S;
7885
- drive?: DriveOptions$S;
7857
+ interface GenAIOptions$T {
7858
+ safety_checks?: SafetyChecksOptions$T;
7859
+ drive?: DriveOptions$T;
7886
7860
  }
7887
- interface SafetyChecksOptions$S {
7861
+ interface SafetyChecksOptions$T {
7888
7862
  enabled?: boolean;
7889
7863
  }
7890
- interface DriveOptions$S {
7864
+ interface DriveOptions$T {
7891
7865
  name: string;
7892
7866
  attributes?: Record<string, unknown>;
7893
- folder?: DriveFolderOptions$S;
7867
+ folder?: DriveFolderOptions$T;
7894
7868
  }
7895
- interface DriveFolderOptions$S {
7869
+ interface DriveFolderOptions$T {
7896
7870
  path?: string;
7897
7871
  id?: string;
7898
7872
  }
@@ -7913,7 +7887,7 @@ interface VideoReframeCommand {
7913
7887
  source: VideoSource;
7914
7888
  user_id?: string;
7915
7889
  video?: VideoReframeOptions;
7916
- options?: GenAIOptions$R;
7890
+ options?: GenAIOptions$S;
7917
7891
  }
7918
7892
  interface VideoSource {
7919
7893
  generation_id?: string;
@@ -7931,19 +7905,19 @@ interface VideoSourcePosition {
7931
7905
  w_norm: number;
7932
7906
  h_norm: number;
7933
7907
  }
7934
- interface GenAIOptions$R {
7935
- safety_checks?: SafetyChecksOptions$R;
7936
- drive?: DriveOptions$R;
7908
+ interface GenAIOptions$S {
7909
+ safety_checks?: SafetyChecksOptions$S;
7910
+ drive?: DriveOptions$S;
7937
7911
  }
7938
- interface SafetyChecksOptions$R {
7912
+ interface SafetyChecksOptions$S {
7939
7913
  enabled?: boolean;
7940
7914
  }
7941
- interface DriveOptions$R {
7915
+ interface DriveOptions$S {
7942
7916
  name: string;
7943
7917
  attributes?: Record<string, unknown>;
7944
- folder?: DriveFolderOptions$R;
7918
+ folder?: DriveFolderOptions$S;
7945
7919
  }
7946
- interface DriveFolderOptions$R {
7920
+ interface DriveFolderOptions$S {
7947
7921
  path?: string;
7948
7922
  id?: string;
7949
7923
  }
@@ -7966,7 +7940,7 @@ interface DiffbirEnhancementCommand {
7966
7940
  seed?: number;
7967
7941
  output_format?: string;
7968
7942
  max_output_area_mp?: number;
7969
- options?: GenAIOptions$Q;
7943
+ options?: GenAIOptions$R;
7970
7944
  model_execution_mode?: string;
7971
7945
  }
7972
7946
  interface DiffbirEnhancementUpscale {
@@ -8004,19 +7978,19 @@ interface DiffbirEnhancementColourCorrection {
8004
7978
  enabled?: boolean;
8005
7979
  blending?: number;
8006
7980
  }
8007
- interface GenAIOptions$Q {
8008
- safety_checks?: SafetyChecksOptions$Q;
8009
- drive?: DriveOptions$Q;
7981
+ interface GenAIOptions$R {
7982
+ safety_checks?: SafetyChecksOptions$R;
7983
+ drive?: DriveOptions$R;
8010
7984
  }
8011
- interface SafetyChecksOptions$Q {
7985
+ interface SafetyChecksOptions$R {
8012
7986
  enabled?: boolean;
8013
7987
  }
8014
- interface DriveOptions$Q {
7988
+ interface DriveOptions$R {
8015
7989
  name: string;
8016
7990
  attributes?: Record<string, unknown>;
8017
- folder?: DriveFolderOptions$Q;
7991
+ folder?: DriveFolderOptions$R;
8018
7992
  }
8019
- interface DriveFolderOptions$Q {
7993
+ interface DriveFolderOptions$R {
8020
7994
  path?: string;
8021
7995
  id?: string;
8022
7996
  }
@@ -8042,21 +8016,21 @@ interface StableDiffusionInpaintCommand {
8042
8016
  output_image_format?: "PNG" | "JPEG" | "WEBP";
8043
8017
  num_outputs?: number;
8044
8018
  model?: "model-stable-diffusion-inpaint-1-5-0" | "model-smartbg-v5-0-1";
8045
- options?: GenAIOptions$P;
8019
+ options?: GenAIOptions$Q;
8046
8020
  }
8047
- interface GenAIOptions$P {
8048
- safety_checks?: SafetyChecksOptions$P;
8049
- drive?: DriveOptions$P;
8021
+ interface GenAIOptions$Q {
8022
+ safety_checks?: SafetyChecksOptions$Q;
8023
+ drive?: DriveOptions$Q;
8050
8024
  }
8051
- interface SafetyChecksOptions$P {
8025
+ interface SafetyChecksOptions$Q {
8052
8026
  enabled?: boolean;
8053
8027
  }
8054
- interface DriveOptions$P {
8028
+ interface DriveOptions$Q {
8055
8029
  name: string;
8056
8030
  attributes?: Record<string, unknown>;
8057
- folder?: DriveFolderOptions$P;
8031
+ folder?: DriveFolderOptions$Q;
8058
8032
  }
8059
- interface DriveFolderOptions$P {
8033
+ interface DriveFolderOptions$Q {
8060
8034
  path?: string;
8061
8035
  id?: string;
8062
8036
  }
@@ -8080,7 +8054,7 @@ interface AsyncTtsCommand {
8080
8054
  transcript: string;
8081
8055
  voice?: AsyncVoice;
8082
8056
  output_format: AsyncOutputFormat;
8083
- options?: GenAIOptions$O;
8057
+ options?: GenAIOptions$P;
8084
8058
  }
8085
8059
  type AsyncModelId = "async_flash_v1.0";
8086
8060
  interface AsyncVoice {
@@ -8096,19 +8070,19 @@ interface AsyncOutputFormat {
8096
8070
  }
8097
8071
  type AsyncVoiceContainerFormat = "raw" | "mp3" | "wav";
8098
8072
  type AsyncVoiceEncodingFormat = "pcm_f32le" | "pcm_s16le";
8099
- interface GenAIOptions$O {
8100
- safety_checks?: SafetyChecksOptions$O;
8101
- drive?: DriveOptions$O;
8073
+ interface GenAIOptions$P {
8074
+ safety_checks?: SafetyChecksOptions$P;
8075
+ drive?: DriveOptions$P;
8102
8076
  }
8103
- interface SafetyChecksOptions$O {
8077
+ interface SafetyChecksOptions$P {
8104
8078
  enabled?: boolean;
8105
8079
  }
8106
- interface DriveOptions$O {
8080
+ interface DriveOptions$P {
8107
8081
  name: string;
8108
8082
  attributes?: Record<string, unknown>;
8109
- folder?: DriveFolderOptions$O;
8083
+ folder?: DriveFolderOptions$P;
8110
8084
  }
8111
- interface DriveFolderOptions$O {
8085
+ interface DriveFolderOptions$P {
8112
8086
  path?: string;
8113
8087
  id?: string;
8114
8088
  }
@@ -8130,21 +8104,21 @@ interface Happyhorse11TextToVideoCommand$1 {
8130
8104
  duration?: number;
8131
8105
  seed?: number;
8132
8106
  watermark?: boolean;
8133
- options?: GenAIOptions$N;
8107
+ options?: GenAIOptions$O;
8134
8108
  }
8135
- interface GenAIOptions$N {
8136
- safety_checks?: SafetyChecksOptions$N;
8137
- drive?: DriveOptions$N;
8109
+ interface GenAIOptions$O {
8110
+ safety_checks?: SafetyChecksOptions$O;
8111
+ drive?: DriveOptions$O;
8138
8112
  }
8139
- interface SafetyChecksOptions$N {
8113
+ interface SafetyChecksOptions$O {
8140
8114
  enabled?: boolean;
8141
8115
  }
8142
- interface DriveOptions$N {
8116
+ interface DriveOptions$O {
8143
8117
  name: string;
8144
8118
  attributes?: Record<string, unknown>;
8145
- folder?: DriveFolderOptions$N;
8119
+ folder?: DriveFolderOptions$O;
8146
8120
  }
8147
- interface DriveFolderOptions$N {
8121
+ interface DriveFolderOptions$O {
8148
8122
  path?: string;
8149
8123
  id?: string;
8150
8124
  }
@@ -8166,25 +8140,25 @@ interface Happyhorse11ImageToVideoCommand$1 {
8166
8140
  duration?: number;
8167
8141
  seed?: number;
8168
8142
  watermark?: boolean;
8169
- options?: GenAIOptions$M;
8143
+ options?: GenAIOptions$N;
8170
8144
  }
8171
8145
  interface Happyhorse11I2VMediaItem$1 {
8172
8146
  type: "first_frame";
8173
8147
  url: string;
8174
8148
  }
8175
- interface GenAIOptions$M {
8176
- safety_checks?: SafetyChecksOptions$M;
8177
- drive?: DriveOptions$M;
8149
+ interface GenAIOptions$N {
8150
+ safety_checks?: SafetyChecksOptions$N;
8151
+ drive?: DriveOptions$N;
8178
8152
  }
8179
- interface SafetyChecksOptions$M {
8153
+ interface SafetyChecksOptions$N {
8180
8154
  enabled?: boolean;
8181
8155
  }
8182
- interface DriveOptions$M {
8156
+ interface DriveOptions$N {
8183
8157
  name: string;
8184
8158
  attributes?: Record<string, unknown>;
8185
- folder?: DriveFolderOptions$M;
8159
+ folder?: DriveFolderOptions$N;
8186
8160
  }
8187
- interface DriveFolderOptions$M {
8161
+ interface DriveFolderOptions$N {
8188
8162
  path?: string;
8189
8163
  id?: string;
8190
8164
  }
@@ -8207,25 +8181,25 @@ interface Happyhorse11ReferenceToVideoCommand$1 {
8207
8181
  duration?: number;
8208
8182
  seed?: number;
8209
8183
  watermark?: boolean;
8210
- options?: GenAIOptions$L;
8184
+ options?: GenAIOptions$M;
8211
8185
  }
8212
8186
  interface Happyhorse11R2VMediaItem$1 {
8213
8187
  type: "reference_image";
8214
8188
  url: string;
8215
8189
  }
8216
- interface GenAIOptions$L {
8217
- safety_checks?: SafetyChecksOptions$L;
8218
- drive?: DriveOptions$L;
8190
+ interface GenAIOptions$M {
8191
+ safety_checks?: SafetyChecksOptions$M;
8192
+ drive?: DriveOptions$M;
8219
8193
  }
8220
- interface SafetyChecksOptions$L {
8194
+ interface SafetyChecksOptions$M {
8221
8195
  enabled?: boolean;
8222
8196
  }
8223
- interface DriveOptions$L {
8197
+ interface DriveOptions$M {
8224
8198
  name: string;
8225
8199
  attributes?: Record<string, unknown>;
8226
- folder?: DriveFolderOptions$L;
8200
+ folder?: DriveFolderOptions$M;
8227
8201
  }
8228
- interface DriveFolderOptions$L {
8202
+ interface DriveFolderOptions$M {
8229
8203
  path?: string;
8230
8204
  id?: string;
8231
8205
  }
@@ -8262,21 +8236,21 @@ interface SodV2Command {
8262
8236
  photo: string;
8263
8237
  postprocess_image: boolean;
8264
8238
  model?: "model-sod-v8-2" | "model-sod-v10" | "model-sod-v10-1" | "model-sod-v11-0" | "model-sod-v11-2";
8265
- options?: GenAIOptions$K;
8239
+ options?: GenAIOptions$L;
8266
8240
  }
8267
- interface GenAIOptions$K {
8268
- safety_checks?: SafetyChecksOptions$K;
8269
- drive?: DriveOptions$K;
8241
+ interface GenAIOptions$L {
8242
+ safety_checks?: SafetyChecksOptions$L;
8243
+ drive?: DriveOptions$L;
8270
8244
  }
8271
- interface SafetyChecksOptions$K {
8245
+ interface SafetyChecksOptions$L {
8272
8246
  enabled?: boolean;
8273
8247
  }
8274
- interface DriveOptions$K {
8248
+ interface DriveOptions$L {
8275
8249
  name: string;
8276
8250
  attributes?: Record<string, unknown>;
8277
- folder?: DriveFolderOptions$K;
8251
+ folder?: DriveFolderOptions$L;
8278
8252
  }
8279
- interface DriveFolderOptions$K {
8253
+ interface DriveFolderOptions$L {
8280
8254
  path?: string;
8281
8255
  id?: string;
8282
8256
  }
@@ -8302,21 +8276,21 @@ interface FluxVtoCommand {
8302
8276
  seed?: number;
8303
8277
  safetyTolerance?: number;
8304
8278
  outputFormat?: "jpeg" | "png" | "webp";
8305
- options?: GenAIOptions$J;
8279
+ options?: GenAIOptions$K;
8306
8280
  }
8307
- interface GenAIOptions$J {
8308
- safety_checks?: SafetyChecksOptions$J;
8309
- drive?: DriveOptions$J;
8281
+ interface GenAIOptions$K {
8282
+ safety_checks?: SafetyChecksOptions$K;
8283
+ drive?: DriveOptions$K;
8310
8284
  }
8311
- interface SafetyChecksOptions$J {
8285
+ interface SafetyChecksOptions$K {
8312
8286
  enabled?: boolean;
8313
8287
  }
8314
- interface DriveOptions$J {
8288
+ interface DriveOptions$K {
8315
8289
  name: string;
8316
8290
  attributes?: Record<string, unknown>;
8317
- folder?: DriveFolderOptions$J;
8291
+ folder?: DriveFolderOptions$K;
8318
8292
  }
8319
- interface DriveFolderOptions$J {
8293
+ interface DriveFolderOptions$K {
8320
8294
  path?: string;
8321
8295
  id?: string;
8322
8296
  }
@@ -8336,21 +8310,21 @@ interface Happyhorse11TextToVideoCommand {
8336
8310
  duration?: number;
8337
8311
  seed?: number;
8338
8312
  watermark?: boolean;
8339
- options?: GenAIOptions$I;
8313
+ options?: GenAIOptions$J;
8340
8314
  }
8341
- interface GenAIOptions$I {
8342
- safety_checks?: SafetyChecksOptions$I;
8343
- drive?: DriveOptions$I;
8315
+ interface GenAIOptions$J {
8316
+ safety_checks?: SafetyChecksOptions$J;
8317
+ drive?: DriveOptions$J;
8344
8318
  }
8345
- interface SafetyChecksOptions$I {
8319
+ interface SafetyChecksOptions$J {
8346
8320
  enabled?: boolean;
8347
8321
  }
8348
- interface DriveOptions$I {
8322
+ interface DriveOptions$J {
8349
8323
  name: string;
8350
8324
  attributes?: Record<string, unknown>;
8351
- folder?: DriveFolderOptions$I;
8325
+ folder?: DriveFolderOptions$J;
8352
8326
  }
8353
- interface DriveFolderOptions$I {
8327
+ interface DriveFolderOptions$J {
8354
8328
  path?: string;
8355
8329
  id?: string;
8356
8330
  }
@@ -8372,25 +8346,25 @@ interface Happyhorse11ImageToVideoCommand {
8372
8346
  duration?: number;
8373
8347
  seed?: number;
8374
8348
  watermark?: boolean;
8375
- options?: GenAIOptions$H;
8349
+ options?: GenAIOptions$I;
8376
8350
  }
8377
8351
  interface Happyhorse11I2VMediaItem {
8378
8352
  type: "first_frame";
8379
8353
  url: string;
8380
8354
  }
8381
- interface GenAIOptions$H {
8382
- safety_checks?: SafetyChecksOptions$H;
8383
- drive?: DriveOptions$H;
8355
+ interface GenAIOptions$I {
8356
+ safety_checks?: SafetyChecksOptions$I;
8357
+ drive?: DriveOptions$I;
8384
8358
  }
8385
- interface SafetyChecksOptions$H {
8359
+ interface SafetyChecksOptions$I {
8386
8360
  enabled?: boolean;
8387
8361
  }
8388
- interface DriveOptions$H {
8362
+ interface DriveOptions$I {
8389
8363
  name: string;
8390
8364
  attributes?: Record<string, unknown>;
8391
- folder?: DriveFolderOptions$H;
8365
+ folder?: DriveFolderOptions$I;
8392
8366
  }
8393
- interface DriveFolderOptions$H {
8367
+ interface DriveFolderOptions$I {
8394
8368
  path?: string;
8395
8369
  id?: string;
8396
8370
  }
@@ -8413,25 +8387,25 @@ interface Happyhorse11ReferenceToVideoCommand {
8413
8387
  duration?: number;
8414
8388
  seed?: number;
8415
8389
  watermark?: boolean;
8416
- options?: GenAIOptions$G;
8390
+ options?: GenAIOptions$H;
8417
8391
  }
8418
8392
  interface Happyhorse11R2VMediaItem {
8419
8393
  type: "reference_image";
8420
8394
  url: string;
8421
8395
  }
8422
- interface GenAIOptions$G {
8423
- safety_checks?: SafetyChecksOptions$G;
8424
- drive?: DriveOptions$G;
8396
+ interface GenAIOptions$H {
8397
+ safety_checks?: SafetyChecksOptions$H;
8398
+ drive?: DriveOptions$H;
8425
8399
  }
8426
- interface SafetyChecksOptions$G {
8400
+ interface SafetyChecksOptions$H {
8427
8401
  enabled?: boolean;
8428
8402
  }
8429
- interface DriveOptions$G {
8403
+ interface DriveOptions$H {
8430
8404
  name: string;
8431
8405
  attributes?: Record<string, unknown>;
8432
- folder?: DriveFolderOptions$G;
8406
+ folder?: DriveFolderOptions$H;
8433
8407
  }
8434
- interface DriveFolderOptions$G {
8408
+ interface DriveFolderOptions$H {
8435
8409
  path?: string;
8436
8410
  id?: string;
8437
8411
  }
@@ -8456,25 +8430,25 @@ interface QwenImageEditAngleCommand {
8456
8430
  drop_cond_tokens_prob?: number;
8457
8431
  seed?: number;
8458
8432
  output_format?: "JPEG" | "PNG" | "HEIC" | "WEBP";
8459
- options?: GenAIOptions$F;
8433
+ options?: GenAIOptions$G;
8460
8434
  model?: "preview-model-qwent-image-edit-angle" | "model-qwent-image-edit-angle";
8461
8435
  lora_params?: QwenAngleLoraParams;
8462
8436
  num_inference_steps?: number;
8463
8437
  guidance_scale?: number;
8464
8438
  }
8465
- interface GenAIOptions$F {
8466
- safety_checks?: SafetyChecksOptions$F;
8467
- drive?: DriveOptions$F;
8439
+ interface GenAIOptions$G {
8440
+ safety_checks?: SafetyChecksOptions$G;
8441
+ drive?: DriveOptions$G;
8468
8442
  }
8469
- interface SafetyChecksOptions$F {
8443
+ interface SafetyChecksOptions$G {
8470
8444
  enabled?: boolean;
8471
8445
  }
8472
- interface DriveOptions$F {
8446
+ interface DriveOptions$G {
8473
8447
  name: string;
8474
8448
  attributes?: Record<string, unknown>;
8475
- folder?: DriveFolderOptions$F;
8449
+ folder?: DriveFolderOptions$G;
8476
8450
  }
8477
- interface DriveFolderOptions$F {
8451
+ interface DriveFolderOptions$G {
8478
8452
  path?: string;
8479
8453
  id?: string;
8480
8454
  }
@@ -8573,22 +8547,22 @@ interface MusicGenerationCommand {
8573
8547
  music_length_seconds: number;
8574
8548
  model_id?: "music_v1" | "music_v2";
8575
8549
  force_instrumental?: boolean;
8576
- output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
8577
- options?: GenAIOptions$E;
8550
+ output_format?: "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "mp3_48000_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000";
8551
+ options?: GenAIOptions$F;
8578
8552
  }
8579
- interface GenAIOptions$E {
8580
- safety_checks?: SafetyChecksOptions$E;
8581
- drive?: DriveOptions$E;
8553
+ interface GenAIOptions$F {
8554
+ safety_checks?: SafetyChecksOptions$F;
8555
+ drive?: DriveOptions$F;
8582
8556
  }
8583
- interface SafetyChecksOptions$E {
8557
+ interface SafetyChecksOptions$F {
8584
8558
  enabled?: boolean;
8585
8559
  }
8586
- interface DriveOptions$E {
8560
+ interface DriveOptions$F {
8587
8561
  name: string;
8588
8562
  attributes?: Record<string, unknown>;
8589
- folder?: DriveFolderOptions$E;
8563
+ folder?: DriveFolderOptions$F;
8590
8564
  }
8591
- interface DriveFolderOptions$E {
8565
+ interface DriveFolderOptions$F {
8592
8566
  path?: string;
8593
8567
  id?: string;
8594
8568
  }
@@ -8608,21 +8582,21 @@ interface EffectsCommand {
8608
8582
  effect_name: string;
8609
8583
  style_image_url?: string;
8610
8584
  skip_upsample?: boolean;
8611
- options?: GenAIOptions$D;
8585
+ options?: GenAIOptions$E;
8612
8586
  }
8613
- interface GenAIOptions$D {
8614
- safety_checks?: SafetyChecksOptions$D;
8615
- drive?: DriveOptions$D;
8587
+ interface GenAIOptions$E {
8588
+ safety_checks?: SafetyChecksOptions$E;
8589
+ drive?: DriveOptions$E;
8616
8590
  }
8617
- interface SafetyChecksOptions$D {
8591
+ interface SafetyChecksOptions$E {
8618
8592
  enabled?: boolean;
8619
8593
  }
8620
- interface DriveOptions$D {
8594
+ interface DriveOptions$E {
8621
8595
  name: string;
8622
8596
  attributes?: Record<string, unknown>;
8623
- folder?: DriveFolderOptions$D;
8597
+ folder?: DriveFolderOptions$E;
8624
8598
  }
8625
- interface DriveFolderOptions$D {
8599
+ interface DriveFolderOptions$E {
8626
8600
  path?: string;
8627
8601
  id?: string;
8628
8602
  }
@@ -8653,21 +8627,21 @@ interface ImageCaptioningCommand {
8653
8627
  model?: "preview-picsart-image-captioning-v1" | "picsart-image-captioning-v1";
8654
8628
  caption_model?: "blip2" | "moondream";
8655
8629
  prompt?: string;
8656
- options?: GenAIOptions$C;
8630
+ options?: GenAIOptions$D;
8657
8631
  }
8658
- interface GenAIOptions$C {
8659
- safety_checks?: SafetyChecksOptions$C;
8660
- drive?: DriveOptions$C;
8632
+ interface GenAIOptions$D {
8633
+ safety_checks?: SafetyChecksOptions$D;
8634
+ drive?: DriveOptions$D;
8661
8635
  }
8662
- interface SafetyChecksOptions$C {
8636
+ interface SafetyChecksOptions$D {
8663
8637
  enabled?: boolean;
8664
8638
  }
8665
- interface DriveOptions$C {
8639
+ interface DriveOptions$D {
8666
8640
  name: string;
8667
8641
  attributes?: Record<string, unknown>;
8668
- folder?: DriveFolderOptions$C;
8642
+ folder?: DriveFolderOptions$D;
8669
8643
  }
8670
- interface DriveFolderOptions$C {
8644
+ interface DriveFolderOptions$D {
8671
8645
  path?: string;
8672
8646
  id?: string;
8673
8647
  }
@@ -8687,21 +8661,21 @@ interface QwenHaircutsCommand {
8687
8661
  system_prompt?: string;
8688
8662
  negative_prompt?: string;
8689
8663
  metadata?: Record<string, unknown>;
8690
- options?: GenAIOptions$B;
8664
+ options?: GenAIOptions$C;
8691
8665
  }
8692
- interface GenAIOptions$B {
8693
- safety_checks?: SafetyChecksOptions$B;
8694
- drive?: DriveOptions$B;
8666
+ interface GenAIOptions$C {
8667
+ safety_checks?: SafetyChecksOptions$C;
8668
+ drive?: DriveOptions$C;
8695
8669
  }
8696
- interface SafetyChecksOptions$B {
8670
+ interface SafetyChecksOptions$C {
8697
8671
  enabled?: boolean;
8698
8672
  }
8699
- interface DriveOptions$B {
8673
+ interface DriveOptions$C {
8700
8674
  name: string;
8701
8675
  attributes?: Record<string, unknown>;
8702
- folder?: DriveFolderOptions$B;
8676
+ folder?: DriveFolderOptions$C;
8703
8677
  }
8704
- interface DriveFolderOptions$B {
8678
+ interface DriveFolderOptions$C {
8705
8679
  path?: string;
8706
8680
  id?: string;
8707
8681
  }
@@ -8736,22 +8710,22 @@ interface AvatarGenerationCommand {
8736
8710
  skin_fix?: boolean;
8737
8711
  model: "dreamshaper-sfw" | "3d-cartoon" | "yamers-anime";
8738
8712
  num_outputs?: number;
8739
- options?: GenAIOptions$A;
8713
+ options?: GenAIOptions$B;
8740
8714
  model_execution_mode?: string;
8741
8715
  }
8742
- interface GenAIOptions$A {
8743
- safety_checks?: SafetyChecksOptions$A;
8744
- drive?: DriveOptions$A;
8716
+ interface GenAIOptions$B {
8717
+ safety_checks?: SafetyChecksOptions$B;
8718
+ drive?: DriveOptions$B;
8745
8719
  }
8746
- interface SafetyChecksOptions$A {
8720
+ interface SafetyChecksOptions$B {
8747
8721
  enabled?: boolean;
8748
8722
  }
8749
- interface DriveOptions$A {
8723
+ interface DriveOptions$B {
8750
8724
  name: string;
8751
8725
  attributes?: Record<string, unknown>;
8752
- folder?: DriveFolderOptions$A;
8726
+ folder?: DriveFolderOptions$B;
8753
8727
  }
8754
- interface DriveFolderOptions$A {
8728
+ interface DriveFolderOptions$B {
8755
8729
  path?: string;
8756
8730
  id?: string;
8757
8731
  }
@@ -8773,25 +8747,25 @@ interface QwenChatCommand {
8773
8747
  top_p?: number;
8774
8748
  seed?: number;
8775
8749
  enable_thinking?: boolean;
8776
- options?: GenAIOptions$z;
8750
+ options?: GenAIOptions$A;
8777
8751
  }
8778
8752
  interface QwenChatMessage {
8779
8753
  role: "system" | "user" | "assistant";
8780
8754
  content: string | unknown[];
8781
8755
  }
8782
- interface GenAIOptions$z {
8783
- safety_checks?: SafetyChecksOptions$z;
8784
- drive?: DriveOptions$z;
8756
+ interface GenAIOptions$A {
8757
+ safety_checks?: SafetyChecksOptions$A;
8758
+ drive?: DriveOptions$A;
8785
8759
  }
8786
- interface SafetyChecksOptions$z {
8760
+ interface SafetyChecksOptions$A {
8787
8761
  enabled?: boolean;
8788
8762
  }
8789
- interface DriveOptions$z {
8763
+ interface DriveOptions$A {
8790
8764
  name: string;
8791
8765
  attributes?: Record<string, unknown>;
8792
- folder?: DriveFolderOptions$z;
8766
+ folder?: DriveFolderOptions$A;
8793
8767
  }
8794
- interface DriveFolderOptions$z {
8768
+ interface DriveFolderOptions$A {
8795
8769
  path?: string;
8796
8770
  id?: string;
8797
8771
  }
@@ -8832,30 +8806,30 @@ interface Flux3VideoCommand {
8832
8806
  safetyTolerance?: number;
8833
8807
  webhookUrl?: string;
8834
8808
  draft?: boolean;
8835
- options?: GenAIOptions$y;
8809
+ options?: GenAIOptions$z;
8836
8810
  }
8837
8811
  type Flux3VideoAspectRatio = "auto" | "21:9" | "2:1" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
8838
8812
  type Flux3VideoResolution = "hd" | "fhd";
8839
- interface GenAIOptions$y {
8840
- safety_checks?: SafetyChecksOptions$y;
8841
- drive?: DriveOptions$y;
8813
+ interface GenAIOptions$z {
8814
+ safety_checks?: SafetyChecksOptions$z;
8815
+ drive?: DriveOptions$z;
8842
8816
  }
8843
- interface SafetyChecksOptions$y {
8817
+ interface SafetyChecksOptions$z {
8844
8818
  enabled?: boolean;
8845
8819
  }
8846
- interface DriveOptions$y {
8820
+ interface DriveOptions$z {
8847
8821
  name: string;
8848
8822
  attributes?: Record<string, unknown>;
8849
- folder?: DriveFolderOptions$y;
8823
+ folder?: DriveFolderOptions$z;
8850
8824
  }
8851
- interface DriveFolderOptions$y {
8825
+ interface DriveFolderOptions$z {
8852
8826
  path?: string;
8853
8827
  id?: string;
8854
8828
  }
8855
8829
  interface Flux3VideoResult {
8856
- result: GeneratedVideoResult;
8830
+ result: GeneratedVideoResult$1;
8857
8831
  }
8858
- interface GeneratedVideoResult {
8832
+ interface GeneratedVideoResult$1 {
8859
8833
  url: string;
8860
8834
  mimeType?: string;
8861
8835
  duration?: number;
@@ -8871,21 +8845,21 @@ interface PapHaircutsCommand {
8871
8845
  prompt?: string;
8872
8846
  negative_prompt?: string;
8873
8847
  metadata?: Record<string, unknown>;
8874
- options?: GenAIOptions$x;
8848
+ options?: GenAIOptions$y;
8875
8849
  }
8876
- interface GenAIOptions$x {
8877
- safety_checks?: SafetyChecksOptions$x;
8878
- drive?: DriveOptions$x;
8850
+ interface GenAIOptions$y {
8851
+ safety_checks?: SafetyChecksOptions$y;
8852
+ drive?: DriveOptions$y;
8879
8853
  }
8880
- interface SafetyChecksOptions$x {
8854
+ interface SafetyChecksOptions$y {
8881
8855
  enabled?: boolean;
8882
8856
  }
8883
- interface DriveOptions$x {
8857
+ interface DriveOptions$y {
8884
8858
  name: string;
8885
8859
  attributes?: Record<string, unknown>;
8886
- folder?: DriveFolderOptions$x;
8860
+ folder?: DriveFolderOptions$y;
8887
8861
  }
8888
- interface DriveFolderOptions$x {
8862
+ interface DriveFolderOptions$y {
8889
8863
  path?: string;
8890
8864
  id?: string;
8891
8865
  }
@@ -8908,7 +8882,7 @@ interface SeedAudioCommand {
8908
8882
  references?: ReferenceResource[];
8909
8883
  audio_config?: AudioConfig;
8910
8884
  watermark?: Watermark;
8911
- options?: GenAIOptions$w;
8885
+ options?: GenAIOptions$x;
8912
8886
  }
8913
8887
  interface ReferenceResource {
8914
8888
  speaker?: string;
@@ -8936,19 +8910,19 @@ interface AigcMetadata {
8936
8910
  content_propagator?: string;
8937
8911
  propagate_id?: string;
8938
8912
  }
8939
- interface GenAIOptions$w {
8940
- safety_checks?: SafetyChecksOptions$w;
8941
- drive?: DriveOptions$w;
8913
+ interface GenAIOptions$x {
8914
+ safety_checks?: SafetyChecksOptions$x;
8915
+ drive?: DriveOptions$x;
8942
8916
  }
8943
- interface SafetyChecksOptions$w {
8917
+ interface SafetyChecksOptions$x {
8944
8918
  enabled?: boolean;
8945
8919
  }
8946
- interface DriveOptions$w {
8920
+ interface DriveOptions$x {
8947
8921
  name: string;
8948
8922
  attributes?: Record<string, unknown>;
8949
- folder?: DriveFolderOptions$w;
8923
+ folder?: DriveFolderOptions$x;
8950
8924
  }
8951
- interface DriveFolderOptions$w {
8925
+ interface DriveFolderOptions$x {
8952
8926
  path?: string;
8953
8927
  id?: string;
8954
8928
  }
@@ -8967,25 +8941,25 @@ interface IdeogramPImageGenerateCommand {
8967
8941
  resolution?: "2048x2048" | "1440x2880" | "2880x1440" | "1664x2496" | "2496x1664" | "1792x2240" | "2240x1792" | "1440x2560" | "2560x1440" | "1600x2560" | "2560x1600" | "1728x2304" | "2304x1728" | "1296x3168" | "3168x1296" | "1152x2944" | "2944x1152" | "1248x3328" | "3328x1248" | "1280x3072" | "3072x1280" | "1024x3072" | "3072x1024" | "1024x1024" | "896x1120" | "1120x896" | "864x1152" | "1152x864" | "832x1248" | "1248x832" | "800x1280" | "1280x800" | "720x1280" | "1280x720" | "720x1440" | "1440x720";
8968
8942
  rendering_speed?: IdeogramPImageRenderingSpeed;
8969
8943
  storage?: StorageParam;
8970
- options?: GenAIOptions$v;
8944
+ options?: GenAIOptions$w;
8971
8945
  }
8972
8946
  type IdeogramPImageRenderingSpeed = "very-low" | "low" | "medium" | "high";
8973
8947
  interface StorageParam {
8974
8948
  destination: string;
8975
8949
  }
8976
- interface GenAIOptions$v {
8977
- safety_checks?: SafetyChecksOptions$v;
8978
- drive?: DriveOptions$v;
8950
+ interface GenAIOptions$w {
8951
+ safety_checks?: SafetyChecksOptions$w;
8952
+ drive?: DriveOptions$w;
8979
8953
  }
8980
- interface SafetyChecksOptions$v {
8954
+ interface SafetyChecksOptions$w {
8981
8955
  enabled?: boolean;
8982
8956
  }
8983
- interface DriveOptions$v {
8957
+ interface DriveOptions$w {
8984
8958
  name: string;
8985
8959
  attributes?: Record<string, unknown>;
8986
- folder?: DriveFolderOptions$v;
8960
+ folder?: DriveFolderOptions$w;
8987
8961
  }
8988
- interface DriveFolderOptions$v {
8962
+ interface DriveFolderOptions$w {
8989
8963
  path?: string;
8990
8964
  id?: string;
8991
8965
  }
@@ -9013,21 +8987,21 @@ interface HidreamT2ICommand {
9013
8987
  aspectRatio?: string;
9014
8988
  seed?: number;
9015
8989
  model?: "picsart-hidream-t2i" | "preview-picsart-hidream-t2i";
9016
- options?: GenAIOptions$u;
8990
+ options?: GenAIOptions$v;
9017
8991
  }
9018
- interface GenAIOptions$u {
9019
- safety_checks?: SafetyChecksOptions$u;
9020
- drive?: DriveOptions$u;
8992
+ interface GenAIOptions$v {
8993
+ safety_checks?: SafetyChecksOptions$v;
8994
+ drive?: DriveOptions$v;
9021
8995
  }
9022
- interface SafetyChecksOptions$u {
8996
+ interface SafetyChecksOptions$v {
9023
8997
  enabled?: boolean;
9024
8998
  }
9025
- interface DriveOptions$u {
8999
+ interface DriveOptions$v {
9026
9000
  name: string;
9027
9001
  attributes?: Record<string, unknown>;
9028
- folder?: DriveFolderOptions$u;
9002
+ folder?: DriveFolderOptions$v;
9029
9003
  }
9030
- interface DriveFolderOptions$u {
9004
+ interface DriveFolderOptions$v {
9031
9005
  path?: string;
9032
9006
  id?: string;
9033
9007
  }
@@ -9050,25 +9024,25 @@ interface EnhanceVideoCommand {
9050
9024
  resolution_limit?: number;
9051
9025
  bitrate_level?: BitrateLevel;
9052
9026
  fps?: number;
9053
- options?: GenAIOptions$t;
9027
+ options?: GenAIOptions$u;
9054
9028
  }
9055
9029
  type ToolVersion = "standard" | "professional";
9056
9030
  type Scene = "common" | "ugc" | "short_series" | "aigc" | "old_film";
9057
9031
  type EnhanceResolution = "720p" | "1080p" | "2k" | "4k" | "8k";
9058
9032
  type BitrateLevel = "low" | "medium" | "high";
9059
- interface GenAIOptions$t {
9060
- safety_checks?: SafetyChecksOptions$t;
9061
- drive?: DriveOptions$t;
9033
+ interface GenAIOptions$u {
9034
+ safety_checks?: SafetyChecksOptions$u;
9035
+ drive?: DriveOptions$u;
9062
9036
  }
9063
- interface SafetyChecksOptions$t {
9037
+ interface SafetyChecksOptions$u {
9064
9038
  enabled?: boolean;
9065
9039
  }
9066
- interface DriveOptions$t {
9040
+ interface DriveOptions$u {
9067
9041
  name: string;
9068
9042
  attributes?: Record<string, unknown>;
9069
- folder?: DriveFolderOptions$t;
9043
+ folder?: DriveFolderOptions$u;
9070
9044
  }
9071
- interface DriveFolderOptions$t {
9045
+ interface DriveFolderOptions$u {
9072
9046
  path?: string;
9073
9047
  id?: string;
9074
9048
  }
@@ -9093,7 +9067,7 @@ interface MinimaxVideoGenerationCommand {
9093
9067
  ratio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
9094
9068
  aigc_watermark?: boolean;
9095
9069
  callback_url?: string;
9096
- options?: GenAIOptions$s;
9070
+ options?: GenAIOptions$t;
9097
9071
  }
9098
9072
  interface MinimaxContentItem {
9099
9073
  type: "text" | "image_url" | "video_url" | "audio_url";
@@ -9106,19 +9080,19 @@ interface MinimaxContentItem {
9106
9080
  interface MinimaxMediaUrl {
9107
9081
  url: string;
9108
9082
  }
9109
- interface GenAIOptions$s {
9110
- safety_checks?: SafetyChecksOptions$s;
9111
- drive?: DriveOptions$s;
9083
+ interface GenAIOptions$t {
9084
+ safety_checks?: SafetyChecksOptions$t;
9085
+ drive?: DriveOptions$t;
9112
9086
  }
9113
- interface SafetyChecksOptions$s {
9087
+ interface SafetyChecksOptions$t {
9114
9088
  enabled?: boolean;
9115
9089
  }
9116
- interface DriveOptions$s {
9090
+ interface DriveOptions$t {
9117
9091
  name: string;
9118
9092
  attributes?: Record<string, unknown>;
9119
- folder?: DriveFolderOptions$s;
9093
+ folder?: DriveFolderOptions$t;
9120
9094
  }
9121
- interface DriveFolderOptions$s {
9095
+ interface DriveFolderOptions$t {
9122
9096
  path?: string;
9123
9097
  id?: string;
9124
9098
  }
@@ -9192,21 +9166,21 @@ interface ImageSegmentationCommand {
9192
9166
  image_url: string;
9193
9167
  model: "picsart-multimatting-v13" | "picsart-sky-v1" | "preview-picsart-multimatting-v13" | "preview-picsart-sky-v1";
9194
9168
  segmentation_class?: "all" | "background" | "hair" | "skin" | "lips" | "eyes" | "clothes" | "glasses" | "teeth" | "foreground";
9195
- options?: GenAIOptions$r;
9169
+ options?: GenAIOptions$s;
9196
9170
  }
9197
- interface GenAIOptions$r {
9198
- safety_checks?: SafetyChecksOptions$r;
9199
- drive?: DriveOptions$r;
9171
+ interface GenAIOptions$s {
9172
+ safety_checks?: SafetyChecksOptions$s;
9173
+ drive?: DriveOptions$s;
9200
9174
  }
9201
- interface SafetyChecksOptions$r {
9175
+ interface SafetyChecksOptions$s {
9202
9176
  enabled?: boolean;
9203
9177
  }
9204
- interface DriveOptions$r {
9178
+ interface DriveOptions$s {
9205
9179
  name: string;
9206
9180
  attributes?: Record<string, unknown>;
9207
- folder?: DriveFolderOptions$r;
9181
+ folder?: DriveFolderOptions$s;
9208
9182
  }
9209
- interface DriveFolderOptions$r {
9183
+ interface DriveFolderOptions$s {
9210
9184
  path?: string;
9211
9185
  id?: string;
9212
9186
  }
@@ -9230,25 +9204,25 @@ interface WanV3VideoCommand {
9230
9204
  enable_thinking?: boolean;
9231
9205
  watermark?: boolean;
9232
9206
  seed?: number;
9233
- options?: GenAIOptions$q;
9207
+ options?: GenAIOptions$r;
9234
9208
  }
9235
9209
  interface WanV3MediaItem {
9236
9210
  type: "reference_image" | "reference_video" | "reference_audio" | "first_frame" | "last_frame" | "file" | "link";
9237
9211
  url: string;
9238
9212
  }
9239
- interface GenAIOptions$q {
9240
- safety_checks?: SafetyChecksOptions$q;
9241
- drive?: DriveOptions$q;
9213
+ interface GenAIOptions$r {
9214
+ safety_checks?: SafetyChecksOptions$r;
9215
+ drive?: DriveOptions$r;
9242
9216
  }
9243
- interface SafetyChecksOptions$q {
9217
+ interface SafetyChecksOptions$r {
9244
9218
  enabled?: boolean;
9245
9219
  }
9246
- interface DriveOptions$q {
9220
+ interface DriveOptions$r {
9247
9221
  name: string;
9248
9222
  attributes?: Record<string, unknown>;
9249
- folder?: DriveFolderOptions$q;
9223
+ folder?: DriveFolderOptions$r;
9250
9224
  }
9251
- interface DriveFolderOptions$q {
9225
+ interface DriveFolderOptions$r {
9252
9226
  path?: string;
9253
9227
  id?: string;
9254
9228
  }
@@ -9379,18 +9353,26 @@ interface CatalogVoicesCommand$1 {
9379
9353
  interface CatalogVoicesResponse$1 {
9380
9354
  id: string;
9381
9355
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9382
- result: CatalogPageResult$1;
9356
+ result: CatalogPageResult$2;
9383
9357
  }
9384
- interface CatalogPageResult$1 {
9385
- items: CatalogPresetResult$1[];
9358
+ interface CatalogPageResult$2 {
9359
+ items: CatalogItemResult$2[];
9386
9360
  version: string;
9387
9361
  ttlSeconds: number;
9388
9362
  nextCursor?: string;
9389
9363
  }
9390
- interface CatalogPresetResult$1 {
9364
+ interface CatalogItemResult$2 {
9391
9365
  id: string;
9392
9366
  name: string;
9367
+ description?: string;
9393
9368
  tags: string[];
9369
+ preview?: CatalogPreviewResult$2;
9370
+ meta?: Record<string, unknown>;
9371
+ }
9372
+ interface CatalogPreviewResult$2 {
9373
+ imageUrl?: string;
9374
+ videoUrl?: string;
9375
+ audioUrl?: string;
9394
9376
  }
9395
9377
 
9396
9378
  interface CatalogAvatarsCommand {
@@ -9400,18 +9382,26 @@ interface CatalogAvatarsCommand {
9400
9382
  interface CatalogAvatarsResponse {
9401
9383
  id: string;
9402
9384
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9403
- result: CatalogPageResult;
9385
+ result: CatalogPageResult$1;
9404
9386
  }
9405
- interface CatalogPageResult {
9406
- items: CatalogPresetResult[];
9387
+ interface CatalogPageResult$1 {
9388
+ items: CatalogItemResult$1[];
9407
9389
  version: string;
9408
9390
  ttlSeconds: number;
9409
9391
  nextCursor?: string;
9410
9392
  }
9411
- interface CatalogPresetResult {
9393
+ interface CatalogItemResult$1 {
9412
9394
  id: string;
9413
9395
  name: string;
9396
+ description?: string;
9414
9397
  tags: string[];
9398
+ preview?: CatalogPreviewResult$1;
9399
+ meta?: Record<string, unknown>;
9400
+ }
9401
+ interface CatalogPreviewResult$1 {
9402
+ imageUrl?: string;
9403
+ videoUrl?: string;
9404
+ audioUrl?: string;
9415
9405
  }
9416
9406
 
9417
9407
  interface CatalogVoicesCommand {
@@ -9453,21 +9443,21 @@ interface PhotoAdjustCommand {
9453
9443
  output_format?: string;
9454
9444
  model?: string;
9455
9445
  metadata?: Record<string, unknown>;
9456
- options?: GenAIOptions$p;
9446
+ options?: GenAIOptions$q;
9457
9447
  }
9458
- interface GenAIOptions$p {
9459
- safety_checks?: SafetyChecksOptions$p;
9460
- drive?: DriveOptions$p;
9448
+ interface GenAIOptions$q {
9449
+ safety_checks?: SafetyChecksOptions$q;
9450
+ drive?: DriveOptions$q;
9461
9451
  }
9462
- interface SafetyChecksOptions$p {
9452
+ interface SafetyChecksOptions$q {
9463
9453
  enabled?: boolean;
9464
9454
  }
9465
- interface DriveOptions$p {
9455
+ interface DriveOptions$q {
9466
9456
  name: string;
9467
9457
  attributes?: Record<string, unknown>;
9468
- folder?: DriveFolderOptions$p;
9458
+ folder?: DriveFolderOptions$q;
9469
9459
  }
9470
- interface DriveFolderOptions$p {
9460
+ interface DriveFolderOptions$q {
9471
9461
  path?: string;
9472
9462
  id?: string;
9473
9463
  }
@@ -9545,10 +9535,47 @@ interface ChargeResultModel {
9545
9535
  }
9546
9536
 
9547
9537
  interface Hailuo02ProTextToVideoCommand {
9538
+ prompt: string;
9539
+ prompt_optimizer?: boolean;
9540
+ callback_url?: string;
9541
+ options?: GenAIOptions$p;
9542
+ }
9543
+ interface GenAIOptions$p {
9544
+ safety_checks?: SafetyChecksOptions$p;
9545
+ drive?: DriveOptions$p;
9546
+ }
9547
+ interface SafetyChecksOptions$p {
9548
+ enabled?: boolean;
9549
+ }
9550
+ interface DriveOptions$p {
9551
+ name: string;
9552
+ attributes?: Record<string, unknown>;
9553
+ folder?: DriveFolderOptions$p;
9554
+ }
9555
+ interface DriveFolderOptions$p {
9556
+ path?: string;
9557
+ id?: string;
9558
+ }
9559
+ interface Hailuo02ProTextToVideoResponse {
9560
+ id: string;
9561
+ status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9562
+ result: MinimaxVideoResult$7;
9563
+ }
9564
+ interface MinimaxVideoResult$7 {
9565
+ url: string;
9566
+ mimeType?: string;
9567
+ duration?: number;
9568
+ ratio?: string;
9569
+ driveFile?: Record<string, unknown>;
9570
+ }
9571
+
9572
+ interface Hailuo02ProImageToVideoCommand {
9548
9573
  prompt: string;
9549
9574
  prompt_optimizer?: boolean;
9550
9575
  callback_url?: string;
9551
9576
  options?: GenAIOptions$o;
9577
+ image_url: string;
9578
+ end_image_url?: string;
9552
9579
  }
9553
9580
  interface GenAIOptions$o {
9554
9581
  safety_checks?: SafetyChecksOptions$o;
@@ -9566,12 +9593,12 @@ interface DriveFolderOptions$o {
9566
9593
  path?: string;
9567
9594
  id?: string;
9568
9595
  }
9569
- interface Hailuo02ProTextToVideoResponse {
9596
+ interface Hailuo02ProImageToVideoResponse {
9570
9597
  id: string;
9571
9598
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9572
- result: MinimaxVideoResult$7;
9599
+ result: MinimaxVideoResult$6;
9573
9600
  }
9574
- interface MinimaxVideoResult$7 {
9601
+ interface MinimaxVideoResult$6 {
9575
9602
  url: string;
9576
9603
  mimeType?: string;
9577
9604
  duration?: number;
@@ -9579,13 +9606,12 @@ interface MinimaxVideoResult$7 {
9579
9606
  driveFile?: Record<string, unknown>;
9580
9607
  }
9581
9608
 
9582
- interface Hailuo02ProImageToVideoCommand {
9609
+ interface Hailuo23StandardTextToVideoCommand {
9583
9610
  prompt: string;
9584
9611
  prompt_optimizer?: boolean;
9585
9612
  callback_url?: string;
9586
9613
  options?: GenAIOptions$n;
9587
- image_url: string;
9588
- end_image_url?: string;
9614
+ duration?: 6 | 10;
9589
9615
  }
9590
9616
  interface GenAIOptions$n {
9591
9617
  safety_checks?: SafetyChecksOptions$n;
@@ -9603,12 +9629,12 @@ interface DriveFolderOptions$n {
9603
9629
  path?: string;
9604
9630
  id?: string;
9605
9631
  }
9606
- interface Hailuo02ProImageToVideoResponse {
9632
+ interface Hailuo23StandardTextToVideoResponse {
9607
9633
  id: string;
9608
9634
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9609
- result: MinimaxVideoResult$6;
9635
+ result: MinimaxVideoResult$5;
9610
9636
  }
9611
- interface MinimaxVideoResult$6 {
9637
+ interface MinimaxVideoResult$5 {
9612
9638
  url: string;
9613
9639
  mimeType?: string;
9614
9640
  duration?: number;
@@ -9616,11 +9642,12 @@ interface MinimaxVideoResult$6 {
9616
9642
  driveFile?: Record<string, unknown>;
9617
9643
  }
9618
9644
 
9619
- interface Hailuo23StandardTextToVideoCommand {
9645
+ interface Hailuo23StandardImageToVideoCommand {
9620
9646
  prompt: string;
9621
9647
  prompt_optimizer?: boolean;
9622
9648
  callback_url?: string;
9623
9649
  options?: GenAIOptions$m;
9650
+ image_url: string;
9624
9651
  duration?: 6 | 10;
9625
9652
  }
9626
9653
  interface GenAIOptions$m {
@@ -9639,12 +9666,12 @@ interface DriveFolderOptions$m {
9639
9666
  path?: string;
9640
9667
  id?: string;
9641
9668
  }
9642
- interface Hailuo23StandardTextToVideoResponse {
9669
+ interface Hailuo23StandardImageToVideoResponse {
9643
9670
  id: string;
9644
9671
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9645
- result: MinimaxVideoResult$5;
9672
+ result: MinimaxVideoResult$4;
9646
9673
  }
9647
- interface MinimaxVideoResult$5 {
9674
+ interface MinimaxVideoResult$4 {
9648
9675
  url: string;
9649
9676
  mimeType?: string;
9650
9677
  duration?: number;
@@ -9652,13 +9679,11 @@ interface MinimaxVideoResult$5 {
9652
9679
  driveFile?: Record<string, unknown>;
9653
9680
  }
9654
9681
 
9655
- interface Hailuo23StandardImageToVideoCommand {
9682
+ interface Hailuo23ProTextToVideoCommand {
9656
9683
  prompt: string;
9657
9684
  prompt_optimizer?: boolean;
9658
9685
  callback_url?: string;
9659
9686
  options?: GenAIOptions$l;
9660
- image_url: string;
9661
- duration?: 6 | 10;
9662
9687
  }
9663
9688
  interface GenAIOptions$l {
9664
9689
  safety_checks?: SafetyChecksOptions$l;
@@ -9676,12 +9701,12 @@ interface DriveFolderOptions$l {
9676
9701
  path?: string;
9677
9702
  id?: string;
9678
9703
  }
9679
- interface Hailuo23StandardImageToVideoResponse {
9704
+ interface Hailuo23ProTextToVideoResponse {
9680
9705
  id: string;
9681
9706
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9682
- result: MinimaxVideoResult$4;
9707
+ result: MinimaxVideoResult$3;
9683
9708
  }
9684
- interface MinimaxVideoResult$4 {
9709
+ interface MinimaxVideoResult$3 {
9685
9710
  url: string;
9686
9711
  mimeType?: string;
9687
9712
  duration?: number;
@@ -9689,11 +9714,12 @@ interface MinimaxVideoResult$4 {
9689
9714
  driveFile?: Record<string, unknown>;
9690
9715
  }
9691
9716
 
9692
- interface Hailuo23ProTextToVideoCommand {
9717
+ interface Hailuo23ProImageToVideoCommand {
9693
9718
  prompt: string;
9694
9719
  prompt_optimizer?: boolean;
9695
9720
  callback_url?: string;
9696
9721
  options?: GenAIOptions$k;
9722
+ image_url: string;
9697
9723
  }
9698
9724
  interface GenAIOptions$k {
9699
9725
  safety_checks?: SafetyChecksOptions$k;
@@ -9711,12 +9737,12 @@ interface DriveFolderOptions$k {
9711
9737
  path?: string;
9712
9738
  id?: string;
9713
9739
  }
9714
- interface Hailuo23ProTextToVideoResponse {
9740
+ interface Hailuo23ProImageToVideoResponse {
9715
9741
  id: string;
9716
9742
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9717
- result: MinimaxVideoResult$3;
9743
+ result: MinimaxVideoResult$2;
9718
9744
  }
9719
- interface MinimaxVideoResult$3 {
9745
+ interface MinimaxVideoResult$2 {
9720
9746
  url: string;
9721
9747
  mimeType?: string;
9722
9748
  duration?: number;
@@ -9724,12 +9750,13 @@ interface MinimaxVideoResult$3 {
9724
9750
  driveFile?: Record<string, unknown>;
9725
9751
  }
9726
9752
 
9727
- interface Hailuo23ProImageToVideoCommand {
9753
+ interface Hailuo23FastStandardImageToVideoCommand {
9728
9754
  prompt: string;
9729
9755
  prompt_optimizer?: boolean;
9730
9756
  callback_url?: string;
9731
9757
  options?: GenAIOptions$j;
9732
9758
  image_url: string;
9759
+ duration?: 6 | 10;
9733
9760
  }
9734
9761
  interface GenAIOptions$j {
9735
9762
  safety_checks?: SafetyChecksOptions$j;
@@ -9747,12 +9774,12 @@ interface DriveFolderOptions$j {
9747
9774
  path?: string;
9748
9775
  id?: string;
9749
9776
  }
9750
- interface Hailuo23ProImageToVideoResponse {
9777
+ interface Hailuo23FastStandardImageToVideoResponse {
9751
9778
  id: string;
9752
9779
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9753
- result: MinimaxVideoResult$2;
9780
+ result: MinimaxVideoResult$1;
9754
9781
  }
9755
- interface MinimaxVideoResult$2 {
9782
+ interface MinimaxVideoResult$1 {
9756
9783
  url: string;
9757
9784
  mimeType?: string;
9758
9785
  duration?: number;
@@ -9760,13 +9787,12 @@ interface MinimaxVideoResult$2 {
9760
9787
  driveFile?: Record<string, unknown>;
9761
9788
  }
9762
9789
 
9763
- interface Hailuo23FastStandardImageToVideoCommand {
9790
+ interface Hailuo23FastProImageToVideoCommand {
9764
9791
  prompt: string;
9765
9792
  prompt_optimizer?: boolean;
9766
9793
  callback_url?: string;
9767
9794
  options?: GenAIOptions$i;
9768
9795
  image_url: string;
9769
- duration?: 6 | 10;
9770
9796
  }
9771
9797
  interface GenAIOptions$i {
9772
9798
  safety_checks?: SafetyChecksOptions$i;
@@ -9784,42 +9810,6 @@ interface DriveFolderOptions$i {
9784
9810
  path?: string;
9785
9811
  id?: string;
9786
9812
  }
9787
- interface Hailuo23FastStandardImageToVideoResponse {
9788
- id: string;
9789
- status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
9790
- result: MinimaxVideoResult$1;
9791
- }
9792
- interface MinimaxVideoResult$1 {
9793
- url: string;
9794
- mimeType?: string;
9795
- duration?: number;
9796
- ratio?: string;
9797
- driveFile?: Record<string, unknown>;
9798
- }
9799
-
9800
- interface Hailuo23FastProImageToVideoCommand {
9801
- prompt: string;
9802
- prompt_optimizer?: boolean;
9803
- callback_url?: string;
9804
- options?: GenAIOptions$h;
9805
- image_url: string;
9806
- }
9807
- interface GenAIOptions$h {
9808
- safety_checks?: SafetyChecksOptions$h;
9809
- drive?: DriveOptions$h;
9810
- }
9811
- interface SafetyChecksOptions$h {
9812
- enabled?: boolean;
9813
- }
9814
- interface DriveOptions$h {
9815
- name: string;
9816
- attributes?: Record<string, unknown>;
9817
- folder?: DriveFolderOptions$h;
9818
- }
9819
- interface DriveFolderOptions$h {
9820
- path?: string;
9821
- id?: string;
9822
- }
9823
9813
  interface Hailuo23FastProImageToVideoResponse {
9824
9814
  id: string;
9825
9815
  status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
@@ -9839,26 +9829,26 @@ interface MinimaxMusicV2Command {
9839
9829
  audio_setting?: MinimaxMusicAudioSettingDto$1;
9840
9830
  lyrics_optimizer?: boolean;
9841
9831
  is_instrumental?: boolean;
9842
- options?: GenAIOptions$g;
9832
+ options?: GenAIOptions$h;
9843
9833
  }
9844
9834
  interface MinimaxMusicAudioSettingDto$1 {
9845
9835
  sample_rate?: 16000 | 24000 | 32000 | 44100;
9846
9836
  bitrate?: 32000 | 64000 | 128000 | 256000;
9847
9837
  format?: "mp3" | "wav" | "pcm";
9848
9838
  }
9849
- interface GenAIOptions$g {
9850
- safety_checks?: SafetyChecksOptions$g;
9851
- drive?: DriveOptions$g;
9839
+ interface GenAIOptions$h {
9840
+ safety_checks?: SafetyChecksOptions$h;
9841
+ drive?: DriveOptions$h;
9852
9842
  }
9853
- interface SafetyChecksOptions$g {
9843
+ interface SafetyChecksOptions$h {
9854
9844
  enabled?: boolean;
9855
9845
  }
9856
- interface DriveOptions$g {
9846
+ interface DriveOptions$h {
9857
9847
  name: string;
9858
9848
  attributes?: Record<string, unknown>;
9859
- folder?: DriveFolderOptions$g;
9849
+ folder?: DriveFolderOptions$h;
9860
9850
  }
9861
- interface DriveFolderOptions$g {
9851
+ interface DriveFolderOptions$h {
9862
9852
  path?: string;
9863
9853
  id?: string;
9864
9854
  }
@@ -9879,26 +9869,26 @@ interface MinimaxMusicV3Command {
9879
9869
  audio_setting?: MinimaxMusicAudioSettingDto;
9880
9870
  lyrics_optimizer?: boolean;
9881
9871
  is_instrumental?: boolean;
9882
- options?: GenAIOptions$f;
9872
+ options?: GenAIOptions$g;
9883
9873
  }
9884
9874
  interface MinimaxMusicAudioSettingDto {
9885
9875
  sample_rate?: 16000 | 24000 | 32000 | 44100;
9886
9876
  bitrate?: 32000 | 64000 | 128000 | 256000;
9887
9877
  format?: "mp3" | "wav" | "pcm";
9888
9878
  }
9889
- interface GenAIOptions$f {
9890
- safety_checks?: SafetyChecksOptions$f;
9891
- drive?: DriveOptions$f;
9879
+ interface GenAIOptions$g {
9880
+ safety_checks?: SafetyChecksOptions$g;
9881
+ drive?: DriveOptions$g;
9892
9882
  }
9893
- interface SafetyChecksOptions$f {
9883
+ interface SafetyChecksOptions$g {
9894
9884
  enabled?: boolean;
9895
9885
  }
9896
- interface DriveOptions$f {
9886
+ interface DriveOptions$g {
9897
9887
  name: string;
9898
9888
  attributes?: Record<string, unknown>;
9899
- folder?: DriveFolderOptions$f;
9889
+ folder?: DriveFolderOptions$g;
9900
9890
  }
9901
- interface DriveFolderOptions$f {
9891
+ interface DriveFolderOptions$g {
9902
9892
  path?: string;
9903
9893
  id?: string;
9904
9894
  }
@@ -9918,22 +9908,22 @@ interface SeedreamLayerSeparationCommand {
9918
9908
  prompt?: string;
9919
9909
  resolution?: SeedreamLayerSeparationResolution;
9920
9910
  watermark?: boolean;
9921
- options?: GenAIOptions$e;
9911
+ options?: GenAIOptions$f;
9922
9912
  }
9923
9913
  type SeedreamLayerSeparationResolution = "1K" | "2K";
9924
- interface GenAIOptions$e {
9925
- safety_checks?: SafetyChecksOptions$e;
9926
- drive?: DriveOptions$e;
9914
+ interface GenAIOptions$f {
9915
+ safety_checks?: SafetyChecksOptions$f;
9916
+ drive?: DriveOptions$f;
9927
9917
  }
9928
- interface SafetyChecksOptions$e {
9918
+ interface SafetyChecksOptions$f {
9929
9919
  enabled?: boolean;
9930
9920
  }
9931
- interface DriveOptions$e {
9921
+ interface DriveOptions$f {
9932
9922
  name: string;
9933
9923
  attributes?: Record<string, unknown>;
9934
- folder?: DriveFolderOptions$e;
9924
+ folder?: DriveFolderOptions$f;
9935
9925
  }
9936
- interface DriveFolderOptions$e {
9926
+ interface DriveFolderOptions$f {
9937
9927
  path?: string;
9938
9928
  id?: string;
9939
9929
  }
@@ -9967,21 +9957,21 @@ interface RecraftStylesCommand {
9967
9957
  source_style_weights?: number[];
9968
9958
  prompt?: string;
9969
9959
  mix_policy?: "PaletteMatch" | "MaxWeight";
9970
- options?: GenAIOptions$d;
9960
+ options?: GenAIOptions$e;
9971
9961
  }
9972
- interface GenAIOptions$d {
9973
- safety_checks?: SafetyChecksOptions$d;
9974
- drive?: DriveOptions$d;
9962
+ interface GenAIOptions$e {
9963
+ safety_checks?: SafetyChecksOptions$e;
9964
+ drive?: DriveOptions$e;
9975
9965
  }
9976
- interface SafetyChecksOptions$d {
9966
+ interface SafetyChecksOptions$e {
9977
9967
  enabled?: boolean;
9978
9968
  }
9979
- interface DriveOptions$d {
9969
+ interface DriveOptions$e {
9980
9970
  name: string;
9981
9971
  attributes?: Record<string, unknown>;
9982
- folder?: DriveFolderOptions$d;
9972
+ folder?: DriveFolderOptions$e;
9983
9973
  }
9984
- interface DriveFolderOptions$d {
9974
+ interface DriveFolderOptions$e {
9985
9975
  path?: string;
9986
9976
  id?: string;
9987
9977
  }
@@ -10039,22 +10029,22 @@ interface FlowTemplateTextItem {
10039
10029
  interface PicsartFlowEffectsCommand {
10040
10030
  template: string;
10041
10031
  imageUrls: string[];
10042
- options?: GenAIOptions$c;
10032
+ options?: GenAIOptions$d;
10043
10033
  moderationLevel?: "none" | "low" | "medium" | "high";
10044
10034
  }
10045
- interface GenAIOptions$c {
10046
- safety_checks?: SafetyChecksOptions$c;
10047
- drive?: DriveOptions$c;
10035
+ interface GenAIOptions$d {
10036
+ safety_checks?: SafetyChecksOptions$d;
10037
+ drive?: DriveOptions$d;
10048
10038
  }
10049
- interface SafetyChecksOptions$c {
10039
+ interface SafetyChecksOptions$d {
10050
10040
  enabled?: boolean;
10051
10041
  }
10052
- interface DriveOptions$c {
10042
+ interface DriveOptions$d {
10053
10043
  name: string;
10054
10044
  attributes?: Record<string, unknown>;
10055
- folder?: DriveFolderOptions$c;
10045
+ folder?: DriveFolderOptions$d;
10056
10046
  }
10057
- interface DriveFolderOptions$c {
10047
+ interface DriveFolderOptions$d {
10058
10048
  path?: string;
10059
10049
  id?: string;
10060
10050
  }
@@ -10083,22 +10073,22 @@ interface OmniHumanCommand {
10083
10073
  turbo_mode?: boolean;
10084
10074
  mask_url?: string | string[];
10085
10075
  seed?: number;
10086
- options?: GenAIOptions$b;
10076
+ options?: GenAIOptions$c;
10087
10077
  }
10088
10078
  type OmniHumanResolution = "720p" | "1080p";
10089
- interface GenAIOptions$b {
10090
- safety_checks?: SafetyChecksOptions$b;
10091
- drive?: DriveOptions$b;
10079
+ interface GenAIOptions$c {
10080
+ safety_checks?: SafetyChecksOptions$c;
10081
+ drive?: DriveOptions$c;
10092
10082
  }
10093
- interface SafetyChecksOptions$b {
10083
+ interface SafetyChecksOptions$c {
10094
10084
  enabled?: boolean;
10095
10085
  }
10096
- interface DriveOptions$b {
10086
+ interface DriveOptions$c {
10097
10087
  name: string;
10098
10088
  attributes?: Record<string, unknown>;
10099
- folder?: DriveFolderOptions$b;
10089
+ folder?: DriveFolderOptions$c;
10100
10090
  }
10101
- interface DriveFolderOptions$b {
10091
+ interface DriveFolderOptions$c {
10102
10092
  path?: string;
10103
10093
  id?: string;
10104
10094
  }
@@ -10125,7 +10115,7 @@ interface BflFlux2Command {
10125
10115
  outputFormat?: "jpeg" | "png";
10126
10116
  promptUpsampling?: boolean;
10127
10117
  safetyTolerance?: number;
10128
- options?: GenAIOptions$a;
10118
+ options?: GenAIOptions$b;
10129
10119
  model: FluxV2Model;
10130
10120
  steps?: number;
10131
10121
  guidance?: number;
@@ -10135,19 +10125,19 @@ interface BflFlux2Command {
10135
10125
  resolution?: FluxResolution;
10136
10126
  count?: number;
10137
10127
  }
10138
- interface GenAIOptions$a {
10139
- safety_checks?: SafetyChecksOptions$a;
10140
- drive?: DriveOptions$a;
10128
+ interface GenAIOptions$b {
10129
+ safety_checks?: SafetyChecksOptions$b;
10130
+ drive?: DriveOptions$b;
10141
10131
  }
10142
- interface SafetyChecksOptions$a {
10132
+ interface SafetyChecksOptions$b {
10143
10133
  enabled?: boolean;
10144
10134
  }
10145
- interface DriveOptions$a {
10135
+ interface DriveOptions$b {
10146
10136
  name: string;
10147
10137
  attributes?: Record<string, unknown>;
10148
- folder?: DriveFolderOptions$a;
10138
+ folder?: DriveFolderOptions$b;
10149
10139
  }
10150
- interface DriveFolderOptions$a {
10140
+ interface DriveFolderOptions$b {
10151
10141
  path?: string;
10152
10142
  id?: string;
10153
10143
  }
@@ -10172,24 +10162,24 @@ interface BflFluxKontextCommand {
10172
10162
  outputFormat?: "jpeg" | "png";
10173
10163
  promptUpsampling?: boolean;
10174
10164
  safetyTolerance?: number;
10175
- options?: GenAIOptions$9;
10165
+ options?: GenAIOptions$a;
10176
10166
  model: FluxKontextModel;
10177
10167
  imageUrls?: string[];
10178
10168
  count?: number;
10179
10169
  }
10180
- interface GenAIOptions$9 {
10181
- safety_checks?: SafetyChecksOptions$9;
10182
- drive?: DriveOptions$9;
10170
+ interface GenAIOptions$a {
10171
+ safety_checks?: SafetyChecksOptions$a;
10172
+ drive?: DriveOptions$a;
10183
10173
  }
10184
- interface SafetyChecksOptions$9 {
10174
+ interface SafetyChecksOptions$a {
10185
10175
  enabled?: boolean;
10186
10176
  }
10187
- interface DriveOptions$9 {
10177
+ interface DriveOptions$a {
10188
10178
  name: string;
10189
10179
  attributes?: Record<string, unknown>;
10190
- folder?: DriveFolderOptions$9;
10180
+ folder?: DriveFolderOptions$a;
10191
10181
  }
10192
- interface DriveFolderOptions$9 {
10182
+ interface DriveFolderOptions$a {
10193
10183
  path?: string;
10194
10184
  id?: string;
10195
10185
  }
@@ -10225,21 +10215,21 @@ interface ParakeetSliceResultData {
10225
10215
  interface ParakeetUnifiedEnCommand {
10226
10216
  url: string;
10227
10217
  model?: "preview-model-parakeet-unified-en-v1" | "model-parakeet-unified-en-v1";
10228
- options?: GenAIOptions$8;
10218
+ options?: GenAIOptions$9;
10229
10219
  }
10230
- interface GenAIOptions$8 {
10231
- safety_checks?: SafetyChecksOptions$8;
10232
- drive?: DriveOptions$8;
10220
+ interface GenAIOptions$9 {
10221
+ safety_checks?: SafetyChecksOptions$9;
10222
+ drive?: DriveOptions$9;
10233
10223
  }
10234
- interface SafetyChecksOptions$8 {
10224
+ interface SafetyChecksOptions$9 {
10235
10225
  enabled?: boolean;
10236
10226
  }
10237
- interface DriveOptions$8 {
10227
+ interface DriveOptions$9 {
10238
10228
  name: string;
10239
10229
  attributes?: Record<string, unknown>;
10240
- folder?: DriveFolderOptions$8;
10230
+ folder?: DriveFolderOptions$9;
10241
10231
  }
10242
- interface DriveFolderOptions$8 {
10232
+ interface DriveFolderOptions$9 {
10243
10233
  path?: string;
10244
10234
  id?: string;
10245
10235
  }
@@ -10267,21 +10257,21 @@ interface CreativeEnhancementCommand {
10267
10257
  creative_conditioning_strength?: number;
10268
10258
  creative_processing_size?: number;
10269
10259
  output_format?: "JPEG" | "PNG" | "HEIC" | "WEBP";
10270
- options?: GenAIOptions$7;
10260
+ options?: GenAIOptions$8;
10271
10261
  }
10272
- interface GenAIOptions$7 {
10273
- safety_checks?: SafetyChecksOptions$7;
10274
- drive?: DriveOptions$7;
10262
+ interface GenAIOptions$8 {
10263
+ safety_checks?: SafetyChecksOptions$8;
10264
+ drive?: DriveOptions$8;
10275
10265
  }
10276
- interface SafetyChecksOptions$7 {
10266
+ interface SafetyChecksOptions$8 {
10277
10267
  enabled?: boolean;
10278
10268
  }
10279
- interface DriveOptions$7 {
10269
+ interface DriveOptions$8 {
10280
10270
  name: string;
10281
10271
  attributes?: Record<string, unknown>;
10282
- folder?: DriveFolderOptions$7;
10272
+ folder?: DriveFolderOptions$8;
10283
10273
  }
10284
- interface DriveFolderOptions$7 {
10274
+ interface DriveFolderOptions$8 {
10285
10275
  path?: string;
10286
10276
  id?: string;
10287
10277
  }
@@ -10308,21 +10298,21 @@ interface FaceCollageCommand {
10308
10298
  variant?: number;
10309
10299
  decoration?: number;
10310
10300
  model?: "preview-model-face-collage-v1" | "model-face-collage-v1";
10311
- options?: GenAIOptions$6;
10301
+ options?: GenAIOptions$7;
10312
10302
  }
10313
- interface GenAIOptions$6 {
10314
- safety_checks?: SafetyChecksOptions$6;
10315
- drive?: DriveOptions$6;
10303
+ interface GenAIOptions$7 {
10304
+ safety_checks?: SafetyChecksOptions$7;
10305
+ drive?: DriveOptions$7;
10316
10306
  }
10317
- interface SafetyChecksOptions$6 {
10307
+ interface SafetyChecksOptions$7 {
10318
10308
  enabled?: boolean;
10319
10309
  }
10320
- interface DriveOptions$6 {
10310
+ interface DriveOptions$7 {
10321
10311
  name: string;
10322
10312
  attributes?: Record<string, unknown>;
10323
- folder?: DriveFolderOptions$6;
10313
+ folder?: DriveFolderOptions$7;
10324
10314
  }
10325
- interface DriveFolderOptions$6 {
10315
+ interface DriveFolderOptions$7 {
10326
10316
  path?: string;
10327
10317
  id?: string;
10328
10318
  }
@@ -10403,24 +10393,24 @@ interface CharSegment {
10403
10393
  interface CaptionsAiVideosCaptionsCommand {
10404
10394
  video: CaptionsAiVideoUrl;
10405
10395
  caption_template_id: string;
10406
- options?: GenAIOptions$5;
10396
+ options?: GenAIOptions$6;
10407
10397
  }
10408
10398
  interface CaptionsAiVideoUrl {
10409
10399
  url: string;
10410
10400
  }
10411
- interface GenAIOptions$5 {
10412
- safety_checks?: SafetyChecksOptions$5;
10413
- drive?: DriveOptions$5;
10401
+ interface GenAIOptions$6 {
10402
+ safety_checks?: SafetyChecksOptions$6;
10403
+ drive?: DriveOptions$6;
10414
10404
  }
10415
- interface SafetyChecksOptions$5 {
10405
+ interface SafetyChecksOptions$6 {
10416
10406
  enabled?: boolean;
10417
10407
  }
10418
- interface DriveOptions$5 {
10408
+ interface DriveOptions$6 {
10419
10409
  name: string;
10420
10410
  attributes?: Record<string, unknown>;
10421
- folder?: DriveFolderOptions$5;
10411
+ folder?: DriveFolderOptions$6;
10422
10412
  }
10423
- interface DriveFolderOptions$5 {
10413
+ interface DriveFolderOptions$6 {
10424
10414
  path?: string;
10425
10415
  id?: string;
10426
10416
  }
@@ -10468,21 +10458,21 @@ interface FluxVideoUpscaleCommand {
10468
10458
  prompt?: string;
10469
10459
  safetyTolerance?: number;
10470
10460
  webhookUrl?: string;
10471
- options?: GenAIOptions$4;
10461
+ options?: GenAIOptions$5;
10472
10462
  }
10473
- interface GenAIOptions$4 {
10474
- safety_checks?: SafetyChecksOptions$4;
10475
- drive?: DriveOptions$4;
10463
+ interface GenAIOptions$5 {
10464
+ safety_checks?: SafetyChecksOptions$5;
10465
+ drive?: DriveOptions$5;
10476
10466
  }
10477
- interface SafetyChecksOptions$4 {
10467
+ interface SafetyChecksOptions$5 {
10478
10468
  enabled?: boolean;
10479
10469
  }
10480
- interface DriveOptions$4 {
10470
+ interface DriveOptions$5 {
10481
10471
  name: string;
10482
10472
  attributes?: Record<string, unknown>;
10483
- folder?: DriveFolderOptions$4;
10473
+ folder?: DriveFolderOptions$5;
10484
10474
  }
10485
- interface DriveFolderOptions$4 {
10475
+ interface DriveFolderOptions$5 {
10486
10476
  path?: string;
10487
10477
  id?: string;
10488
10478
  }
@@ -10502,21 +10492,21 @@ interface VoiceCreateCommand {
10502
10492
  voice_description: string;
10503
10493
  labels?: Record<string, string>;
10504
10494
  played_not_selected_voice_ids?: string[];
10505
- options?: GenAIOptions$3;
10495
+ options?: GenAIOptions$4;
10506
10496
  }
10507
- interface GenAIOptions$3 {
10508
- safety_checks?: SafetyChecksOptions$3;
10509
- drive?: DriveOptions$3;
10497
+ interface GenAIOptions$4 {
10498
+ safety_checks?: SafetyChecksOptions$4;
10499
+ drive?: DriveOptions$4;
10510
10500
  }
10511
- interface SafetyChecksOptions$3 {
10501
+ interface SafetyChecksOptions$4 {
10512
10502
  enabled?: boolean;
10513
10503
  }
10514
- interface DriveOptions$3 {
10504
+ interface DriveOptions$4 {
10515
10505
  name: string;
10516
10506
  attributes?: Record<string, unknown>;
10517
- folder?: DriveFolderOptions$3;
10507
+ folder?: DriveFolderOptions$4;
10518
10508
  }
10519
- interface DriveFolderOptions$3 {
10509
+ interface DriveFolderOptions$4 {
10520
10510
  path?: string;
10521
10511
  id?: string;
10522
10512
  }
@@ -10541,21 +10531,21 @@ interface VoiceCloneCommand {
10541
10531
  description?: string;
10542
10532
  labels?: Record<string, string>;
10543
10533
  remove_background_noise?: boolean;
10544
- options?: GenAIOptions$2;
10534
+ options?: GenAIOptions$3;
10545
10535
  }
10546
- interface GenAIOptions$2 {
10547
- safety_checks?: SafetyChecksOptions$2;
10548
- drive?: DriveOptions$2;
10536
+ interface GenAIOptions$3 {
10537
+ safety_checks?: SafetyChecksOptions$3;
10538
+ drive?: DriveOptions$3;
10549
10539
  }
10550
- interface SafetyChecksOptions$2 {
10540
+ interface SafetyChecksOptions$3 {
10551
10541
  enabled?: boolean;
10552
10542
  }
10553
- interface DriveOptions$2 {
10543
+ interface DriveOptions$3 {
10554
10544
  name: string;
10555
10545
  attributes?: Record<string, unknown>;
10556
- folder?: DriveFolderOptions$2;
10546
+ folder?: DriveFolderOptions$3;
10557
10547
  }
10558
- interface DriveFolderOptions$2 {
10548
+ interface DriveFolderOptions$3 {
10559
10549
  path?: string;
10560
10550
  id?: string;
10561
10551
  }
@@ -10589,14 +10579,14 @@ interface VoiceDeleteResult {
10589
10579
  }
10590
10580
 
10591
10581
  interface TurboTextToVideoHailuo03Input {
10592
- prompt: string;
10593
- sync_mode?: boolean;
10582
+ prompt_expansion_mode: string;
10594
10583
  resolution?: "480P" | "768P";
10584
+ enable_safety_checker?: boolean;
10585
+ seed?: number | unknown;
10595
10586
  duration?: number;
10587
+ prompt: string;
10588
+ sync_mode?: boolean;
10596
10589
  aspect_ratio?: "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
10597
- seed?: number | unknown;
10598
- prompt_expansion_mode: string;
10599
- enable_safety_checker?: boolean;
10600
10590
  options?: {
10601
10591
  safety_checks?: {
10602
10592
  enabled?: boolean;
@@ -10617,25 +10607,25 @@ interface MinimaxH3MaxTextToVideoResponse {
10617
10607
  result: TurboTextToVideoHailuo03Output;
10618
10608
  }
10619
10609
  interface TurboTextToVideoHailuo03Output {
10610
+ timings?: Record<string, number> | unknown;
10620
10611
  expanded_prompt?: string | unknown;
10621
10612
  video: {
10622
- file_name?: string | unknown;
10623
10613
  file_size?: number | unknown;
10624
- content_type?: string | unknown;
10625
10614
  url: string;
10615
+ content_type?: string | unknown;
10616
+ file_name?: string | unknown;
10626
10617
  };
10627
- timings?: Record<string, number> | unknown;
10628
10618
  }
10629
10619
 
10630
10620
  interface TurboImageToVideoHailuo03Input {
10631
- prompt: string;
10632
- seed?: number | unknown;
10621
+ prompt_expansion_mode: string;
10633
10622
  resolution?: "480P" | "768P";
10623
+ enable_safety_checker?: boolean;
10624
+ seed?: number | unknown;
10625
+ end_image_url?: string | unknown;
10634
10626
  duration?: number;
10627
+ prompt: string;
10635
10628
  sync_mode?: boolean;
10636
- prompt_expansion_mode: string;
10637
- end_image_url?: string | unknown;
10638
- enable_safety_checker?: boolean;
10639
10629
  image_url?: string | unknown;
10640
10630
  options?: {
10641
10631
  safety_checks?: {
@@ -10657,14 +10647,14 @@ interface MinimaxH3MaxImageToVideoResponse {
10657
10647
  result: TurboImageToVideoHailuo03Output;
10658
10648
  }
10659
10649
  interface TurboImageToVideoHailuo03Output {
10650
+ timings?: Record<string, number> | unknown;
10660
10651
  expanded_prompt?: string | unknown;
10661
10652
  video: {
10662
- file_name?: string | unknown;
10663
10653
  file_size?: number | unknown;
10664
- content_type?: string | unknown;
10665
10654
  url: string;
10655
+ content_type?: string | unknown;
10656
+ file_name?: string | unknown;
10666
10657
  };
10667
- timings?: Record<string, number> | unknown;
10668
10658
  }
10669
10659
 
10670
10660
  interface MetaImagesGenerationsCommand {
@@ -10676,26 +10666,26 @@ interface MetaImagesGenerationsCommand {
10676
10666
  reasoning_strength?: "low" | "high";
10677
10667
  moderation?: "auto" | "low" | "none";
10678
10668
  tool_enablement?: MetaImageToolEnablement$1;
10679
- options?: GenAIOptions$1;
10669
+ options?: GenAIOptions$2;
10680
10670
  }
10681
10671
  interface MetaImageToolEnablement$1 {
10682
10672
  enable_image_search?: boolean;
10683
10673
  enable_web_search?: boolean;
10684
10674
  enable_shell?: boolean;
10685
10675
  }
10686
- interface GenAIOptions$1 {
10687
- safety_checks?: SafetyChecksOptions$1;
10688
- drive?: DriveOptions$1;
10676
+ interface GenAIOptions$2 {
10677
+ safety_checks?: SafetyChecksOptions$2;
10678
+ drive?: DriveOptions$2;
10689
10679
  }
10690
- interface SafetyChecksOptions$1 {
10680
+ interface SafetyChecksOptions$2 {
10691
10681
  enabled?: boolean;
10692
10682
  }
10693
- interface DriveOptions$1 {
10683
+ interface DriveOptions$2 {
10694
10684
  name: string;
10695
10685
  attributes?: Record<string, unknown>;
10696
- folder?: DriveFolderOptions$1;
10686
+ folder?: DriveFolderOptions$2;
10697
10687
  }
10698
- interface DriveFolderOptions$1 {
10688
+ interface DriveFolderOptions$2 {
10699
10689
  path?: string;
10700
10690
  id?: string;
10701
10691
  }
@@ -10723,26 +10713,26 @@ interface MetaImagesEditsCommand {
10723
10713
  reasoning_strength?: "low" | "high";
10724
10714
  moderation?: "auto" | "low" | "none";
10725
10715
  tool_enablement?: MetaImageToolEnablement;
10726
- options?: GenAIOptions;
10716
+ options?: GenAIOptions$1;
10727
10717
  }
10728
10718
  interface MetaImageToolEnablement {
10729
10719
  enable_image_search?: boolean;
10730
10720
  enable_web_search?: boolean;
10731
10721
  enable_shell?: boolean;
10732
10722
  }
10733
- interface GenAIOptions {
10734
- safety_checks?: SafetyChecksOptions;
10735
- drive?: DriveOptions;
10723
+ interface GenAIOptions$1 {
10724
+ safety_checks?: SafetyChecksOptions$1;
10725
+ drive?: DriveOptions$1;
10736
10726
  }
10737
- interface SafetyChecksOptions {
10727
+ interface SafetyChecksOptions$1 {
10738
10728
  enabled?: boolean;
10739
10729
  }
10740
- interface DriveOptions {
10730
+ interface DriveOptions$1 {
10741
10731
  name: string;
10742
10732
  attributes?: Record<string, unknown>;
10743
- folder?: DriveFolderOptions;
10733
+ folder?: DriveFolderOptions$1;
10744
10734
  }
10745
- interface DriveFolderOptions {
10735
+ interface DriveFolderOptions$1 {
10746
10736
  path?: string;
10747
10737
  id?: string;
10748
10738
  }
@@ -10760,6 +10750,163 @@ interface MetaGeneratedImage {
10760
10750
  revised_prompt?: string;
10761
10751
  }
10762
10752
 
10753
+ interface TurboReferenceToVideoHailuo03Input {
10754
+ reference_video_urls?: string[];
10755
+ resolution?: "480P" | "768P";
10756
+ prompt_expansion_mode: string;
10757
+ seed?: number | unknown;
10758
+ enable_safety_checker?: boolean;
10759
+ reference_audio_urls?: string[];
10760
+ duration?: number;
10761
+ prompt: string;
10762
+ sync_mode?: boolean;
10763
+ aspect_ratio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
10764
+ reference_image_urls?: string[];
10765
+ options?: {
10766
+ safety_checks?: {
10767
+ enabled?: boolean;
10768
+ };
10769
+ drive?: {
10770
+ name: string;
10771
+ attributes?: Record<string, string>;
10772
+ folder?: {
10773
+ path?: string;
10774
+ id?: string;
10775
+ };
10776
+ };
10777
+ };
10778
+ }
10779
+ interface MinimaxH3MaxReferenceToVideoResponse {
10780
+ id: string;
10781
+ status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
10782
+ result: TurboReferenceToVideoHailuo03Output;
10783
+ }
10784
+ interface TurboReferenceToVideoHailuo03Output {
10785
+ timings?: Record<string, number> | unknown;
10786
+ expanded_prompt?: string | unknown;
10787
+ video: {
10788
+ file_size?: number | unknown;
10789
+ url: string;
10790
+ content_type?: string | unknown;
10791
+ file_name?: string | unknown;
10792
+ };
10793
+ seed: number;
10794
+ }
10795
+
10796
+ interface VideoEffectsCommand {
10797
+ videoUri: string;
10798
+ promptText?: string;
10799
+ effect?: "spotlight" | "warm-light" | "blue-light" | "paparazzi" | "rainbow" | "backlight" | "police" | "lens-flare" | "blinds" | "high-noon" | "early-evening" | "twilight" | "night" | "midnight" | "early-morning" | "snow" | "sunny" | "rain" | "thunder" | "fog" | "wind" | "dark" | "smoke";
10800
+ options?: GenAIOptions;
10801
+ }
10802
+ interface GenAIOptions {
10803
+ safety_checks?: SafetyChecksOptions;
10804
+ drive?: DriveOptions;
10805
+ }
10806
+ interface SafetyChecksOptions {
10807
+ enabled?: boolean;
10808
+ }
10809
+ interface DriveOptions {
10810
+ name: string;
10811
+ attributes?: Record<string, unknown>;
10812
+ folder?: DriveFolderOptions;
10813
+ }
10814
+ interface DriveFolderOptions {
10815
+ path?: string;
10816
+ id?: string;
10817
+ }
10818
+ interface VideoEffectsResponse {
10819
+ id: string;
10820
+ status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
10821
+ result: GeneratedVideoResult;
10822
+ }
10823
+ interface GeneratedVideoResult {
10824
+ url: string;
10825
+ mimeType?: string;
10826
+ driveFile?: Record<string, unknown>;
10827
+ }
10828
+
10829
+ interface CatalogEffectsCommand {
10830
+ cursor?: string;
10831
+ limit?: number;
10832
+ }
10833
+ interface CatalogEffectsResponse {
10834
+ id: string;
10835
+ status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
10836
+ result: CatalogPageResult;
10837
+ }
10838
+ interface CatalogPageResult {
10839
+ items: CatalogItemResult[];
10840
+ version: string;
10841
+ ttlSeconds: number;
10842
+ nextCursor?: string;
10843
+ }
10844
+ interface CatalogItemResult {
10845
+ id: string;
10846
+ name: string;
10847
+ description?: string;
10848
+ tags: string[];
10849
+ preview?: CatalogPreviewResult;
10850
+ meta?: Record<string, unknown>;
10851
+ }
10852
+ interface CatalogPreviewResult {
10853
+ imageUrl?: string;
10854
+ videoUrl?: string;
10855
+ audioUrl?: string;
10856
+ }
10857
+
10858
+ interface MultipleAnglesInput {
10859
+ guidance_scale?: number;
10860
+ lora_scale?: number;
10861
+ num_images?: number;
10862
+ additional_prompt?: string | unknown;
10863
+ zoom?: number;
10864
+ vertical_angle?: number;
10865
+ horizontal_angle?: number;
10866
+ sync_mode?: boolean;
10867
+ image_urls: string[];
10868
+ output_format?: "png" | "jpeg" | "webp";
10869
+ enable_safety_checker?: boolean;
10870
+ image_size?: {
10871
+ height?: number;
10872
+ width?: number;
10873
+ } | "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | unknown;
10874
+ negative_prompt?: string;
10875
+ seed?: number | unknown;
10876
+ num_inference_steps?: number;
10877
+ acceleration?: "none" | "regular";
10878
+ options?: {
10879
+ safety_checks?: {
10880
+ enabled?: boolean;
10881
+ };
10882
+ drive?: {
10883
+ name: string;
10884
+ attributes?: Record<string, string>;
10885
+ folder?: {
10886
+ path?: string;
10887
+ id?: string;
10888
+ };
10889
+ };
10890
+ };
10891
+ }
10892
+ interface QwenImageEdit2511MultipleAnglesResponse {
10893
+ id: string;
10894
+ status: "ACCEPTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED";
10895
+ result: MultipleAnglesOutput;
10896
+ }
10897
+ interface MultipleAnglesOutput {
10898
+ images: ({
10899
+ url: string;
10900
+ height?: number | unknown;
10901
+ content_type?: string | unknown;
10902
+ file_size?: number | unknown;
10903
+ width?: number | unknown;
10904
+ file_name?: string | unknown;
10905
+ })[];
10906
+ seed: number;
10907
+ prompt: string;
10908
+ }
10909
+
10763
10910
  interface WorkflowTypes {
10764
10911
  'check-text': {
10765
10912
  params: CheckTextCommand;
@@ -11429,10 +11576,6 @@ interface WorkflowTypes {
11429
11576
  params: QwenImageToImageCommand;
11430
11577
  result: QwenImageToImageResponse;
11431
11578
  };
11432
- 'pcp/v1/genfillv6-inpaint': {
11433
- params: GenfillV6InpaintCommand;
11434
- result: GenfillV6InpaintResponse;
11435
- };
11436
11579
  'pcp/v1/face-correction': {
11437
11580
  params: FaceCorrectionCommand;
11438
11581
  result: FaceCorrectionResponse;
@@ -11805,6 +11948,22 @@ interface WorkflowTypes {
11805
11948
  params: MetaImagesEditsCommand;
11806
11949
  result: MetaImagesEditsResponse;
11807
11950
  };
11951
+ 'minimax/h3-max/reference-to-video': {
11952
+ params: TurboReferenceToVideoHailuo03Input;
11953
+ result: MinimaxH3MaxReferenceToVideoResponse;
11954
+ };
11955
+ 'runway/video-effects': {
11956
+ params: VideoEffectsCommand;
11957
+ result: VideoEffectsResponse;
11958
+ };
11959
+ 'runway/v1/catalog/effects': {
11960
+ params: CatalogEffectsCommand;
11961
+ result: CatalogEffectsResponse;
11962
+ };
11963
+ 'qwen-image-edit-2511-multiple-angles': {
11964
+ params: MultipleAnglesInput;
11965
+ result: QwenImageEdit2511MultipleAnglesResponse;
11966
+ };
11808
11967
  }
11809
11968
 
11810
11969
  export type { WorkflowTypes };