@runwayml/sdk 4.19.1 → 4.20.1

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.
Files changed (85) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +1 -1
  3. package/resources/image-to-video.d.mts +192 -19
  4. package/resources/image-to-video.d.mts.map +1 -1
  5. package/resources/image-to-video.d.ts +192 -19
  6. package/resources/image-to-video.d.ts.map +1 -1
  7. package/resources/image-to-video.js +9 -0
  8. package/resources/image-to-video.js.map +1 -1
  9. package/resources/image-to-video.mjs +9 -0
  10. package/resources/image-to-video.mjs.map +1 -1
  11. package/resources/organization/organization.d.mts +6 -4
  12. package/resources/organization/organization.d.mts.map +1 -1
  13. package/resources/organization/organization.d.ts +6 -4
  14. package/resources/organization/organization.d.ts.map +1 -1
  15. package/resources/organization/organization.js.map +1 -1
  16. package/resources/organization/organization.mjs.map +1 -1
  17. package/resources/organization/webapp/audit-logs.d.mts +59 -22
  18. package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
  19. package/resources/organization/webapp/audit-logs.d.ts +59 -22
  20. package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
  21. package/resources/realtime-sessions.d.mts +6 -3
  22. package/resources/realtime-sessions.d.mts.map +1 -1
  23. package/resources/realtime-sessions.d.ts +6 -3
  24. package/resources/realtime-sessions.d.ts.map +1 -1
  25. package/resources/tasks.d.mts +12 -6
  26. package/resources/tasks.d.mts.map +1 -1
  27. package/resources/tasks.d.ts +12 -6
  28. package/resources/tasks.d.ts.map +1 -1
  29. package/resources/text-to-image.d.mts +142 -47
  30. package/resources/text-to-image.d.mts.map +1 -1
  31. package/resources/text-to-image.d.ts +142 -47
  32. package/resources/text-to-image.d.ts.map +1 -1
  33. package/resources/text-to-speech.d.mts +5 -3
  34. package/resources/text-to-speech.d.mts.map +1 -1
  35. package/resources/text-to-speech.d.ts +5 -3
  36. package/resources/text-to-speech.d.ts.map +1 -1
  37. package/resources/text-to-video.d.mts +177 -24
  38. package/resources/text-to-video.d.mts.map +1 -1
  39. package/resources/text-to-video.d.ts +177 -24
  40. package/resources/text-to-video.d.ts.map +1 -1
  41. package/resources/text-to-video.js +8 -0
  42. package/resources/text-to-video.js.map +1 -1
  43. package/resources/text-to-video.mjs +8 -0
  44. package/resources/text-to-video.mjs.map +1 -1
  45. package/resources/video-to-hdr.d.mts +25 -9
  46. package/resources/video-to-hdr.d.mts.map +1 -1
  47. package/resources/video-to-hdr.d.ts +25 -9
  48. package/resources/video-to-hdr.d.ts.map +1 -1
  49. package/resources/video-to-hdr.js +4 -2
  50. package/resources/video-to-hdr.js.map +1 -1
  51. package/resources/video-to-hdr.mjs +4 -2
  52. package/resources/video-to-hdr.mjs.map +1 -1
  53. package/resources/video-to-video.d.mts +53 -5
  54. package/resources/video-to-video.d.mts.map +1 -1
  55. package/resources/video-to-video.d.ts +53 -5
  56. package/resources/video-to-video.d.ts.map +1 -1
  57. package/resources/video-upscale.d.mts +49 -33
  58. package/resources/video-upscale.d.mts.map +1 -1
  59. package/resources/video-upscale.d.ts +49 -33
  60. package/resources/video-upscale.d.ts.map +1 -1
  61. package/resources/workflow-invocations.d.mts +29 -4
  62. package/resources/workflow-invocations.d.mts.map +1 -1
  63. package/resources/workflow-invocations.d.ts +29 -4
  64. package/resources/workflow-invocations.d.ts.map +1 -1
  65. package/resources/workflow-invocations.js +3 -1
  66. package/resources/workflow-invocations.js.map +1 -1
  67. package/resources/workflow-invocations.mjs +3 -1
  68. package/resources/workflow-invocations.mjs.map +1 -1
  69. package/src/resources/image-to-video.ts +258 -26
  70. package/src/resources/organization/organization.ts +22 -2
  71. package/src/resources/organization/webapp/audit-logs.ts +119 -22
  72. package/src/resources/realtime-sessions.ts +6 -3
  73. package/src/resources/tasks.ts +12 -6
  74. package/src/resources/text-to-image.ts +262 -85
  75. package/src/resources/text-to-speech.ts +5 -3
  76. package/src/resources/text-to-video.ts +242 -31
  77. package/src/resources/video-to-hdr.ts +31 -9
  78. package/src/resources/video-to-video.ts +70 -5
  79. package/src/resources/video-upscale.ts +55 -33
  80. package/src/resources/workflow-invocations.ts +32 -4
  81. package/src/version.ts +1 -1
  82. package/version.d.mts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
@@ -7,6 +7,14 @@ import { APIPromiseWithAwaitableTask } from "../lib/polling.js";
7
7
  export declare class TextToVideo extends APIResource {
8
8
  /**
9
9
  * This endpoint will start a new task to generate a video from a text prompt.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const textToVideo = await client.textToVideo.create({
14
+ * model: 'hailuo3',
15
+ * promptText: 'x',
16
+ * });
17
+ * ```
10
18
  */
11
19
  create(body: TextToVideoCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<TextToVideoCreateResponse>;
12
20
  }
@@ -33,7 +41,7 @@ export declare namespace TextToVideoCreateResponse {
33
41
  credits: number;
34
42
  }
35
43
  }
36
- export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Hailuo3 | TextToVideoCreateParams.Happyhorse1_0 | TextToVideoCreateParams.Seedance2 | TextToVideoCreateParams.Seedance2Fast | TextToVideoCreateParams.Seedance2Mini | TextToVideoCreateParams.GeminiOmniFlash | TextToVideoCreateParams.Seedance2_5 | TextToVideoCreateParams.GrokImagine1_5 | TextToVideoCreateParams.Wan3;
44
+ export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Hailuo3 | TextToVideoCreateParams.Happyhorse1_0 | TextToVideoCreateParams.Seedance2 | TextToVideoCreateParams.Seedance2Fast | TextToVideoCreateParams.Seedance2Mini | TextToVideoCreateParams.GeminiOmniFlash | TextToVideoCreateParams.Seedance2_5 | TextToVideoCreateParams.GrokImagine1_5 | TextToVideoCreateParams.Wan3 | TextToVideoCreateParams.GeminiOmniFlash1_1 | TextToVideoCreateParams.Wan3Prime | TextToVideoCreateParams.H3Max;
37
45
  export declare namespace TextToVideoCreateParams {
38
46
  interface Gen4_5 {
39
47
  /**
@@ -69,13 +77,18 @@ export declare namespace TextToVideoCreateParams {
69
77
  * losslessly (plus a colorimetry.json sidecar and a separate .wav when the output
70
78
  * has audio); `hdr_exr_sequence` returns a .zip of half-float OpenEXR frames
71
79
  * carrying the HDR signal as linear BT.2020 display light, 1.0 = 100 nits (plus a
72
- * colorimetry.json sidecar and a separate .wav when the output has audio). Non-mp4
73
- * formats incur an additional per-second credit surcharge: 5 credits per second
74
- * for `prores` and `png_sequence`, and 20 credits per second for every 10-bit and
75
- * deeper profile (including the 12-bit, 16-bit, and EXR ones), rising to 40
76
- * credits per second when the output is larger than 4 megapixels (roughly 4K).
77
- */
78
- outputFormat?: 'mp4' | 'prores' | 'png_sequence' | 'hdr10' | 'hlg' | 'sdr_rec709_10bit' | 'hdr_pq_12bit_master' | 'hdr_prores' | 'hdr_png_sequence' | 'hdr_exr_sequence';
80
+ * colorimetry.json sidecar and a separate .wav when the output has audio);
81
+ * `hdr_exr_acescg_sequence_1_3` returns the same delivery as scene-referred ACEScg
82
+ * (inverted through the ACES 1.3 Output Transform), reading correctly with the
83
+ * stock `ACES - ACEScg` input transform in ACES-configured pipelines, with VFX
84
+ * sequence frame naming (frame.0001.exr). Non-mp4 formats incur an additional
85
+ * per-second credit surcharge: 5 credits per second for `prores` and
86
+ * `png_sequence`, and 20 credits per second for every 10-bit and deeper profile
87
+ * (including the 12-bit, 16-bit, and EXR ones), rising to 40 credits per second
88
+ * when the output is larger than 4 megapixels — that includes 1440p (2560x1440 is
89
+ * under the line, but anything larger crosses it) up through 4K.
90
+ */
91
+ outputFormat?: 'mp4' | 'prores' | 'png_sequence' | 'hdr10' | 'hlg' | 'sdr_rec709_10bit' | 'hdr_pq_12bit_master' | 'hdr_prores' | 'hdr_png_sequence' | 'hdr_exr_sequence' | 'hdr_exr_acescg_sequence_1_3' | 'hdr_exr_acescg_sequence_2_0';
79
92
  /**
80
93
  * The ProRes profile to use. Only valid when `outputFormat` is `prores` or
81
94
  * `hdr_prores`. For `prores`, any profile is accepted and the default is `4444`.
@@ -196,9 +209,12 @@ export declare namespace TextToVideoCreateParams {
196
209
  */
197
210
  referenceVideos?: Array<Hailuo3.ReferenceVideo>;
198
211
  /**
199
- * The output resolution. MiniMax H3 supports 768P and 2K.
212
+ * The output resolution. Hailuo 3.0 supports 768p and 2k.
213
+ *
214
+ * - `768P` - Deprecated: Use "768p" instead.
215
+ * - `2K` - Deprecated: Use "2k" instead.
200
216
  */
201
- resolution?: '2K' | '768P';
217
+ resolution?: '768p' | '2k' | '768P' | '2K';
202
218
  }
203
219
  namespace Hailuo3 {
204
220
  /**
@@ -209,7 +225,7 @@ export declare namespace TextToVideoCreateParams {
209
225
  type: 'audio';
210
226
  /**
211
227
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
212
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
228
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
213
229
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
214
230
  */
215
231
  uri: string;
@@ -230,7 +246,7 @@ export declare namespace TextToVideoCreateParams {
230
246
  type: 'video';
231
247
  /**
232
248
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
233
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
249
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
234
250
  * [our docs](/assets/inputs#videos) on video inputs for more information.
235
251
  */
236
252
  uri: string;
@@ -305,7 +321,7 @@ export declare namespace TextToVideoCreateParams {
305
321
  type: 'audio';
306
322
  /**
307
323
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
308
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
324
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
309
325
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
310
326
  */
311
327
  uri: string;
@@ -326,7 +342,7 @@ export declare namespace TextToVideoCreateParams {
326
342
  type: 'video';
327
343
  /**
328
344
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
329
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
345
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
330
346
  * [our docs](/assets/inputs#videos) on video inputs for more information.
331
347
  */
332
348
  uri: string;
@@ -386,7 +402,7 @@ export declare namespace TextToVideoCreateParams {
386
402
  type: 'audio';
387
403
  /**
388
404
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
389
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
405
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
390
406
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
391
407
  */
392
408
  uri: string;
@@ -407,7 +423,7 @@ export declare namespace TextToVideoCreateParams {
407
423
  type: 'video';
408
424
  /**
409
425
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
410
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
426
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
411
427
  * [our docs](/assets/inputs#videos) on video inputs for more information.
412
428
  */
413
429
  uri: string;
@@ -467,7 +483,7 @@ export declare namespace TextToVideoCreateParams {
467
483
  type: 'audio';
468
484
  /**
469
485
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
470
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
486
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
471
487
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
472
488
  */
473
489
  uri: string;
@@ -488,7 +504,7 @@ export declare namespace TextToVideoCreateParams {
488
504
  type: 'video';
489
505
  /**
490
506
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
491
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
507
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
492
508
  * [our docs](/assets/inputs#videos) on video inputs for more information.
493
509
  */
494
510
  uri: string;
@@ -563,7 +579,7 @@ export declare namespace TextToVideoCreateParams {
563
579
  type: 'audio';
564
580
  /**
565
581
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
566
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
582
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
567
583
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
568
584
  */
569
585
  uri: string;
@@ -584,7 +600,7 @@ export declare namespace TextToVideoCreateParams {
584
600
  type: 'video';
585
601
  /**
586
602
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
587
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
603
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
588
604
  * [our docs](/assets/inputs#videos) on video inputs for more information.
589
605
  */
590
606
  uri: string;
@@ -628,7 +644,7 @@ export declare namespace TextToVideoCreateParams {
628
644
  type: 'audio';
629
645
  /**
630
646
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
631
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
647
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
632
648
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
633
649
  */
634
650
  uri: string;
@@ -657,10 +673,11 @@ export declare namespace TextToVideoCreateParams {
657
673
  */
658
674
  duration?: number;
659
675
  /**
660
- * The resolution of the output video, as `<width>:<height>`. Use `auto_480p`,
661
- * `auto_720p`, or `auto_1080p` to let the model pick framing at that quality tier.
676
+ * The resolution of the output video, as `<width>:<height>`. Keyframe
677
+ * image-to-video requests must use `auto_480p`, `auto_720p`, or `auto_1080p`
678
+ * because their aspect ratio follows the first frame.
662
679
  */
663
- ratio?: '832:480' | '640:480' | '480:480' | '480:640' | '480:832' | '1280:720' | '960:720' | '720:720' | '720:960' | '720:1280' | '1920:1080' | '1440:1080' | '1080:1080' | '1080:1440' | '1080:1920' | 'auto_480p' | 'auto_720p' | 'auto_1080p';
680
+ ratio?: '832:480' | '720:544' | '624:624' | '544:720' | '480:832' | '1280:720' | '1104:832' | '960:960' | '832:1104' | '720:1280' | '1920:1080' | '1648:1248' | '1440:1440' | '1248:1648' | '1080:1920' | 'auto_480p' | 'auto_720p' | 'auto_1080p';
664
681
  /**
665
682
  * An optional array of audio references. The total combined duration must not
666
683
  * exceed 15 seconds.
@@ -714,6 +731,142 @@ export declare namespace TextToVideoCreateParams {
714
731
  uri: string;
715
732
  }
716
733
  }
734
+ interface GeminiOmniFlash1_1 {
735
+ model: 'gemini_omni_flash_1.1';
736
+ /**
737
+ * A non-empty text prompt describing the video to generate.
738
+ */
739
+ promptText: string;
740
+ /**
741
+ * The duration of the output video in seconds. Use "auto" to let the model choose
742
+ * a duration. Numeric durations must be between 3 and 10 seconds.
743
+ */
744
+ duration?: 'auto' | number;
745
+ /**
746
+ * The resolution and aspect ratio of the output video.
747
+ */
748
+ ratio?: '640:360' | '360:640' | '1280:720' | '720:1280' | '1920:1080' | '1080:1920' | '3840:2160' | '2160:3840';
749
+ references?: Array<GeminiOmniFlash1_1.Reference>;
750
+ referenceVideos?: Array<GeminiOmniFlash1_1.ReferenceVideo>;
751
+ }
752
+ namespace GeminiOmniFlash1_1 {
753
+ interface Reference {
754
+ /**
755
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
756
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
757
+ * [our docs](/assets/inputs#images) on image inputs for more information.
758
+ */
759
+ uri: string;
760
+ }
761
+ interface ReferenceVideo {
762
+ /**
763
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
764
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
765
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
766
+ */
767
+ uri: string;
768
+ }
769
+ }
770
+ interface Wan3Prime {
771
+ model: 'wan3_prime';
772
+ /**
773
+ * A non-empty text prompt describing what should appear in the output.
774
+ */
775
+ promptText: string;
776
+ /**
777
+ * Whether to generate audio with the video.
778
+ */
779
+ audio?: boolean;
780
+ /**
781
+ * The number of seconds of duration for the output video.
782
+ */
783
+ duration?: number;
784
+ /**
785
+ * The resolution of the output video, as `<width>:<height>`. Keyframe
786
+ * image-to-video requests must use `auto_480p`, `auto_720p`, or `auto_1080p`
787
+ * because their aspect ratio follows the first frame.
788
+ */
789
+ ratio?: '832:480' | '720:544' | '624:624' | '544:720' | '480:832' | '1280:720' | '1104:832' | '960:960' | '832:1104' | '720:1280' | '1920:1080' | '1648:1248' | '1440:1440' | '1248:1648' | '1080:1920' | 'auto_480p' | 'auto_720p' | 'auto_1080p';
790
+ /**
791
+ * An optional array of audio references. The total combined duration must not
792
+ * exceed 15 seconds.
793
+ */
794
+ referenceAudio?: Array<Wan3Prime.ReferenceAudio>;
795
+ /**
796
+ * An optional array of image references (up to 10). See
797
+ * [our docs](/assets/inputs#images) on image inputs for more information.
798
+ */
799
+ references?: Array<Wan3Prime.Reference>;
800
+ /**
801
+ * An optional array of video references. The combined duration across all video
802
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
803
+ * video inputs for more information.
804
+ */
805
+ referenceVideos?: Array<Wan3Prime.ReferenceVideo>;
806
+ }
807
+ namespace Wan3Prime {
808
+ /**
809
+ * An audio reference allows the model to use the audio as additional context for
810
+ * the output.
811
+ */
812
+ interface ReferenceAudio {
813
+ type: 'audio';
814
+ /**
815
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
816
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
817
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
818
+ */
819
+ uri: string;
820
+ }
821
+ interface Reference {
822
+ /**
823
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
824
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
825
+ * [our docs](/assets/inputs#images) on image inputs for more information.
826
+ */
827
+ uri: string;
828
+ }
829
+ /**
830
+ * A video reference allows the model to use the video as additional context for
831
+ * the output.
832
+ */
833
+ interface ReferenceVideo {
834
+ type: 'video';
835
+ /**
836
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
837
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
838
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
839
+ */
840
+ uri: string;
841
+ }
842
+ }
843
+ interface H3Max {
844
+ model: 'h3_max';
845
+ /**
846
+ * A non-empty text prompt describing what should appear in the output.
847
+ */
848
+ promptText: string;
849
+ /**
850
+ * The number of seconds of duration for the output video.
851
+ */
852
+ duration?: number;
853
+ /**
854
+ * How the model rewrites the prompt before generating. disabled keeps the prompt
855
+ * as written. balanced (the default) does a short rewrite. quality spends extra
856
+ * time rewriting for a stronger result.
857
+ */
858
+ promptExpansionMode?: 'disabled' | 'balanced' | 'quality';
859
+ /**
860
+ * The output resolution. MiniMax H3 Max supports 480p and 768p.
861
+ */
862
+ resolution?: '480p' | '768p';
863
+ /**
864
+ * If unspecified, a random number is chosen. Identical results also need
865
+ * promptExpansionMode set to disabled; balanced and quality rewrite the prompt and
866
+ * will not repeat.
867
+ */
868
+ seed?: number;
869
+ }
717
870
  }
718
871
  export declare namespace TextToVideo {
719
872
  export { type TextToVideoCreateResponse as TextToVideoCreateResponse, type TextToVideoCreateParams as TextToVideoCreateParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-video.d.ts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,u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M,CAAC;QAEd;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAEhB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,YAAY,CAAC;QAEjB;;;WAGG;QACH,cAAc,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAE5C;;;WAGG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAEnC;;;;WAIG;QACH,eAAe,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KAC9C;IAED,UAAiB,IAAI,CAAC;QACpB;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,SAAS;YACxB;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
1
+ {"version":3,"file":"text-to-video.d.ts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,E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AIG;QACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;KACnD;IAED,UAAiB,SAAS,CAAC;QACzB;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,SAAS;YACxB;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;IAED,UAAiB,KAAK;QACpB,KAAK,EAAE,QAAQ,CAAC;QAEhB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;;WAIG;QACH,mBAAmB,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;QAE1D;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAE7B;;;;WAIG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -10,6 +10,14 @@ const polling_1 = require("../lib/polling.js");
10
10
  class TextToVideo extends resource_1.APIResource {
11
11
  /**
12
12
  * This endpoint will start a new task to generate a video from a text prompt.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const textToVideo = await client.textToVideo.create({
17
+ * model: 'hailuo3',
18
+ * promptText: 'x',
19
+ * });
20
+ * ```
13
21
  */
14
22
  create(body, options) {
15
23
  return (0, polling_1.wrapAsWaitableResource)(this._client)(this._client.post('/v1/text_to_video', { body, ...options }));
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-video.js","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAA4B,IAAI,CAAC,OAAO,CAAC,CACpE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF;AAZD,kCAYC"}
1
+ {"version":3,"file":"text-to-video.js","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAA4B,IAAI,CAAC,OAAO,CAAC,CACpE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF;AApBD,kCAoBC"}
@@ -7,6 +7,14 @@ import { wrapAsWaitableResource } from "../lib/polling.mjs";
7
7
  export class TextToVideo extends APIResource {
8
8
  /**
9
9
  * This endpoint will start a new task to generate a video from a text prompt.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const textToVideo = await client.textToVideo.create({
14
+ * model: 'hailuo3',
15
+ * promptText: 'x',
16
+ * });
17
+ * ```
10
18
  */
11
19
  create(body, options) {
12
20
  return wrapAsWaitableResource(this._client)(this._client.post('/v1/text_to_video', { body, ...options }));
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-video.mjs","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAA+B,sBAAsB,EAAE,2BAAuB;AAErF;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAAwB;QAExB,OAAO,sBAAsB,CAA4B,IAAI,CAAC,OAAO,CAAC,CACpE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"text-to-video.mjs","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAA+B,sBAAsB,EAAE,2BAAuB;AAErF;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAAwB;QAExB,OAAO,sBAAsB,CAA4B,IAAI,CAAC,OAAO,CAAC,CACpE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF"}
@@ -11,9 +11,11 @@ export declare class VideoToHdr extends APIResource {
11
11
  * color are extended into the HDR range, nothing is re-synthesized. Set
12
12
  * `outputFormat` to choose the delivery profile: `hdr10` (HEVC Main 10, BT.2020 +
13
13
  * PQ, the default), `hlg` (HEVC Main 10, BT.2020 + HLG), `hdr_prores` (BT.2020 +
14
- * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`), or
14
+ * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`),
15
15
  * `hdr_exr_sequence` (a .zip of half-float OpenEXR frames in linear BT.2020
16
- * display light, for compositing). Tasks bill per second of output at 20 credits
16
+ * display light, for compositing), or `hdr_exr_acescg_sequence_1_3` (the same
17
+ * delivery as scene-referred ACEScg for ACES pipelines — reads with the stock
18
+ * ACES - ACEScg input transform). Tasks bill per second of output at 20 credits
17
19
  * per second, rising to 40 credits per second when the source is larger than 4
18
20
  * megapixels (roughly 4K) — an upconvert delivers at the source's own resolution.
19
21
  *
@@ -64,16 +66,30 @@ export interface VideoToHdrCreateParams {
64
66
  * `hdr_prores` returns a BT.2020 + PQ ProRes .mov editorial mezzanine, whose tier
65
67
  * is selectable with `proresProfile`; `hdr_exr_sequence` returns a .zip of
66
68
  * half-float OpenEXR frames holding the HDR signal as linear BT.2020 display
67
- * light, 1.0 = 100 nits, ready to composite. The EXR zip is the whole delivery —
68
- * the frames, a colorimetry.json sidecar, a provenance.json sidecar declaring the
69
- * upconvert, and the source audio as audio.wav when the source has any. All four
70
- * profiles bill at the same rate: 20 credits per second of output, rising to 40
71
- * credits per second when the source is larger than 4 megapixels (roughly 4K).
69
+ * light, 1.0 = 100 nits, ready to composite; `hdr_exr_acescg_sequence_1_3` returns
70
+ * a scene-referred ACEScg sequence with VFX frame naming (frame.0001.exr): the
71
+ * source plate brought into ACES through the inverse ACES 1.3 SDR (Rec.709) Output
72
+ * Transform, with the highlight detail Ruby recovers added on top — read it with
73
+ * the stock `ACES - ACEScg` input transform; the ACES SDR view reproduces your
74
+ * source, and the ACES HDR views render the same scene with the recovered
75
+ * highlights (this is a scene, not the `hdr10` display grade, so an ACES HDR view
76
+ * is not expected to match `hdr10`). An EXR zip is the whole delivery — the
77
+ * frames, a colorimetry.json sidecar, a provenance.json sidecar declaring the
78
+ * upconvert, and the source audio as audio.wav when the source has any. A source
79
+ * with an alpha channel (ProRes 4444, WebM with alpha, RGBA codecs) keeps it where
80
+ * the container can carry one: the EXR profiles write it as the A channel and
81
+ * `hdr_prores` delivers a 4444 with an alpha plane; the alpha is passed through as
82
+ * received (not premultiplied). `hdr10` and `hlg` cannot carry alpha and deliver
83
+ * the picture without it. All five profiles bill at the same rate: 20 credits per
84
+ * second of output, rising to 40 credits per second when the source is larger than
85
+ * 4 megapixels — that includes anything larger than 1440p, up through 4K.
72
86
  */
73
- outputFormat?: 'hdr10' | 'hlg' | 'hdr_prores' | 'hdr_exr_sequence';
87
+ outputFormat?: 'hdr10' | 'hlg' | 'hdr_prores' | 'hdr_exr_sequence' | 'hdr_exr_acescg_sequence_1_3' | 'hdr_exr_acescg_sequence_2_0';
74
88
  /**
75
89
  * The ProRes tier of the `hdr_prores` mezzanine. Only valid when `outputFormat` is
76
- * `hdr_prores`. Defaults to `422 HQ`.
90
+ * `hdr_prores`. Defaults to `422 HQ`. A source with an alpha channel is always
91
+ * delivered as `4444`, the only tier with an alpha plane, whatever tier is
92
+ * requested.
77
93
  */
78
94
  proresProfile?: '422' | '4444' | '422 HQ';
79
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"video-to-hdr.d.mts","sourceRoot":"","sources":["../src/resources/video-to-hdr.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,wBAAwB,CAAC;CAKzD;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,wBAAwB,CAAC,aAAa,CAAC;CACvD;AAED,yBAAiB,wBAAwB,CAAC;IACxC;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE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ClB,6BAA6B,GAC7B,6BAA6B,CAAC;IAElC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC3C;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -11,9 +11,11 @@ export declare class VideoToHdr extends APIResource {
11
11
  * color are extended into the HDR range, nothing is re-synthesized. Set
12
12
  * `outputFormat` to choose the delivery profile: `hdr10` (HEVC Main 10, BT.2020 +
13
13
  * PQ, the default), `hlg` (HEVC Main 10, BT.2020 + HLG), `hdr_prores` (BT.2020 +
14
- * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`), or
14
+ * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`),
15
15
  * `hdr_exr_sequence` (a .zip of half-float OpenEXR frames in linear BT.2020
16
- * display light, for compositing). Tasks bill per second of output at 20 credits
16
+ * display light, for compositing), or `hdr_exr_acescg_sequence_1_3` (the same
17
+ * delivery as scene-referred ACEScg for ACES pipelines — reads with the stock
18
+ * ACES - ACEScg input transform). Tasks bill per second of output at 20 credits
17
19
  * per second, rising to 40 credits per second when the source is larger than 4
18
20
  * megapixels (roughly 4K) — an upconvert delivers at the source's own resolution.
19
21
  *
@@ -64,16 +66,30 @@ export interface VideoToHdrCreateParams {
64
66
  * `hdr_prores` returns a BT.2020 + PQ ProRes .mov editorial mezzanine, whose tier
65
67
  * is selectable with `proresProfile`; `hdr_exr_sequence` returns a .zip of
66
68
  * half-float OpenEXR frames holding the HDR signal as linear BT.2020 display
67
- * light, 1.0 = 100 nits, ready to composite. The EXR zip is the whole delivery —
68
- * the frames, a colorimetry.json sidecar, a provenance.json sidecar declaring the
69
- * upconvert, and the source audio as audio.wav when the source has any. All four
70
- * profiles bill at the same rate: 20 credits per second of output, rising to 40
71
- * credits per second when the source is larger than 4 megapixels (roughly 4K).
69
+ * light, 1.0 = 100 nits, ready to composite; `hdr_exr_acescg_sequence_1_3` returns
70
+ * a scene-referred ACEScg sequence with VFX frame naming (frame.0001.exr): the
71
+ * source plate brought into ACES through the inverse ACES 1.3 SDR (Rec.709) Output
72
+ * Transform, with the highlight detail Ruby recovers added on top — read it with
73
+ * the stock `ACES - ACEScg` input transform; the ACES SDR view reproduces your
74
+ * source, and the ACES HDR views render the same scene with the recovered
75
+ * highlights (this is a scene, not the `hdr10` display grade, so an ACES HDR view
76
+ * is not expected to match `hdr10`). An EXR zip is the whole delivery — the
77
+ * frames, a colorimetry.json sidecar, a provenance.json sidecar declaring the
78
+ * upconvert, and the source audio as audio.wav when the source has any. A source
79
+ * with an alpha channel (ProRes 4444, WebM with alpha, RGBA codecs) keeps it where
80
+ * the container can carry one: the EXR profiles write it as the A channel and
81
+ * `hdr_prores` delivers a 4444 with an alpha plane; the alpha is passed through as
82
+ * received (not premultiplied). `hdr10` and `hlg` cannot carry alpha and deliver
83
+ * the picture without it. All five profiles bill at the same rate: 20 credits per
84
+ * second of output, rising to 40 credits per second when the source is larger than
85
+ * 4 megapixels — that includes anything larger than 1440p, up through 4K.
72
86
  */
73
- outputFormat?: 'hdr10' | 'hlg' | 'hdr_prores' | 'hdr_exr_sequence';
87
+ outputFormat?: 'hdr10' | 'hlg' | 'hdr_prores' | 'hdr_exr_sequence' | 'hdr_exr_acescg_sequence_1_3' | 'hdr_exr_acescg_sequence_2_0';
74
88
  /**
75
89
  * The ProRes tier of the `hdr_prores` mezzanine. Only valid when `outputFormat` is
76
- * `hdr_prores`. Defaults to `422 HQ`.
90
+ * `hdr_prores`. Defaults to `422 HQ`. A source with an alpha channel is always
91
+ * delivered as `4444`, the only tier with an alpha plane, whatever tier is
92
+ * requested.
77
93
  */
78
94
  proresProfile?: '422' | '4444' | '422 HQ';
79
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"video-to-hdr.d.ts","sourceRoot":"","sources":["../src/resources/video-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Aa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,wBAAwB,CAAC;CAKzD;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,wBAAwB,CAAC,aAAa,CAAC;CACvD;AAED,yBAAiB,wBAAwB,CAAC;IACxC;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,YAAY,CAAC,EACT,OAAO,GACP,KAAK,GACL,YAAY,GACZ,kBAAkB,GAClB,6BAA6B,GAC7B,6BAA6B,CAAC;IAElC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC3C;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -14,9 +14,11 @@ class VideoToHdr extends resource_1.APIResource {
14
14
  * color are extended into the HDR range, nothing is re-synthesized. Set
15
15
  * `outputFormat` to choose the delivery profile: `hdr10` (HEVC Main 10, BT.2020 +
16
16
  * PQ, the default), `hlg` (HEVC Main 10, BT.2020 + HLG), `hdr_prores` (BT.2020 +
17
- * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`), or
17
+ * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`),
18
18
  * `hdr_exr_sequence` (a .zip of half-float OpenEXR frames in linear BT.2020
19
- * display light, for compositing). Tasks bill per second of output at 20 credits
19
+ * display light, for compositing), or `hdr_exr_acescg_sequence_1_3` (the same
20
+ * delivery as scene-referred ACEScg for ACES pipelines — reads with the stock
21
+ * ACES - ACEScg input transform). Tasks bill per second of output at 20 credits
20
22
  * per second, rising to 40 credits per second when the source is larger than 4
21
23
  * megapixels (roughly 4K) — an upconvert delivers at the source's own resolution.
22
24
  *
@@ -1 +1 @@
1
- {"version":3,"file":"video-to-hdr.js","sourceRoot":"","sources":["../src/resources/video-to-hdr.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAA2B,IAAI,CAAC,OAAO,CAAC,CACnE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC5D,CAAC;IACJ,CAAC;CACF;AA7BD,gCA6BC"}
1
+ {"version":3,"file":"video-to-hdr.js","sourceRoot":"","sources":["../src/resources/video-to-hdr.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAA2B,IAAI,CAAC,OAAO,CAAC,CACnE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC5D,CAAC;IACJ,CAAC;CACF;AA/BD,gCA+BC"}
@@ -11,9 +11,11 @@ export class VideoToHdr extends APIResource {
11
11
  * color are extended into the HDR range, nothing is re-synthesized. Set
12
12
  * `outputFormat` to choose the delivery profile: `hdr10` (HEVC Main 10, BT.2020 +
13
13
  * PQ, the default), `hlg` (HEVC Main 10, BT.2020 + HLG), `hdr_prores` (BT.2020 +
14
- * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`), or
14
+ * PQ ProRes .mov editorial mezzanine, tier selectable with `proresProfile`),
15
15
  * `hdr_exr_sequence` (a .zip of half-float OpenEXR frames in linear BT.2020
16
- * display light, for compositing). Tasks bill per second of output at 20 credits
16
+ * display light, for compositing), or `hdr_exr_acescg_sequence_1_3` (the same
17
+ * delivery as scene-referred ACEScg for ACES pipelines — reads with the stock
18
+ * ACES - ACEScg input transform). Tasks bill per second of output at 20 credits
17
19
  * per second, rising to 40 credits per second when the source is larger than 4
18
20
  * megapixels (roughly 4K) — an upconvert delivers at the source's own resolution.
19
21
  *
@@ -1 +1 @@
1
- {"version":3,"file":"video-to-hdr.mjs","sourceRoot":"","sources":["../src/resources/video-to-hdr.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAA+B,sBAAsB,EAAE,2BAAuB;AAErF;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAAwB;QAExB,OAAO,sBAAsB,CAA2B,IAAI,CAAC,OAAO,CAAC,CACnE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC5D,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"video-to-hdr.mjs","sourceRoot":"","sources":["../src/resources/video-to-hdr.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAA+B,sBAAsB,EAAE,2BAAuB;AAErF;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAAwB;QAExB,OAAO,sBAAsB,CAA2B,IAAI,CAAC,OAAO,CAAC,CACnE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC5D,CAAC;IACJ,CAAC;CACF"}