andreasjansson / audio-to-waveform

  • Public
  • 37 runs

Run andreasjansson/audio-to-waveform 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
audio
string
Audio file to create waveform from
caption_text
string
Caption text for the video
bg_color
string
#000000
Background color of waveform
fg_alpha
number
0.75
Opacity of foreground waveform
bars_color
string
#ffffff
Color of waveform bars
bar_count
integer
100
Number of bars in waveform
bar_width
number
0.4
Width of bars in waveform. 1 represents full width, 0.5 represents half width, etc.
width
integer
1000
Video width
waveform_height
integer
200
Height of the waveform
caption_height
integer
150
Height of the caption text box
caption_left_right_padding
integer
50
Padding to the left and right of the caption text
caption_top_padding
integer
10
Padding to the top of the caption text

Output schema

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

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