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
44 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 through our renderer. split: the audio into segments. combine: clips onto the audio's timeline. loop: a clip made a seamless silent loop.
inputs
array
Every file the job uses; the job names each by its index here (the master audio, images, clips).
job
string
The operation's JSON job (see media_ops.py), with inputs_expect [{bytes, sha256}] per input: render {audio, scene, backgroundTimeline, images, timelineImages, timelineVideos?}; 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?}.

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"
}