zf-kbot/md-me-video-editor-v2-1
Public
87
runs
Run zf-kbot/md-me-video-editor-v2-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 密钥
|
| prompt |
string
|
用于描述参考媒体、目标场景、动作和声音的提示词。
|
|
| reference_images |
array
|
参考图,最多 9 张。
|
|
| reference_videos |
array
|
参考视频,最多 3 个;会转换为 24fps,并保留前 15 秒作为参考。
|
|
| reference_video_audios |
array
|
参考视频的替代音轨,按顺序对应 reference_videos,最多 3 个;裁至对应视频时长(最多前 15 秒)。
|
|
| reference_audios |
array
|
独立参考音频,最多 3 个。
|
|
| duration |
number
|
5
Min: 1 Max: 15 |
Duration from 1 to 15 seconds.
|
| aspect_ratio |
None
|
16:9
|
Generation and output aspect ratio. Quality presets preserve this value.
|
| quality_preset |
None
|
balanced_736p
|
None
|
| seed |
integer
|
-1
Min: -1 Max: 9223372036854776000 |
Random seed. Use -1 to generate one automatically.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"maximum": 9223372036854776000,
"minimum": -1,
"x-order": 9,
"description": "Random seed. Use -1 to generate one automatically."
},
"apikey": {
"type": "string",
"title": "Apikey",
"default": "",
"x-order": 0,
"description": "API \u5bc6\u94a5"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"nullable": true,
"description": "\u7528\u4e8e\u63cf\u8ff0\u53c2\u8003\u5a92\u4f53\u3001\u76ee\u6807\u573a\u666f\u3001\u52a8\u4f5c\u548c\u58f0\u97f3\u7684\u63d0\u793a\u8bcd\u3002"
},
"duration": {
"type": "number",
"title": "Duration",
"default": 5,
"maximum": 15,
"minimum": 1,
"x-order": 6,
"description": "Duration from 1 to 15 seconds."
},
"aspect_ratio": {
"enum": [
"1:1",
"2:3",
"3:2",
"3:4",
"4:3",
"9:16",
"16:9",
"21:9"
],
"type": "string",
"title": "aspect_ratio",
"description": "Generation and output aspect ratio. Quality presets preserve this value.",
"default": "16:9",
"x-order": 7
},
"quality_preset": {
"enum": [
"maximum_quality_1080p",
"high_resolution_1088p",
"quality_790p",
"balanced_736p",
"stable_720p",
"fast_736p",
"low_vram_512p"
],
"type": "string",
"title": "quality_preset",
"description": "An enumeration.",
"default": "balanced_736p",
"x-order": 8
},
"reference_audios": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Audios",
"x-order": 5,
"nullable": true,
"description": "\u72ec\u7acb\u53c2\u8003\u97f3\u9891\uff0c\u6700\u591a 3 \u4e2a\u3002"
},
"reference_images": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Images",
"x-order": 2,
"nullable": true,
"description": "\u53c2\u8003\u56fe\uff0c\u6700\u591a 9 \u5f20\u3002"
},
"reference_videos": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Videos",
"x-order": 3,
"nullable": true,
"description": "\u53c2\u8003\u89c6\u9891\uff0c\u6700\u591a 3 \u4e2a\uff1b\u4f1a\u8f6c\u6362\u4e3a 24fps\uff0c\u5e76\u4fdd\u7559\u524d 15 \u79d2\u4f5c\u4e3a\u53c2\u8003\u3002"
},
"reference_video_audios": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Video Audios",
"x-order": 4,
"nullable": true,
"description": "\u53c2\u8003\u89c6\u9891\u7684\u66ff\u4ee3\u97f3\u8f68\uff0c\u6309\u987a\u5e8f\u5bf9\u5e94 reference_videos\uff0c\u6700\u591a 3 \u4e2a\uff1b\u88c1\u81f3\u5bf9\u5e94\u89c6\u9891\u65f6\u957f\uff08\u6700\u591a\u524d 15 \u79d2\uff09\u3002"
}
}
}
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"
}