zf-kbot/md-auto-video-watermark
Public
74
runs
Run zf-kbot/md-auto-video-watermark 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 |
|---|---|---|---|
| api_key |
string
|
API Key
|
|
| video |
string
|
Input video
|
|
| prompt |
string
|
watermark
|
Prompt
|
| mask_blur |
integer
|
10
|
Mask Blur
|
| threshold |
number
|
0.25
Max: 1 |
Threshold
|
| iou |
number
|
0.7
Max: 1 |
IoU
|
| max_fps |
integer
|
30
|
Max fps of output video
|
| max_size |
integer
|
1920
|
Max size of frame
|
| preview_time |
integer
|
5
|
Preview of video
|
| download_preview |
boolean
|
False
|
Preview Mode, if enabled, will process preview_time seconds
|
| process_mode |
None
|
remove
|
Process Mode
|
{
"type": "object",
"title": "Input",
"required": [
"api_key",
"video"
],
"properties": {
"iou": {
"type": "number",
"title": "Iou",
"default": 0.7,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "IoU"
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 1,
"description": "Input video"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "watermark",
"x-order": 2,
"description": "Prompt"
},
"api_key": {
"type": "string",
"title": "Api Key",
"x-order": 0,
"description": "API Key"
},
"max_fps": {
"type": "integer",
"title": "Max Fps",
"default": 30,
"x-order": 6,
"description": "Max fps of output video"
},
"max_size": {
"type": "integer",
"title": "Max Size",
"default": 1920,
"x-order": 7,
"description": "Max size of frame"
},
"mask_blur": {
"type": "integer",
"title": "Mask Blur",
"default": 10,
"x-order": 3,
"description": "Mask Blur"
},
"threshold": {
"type": "number",
"title": "Threshold",
"default": 0.25,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "Threshold"
},
"preview_time": {
"type": "integer",
"title": "Preview Time",
"default": 5,
"x-order": 8,
"description": "Preview of video"
},
"process_mode": {
"enum": [
"remove",
"plot"
],
"type": "string",
"title": "process_mode",
"description": "Process Mode",
"default": "remove",
"x-order": 10
},
"download_preview": {
"type": "boolean",
"title": "Download Preview",
"default": false,
"x-order": 9,
"description": "Preview Mode, if enabled, will process preview_time 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"
}