Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables decoration of images and videos with backgrounds, gradients, containers, text, arrows, and more through MCP tools like render_decor and list_templates.

README.md

decor-cli

![GitHub release](https://github.com/mrgoonie/decor-cli/releases) ![npm](https://www.npmjs.com/package/decor-cli)

!decor-cli technical banner

decor-cli decorates images and videos from a CLI or MCP server. It adds backgrounds, gradients, rounded containers, shadows, padding, crop, alignment, text, arrows, shapes, counters, spotlight, and template presets without distorting the original media ratio.

How It Works

!How decor-cli works

Features

!decor-cli feature map

  • Backgrounds: solid colors, gradients, specific image files, random folders, and hosted default backgrounds.
  • Container styling: padding, rounded corners, nine-point alignment, opacity, blur, and drop shadow controls.
  • Input sources: local files, web URLs, Base64 payloads, images, and videos.
  • Crop and composition: crop rectangles, preserve original ratio, and export without distortion.
  • Text: font family, size, color, coordinates, wrap width, outline, shadow, and rounded text boxes.
  • Annotations: curved arrows, rectangles, circles, lines, transparent fills, and numbered counters.
  • Spotlight: brighten a selected region while dimming surrounding context.
  • Templates: reusable named presets for common screenshot and visual styles.
  • Agent-ready surfaces: CLI, MCP server, and companion agent skill.

Install

npm install -g decor-cli
decor install-backgrounds

Video rendering uses system ffmpeg and ffprobe. Install them with your OS package manager or set DECOR_FFMPEG_PATH and DECOR_FFPROBE_PATH.

Quick Start

decor render --input screenshot.png --output output.png --template clean-gradient --text "Release notes" --overwrite
decor render --input screenshot.png --output output.png --background-folder ~/.decor-cli/backgrounds --padding 104 --radius 38 --overwrite
decor render --input demo.mp4 --output demo-decorated.mp4 --padding 96 --radius 36 --overwrite
decor install-backgrounds --dir ./backgrounds
decor list-templates
decor doctor --json

URL and Base64 inputs are supported:

decor render --input-url https://example.com/image.png --output output.png
decor render --input-base64 "$DATA_URI" --output output.png

Private, loopback, link-local, and metadata URL targets are blocked by default. Use --allow-private-network only for trusted local fixtures.

Background Gallery

Run decor install-backgrounds on a fresh machine to download this hosted background pack into ~/.decor-cli/backgrounds.

!Default background gallery

Config

Most advanced features are configured through JSON:

{
  "template": "clean-gradient",
  "input": { "type": "path", "path": "screenshot.png" },
  "output": { "path": "output.png", "quality": 92, "overwrite": true },
  "container": { "padding": 96, "radius": 36, "alignment": "center" },
  "annotations": [
    { "type": "text", "text": "Step 1", "x": 80, "y": 90, "fontSize": 44, "shadow": true },
    { "type": "counter", "value": 1, "x": 110, "y": 160, "size": 42 },
    { "type": "arrow", "from": { "x": 120, "y": 180 }, "to": { "x": 260, "y": 220 } }
  ]
}

Run it:

decor render --config decor.config.json --output output.png

MCP

decor-mcp --transport stdio
DECOR_MCP_TOKEN=example-token decor-mcp --transport http --port 8080

MCP tools: render_decor, preview_decor, validate_decor, list_templates, doctor, and config_resolve.

Release

Conventional commits drive releases with semantic-release:

  • main -> stable GitHub release and npm latest
  • dev -> beta prerelease and npm beta

GitHub releases also include runtime archives named like decor-cli-vX.Y.Z-linux-amd64.tar.gz for installers that resolve assets by OS and architecture.

Publish jobs are separated from PR CI and should be protected with the release environment. Set the repository NPM_TOKEN secret before the first live publish.

Default Backgrounds

decor install-backgrounds downloads the hosted default background pack from Cloudflare R2 into ~/.decor-cli/backgrounds. The installer verifies every file by byte length and SHA-256 before replacing local files. Use --dir <path> to install elsewhere and --force to redownload files that already match the manifest.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Cloud & DevOps servers.