Skip to content

Commit ea8d399

Browse files
authored
Merge pull request #239 from togethercomputer/improve-media-api
Simplify source_video and audio_inputs to plain strings in video media spec
2 parents a11453c + 3e454f1 commit ea8d399

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

openapi.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12719,13 +12719,17 @@ components:
1271912719
items:
1272012720
$ref: '#/components/schemas/VideoRef'
1272112721
source_video:
12722-
$ref: '#/components/schemas/VideoRef'
12723-
description: Source video to edit.
12722+
description: Source video to edit. Accepts a URL string or an object with a "video" key.
12723+
oneOf:
12724+
- type: string
12725+
- $ref: '#/components/schemas/VideoRef'
1272412726
audio_inputs:
12725-
description: Array of audio inputs.
12727+
description: Array of audio inputs. Each element accepts a URL string or an object with an "audio" key.
1272612728
type: array
1272712729
items:
12728-
$ref: '#/components/schemas/AudioRef'
12730+
oneOf:
12731+
- type: string
12732+
- $ref: '#/components/schemas/AudioRef'
1272912733

1273012734
VideoRef:
1273112735
type: object

0 commit comments

Comments
 (0)