You're looking at a specific version of this model. Jump to the model overview.
andreasjansson /audio-to-waveform:57df2f34
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
{'format': 'uri', 'title': 'Output', 'type': 'string'}