distribea-mcp
v2.1.0Generate images, video, music and voice from your CLI or AI agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
make_images Dress a page or the whole site with on-brand images
⭐ THE flagship one-call tool. page_path → dresses that page; no page_path → scans the WHOLE project. Finds every placeholder/stock slot (placehold.co, picsum, unsplash, pexels…), locks/infers the style automatically, generates every image IN PARALLEL (recurring characters/products auto-used), saves optimised WebP and patches src+alt in the code. REVIEW/TESTIMONIAL sections are detected automatically: their avatars come out as ultra-real casual smartphone selfies (UGC look — car/bedroom/living-room backdrop, real skin), each reviewer keeps the SAME face across THIS site; your other si…
| Parameter | Type | Description |
|---|---|---|
apply | boolean | rebrand only: true applies the rebrand (default false = free list, 0 credit) |
cross_site_unique | boolean | Default false: each of your sites draws reviewer faces independently. Pass true ONLY if the user explicitly wants reviewer faces to NEVER repeat across ALL their sites (account-wide uniqueness). Varie… |
dry_run | boolean | PREVIEW mode: lists every slot found + the planned subject of each + the exact credit estimate, and generates NOTHING (0 credit). Use it before a big run to know the cost upfront. |
max_images | number | Cap per run (default 10, max 20). Leave it at the default for most pages. For a page with MANY slots, just raise it (up to 20) and call ONCE — if a few tail images get skipped to stay within the tim… |
no_character | boolean | Default false. Pass true when THIS page has NO locked person to feature (e.g. a team page of DIFFERENT staff, a gallery of finished work): it stops any locked character (a founder's face…) from bein… |
page_path | string | Page file to dress (html/jsx/tsx…). Omit to scan the whole project. |
project_dir | string | Project path (default: current directory) |
public_prefix | string | Src prefix written in code (default /images/) |
rebrand | boolean | true = redo EXISTING real images on-brand, in place (free proposal first) |
save_dir | string | Default <project>/public/images |
share_avatars | boolean | Default true: a review repeated in two sections of the SAME page generates ONE face and reuses it (saves credits). Pass false to regenerate each one (use only if the user explicitly asks for a differe… |
bring_alive Bring a site to life (propose, place + fill, replace existing)
Make an EXISTING site feel alive with on-brand imagery. Two things at once: (1) ADDS images where sections have none (hero, testimonials with ONE face per reviewer, team/about, key benefits, gallery — sized to the real layout), and (2) by DEFAULT REPLACES every existing image with an on-brand one (stock photos, old pictures…). page_path = one page; OMIT page_path = the WHOLE site. WORKFLOW: call it once for a FREE proposal (new spots + the list of existing images that will be replaced, 0 credits); show it, ask the user which to KEEP; then call AGAIN with apply:true to place + fill the new…
| Parameter | Type | Description |
|---|---|---|
page_path * | string | Page file to bring alive (html/jsx/tsx…). It also follows the page's LOCAL component imports, so component-built sites (<Hero/>, <Reviews/>…) work too. OMIT to do the WHOLE site at once. |
apply | boolean | true = PLACE new spots, FILL them, and REPLACE existing images (after the user validated the free proposal). Default false = free proposal only, nothing touched. |
keep | array | Existing images to SPARE from replacement — each a filename or path fragment (e.g. ["logo.png", "/team/"]). Everything else is replaced on-brand. |
place | array | apply only: the approved spots to place — each { anchor, tag } copied verbatim from the proposal. Omit to place ALL freshly proposed spots. |
project_dir | string | Project path (default: current directory) |
replace_existing | boolean | Default true: existing images are replaced on-brand. Pass false to ONLY add images on empty spots and leave every existing image untouched. |
undo | boolean | true = restore the site to its state before bring_alive (puts back original code AND original images). Reverses the last run. |
generate_image Generate one on-brand website image
Generate ONE website image for a SPECIFIC spot AND wire it straight into the page — DESTINATION = a page (placed in code), NOT a file on disk. Coherent with the locked style (and optionally a recurring character/product). Generation is tied to a placement: pass page_path + leave a placeholder (<img src="https://placehold.co/…">) where you want it; the image replaces that placeholder. NO page / NO placeholder = NOTHING is generated and NOTHING is billed (never produces an orphan image). Subjects mentioning a customer review/testimonial/avatar automatically switch to the UGC mode: ultra-real…
| Parameter | Type | Description |
|---|---|---|
subject * | string | What the image shows, e.g. 'photo héro : villa moderne au lever du soleil' |
brand_text | boolean | If true, the brand name appears as clean physical signage in the image |
character | string | Optional: name or role of a locked character to feature (same face). Pass "none" to FORCE no character — stops a locked founder/team face from being auto-attached to this spot. |
cross_site_unique | boolean | UGC/review subjects only. Default false: reviewer faces are drawn per site. Pass true ONLY if the user wants reviewer faces to never repeat across ALL their sites. |
dry_run | boolean | PREVIEW mode: shows the target spot + the credit estimate and generates NOTHING (0 credit). |
orientation | string | Optional: overrides the placeholder's own shape (by default the image follows the placeholder's dimensions). |
page_path | string | REQUIRED — the page that holds the placeholder this image fills. Without it, nothing is generated (no homeless/orphan image). |
placeholder | string | Optional. A fragment of the target's src/tag to pick WHICH spot to fill (default: the first placeholder on the page). It can also point at an EXISTING real image (e.g. 'm-bakkali-01') to REGENERATE an… |
product | string | Optional: name of a locked product to feature (exact same object) |
project_dir | string | Absolute path of the website project (default: current directory) |
public_prefix | string | Optional URL prefix used in the patched <img src> (default '/images/'). Use a relative prefix like 'images/' for a plain static page where public/ is NOT the web root. |
save_dir | string | Directory to save the WebP into (default ./public/images) |
list_models List the image models the user can pick
Returns the catalog of image models to choose from: id, name, what it's best at, quality tiers, formats, max images per call, and an indicative price in credits. Call this BEFORE generate_with_model when the user wants to pick a specific model or compare options/prices. Image only for now.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the website project (default: current directory). |
generate_with_model Generate an image with a chosen model + settings
Standalone image generator — DESTINATION = a FILE on the user's disk, never a website page. Use it for downloadable assets the user keeps or reuses elsewhere: ads, social posts, marketing/promo visuals, thumbnails, a reusable hero or logo, or any 'generate then download / save to a folder' request (often with a named model like Flux Pro / Seedream, or a png/jpg format). DESTINATION ALWAYS WINS: if the image must appear ON a website page — or you are MID-BUILD of a site, filling placeholders / dressing pages — use generate_image (one spot) or make_images (whole page), EVEN IF a model is n…
| Parameter | Type | Description |
|---|---|---|
subject * | string | What the image shows (the prompt). |
count | integer | Optional number of images (1..max for the model, see list_models). Default 1. Free/trial accounts are limited to 1. |
dry_run | boolean | PREVIEW mode: shows the exact site price + settings and generates NOTHING (0 credit). |
file_type | string | Downloaded file format. 'png' (default, lossless) or 'jpg' (smaller). Never WebP. |
format | string | Optional aspect ratio, e.g. "16:9", "1:1", "9:16" (see list_models for what the model supports). |
image | string | Optional reference image for image-to-image: a local file path, "clipboard" (a pasted image), or a public https URL. The result is generated FROM this image. Only models that support image-to-image ac… |
images | array | Optional MULTIPLE reference images (file paths, "clipboard", or https URLs) for models that accept several. Automatically capped to the model's max (see list_models). Use this OR image. |
model | string | Optional model id from list_models, e.g. "flux-2.0-pro". If omitted, defaults to nano-banana-pro at 2K. |
out_dir | string | Folder to download the image(s) into (default 'distribea-images'). Files are named after the subject and never overwrite an existing file. |
project_dir | string | Absolute path of the project root (default: current directory). out_dir is resolved inside it. |
quality | string | Optional quality tier, e.g. "1K"/"2K"/"4K" (see list_models). Ignored when the model has a fixed native size. |
list_video_models List the video models the user can pick
Returns the catalog of VIDEO models to choose from: id, name, what it's best at, durations (seconds), resolutions, aspect ratios, and an indicative price in credits (for the default duration; longer clips cost more). Call this BEFORE generate_video when the user wants to pick a specific video model or compare options/prices.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the project (default: current directory). |
generate_video Generate a video with a chosen model + settings
Standalone VIDEO generator — DESTINATION = an mp4 FILE on the user's disk. Pick a specific video model + settings (duration, resolution, aspect ratio) and DOWNLOAD the result as a native mp4 into a tidy folder, billed at the regular SITE price. Video takes several MINUTES and needs a PAID plan (no free video). Use it for ads, social clips, b-roll, promos to download — never to place into a website page. If the call says the video is still rendering, run it again with the SAME settings in ~1 min to pick it up (no double charge). Get valid model ids + options from list_video_models. DEFAULT…
| Parameter | Type | Description |
|---|---|---|
subject * | string | What the video shows (the prompt). |
dry_run | boolean | PREVIEW mode: shows the exact site price + settings and generates NOTHING (0 credit). |
duration | integer | Optional clip length in seconds (must be one the model supports — see list_video_models). Defaults to the model's default. Longer = more credits. |
format | string | Optional aspect ratio, e.g. "16:9", "9:16", "1:1" (see list_video_models). |
image | string | Optional START image for image-to-video (animate a picture): a local file path, "clipboard", or a public https URL. Only models that support image-to-video accept it. |
images | array | Optional MULTIPLE reference images for models that blend several (e.g. Seedance up to 9, Veo up to 3). File paths, "clipboard", or https URLs. Capped to the model's max. Use this OR image. |
model | string | Optional video model id from list_video_models, e.g. "kling-3.0". If omitted, defaults to grok-imagine-video (6s, 720p). |
out_dir | string | Folder to download the mp4 into (default 'distribea-videos'). Named after the subject, never overwrites an existing file. |
project_dir | string | Absolute path of the project root (default: current directory). |
resolution | string | Optional resolution, e.g. "720p"/"1080p"/"4K" (see list_video_models). |
list_music_models List the music models the user can pick
Returns the catalog of MUSIC models (id, name, indicative price in credits). Call this BEFORE generate_music when the user wants to pick a specific music model or compare prices.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the project (default: current directory). |
generate_music Generate a music track with a chosen model
Standalone MUSIC generator — DESTINATION = an audio FILE on the user's disk (mp3), downloaded into a tidy folder, billed at the SITE price. Needs a PAID plan (no free audio). Use it for background tracks, jingles, b-roll music to download — never placed into a page. Describe the music (style, mood, instruments) in `subject`. If it says still rendering, run again with the SAME settings to pick it up (no double charge). Get model ids from list_music_models. DEFAULT when the user names NO model: minimax-music.
| Parameter | Type | Description |
|---|---|---|
subject * | string | Describe the music (style, mood, tempo, instruments). |
dry_run | boolean | PREVIEW: shows the exact site price and generates NOTHING (0 credit). |
duration | integer | Optional length in seconds (when the model supports it). |
model | string | Optional music model id from list_music_models, e.g. "cassetteai-music". If omitted, defaults to minimax-music. |
out_dir | string | Folder to download the mp3 into (default 'distribea-music'). Never overwrites. |
project_dir | string | Absolute path of the project root (default: current directory). |
list_voice_models List the voice-over models (and sample voices)
Returns the catalog of VOICE-OVER models: id, name, supported languages, number of voices, a few sample voice ids, and an indicative price per 500 characters. Call this BEFORE generate_voice to pick a model + a voice id + a language.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the project (default: current directory). |
generate_voice Generate a voice-over (text to speech) with a chosen voice
Standalone VOICE-OVER generator — DESTINATION = an audio FILE on the user's disk (mp3), downloaded into a tidy folder, billed at the SITE price (per character). Needs a PAID plan (no free audio). Use it for narration, ads, IVR, video voice-overs to download — never placed into a page. Pass the script in `text`, plus a voice id and language from list_voice_models (a default voice is picked if you omit it). If it says still rendering, run again with the SAME settings to pick it up (no double charge). DEFAULT when the user names NO model: elevenlabs-multilingual-v2 with the Roger voice.
| Parameter | Type | Description |
|---|---|---|
text * | string | The exact words the voice should read. |
dry_run | boolean | PREVIEW: shows the exact site price and generates NOTHING (0 credit). |
language | string | Optional language code from list_voice_models (e.g. 'en-US', 'fr'). Required for some models (Kokoro). |
model | string | Optional voice model id from list_voice_models, e.g. "minimax-speech-hd". If omitted, defaults to elevenlabs-multilingual-v2 (Roger voice). |
out_dir | string | Folder to download the mp3 into (default 'distribea-voice'). Never overwrites. |
project_dir | string | Absolute path of the project root (default: current directory). |
voice | string | Optional voice id from list_voice_models. If omitted with ElevenLabs, defaults to the Roger voice; other models fall back to their first voice. |
blog_cover Cover image (and optional illustrations) for a blog article
AUTONOMOUS TRIGGER — call this when an EDITORIAL ARTICLE still LACKS a cover/hero image (a brand-new post, or one left with a placeholder/stock image), even if the user never mentions an image. GUARDRAIL against noise: fire it ONCE per article, only when the cover is missing; if the article already has a real cover, leave it — do NOT regenerate; a pure text/typo/SEO edit is NOT a trigger; never re-run a successful call or 'improve' a cover on your own — only on the user's explicit request (each call bills the subscriber). Recognise the article by MEANING, not by tags: any standalone piec…
| Parameter | Type | Description |
|---|---|---|
article_file | string | Local file to read (md/mdx/html/txt…), relative to the project |
article_text | string | The article's text (title + body), pasted directly |
article_url | string | Public URL of the article — its text is read for you |
character | string | Optional: name/role of a locked character to deliberately feature |
illustrations | number | Extra in-article images beyond the cover (default 0, max 5) |
orientation | string | Cover shape — default 'wide' (16:9, the standard blog-cover ratio). Use portrait/square only if the layout needs it. |
product | string | Optional: name of a locked product to deliberately feature |
project_dir | string | Project path (default: current directory) |
save_dir | string | Directory to save the WebP into (default <project>/public/images) |
title | string | Optional article title (overrides the one read from the source) |
edit_image Retouch an image: edit, redo, cutout, upscale, extend
ONE door for every retouch of an existing image — action: 'edit' (default; plain-language change: remove an object, change the background, relight… apply_style matches the site look) and 'redo' (« refais-la, mais… » feedback) BOTH replace the file IN PLACE so the code never moves, keeping the original alongside as *.original (nothing is lost, no src to patch); 'remove_background' (transparent PNG), 'upscale' (×4) and 'extend' (widen to a new aspect_ratio, scene continues seamlessly) produce a DIFFERENT asset saved as a sibling file. A transparent input (logo) kept through edit/redo st…
| Parameter | Type | Description |
|---|---|---|
image_path * | string | Path of the image |
action | string | Default 'edit' when an instruction is given |
apply_style | boolean | edit only: also match the site's locked style |
aspect_ratio | string | extend only: target frame (default 21:9) |
instruction | string | What to change, plain language (edit/redo) |
project_dir | string | Project path (default: current directory) |
site_style Set, refine or anchor the site's visual style
The site's art direction in one tool — action: 'setup' (lock the style from a short brief and/or the user's existing site_url; run FIRST on a new project, or let make_images infer it), 'refine' (plain-language feedback — « plus chaleureux », OR a CORRECTION of a wrong/off-topic depiction such as « un VTC est un chauffeur privé, jamais un taxi » or « montre toujours le pro au travail, pas un client » — the rule is RECORDED PERMANENTLY in the site's scene rules and obeyed by every future image, blog_cover included, so the same mistake is never reproduced), 'lock_image' (« j'adore C…
| Parameter | Type | Description |
|---|---|---|
action | string | Inferred if omitted |
brief | string | setup: short free-text brief — trade, tone, brand name, visual world (photo default, illustration, 3d, flat) |
feedback | string | refine: what to change, plain language |
force | boolean | setup: skip the 2-3 clarifying questions asked on a very short brief |
image_path | string | lock_image: path of the approved image — or "clipboard" to use the image you just copied |
moodboard | boolean | setup, ONLY on request: generate a 2×2 moodboard image of the locked style (billed as 1 image) |
project_dir | string | Project path (default: current directory). Each project keeps its OWN style. |
site_url | string | setup: URL of the user's EXISTING site — the style is derived from reading it |
brand_pack Logo, favicon pack, social image
The brand finishing pack — action 'all' (default) chains everything in ONE call: logo (typography specialist, perfect spelling — skipped if one already exists) → favicon/app-icon pack (favicon.ico 16/32/48, apple-touch-icon, 192/512 PNG, site.webmanifest + HTML tags) → og:image 1200×630 with the title written ON the image. Or one piece at a time: action 'logo' | 'favicons' | 'social_image'. To SHOW the logo in the page (not just generate the file), pass page_path with a logo placeholder in the header (<img src="https://placehold.co/200x60" alt="logo">) — the generated logo is wired…
| Parameter | Type | Description |
|---|---|---|
action | string | Default 'all' |
background | string | favicons: solid background colour behind the icon (any CSS colour, e.g. '#ffffff' or 'oklch(...)'). Default white. A solid background is required — a transparent icon disappears on a dark tab and tu… |
logo_placeholder | string | logo: optional fragment of the target logo placeholder's src/tag, to pick WHICH placeholder gets the logo (default: the one that looks like a logo/brand slot). |
page_path | string | logo: the page to wire the logo into (it replaces a header logo placeholder — an <img> whose alt/src says 'logo', or the one named by logo_placeholder). Without it, the logo file is still created bu… |
project_dir | string | Project path (default: current directory) |
public_prefix | string | logo: URL prefix used in the patched <img src> (default '/'). Use a relative prefix for a plain static page where public/ is NOT the web root. |
save_dir | string | Default <project>/public |
source_path | string | favicons: optional existing logo/icon to derive from — a file path, or "clipboard" to use a copied image |
subtitle | string | social_image: optional smaller subtitle |
tagline | string | logo: optional small tagline under the name |
title | string | social_image: title written on the image (default: brand name) |
create_reference Lock a recurring character, product or place (identical everywhere)
Lock a RECURRING reference reused identically across every image — kind 'character' (default): the same FACE everywhere, auto-cast or locked from a real photo via photo_path — a file path, OR the word "clipboard" to grab the photo the user just copied/pasted (Ctrl/Cmd+C, no file needed) (« c'est lui le professeur », « voici sa photo » → call this FIRST so every scene reuses that exact face); kind 'product' (e-commerce): the exact same object in every shot; kind 'place': the brand's real location (shop, workshop…) rebuilt identically in every scene (« voilà ma boutique » → phot…
| Parameter | Type | Description |
|---|---|---|
name * | string | Character role (e.g. 'la pâtissière'), product name as written on the site, or place name (e.g. 'la boulangerie') |
description | string | product/place: optional physical description |
folder_path | string | Path of a FOLDER of product photos → registers EVERY image inside as a product reference in one call (0 credit), each name read from its filename. Use this when the user hands over a folder with the… |
kind | string | Default 'character'. 'place' = the brand's real location rebuilt identically |
photo_path | string | Real photo to lock (face, product or place): a file path — OR the word "clipboard" to use the image the user just copied/pasted (Ctrl/Cmd+C), no file needed — OR the path of a FOLDER of product ph… |
project_dir | string | Project path (default: current directory) |
finish_images Final pass: fix ALT texts + optimise to WebP
The finishing pass on the whole project, in ONE call: image health check (missing/empty ALT auto-FIXED by vision — accessibility + SEO; broken links; leftover placeholders/stock; oversized files) then every heavy JPG/PNG converted to optimised WebP with code references updated (originals kept as safety net). Free (0 credit).
| Parameter | Type | Description |
|---|---|---|
fix_alts | boolean | Write the missing ALTs into the code (default true) |
max_fix | number | Max ALTs fixed per run (default 12) |
min_kb | number | WebP pass: only files above this size (default 30 KB) |
project_dir | string | Project path (default: current directory) |
pack_status Show the project's pack status
Show the current pack for a project: locked style, characters, products, credits left, images generated so far.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the website project (default: current directory) |
list_projects List your projects
List all the website projects saved on your account (brand, products, image count, key). Use it to find a project whose folder you lost or renamed, then link_project to reconnect this folder to it.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the current project (default: current directory) |
link_project Reconnect this folder to a saved project
Reconnect the current folder to an existing saved project so its style, characters and products come back. Pass the project_key shown by list_projects. Writes the project's identity card (.distribea/project.json) into this folder.
| Parameter | Type | Description |
|---|---|---|
project_key * | string | The "key" value shown by list_projects. |
project_dir | string | Absolute path of the folder to link (default: current directory) |
forget_project Forget this project's memory
Wipe the current project's saved memory (locked style, characters, products) so it starts fresh. The folder keeps its identity; nothing on the page is touched. Use it when a reused folder carries over unwanted style or products.
| Parameter | Type | Description |
|---|---|---|
project_dir | string | Absolute path of the project to forget (default: current directory) |