/mage:mage-character-consistencyfrom mage
Maintains character consistency across multiple Mage-generated images and videos by locking key details, creating full-body reference sheets, and checking results against references to fix drift.
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.
Image and video models remember nothing between generations. A prompt alone reinvents the person every time, and one front-facing reference pins only the front: whatever it doesn't show (the back of the head, the far arm, a logo on a backpack) is invented again in each shot, and left and right details swap. This skill shows the model every angle once, gives each reference one job, and checks each result before the next one builds on it.
Three rules run through it:
list_models, get_model, estimate_cost, generate, get_request, list_characters, create_character, list_references, create_reference, and create_upload for local files. If they are missing, ask the user to connect Mage (Claude: Customize → Connectors → Add custom connector, https://mcp.mage.space/mcp; Claude Code: /mcp to sign in if the Mage plugin is installed, otherwise claude mcp add --transport http mage https://mcp.mage.space/mcp; others: https://www.mage.space/mcp), then wait.create_upload, when you can run commands; pass the url it returns, never the signed upload URL), or earlier Mage results. Files attached to the chat never reach Mage: ask for a direct link. A cloud session needs cdn3.mage.space and storage.googleapis.com reachable to download results or upload files.list_characters and list_references (every page) and compare the images, not only the names. Use a master, sheet, or turntable the user already has; make only what is missing.estimate_cost using the exact config you will send, show the total, and wait for a yes. Video is the expensive part: every second of Lemon reference video bills like a second of output, again in every scene that uses it. Before the turntable exists, estimate_cost can't see it, so add its seconds to each scene at the scene's per-second rate (720p: 168 Gems; a 3 s scene with a 6 s turntable is 1,512, not 504). Once it exists, price each scene again with its URL in videos, and ask before any scene that costs more than you quoted.get_model once per model before its first call; estimate_cost; generate with a new UUID as idempotency_key; then get_request with wait_seconds: 120 until completed, failed, or cancelled. If a generate response is lost, send the same arguments with the same key to recover the request without a second charge; a deliberate retry gets a new key. Start steps that don't depend on each other together.
| The job | Route | Trade-off |
|---|---|---|
| Stills only: a set, a campaign, a comic | Stages 1–4, then image scenes on Mango 4 | Cheap; no motion |
| Video where the character turns: back views, profiles, orbits, big head turns | Turntable: stages 1–5, then Lemon in reference mode | The strongest hold across angles; the turntable bills again in every scene |
| A fixed shot whose framing and wardrobe must hold | An approved scene still as Lemon's first frame | Locks the opening exactly; holds less once the character turns |
| Final-quality video with simple motion | Cherry 2 Pro with the master and sheet as reference images | Mage's best video; no first frame, no reference video |
| The user's footage, keeping its performance | Magejutsu recast with the master and sheet | Follows the source's motion, camera, and sound; not for new shots |
When the user asks for the strongest consistency in video, use the turntable route, or say why another route fits their shot better.
Pick 3 to 5 traits the character really has: face shape, eye colour, hair colour and style, a scar, a tattoo, an accessory. Write LEFT or RIGHT in capitals only for a feature that has a side, from the character's own point of view (her RIGHT cheek is on the viewer's left in a front view). Never give a central trait a side.
the same oval face, dark brown eyes, shoulder-length center-parted black hair, a thin scar on her RIGHT cheek, a silver ring on her LEFT hand
Paste it word for word into every prompt. The prompt must agree with the references: "long hair" against a buzz-cut master makes the model split the difference.
One full-body image that everything else copies. Mango 4 (mango, model_id: "mango-v4"), aspect_ratio: "2:3", resolution: "2K"; Guava 2 Pro (guava, model_id: "guava-2-pro") when the user wants the most photoreal skin and hair. Template: Master in references/prompts.md. From a user's design or photo, pass it as image and keep its look.
With no design yet, make 2 candidates, show them, and keep one. Before going on, check every locked detail at full size, on its side. A side wrong here is wrong in everything that follows.
Mango 4 with the master as image, 16:9, 2K. Template: Sheet in references/prompts.md: a top row of front, right-profile, and back views, full body at one scale; a bottom row of front, three-quarter, and profile close-ups. Check every panel against the master and against each other; regenerate a swapped side now.
create_character with name and the face: when you can run commands, crop the sheet's front close-up tight around the face and upload it (create_upload); otherwise save the master itself. Use the handle it returns (@kai), never an assumed one. A character holds the face; the sheet carries the body, the clothes, and the back.create_reference with the sheet and kind: "outfit" (@kai-look). Mage gives a reference to the model as " from image N", and "outfit from image N" is the sheet's main job; one line in the prompt adds the rest: "it also shows his hair and build from the side and back; ignore its panels and grey background".pose: "pose from image N" tells the model to copy the sheet's standing pose.image, 16:9: the full body in the left third, a large head-and-shoulders close-up in the right two-thirds, a thin vertical gap, the same grey studio. Template: Split frame. Check both figures are the same person.lemon) in reference mode: the split frame as image, @kai and @kai-look in the prompt, aspect_ratio: "16:9", resolution: "720p", audio: false, duration: "10"; "6" when two characters share a scene or more than two scenes will use it, since it bills again in each. Template: Turntable. Not frame mode: a first frame shows only the front, and Lemon takes no reference beside one, so it would invent a back that contradicts the sheet in every scene.videos.Each prompt names the character once with the locked string, gives every reference its job, and says what to ignore. Templates in references/prompts.md.
@kai and @kai-look with the locked string, then the scene. On a back view or a profile, also pass the master as image. Guava 2 Pro takes only 3 images, mentions included.videos, the master as image, @kai (and @kai-look) in the prompt, audio as the brief needs. Say that Video 1 and image 1 only show the character, and nothing else from them appears. Write 3–4 timed shots, including the turn the job needs (walking away, a slow half orbit, a turn to the lens). Reference seconds plus duration must stay at or under 30.first_image and no mentions (frame mode rejects them).cherry, model_id: "cherry-2-pro") with the master as image, @kai and @kai-look, Shot N paragraphs without timestamps. Keep the motion simple: one or two actions per shot, no fights or crowds of look-alikes.model_id: "cherry-mini", 8 images) for a Cherry 2 Pro scene. Never give Cherry a turntable: its videos is one clip to edit, not a reference. A draft that passes doesn't approve the final render: check that too.videos (6 s each fits the 15-second total) as Video 1 and Video 2, with both masters as images. One simple beat per shot.outfit reference, and for video a new split frame and turntable. Name the new outfit in every scene from then on.When their clip's performance, camera, and timing must stay, use Magejutsu (magejutsu, mode: "motion_transfer") with the source in videos (4–30 s; 4–15 s on Lite and Feather) and the images in order: the character in a scene still or the master, the face crop, the sheet. Template: Recast. estimate_cost answers requires_media_measurement for a source on another host: upload it with create_upload first. For a long or busy source, pilot its hardest 4–6 seconds at 480p. The source guides motion; it is not an identity reference, and the result keeps its length and frame rate.
Open each result at full size, for video the hardest frames, next to the master and sheet, before anything builds on it. references/checks.md has the full list and the ffmpeg lines for pulling frames. The short version:
Tell the user what failed and what you'll change. Without watching the whole clip at normal speed, smoothness and natural facial motion stay unchecked: say so.
| What's wrong | Fix |
|---|---|
| Face changes between shots | The @handle and the locked string in every prompt; frame the face at medium or closer |
| Face right, body or outfit drifts | Add @kai-look: the character holds only the face |
| Back view or profile invented | The sheet on stills; the turntable on Lemon for video |
| A detail swaps sides | Fix the master, then rebuild the sheet and turntable from it |
| A blend of several people | Fewer references: the master, the sheet, the @handle, nothing redundant |
| The grey studio or split layout appears | Add the "ignore the grey studio and the split layout" line |
| Face pasted on, lit apart from the body | Rebuild the scene still under the scene's light, then animate again |
A retry changes something real (a reference, a role line, the route, the model), never an unchanged reroll. More causes in references/checks.md.
Deliver the frame rate the model makes. A rate written in the prompt changes nothing. When the user asks for 60 fps or smoother motion, explain that the new frames are interpolated (made up between real ones, and they can warp eyes, hands, and hair), convert only the final clip, check it again, and say it was interpolated. references/frame-rate.md has the commands and checks; it needs a shell.
Mage's defaults on 2026-11-11. Quote the real config with estimate_cost before every job.
| Step | Model | Gems |
|---|---|---|
| Master, 2K | Mango 4 | 42 |
| Sheet or split frame from the master | Mango 4 | 52 |
Image scene with the master, @kai, and @kai-look | Mango 4 | 71 |
| Turntable at 720p, 10 s / 6 s | Lemon | 1,680 / 1,008 |
| 10 s scene at 720p with a 10 s / 6 s turntable | Lemon | 3,360 / 2,688 |
| 10 s scene at 720p | Cherry 2 Pro | 3,465 |
| 10 s draft at 480p with a 10 s / 6 s turntable | Lemon | 1,632 / 1,306 |
| 10 s draft at 480p | Cherry Mini | 600 |
| Code | What to do |
|---|---|
insufficient_gems | Give the price and the balance; Gems are added at https://www.mage.space/api?tab=billing. |
invalid_config | The message names it: a handle that didn't resolve, frames mixed with references on Lemon, too many images, or reference video plus duration over 30 s. |
content_blocked | The model's provider refused (likeness, ip, nsfw, minors, audio, unspecified); it's refunded. A photoreal reference refused for likeness on Cherry: offer Lemon with the same references. Never reroll it unchanged or try to slip past a filter. |
too_many_requests | 20 generations are already running. Wait, then submit again. |
generation_failed | Usually transient and refunded. Retry once with a new key. |
handle_taken | Suggest another handle, or leave it out to derive one. |
cancel_request stops a request without refunding it.
@kai is ready: the master, the sheet (@kai-look), and a 10 s turntable.
Scene 1, the rooftop (10 s, Lemon 720p, 3,360 Gems): https://…
Checked: face, the scar on his RIGHT cheek, the jacket's back, and the hairline through the turn at 0:06.
Offer once: the next scene, or a final render on Cherry 2 Pro.
references/prompts.md: every template (master, sheet, split frame, turntable, image and video scenes, two characters, outfit change, a still matched to real footage, recast), filled for Mage's image numbering.references/checks.md: what to inspect in stills and video, pulling frames with ffmpeg, and fixes by cause.references/frame-rate.md: measuring a clip's real cadence, removing padded repeats, and 60 fps on request.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
30 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).
/mage-ad-resizerAdapt a static ad to every placement with Mage: square feed, portrait feed,
Stories and Reels, landscape video and display, wide banners, and
Pinterest. Recomposes the layout for each aspect ratio instead of cropping,
extends the background, keeps every word, the product, and the logo, and
respects each platform's safe zones. GPT Image 2.5 Flare for ads with
text, Mango 4 for image-only ads. Use when: "resize this ad", "make this
ad 9:16", "adapt for Stories", "all ad sizes", "placements", "1:1 4:5
9:16", "make a banner version", "reformat for TikTok / Meta / Pinterest /
YouTube / Google Display". NOT for: new creative variations (use
mage-ad-multiplier), translations (mage-ad-localizer), video ads, or
cropping a photo without an ad layout (mage-generate).
/mage-anglesSee an existing image from a new camera angle with Mage: the same subject,
pose, light, and scene, shot by a second camera at a chosen height and side.
The Angles app as a skill, on Mango 4 by default. Use when: "new camera
angle", "show this from the side", "view from above", "low-angle shot of
this image", "back view of this", "three-quarter view", "turn the camera
around it", "more angles of this product", "coverage of this scene for a
storyboard". NOT for: a full turnaround sheet of a character
(mage-character-sheet), relighting (mage-relight), product photography from
scratch (mage-product-photoshoot), or camera moves in a video
(mage-generate).
/mage-character-builderDesign a new AI character from a list of traits with Mage and save it for
reuse: gender, ethnicity, hair, skin, body, eyes, face, features, age, and
clothing become a full-body portrait, then a character with an @handle. The
Character Builder: Attributes app as a skill, on Mango 4 by default. Use when:
"build a character", "create a character from scratch", "character creator",
"design a person: red hair, green eyes, freckles", "make me an AI
influencer", "I need a model with these traits", "generate a character I can
reuse". NOT for: saving an existing photo as a character (mage-characters),
exploring a look from a starter image (mage-character-muse), a turnaround
sheet (mage-character-sheet), or recreating a real person.
/mage-character-museDiscover and refine a character from a starter image with Mage: keep what
works, change the face or details step by step with presets or plain words,
pick the best take, and save it as a reusable @handle. The Character
Builder: Muse app as a skill, on Mango 4 by default. Use when: "muse",
"explore looks from this image", "refine this character", "same person but
make the face softer", "try different faces on this character", "iterate on
this portrait until it's right", "make her look more mature", "I like this
look but can't describe it". NOT for: building a character from a trait list
(mage-character-builder), saving a finished photo as it is
(mage-characters), a turnaround sheet (mage-character-sheet), or copying a
real person.
npx claudepluginhub mage-space/skills --plugin mage