craftfulcharles/newwaveform
Public
0
runs
Run craftfulcharles/newwaveform 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 |
|---|---|---|---|
| image_effect |
None
|
pulse
|
Effect to apply to the image
|
| fps |
integer
|
10
|
Frames per second
|
| width |
integer
|
1280
|
Width of the output video
|
| height |
integer
|
720
|
Height of the output video
|
| dot_size |
integer
|
6
|
Size of dots in pixels
|
| zoom_end |
number
|
1.2
|
Ending zoom scale
|
| dot_color |
string
|
#00FFFF
|
Dot color in hex format
|
| audio_file |
string
|
Input audio file
|
|
| image_file |
string
|
Optional background image
|
|
| max_height |
integer
|
30
|
Maximum height of visualization as a percentage
|
| zoom_start |
number
|
1
|
Base image scale
|
| dot_spacing |
integer
|
6
|
Spacing between dots in pixels
|
| pulse_intensity |
number
|
0.1
|
Intensity of the pulse effect
|
| pulse_smoothing |
number
|
0.7
|
Smoothing factor for the pulse (0.0 = jerky, 0.9 = very smooth)
|
{
"type": "object",
"title": "Input",
"required": [
"audio_file"
],
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 10,
"description": "Frames per second"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1280,
"description": "Width of the output video"
},
"height": {
"type": "integer",
"title": "Height",
"default": 720,
"description": "Height of the output video"
},
"dot_size": {
"type": "integer",
"title": "Dot Size",
"default": 6,
"description": "Size of dots in pixels"
},
"zoom_end": {
"type": "number",
"title": "Zoom End",
"default": 1.2,
"description": "Ending zoom scale"
},
"dot_color": {
"type": "string",
"title": "Dot Color",
"default": "#00FFFF",
"description": "Dot color in hex format"
},
"audio_file": {
"type": "string",
"title": "Audio File",
"format": "uri",
"description": "Input audio file"
},
"image_file": {
"type": "string",
"title": "Image File",
"format": "uri",
"description": "Optional background image"
},
"max_height": {
"type": "integer",
"title": "Max Height",
"default": 30,
"description": "Maximum height of visualization as a percentage"
},
"zoom_start": {
"type": "number",
"title": "Zoom Start",
"default": 1,
"description": "Base image scale"
},
"dot_spacing": {
"type": "integer",
"title": "Dot Spacing",
"default": 6,
"description": "Spacing between dots in pixels"
},
"image_effect": {
"enum": [
"pulse",
"zoom_in",
"none"
],
"type": "string",
"title": "image_effect",
"description": "Effect to apply to the image",
"default": "pulse",
"x-order": 9
},
"pulse_intensity": {
"type": "number",
"title": "Pulse Intensity",
"default": 0.1,
"description": "Intensity of the pulse effect"
},
"pulse_smoothing": {
"type": "number",
"title": "Pulse Smoothing",
"default": 0.7,
"description": "Smoothing factor for the pulse (0.0 = jerky, 0.9 = very smooth)"
}
}
}
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"
}