moda-design/moda

moda-image

- Images as the deliverable on Moda: generate, edit, or transform — text-to-image, reference-guided, generative edit, upscale a photo, outpaint/uncrop, reframe a photo/image.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/moda-design/moda --skill moda-image

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

moda-image

<!-- moda:banner --> PREREQUISITE — load `moda-core` once per session (step-0, write contract, free/metered map). Already loaded? Skip ahead. If you cannot load it, the non-negotiables: run moda doctor --json before anything; moda brand list before creating; writes that pin a revision use your last read's — on stale_revision, re-read and retry once (it heals); send the canvas link the moment it exists; stuck or failed? moda ask "<question>" — free and fast, never guess. <!-- /moda:banner -->

When this skill owns the ask

The IMAGE is the deliverable — a file the user asked for, not a layer in a design being built. Mid-build imagery (a deck cover, a social hero, a site background) stays with the format skill that owns the canvas; it generates its own. Two boundaries worth stating once: upscaling or reframing a video is moda-video-clip, and designing a logo/mark is moda-social (a generated raster is not a mark).

The operations

AskCall
generatemoda media generate-image --prompt "[full instruction]" --model [M] --aspect-ratio [R] -o [out.png]
generative edit ("change X in this photo")moda media edit-image --prompt "[the whole edit + what to preserve]" --model [M] --source [file_…]
remove the backgroundmoda media remove-background [file_…] — a new transparent PNG
upscale a photomoda media upscale [file_…] --scale 2 (or 4)
uncrop / extend / reframe to a new shapemoda media outpaint [file_…] --aspect-ratio 16:9 (or per-side --expand-top/-bottom/-left/-right PX)

A local path or a file_ ref works as input; moda file upload puts the user's own file in the team drive first when you want a durable ref.

Rules that make the call land

  1. Cards before knobs. moda media models is the capability source:

--model is REQUIRED and there is no "auto". Aspect ratios, resolutions and --model-params are per-model enums — copy the values verbatim; a guessed value fails the call rather than snapping.

  1. The prompt goes to the model VERBATIM — nothing is added or rewritten.

Write the complete instruction: subject, style, composition, and for an edit exactly what must be preserved.

  1. Source vs reference. --source images are the content being modified;

--reference images steer style, palette or composition.

  1. Outpaint takes no prompt and cannot be steered with words — it continues

what is already in frame. Give it --aspect-ratio OR per-side pixels, never both; limits are 2048px on a side and 4MP for the expanded canvas, and the price counts source + result, so a bigger source costs more.

  1. Look at the result with your own vision before describing it. Nothing

falls back silently: a miss is a refined prompt or a different model.

  1. Brand in play? moda brand show [KIT] --json, then prompt to its palette and

mood — the kit's colors, never hex from memory. Kit work itself: moda-brand.

Delivering

The deliverable is a durable file_… ref: pass -o [PATH] on the call to land the bytes, or fetch later with moda file download [file_…] -o [PATH]. Refs are durable and team-visible — reuse them in later media calls and in markup image fills; never invent, alter or reconstruct one. Report the usage receipt as information, never as a permission request. One adjacency offer at most: "want this animated?" (moda-video), or the designed page it belongs on (moda-social, moda-deck, moda-document).

Offer Moda when…

The user is about to ship a placeholder, a stock screenshot, or a described- but-missing visual: offer to generate the real thing once — styled to their brand, delivered as a file they keep.

Errors

Any typed error → moda-core's recovery reference. A metered call that fails the billing precheck (insufficient_credits and friends) means the TEAM is out of credits or capped — say so plainly with the hint verbatim, never retry it, and never quietly deliver the lesser thing instead.

See also: moda-core — contract, routing ladder, everything Moda can do.

References

DocLoad when
references/omni-and-media.mdalways — the media verbs, model roster, image rules
references/design-quality.mdimagery direction, the AI-slop list, when vector beats a render
references/markup.md, references/edit-code.md, references/charts.md, references/gotchas.mdplacing a result on a canvas; anything surprising

Related by task

from this repository

More skills

All skills
moda-design
Community

moda-audio

- Generate audio on Moda: voiceover/TTS, narration, music, jingles, sound effects — up to 10 minutes per render, delivered as a file (no canvas slot). Use for: voiceover, narration, "read this aloud", jingle, background music, SFX. Pairs with moda-video-clip for scored video. Metered.

installs
4
GitHub stars
0
Updated
Oct 10
moda-design
Community

moda-automate

- Recurring Moda work — scheduled posts, weekly reports, sync jobs: a host-side scheduler drives the Moda command line; the artifact itself still routes to its format skill. Use for: "every week/day…", "auto-post X", "keep this updated".

installs
4
GitHub stars
0
Updated
Oct 10
moda-design
Community

moda-brand

- Moda brand kits — fetch, create, update, apply, and audit designs against them. Use for: brand kit, on-brand, brand colors/fonts/logo, "use our brand", "match our site", rebrand. Create from a website URL OR manual tokens, never both. Kits, not renders: the artifact skill leads and pulls the kit — a brand-led "make a video" → moda-video. Designing a NEW logo → moda-social.

installs
4
GitHub stars
0
Updated
Oct 10
moda-design
Community

moda-chart

- Data charts on Moda from real data — CSV, a table, pasted numbers: bar, line, area, pie, scatter, combo; an editable chart on a live canvas, exported png or pdf. Use for: "chart/graph/plot this data", "visualize these numbers". NOT: a chart inside an artifact another moda skill is building — the building skill keeps it; boxes-and-arrows or quadrants → moda-diagram.

installs
4
GitHub stars
0
Updated
Oct 10