Skip to Content
Docs
ReferenceCreate

enhance

Enhance an image or a video

Makes an enhanced copy of an image or a video of a project the user can edit, as the Enhance menu of awen's Drive does, without a turn of awen's agent: the same presets at the same price, from the organisation's credits. The source stays as it is; the copy goes in folder_id, or beside the source. It answers at once while the copy is made: see next. Image presets: upscale-precision (Preserve natural detail without inventing content); upscale-generative (Reconstruct plausible missing detail); upscale-creative (Add expressive detail to AI-generated work); restore (Rebuild detail in faded or degraded photos); denoise-light (For subtle grain); denoise-medium (For visible noise); denoise-heavy (For very noisy images); sharpen-auto (Correct ordinary blur); sharpen-severe (Rebuild details that are hard to make out); adjust-auto (Improve lighting and color); adjust-white-balance (Remove unwanted color casts); adjust-colorize (Add color to a black-and-white photo). Video presets: upscale-precision (Preserve natural detail without inventing content); upscale-generative (Reconstruct plausible missing detail); upscale-creative (Adds creative detail; size is automatic, up to 4K); denoise-light (Faster cleanup for lighter noise); denoise-medium (High-quality general cleanup); denoise-heavy (For extremely noisy footage); smooth-60-fps (Smoother motion at original speed); slow-motion-2x (Twice as long with natural motion); slow-motion-4x (Four times longer with natural motion); hdr (Expand luminance and color range; high creative intelligence use); deblur (Reduce blur in fast-moving footage); colorize (Add color to black-and-white footage). For anything else, such as removing a background, ask awen with create_with_awen.

Arguments

ArgumentTypeRequiredWhat it is
project_idstringYesThe project's project_id.
entry_idstringYesThe entry_id of the image or video to enhance, from list_folder.
presetstringYesOne of the presets this tool's description lists for the file's kind.
upscale_factornumberNoHow many times larger an upscale preset makes the file, 1.1 to 4; 2 when omitted. A video's upscale-creative picks its own size, and the other presets take none.
folder_id"root" | stringNo"root", or the entry_id of the folder the new file goes in; omit for the source's folder.

Call

A host sends a tools/call request to the MCP endpoint, with the arguments it needs.

{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "enhance",    "arguments": {      "project_id": "<string>",      "entry_id": "<string>",      "preset": "<string>"    }  }}

Arguments schema

{  "type": "object",  "properties": {    "project_id": {      "type": "string",      "minLength": 1,      "maxLength": 128,      "pattern": "^[A-Za-z0-9_-]+$",      "description": "The project's project_id."    },    "entry_id": {      "type": "string",      "minLength": 1,      "maxLength": 128,      "pattern": "^[A-Za-z0-9_-]+$",      "description": "The entry_id of the image or video to enhance, from list_folder."    },    "preset": {      "type": "string",      "minLength": 1,      "maxLength": 64,      "pattern": "^[a-z0-9-]+$",      "description": "One of the presets this tool's description lists for the file's kind."    },    "upscale_factor": {      "description": "How many times larger an upscale preset makes the file, 1.1 to 4; 2 when omitted. A video's upscale-creative picks its own size, and the other presets take none.",      "type": "number",      "minimum": 1.1,      "maximum": 4    },    "folder_id": {      "description": "\"root\", or the entry_id of the folder the new file goes in; omit for the source's folder.",      "anyOf": [        {          "type": "string",          "const": "root"        },        {          "type": "string",          "minLength": 1,          "maxLength": 128,          "pattern": "^[A-Za-z0-9_-]+$"        }      ]    }  },  "required": [    "project_id",    "entry_id",    "preset"  ]}

Answer

The answer's structuredContent follows this schema, and its text holds the same JSON.

{  "type": "object",  "properties": {    "task_id": {      "type": "string"    },    "entry_id": {      "type": "string"    },    "project_id": {      "type": "string"    },    "folder_id": {      "type": "string"    },    "status": {      "type": "string",      "const": "working"    },    "next": {      "type": "string"    }  },  "required": [    "task_id",    "entry_id",    "project_id",    "folder_id",    "status",    "next"  ],  "additionalProperties": false}