You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+65-2Lines changed: 65 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12588,6 +12588,12 @@ components:
12588
12588
type: integer
12589
12589
width:
12590
12590
type: integer
12591
+
resolution:
12592
+
type: string
12593
+
description: Video resolution.
12594
+
ratio:
12595
+
type: string
12596
+
description: Aspect ratio of the video.
12591
12597
seconds:
12592
12598
type: string
12593
12599
description: Clip duration in seconds.
@@ -12614,8 +12620,15 @@ components:
12614
12620
negative_prompt:
12615
12621
type: string
12616
12622
description: Similar to prompt, but specifies what to avoid instead of what to include
12623
+
generate_audio:
12624
+
type: boolean
12625
+
description: Whether to generate audio for the video.
12626
+
media:
12627
+
$ref: '#/components/schemas/VideoMedia'
12628
+
description: Media inputs for video generation. The accepted fields depend on the model type (e.g. i2v, r2v, t2v, videoedit).
12617
12629
frame_images:
12618
-
description: Array of images to guide video generation, similar to keyframes.
12630
+
deprecated: true
12631
+
description: "Deprecated: use media.frame_images instead. Array of images to guide video generation, similar to keyframes."
12619
12632
example:
12620
12633
- [
12621
12634
{
@@ -12635,7 +12648,8 @@ components:
12635
12648
items:
12636
12649
$ref: '#/components/schemas/VideoFrameImageInput'
12637
12650
reference_images:
12638
-
description: Unlike frame_images which constrain specific timeline positions, reference images guide the general appearance that should appear consistently across the video.
12651
+
deprecated: true
12652
+
description: "Deprecated: use media.reference_images instead. Unlike frame_images which constrain specific timeline positions, reference images guide the general appearance that should appear consistently across the video."
12639
12653
type: array
12640
12654
items:
12641
12655
type: string
@@ -12667,6 +12681,55 @@ components:
12667
12681
- first
12668
12682
- last
12669
12683
12684
+
VideoMedia:
12685
+
type: object
12686
+
description: Contains all media inputs for video generation. Accepted fields depend on the model type.
12687
+
properties:
12688
+
frame_images:
12689
+
description: Array of images to guide video generation at specific timeline positions.
12690
+
type: array
12691
+
items:
12692
+
$ref: '#/components/schemas/VideoFrameImageInput'
12693
+
frame_videos:
12694
+
description: Array of video clips to use as starting clips.
12695
+
type: array
12696
+
items:
12697
+
$ref: '#/components/schemas/VideoRef'
12698
+
reference_images:
12699
+
description: Array of image URLs that guide the general appearance across the video.
0 commit comments