View raw JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"media"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "Optional integer from 0 to 2147483647. A fixed seed can help reproducibility, but the same seed does not guarantee identical results."
},
"media": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"url"
],
"properties": {
"url": {
"type": "string",
"minLength": 1,
"description": "Required for each media entry: a nonempty, publicly accessible HTTPS file URL. This Tool does not accept local paths, HTTP links, Base64 data or Asset Center IDs."
},
"type": {
"enum": [
"video",
"reference_image"
],
"type": "string",
"description": "Required: video for the one MP4/MOV clip, 2–10 seconds and up to 100 MB, with width and height each 240–4096 pixels. reference_image for an optional JPG, JPEG, PNG (no alpha), BMP or WEBP image, up to 20 MB each, with width and height each 240–8000 pixels; at most four images. Both media types require aspect ratios from 1:8 to 8:1."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Required array containing exactly one video and optionally up to four reference images. Each entry must include its type and public HTTPS URL."
},
"ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4"
],
"type": "string",
"description": "Optional 16:9, 9:16, 1:1, 4:3 or 3:4. If omitted, the output follows the source video's proportions rather than forcing a preset."
},
"prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Optional nonempty instruction, up to 5000 characters, describing the desired style or changes to subjects, clothing or objects. For example: Convert the entire scene to a claymation style."
},
"duration": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "Optional integer from 2 to 10, used to truncate the output from its beginning. Omit it to keep the source length; it is not a video-extension control, and 0 is not accepted."
},
"watermark": {
"type": "boolean",
"default": false,
"description": "Optional boolean; default false. true requests the AI Generated watermark in the lower-right corner of the video."
},
"resolution": {
"enum": [
"720P",
"1080P"
],
"type": "string",
"default": "720P",
"description": "Optional 720P or 1080P; this Tool defaults to 720P. Selects the output resolution tier, not a guarantee of improved source detail."
},
"audio_setting": {
"enum": [
"auto",
"origin"
],
"type": "string",
"default": "auto",
"description": "Optional auto or origin; default auto. auto lets the model retain or generate audio based on the instruction. origin retains the source video's original audio without regeneration."
},
"prompt_extend": {
"type": "boolean",
"default": true,
"description": "Optional boolean; default true. Enables model-assisted rewriting of the instruction and can add processing time. It does not guarantee a better or exact edit."
},
"negative_prompt": {
"type": "string",
"maxLength": 500,
"description": "Optional text up to 500 characters describing content you want excluded. It guides the edit but does not guarantee those elements will be absent."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}