zf-kbot/md-lc-ltx-1
Public
20
runs
Run zf-kbot/md-lc-ltx-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
|
|
API 密钥
|
| video |
string
|
Input video file
|
|
| duration_seconds |
number
|
0
|
Seconds of input video to process. Use 0 to process the full input. The input video frame rate is preserved below 24 FPS and capped at 24 FPS
|
| megapixels |
number
|
0.6
Max: 3.6 |
Target megapixels for the output video. Uses original size when the input is smaller than the target
|
| seed |
integer
|
-1
Min: -1 |
Seed. Use -1 for a random seed
|
| post_resize |
boolean
|
False
|
Apply post-resize after output-frame trimming
|
{
"type": "object",
"title": "Input",
"required": [
"video"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"minimum": -1,
"x-order": 4,
"description": "Seed. Use -1 for a random seed"
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 1,
"description": "Input video file"
},
"apikey": {
"type": "string",
"title": "Apikey",
"default": "",
"x-order": 0,
"description": "API \u5bc6\u94a5"
},
"megapixels": {
"type": "number",
"title": "Megapixels",
"default": 0.6,
"maximum": 3.6,
"minimum": 0,
"x-order": 3,
"description": "Target megapixels for the output video. Uses original size when the input is smaller than the target"
},
"post_resize": {
"type": "boolean",
"title": "Post Resize",
"default": false,
"x-order": 5,
"description": "Apply post-resize after output-frame trimming"
},
"duration_seconds": {
"type": "number",
"title": "Duration Seconds",
"default": 0,
"minimum": 0,
"x-order": 2,
"description": "Seconds of input video to process. Use 0 to process the full input. The input video frame rate is preserved below 24 FPS and capped at 24 FPS"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}