cottom/music-video-media

Music video media tools: render a project through our renderer, split audio into segments, combine clips onto a master audio track (H.264 on the GPU encoder + AAC).

Public
376 runs

Run cottom/music-video-media with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
operation
None
render: a music video project document through the studio's composition. split: the audio into segments. combine: clips onto the audio's timeline. loop: a clip made a seamless silent loop. sequence: clips and stills cut together. previs: a blocking scene's timeline drawn as a clip. master: a clip as a ProRes finishing master. frames: a clip as numbered PNG frames in a zip.
inputs
array
Every file the job uses; the job names each by its index here (the master audio, images, clips, a previs's backdrop and props). A previs of figures alone uses none.
job
string
The operation's JSON job (see media_ops.py), with inputs_expect [{bytes, sha256}] per input: render {document, audio, pictures?, clips?, gl?} (pictures and clips by the object id the document names); split {audio, segments, format, sample_rate, channels}; combine {audio, clips, range, fps, width?, height?, source_duration_ms?, transition_ms, ...}; loop {clip, duration_ms, crossfade_ms?, fps?, width, height, crf?}; sequence {width, height, fps, items, sfx?, music?, dialogue?, subtitles?, label?, crf?} (see sequence_ops.py); previs {scene, width, height, fps, frames, backdrop?, props [{input, placement}], plan_sha256}; master {source, profile, upload}; frames {source, fps?, upload}, upload {url, part_bytes, signatures} the parts the file is written to (see export_ops.py, export_upload.py).

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}