![](https://github.com/MyAiTeam2.png)
myaiteam2
/
audiotrimmer
- Public
- 16 runs
Run myaiteam2/audiotrimmer 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
|
MP3 audio file
|
|
start_ms |
integer
|
Start time in milliseconds
|
|
end_ms |
integer
|
End time in milliseconds
|
|
fade_last |
boolean
|
False
|
Fade out the last 2.5 seconds
|
{
"type": "object",
"title": "Input",
"required": [
"audio",
"start_ms",
"end_ms"
],
"properties": {
"audio": {
"type": "string",
"title": "Audio",
"format": "uri",
"x-order": 0,
"description": "MP3 audio file"
},
"end_ms": {
"type": "integer",
"title": "End Ms",
"x-order": 2,
"description": "End time in milliseconds"
},
"start_ms": {
"type": "integer",
"title": "Start Ms",
"x-order": 1,
"description": "Start time in milliseconds"
},
"fade_last": {
"type": "boolean",
"title": "Fade Last",
"default": false,
"x-order": 3,
"description": "Fade out the last 2.5 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"
}