zf-kbot/md-me-flashvsr-1
Public
209
runs
Run zf-kbot/md-me-flashvsr-1 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 |
|---|---|---|---|
| apikey |
string
|
访问密钥
|
|
| video |
string
|
Input video with at least 21 decodable frames
|
|
| output_resolution |
None
|
2k
|
Target output short edge; aspect ratio is preserved
|
| duration_seconds |
number
|
10
Min: 1 Max: 90 |
Process a half-open prefix [0, duration), capped at 90 seconds
|
| seed |
integer
|
0
Max: 4294967295 |
0=random; any non-zero value is reproducible
|
{
"type": "object",
"title": "Input",
"required": [
"apikey",
"video"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"maximum": 4294967295,
"minimum": 0,
"x-order": 4,
"description": "0=random; any non-zero value is reproducible"
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 1,
"description": "Input video with at least 21 decodable frames"
},
"apikey": {
"type": "string",
"title": "Apikey",
"format": "password",
"x-order": 0,
"writeOnly": true,
"description": "\u8bbf\u95ee\u5bc6\u94a5",
"x-cog-secret": true
},
"duration_seconds": {
"type": "number",
"title": "Duration Seconds",
"default": 10,
"maximum": 90,
"minimum": 1,
"x-order": 3,
"description": "Process a half-open prefix [0, duration), capped at 90 seconds"
},
"output_resolution": {
"enum": [
"1080p",
"2k",
"4k"
],
"type": "string",
"title": "output_resolution",
"description": "Target output short edge; aspect ratio is preserved",
"default": "2k",
"x-order": 2
}
}
}
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"
}