myaiteam2
/
song-trimmer
- Public
- 173 runs
Run myaiteam2/song-trimmer 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_file |
string
|
/path/to/default/file.mp3
|
Input MP3 file
|
start_time |
integer
|
100
|
Start time in MMSS format, e.g., 130 for 1 minute and 30 seconds
|
end_time |
integer
|
200
|
End time in MMSS format, e.g., 625 for 6 minutes and 25 seconds
|
fade_out |
boolean
|
False
|
Apply fade out effect to the last 2.5 seconds
|
{
"type": "object",
"title": "Input",
"properties": {
"end_time": {
"type": "integer",
"title": "End Time",
"default": 200,
"x-order": 2,
"description": "End time in MMSS format, e.g., 625 for 6 minutes and 25 seconds"
},
"fade_out": {
"type": "boolean",
"title": "Fade Out",
"default": false,
"x-order": 3,
"description": "Apply fade out effect to the last 2.5 seconds"
},
"audio_file": {
"type": "string",
"title": "Audio File",
"format": "uri",
"default": "/path/to/default/file.mp3",
"x-order": 0,
"description": "Input MP3 file"
},
"start_time": {
"type": "integer",
"title": "Start Time",
"default": 100,
"x-order": 1,
"description": "Start time in MMSS format, e.g., 130 for 1 minute and 30 seconds"
}
}
}
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"
}