nicolascoutureau/video-hw
Public
250.2K
runs
Run nicolascoutureau/video-hw 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 |
|---|---|---|---|
| video |
string
|
Input video file URL to process
|
|
| task |
None
|
create_preview_video
|
Video processing task to perform
|
| start_time |
number
|
0
|
Start time in seconds for trimming
|
| end_time |
number
|
-1
|
End time in seconds for trimming (-1 for end of video)
|
{
"type": "object",
"title": "Input",
"required": [
"video"
],
"properties": {
"task": {
"enum": [
"create_preview_video",
"boomerang",
"reencode_for_web",
"trim_precise"
],
"type": "string",
"title": "task",
"description": "Video processing task to perform",
"default": "create_preview_video",
"x-order": 1
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 0,
"description": "Input video file URL to process"
},
"end_time": {
"type": "number",
"title": "End Time",
"default": -1,
"x-order": 3,
"description": "End time in seconds for trimming (-1 for end of video)"
},
"start_time": {
"type": "number",
"title": "Start Time",
"default": 0,
"x-order": 2,
"description": "Start time in seconds for trimming"
}
}
}
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"
}