zf-kbot/md-me-video-editor-v1-1
Public
16
runs
Run zf-kbot/md-me-video-editor-v1-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 access key.
|
|
| prompt |
string
|
Scene, motion and dialogue. Use <Picture 1>, <Video 1>, <Audio 1>. Video soundtracks receive audio numbers before standalone audio.
|
|
| reference_images |
array
|
[]
|
Up to nine ordered reference images. Supply at least one image, video or audio reference.
|
| reference_videos |
array
|
[]
|
Up to three reference videos, 2–15s each, combined <=15s, <=50 MiB each. Soundtracks are included. Resampled to 24 fps and tail-trimmed to the H3 frame grid and output length.
|
| reference_audios |
array
|
[]
|
Up to three reference audio clips, 2–15s each, combined <=15s, <=15 MiB each. Audio labels follow any video soundtracks.
|
| duration |
integer
|
12
Min: 3 Max: 15 |
Requested seconds at 24 fps; rounds up to H3's 17n+5 frame alignment.
|
| aspect_ratio |
None
|
16:9
|
Output aspect ratio.
|
| resolution |
None
|
768P
|
16:9 outputs: 768P=1344x768; 1080P=1920x1080. 1080P is rendered on H3's 32-pixel grid then center-cropped.
|
| seed |
integer
|
42
Min: -1 Max: 9223372036854776000 |
Random seed; -1 selects a random seed.
|
{
"type": "object",
"title": "Input",
"required": [
"apikey",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 42,
"maximum": 9223372036854776000,
"minimum": -1,
"x-order": 8,
"description": "Random seed; -1 selects a random seed."
},
"apikey": {
"type": "string",
"title": "Apikey",
"format": "password",
"x-order": 0,
"writeOnly": true,
"description": "API access key.",
"x-cog-secret": true
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Scene, motion and dialogue. Use <Picture 1>, <Video 1>, <Audio 1>. Video soundtracks receive audio numbers before standalone audio."
},
"duration": {
"type": "integer",
"title": "Duration",
"default": 12,
"maximum": 15,
"minimum": 3,
"x-order": 5,
"description": "Requested seconds at 24 fps; rounds up to H3's 17n+5 frame alignment."
},
"resolution": {
"enum": [
"768P",
"1080P"
],
"type": "string",
"title": "resolution",
"description": "16:9 outputs: 768P=1344x768; 1080P=1920x1080. 1080P is rendered on H3's 32-pixel grid then center-cropped.",
"default": "768P",
"x-order": 7
},
"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": "Output aspect ratio.",
"default": "16:9",
"x-order": 6
},
"reference_audios": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Audios",
"default": [],
"x-order": 4,
"description": "Up to three reference audio clips, 2\u201315s each, combined <=15s, <=15 MiB each. Audio labels follow any video soundtracks."
},
"reference_images": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Images",
"default": [],
"x-order": 2,
"description": "Up to nine ordered reference images. Supply at least one image, video or audio reference."
},
"reference_videos": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Reference Videos",
"default": [],
"x-order": 3,
"description": "Up to three reference videos, 2\u201315s each, combined <=15s, <=50 MiB each. Soundtracks are included. Resampled to 24 fps and tail-trimmed to the H3 frame grid and output length."
}
}
}
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"
}