media-gen-pro-mcp

v0.4.0
media-gen-pro-mcp Checked 4 days ago Published 3 months ago

Image and video generation as an MCP tool.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_image

Generate one or more images from a description and write them to disk, returning their paths. Optionally takes REFERENCE IMAGES (paths on this machine) and extra text context, both of which steer the result: use them to match an existing style, keep a character or product consistent, or edit an image you already have. Defaults to OpenAI GPT Image 2; pass `style` as gemini/nanobanana (Gemini 3.1 Flash Image), gemini-lite (Gemini 3.1 Flash Lite Image), photoreal (Recraft V4.1 Pro), utility (Recraft V4.1 Utility), utility-pro (Recraft V4.1 Utility Pro), recraft-v4.1, seedream (Seedream 5.0 Pro),…

ParameterTypeDescription
prompt *stringWhat to generate. Detail helps: subject, composition, lighting, style, and what to leave out.
aspectRatiostringAspect ratio, e.g. 16:9. Use instead of `size` when the exact pixels do not matter.
basenamestringFilename stem, e.g. "hero". A short random suffix is always added so a second call cannot overwrite the first.
contextstringExtra text context appended to the prompt: brand rules, a palette, what the surrounding page says, things to avoid. Kept separate from `prompt` so the subject stays legible.
nintegerHow many images. Defaults to 1, capped at 4 by this server. Each one is billed.
outputDirstringWhere to write the images. Defaults to IMAGE_GEN_OUTPUT_DIR, or the current working directory.
referenceImagesarrayPaths to images on THIS machine to use as visual context: a style to match, a product to keep consistent, or an image to edit. Read by the server, so absolute paths are safest. Not URLs, and not base6…
seedintegerSeed, where the provider supports one, for a repeatable result.
sizestringExact pixel size, e.g. 1024x1024. Provider support varies; unsupported values come back as a warning.
stylestringWhich model. OMIT IT unless the user named one: the server reads the prompt and picks, and reports what it chose. Naming one here overrides that and is obeyed exactly. Accepted: openai, gpt-image, gpt…
svgbooleanGenerate a REAL SVG: vector source you can open, edit and scale, from Arrow 1.1. Set this whenever the user asked for an SVG, a logo, an icon, or a diagram. Overrides `style`. Note that the raster mod…

generate_video

Generate a short video from a description, optionally starting from an image you already have, and write it to disk. Image-to-video is the stronger path: pass `sourceImage` and the still becomes the first frame, which is how you keep a character or product consistent. Models: seedance (Seedance 2.0, default), seedance-mini, minimax (H3), minimax-max (H3 Max), wan (Wan 3.0), wan-prime (Wan 3.0 Prime), flux (FLUX.3 Video), grok (Grok Imagine Video 1.5), gemini (Gemini Omni Flash), or veo (Veo 3.1 Lite). A billed call per video, and MUCH more expensive and slower than an image; expect tens of sec…

ParameterTypeDescription
prompt *stringOne short vivid moment in present tense, with a clear camera movement. One subject, one simple motion. Complex multi-action animation is handled poorly by every model; make it interesting through comp…
aspectRatiostringAspect ratio, e.g. 16:9 or 9:16. Ignored when `sourceImage` is given, since the still sets the frame.
basenamestringFilename stem. A short random suffix is always added.
durationSecondsintegerClip length. Defaults to 5. Short clips are what these models are good at; prefer several short ones over one long one.
nintegerHow many videos. Defaults to 1. Each one is billed.
outputDirstringWhere to write. Defaults to IMAGE_GEN_OUTPUT_DIR, or the working directory.
sourceImagestringPath to an image on THIS machine to use as the first frame. The strongest way to control the result, and the only way to keep a subject consistent across clips. Not a URL, not base64, and not an SVG.
stylestringWhich model. Defaults to seedance. Accepted: seedance, seedance-2.0, bytedance, seedance-mini, seedance-2.0-mini, seedance-fast, minimax, h3, minimax-h3, minimax-max, minimax-h3-max, h3-max, wan, wan-…