/mage:mage-generatefrom mage
Generates images, video, and audio via Mage's MCP connector. Picks the right model, quotes Gems price, and waits for results. Defaults: Mango 4 (images), Cherry 2 Pro (video), Seed Audio (audio).
Ships in mage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create images, video, and audio with Mage. Every generation runs through the Mage connector's tools and is paid in Gems from the connected account.
list_models, get_model, estimate_cost, generate, get_request, and create_upload for local files. If they are not available, ask the user to connect Mage, then wait:
https://mcp.mage.space/mcp, then sign in to Mage./mcp to sign in if the Mage plugin is installed, otherwise claude mcp add --transport http mage https://mcp.mage.space/mcp, then /mcp to sign in.get_account shows the Gems balance. Check it only when a price is large or a generation fails with insufficient_gems.Use these defaults unless the user names a model or the request needs something below.
| Media | Default | Architecture | model_id |
|---|---|---|---|
| Image | Mango 4 | mango | mango-v4 |
| Video | Cherry 2 Pro | cherry | cherry-2-pro |
| Audio | Seed Audio | seed_audio | seed-audio-1.0 |
Switch when the request calls for it:
gpt_image_2, gpt-image-2.5-flare; set the model_id, the family default is opt-in). Cheap at its default quality. OpenAI's safety filter applies. Mango 4 handles short text itself.guava, guava-2-pro; set the model_id, the family default is the oldest Guava). Up to 3 reference images. Name the lens and the light.mango-v3-turbo). 3K stills → Mango 3S (mango-v3s), only for 3K. 4K stills → Mango 2 (mango-v2).lemon, 2–30 s). Frames and reference images cannot be combined.cherry-pro). Cheap video drafts → Cherry Mini (cherry-mini).eleven_speech, eleven-v4), in one of 16 preset voices. A full song, with or without vocals → Eleven Music (eleven_music, eleven-music-v2.5).list_models with include_opt_in: true lists them.A model the user named stays in use for follow-ups on the same work. After a result, offer at most one alternative when its trade-off fits: cheaper drafts, higher resolution, a longer clip. Ids, options, and prices change; get_model is the source of truth. See references/model-guide.md.
get_model once per model in the conversation: fields (input_schema), options (options_by_model), rules, and max_images.config: prompt, model_id, and only the fields the request needs (aspect_ratio, resolution, duration, media inputs). Leave the rest at their defaults. Write the prompt with the model's own file (below) and references/prompt-guide.md.estimate_cost using the same architecture and config, and quote it (UX rule 5).idempotency_key. Reuse a key only to retry a call whose response never arrived; that returns the original request without charging again.get_request and wait_seconds: 120 until the status is completed, failed, or cancelled. Images take seconds to a minute, video several minutes. Keep calling quietly.result.url. If result.moderation.nsfw is true, say the result was flagged.For several independent generations, start all of them first, then wait on each. An account runs up to 20 at once.
Before the first prompt on a model in the conversation, read its file. It covers the prompt's structure, how Mage numbers images and voices for that model, dialogue and text syntax, what to avoid, and worked examples. Read Mango 4's or Cherry 2 Pro's for anything past a plain prompt: references, characters, an edit, several shots, dialogue, text in the image, or a result that missed.
architecture | File |
|---|---|
mango | references/models/mango.md |
cherry | references/models/cherry.md |
lemon | references/models/lemon.md |
guava | references/models/guava.md |
gpt_image_2 | references/models/gpt-image.md |
seed_audio | references/models/seed-audio.md |
eleven_speech | references/models/eleven-speech.md |
eleven_music | references/models/eleven-music.md |
plum | references/models/plum.md |
melon | references/models/melon.md |
nano_banana_v2 | references/models/nano-banana.md |
grok_image | references/models/grok-image.md |
grok_video | references/models/grok-video.md |
flux2 | references/models/flux-2.md |
krea_2 | references/models/krea-2.md |
moss_image | references/models/moss-image.md |
z_image | references/models/z-image.md |
anima | references/models/anima.md |
ltx_video | references/models/ltx-video.md |
minimax_h3 | references/models/minimax-h3.md |
wan_22 | references/models/wan-video-2-2.md |
hidream, chroma, stable_diffusion_v35_large, stable_diffusion_xl, sdxl_plus, stable_diffusion_v15 | references/models/open-image-models.md |
A model missing from the table has no file yet: follow references/prompt-guide.md and get_model's rules.
image (the first) and additional_images (the rest), up to the model's max_images. Lemon also takes first_image and last_image. A video to edit goes in videos (one source video, on Cherry 2 Pro or Lemon).@image1, @image2, … name the request's own images in order (image first), on models that take references: "Put the bottle from @image1 on the table from @image2".create_upload, PUT the file with the returned headers, and pass the returned url. Otherwise ask for a direct link.result.url to edit, extend, or animate it.Details and edit patterns: references/media-inputs.md.
Saved characters and references go in the prompt as @handle: "@ana walking through a night market wearing @red-coat". list_characters and list_references show the handles. To save new ones, use mage-characters.
Seed Audio makes voices, dialogue, music, and sound effects at exactly the requested duration (5, 10, 30, 60, or 120 seconds). Quote the words to be spoken and describe the voice: age, accent, pace, emotion. For music, give the genre, tempo, instruments, and mood. It takes one image reference (a picture of a person, for a voice that fits the face) or voice clips by @handle, not both.
Eleven Speech speaks the prompt as written in its preset voice, directed by bracketed audio tags ([whispers], [laughs]); write numbers and symbols as words. Eleven Music writes a song to duration; never name an artist or quote existing lyrics, which it refuses.
| Code | What to do |
|---|---|
insufficient_gems | Tell the user the price and balance; Gems are added at https://www.mage.space/api?tab=billing. |
invalid_config | The message names the field, value, or @handle. Fix it from get_model and retry with a new key. |
content_blocked | Mage's content policy or the model's lab refused it. Rephrase only if the request is legitimate; never try to slip past a filter. |
too_many_requests | 20 generations are already running. Wait for some to finish, then submit again. |
generation_failed | Usually transient and refunded. Retry once with a new key. |
More in references/troubleshooting.md.
references/model-guide.md: every recommended model, what it is for, and its fields.references/prompt-guide.md: prompts that work for images, edits, video, and audio, keeping a person on model, and UGC realism.references/models/<model>.md: one prompting guide per model (table above).references/media-inputs.md: image, frame, video, and audio inputs, with edit patterns.references/troubleshooting.md: errors, stuck requests, and bad results.references/media-inputs.md (opens in a new tab)references/model-guide.md (opens in a new tab)references/models/anima.md (opens in a new tab)references/models/cherry.md (opens in a new tab)references/models/eleven-music.md (opens in a new tab)references/models/eleven-speech.md (opens in a new tab)references/models/flux-2.md (opens in a new tab)references/models/gpt-image.md (opens in a new tab)references/models/grok-image.md (opens in a new tab)references/models/grok-video.md (opens in a new tab)references/models/guava.md (opens in a new tab)references/models/krea-2.md (opens in a new tab)references/models/lemon.md (opens in a new tab)references/models/ltx-video.md (opens in a new tab)references/models/mango.md (opens in a new tab)references/models/melon.md (opens in a new tab)references/models/minimax-h3.md (opens in a new tab)references/models/moss-image.md (opens in a new tab)references/models/nano-banana.md (opens in a new tab)references/models/open-image-models.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mage, image-generation, video-generation, audio-generation, ai-media
Other plugins' skills for the same job
npx claudepluginhub mage-space/skills --plugin mage30 skills in this plugin
/mage-ad-localizerLocalize static ads into other languages and markets with Mage: translate
every line of on-image text naturally (not word for word), keep the offer,
brand voice, product, logo, fonts, and layout, and adjust line breaks,
number and currency formats, and right-to-left layouts so each version
reads as native. Uses GPT Image 2.5 Flare for precise text replacement.
Use when: "translate this ad", "localize this ad", "Spanish and German
versions", "adapt this ad for Japan", "make this ad in French", "ad in
Arabic", "international versions of my ad", "market-specific ad copy".
NOT for: new creative variations (use mage-ad-multiplier), resizing for
placements (mage-ad-resizer), translating video voiceovers, or documents
and websites.
/mage-ad-multiplierTurn one ad into many independent variations with Mage: new talent,
wardrobe, setting, background, color story, or headline, while the product,
brand, layout, and every untouched element stay exactly as they were.
Works on static image ads (Mango 4, GPT Image 2.5 Flare for headline
changes) and on video ads (Cherry 2 Pro edits that keep motion, framing,
cuts, timing, and audio). Use when: "make variations of this ad",
"multiply this ad", "ad variants", "creative testing", "A/B test
versions", "new talent / new model in this ad", "change the setting",
"10 headline variants", "refresh this creative", "same ad with different
people". NOT for: resizing an ad for placements (use mage-ad-resizer),
translating an ad (mage-ad-localizer), creating a first ad from a product
photo (mage-product-photoshoot ad_creative_pack), or UGC videos from
scratch (mage-ugc-video).