/magnific-vfx:magnific-image-genfrom magnific-vfx
Generates images via Magnific MCP using Nano Banana 2 models for concept art, product shots, references, and variations. Handles folder management and model selection.
Ships in magnific-vfx. 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.
None: SKILL.md is the whole skill.
account_balance if the user asks or before heavy batch runs (Pro unlimited plans cover NB2 at 1K/2K with no credit burn; 4K costs credits)/mcp and re-authenticate, then resume from where you left off (re-request any presigned upload URLs, which go stale).Always check models before generating if the user has not specified one.
1. Call images_models_list (optionally with search= to filter)
2. Read agentRecommendation fields
3. Default to NB2 Pro (high quality) or NB2 Flash (faster iteration)
4. Only use other models if the user has a specific reason
Default: NB2 Pro (imagen-nano-banana-2) for everything. Only drop to Flash if the user explicitly asks for faster iteration.
| Model | Slug | Speed | Best For |
|---|---|---|---|
| Nano Banana 2 Pro [OK] DEFAULT | imagen-nano-banana-2 | ~50s | All concept and final work - default choice |
| Nano Banana 2 Flash | imagen-nano-banana-2-flash | ~34s | When user wants faster iteration or batch drafts |
| Cinematic | cinematic | ~46s | Cinematic stills, when 4k quality is the priority |
| GPT 2 | gpt-2 | ~69s | Text/typography/infographics (not photorealistic) |
| Flux.1 Kontext Max | flux-kontext-high | ~13s | Quick edits with image refs when speed matters |
Never use auto mode - it picks random models (e.g. Seedream) instead of NB2. Always specify a slug explicitly.
1k | 2k | 4k
2k for concept work (unlimited plan covers it)4k for final/hero assetsNB2 Pro: auto 1:1 21:9 16:9 9:16 4:3 4:5 5:4 3:4 3:2 2:3
NB2 Flash: auto 1:1 21:9 8:1 4:1 16:9 9:16 1:4 1:8 4:3 4:5 5:4 3:4 3:2 2:3
Common VFX ratios:
16:921:99:161:1| Type | What it does | Source |
|---|---|---|
image | Carries composition, mood, and color palette from source - confirmed strong influence | creation identifier |
style | Style/look transfer | creation identifier or library style LoRA id |
character | Character consistency across generations | library asset numeric id |
product | Product/object consistency | library asset numeric id |
composition | Layout/structure reference | creation identifier |
Important: character, product, and locations use the numeric id from library_list, NOT a creation identifier. image, style, and composition use creation identifiers.
Model support varies: not every model accepts every reference type - NB2 has rejected composition references with "The selected references.N.type is invalid". When passing structural refs (depth maps, layout frames) to NB2, send them as plain image type instead.
Confirmed workflow: You can use any prior generation as an image reference in the next pass - even cross-model (e.g. Seedream output -> NB2 Pro). NB2 Pro picks up composition and mood well from the reference.
images_generate(
prompt="...",
mode="imagen-nano-banana-2", # NB2 Pro
aspectRatio="16:9",
resolution="2k",
count=1,
folderReference="<confirmed_folder_ref>" # see Two Rules: always confirm destination first
)
images_generate(
prompt="...",
mode="imagen-nano-banana-2-flash",
aspectRatio="16:9",
resolution="2k",
references=[
{"type": "image", "identifier": "<creation_id>"},
{"type": "style", "identifier": "<creation_id>"}
]
)
creations_show(identifiers=[...]) to display results inlinewebUrl so user can open in the Magnific appcreations_wait only when you need the asset URL for chaining (upscale, video, etc.)Call folders_list(onlyProjects=true) to list projects - folder references are stable UUIDs, so once discovered for an account they can be reused. Keep a per-account project->reference map in memory (a reference memory file) rather than re-listing every session, and refresh it when a lookup misses.
folders_list(parentReference="<folder_ref>")
folders_create(name="Project Name", type="project")
folders_create(name="Subfolder Name", parentReference="<project_ref>")
creations_search(from="folder", reference="<folder_ref>")
images_upscale(creationIdentifier="<id>", scale="2x") # or "4x"
Use creations_wait first if the generation is still in progress.
images_variations(
creationIdentifier="<id>",
variationMode="custom", # angles|demographics|expressions|age|storyboard|custom
prompt="Vary lighting mood, camera angle, atmosphere - keep same location",
gridRows=2,
gridCols=2,
resolution="2k"
)
storyboard and custom modes require a promptcustom mode confirmed reliable for environment/look explorationimage reference in the next generation passcreations_wait -> URL -> urllib.request.urlretrieve (same as any generation)creations_search(from="history", query="street scene")
creations_search(from="folder", reference="<folder_ref>", fileType="image")
Pre-built reusable assets for consistent references:
library_list(type="character") # character|style|element|locations
library_show() # Opens inline picker UI for user to browse and select
Pass the numeric id (not the string identifier) in references[] for character, product, and locations types.
To use a local or web-hosted image as a reference:
creations_upload_image(url="<image_url>")
# Returns a creation identifier - use that in references[]
The NSFW filter triggers on style references containing fighting, combat, weapons, or crowd violence (e.g. combat-sports stills, post-apocalyptic action scenes). The filter is stricter on style refs than on image refs.
Workaround: Use action/violence content as image type (composition lock) only - never style. Use calm photographic refs for style.
Magnific uses constant-area math, not simple pixel multiplication. Dimensions are floored to 64px:
area = res * res # e.g. 2048*2048 for 2K
long_raw = sqrt(area * long_ratio / short_ratio)
short_raw = area / long_raw
long_px = int(long_raw / 64) * 64
short_px = int(short_raw / 64) * 64
Example: 9:16 at 2K -> width=1536, height=2688 (not 2048x2048)
The CDN serves two thumbnail formats: render.png?preview=1 crops to square, while render-preview.jpg preserves the true aspect ratio. If generations "look like the wrong aspect ratio," download the actual render (via creations_wait URL) and check its real dimensions BEFORE debugging prompts or parameters - the renders are almost always correct and only the preview is cropped.
resolution API field is requiredThe resolution string ("1k", "2k", "3k", "4k") must be sent alongside pixel width/height.
Without it, the API ignores dimensions and returns wrong output size. The MCP handles this automatically.
inf for sizes the plan covers as unlimited - check yours with images_models_settingsMagnific CDN sometimes serves WebP even when the URL ends in .jpg. Nuke 16 and 17 do not support WebP natively. If pulling Magnific outputs directly into Nuke (bypassing the MCP), you must detect and convert:
if data[:4] == b'RIFF' and data[8:12] == b'WEBP':
# Convert via Pillow before saving
from PIL import Image
Image.open(io.BytesIO(data)).convert('RGB').save(out_path, format='JPEG', quality=95)
Build this check into any custom Read-side importer you write.
images_generate with references does NOT preserve the references' framing, even for a model that holds it through other routes (a correct ceiling came back with the wall top 300-400 px lower and openings up to 2x taller: unregistrable). To fix one wrong region of a take that is otherwise right, use images_retouch with retouch-inpaint-lab-seedream-5-pro and a mask: the rest of the image stays intact. Build the masks from the render (normals, depth, ID), one pass per surface, then read back the change outside the masks.
A custom width/height comes back as the requested file size while the metadata reports the model's preset size: measure the file, not the metadata.
auto.count=4, save to relevant project foldercreations_show(identifiers=[...])images_upscale(scale="4x") on the winnerwebUrl for review or pass asset URL to downstream tools (Nuke, ComfyUI)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sideshowroberto/vfx-agent-toolkit --plugin magnific-vfx3 skills in this plugin
/magnific-local-uploadUploads local images to Magnific as generation references, moves them into folders, and downloads outputs to a local path. Use when using local photos as references, batch uploading a directory, or saving Magnific results to a local folder./magnific-video-genGenerates video through the Magnific MCP - Seedance, Kling and Veo models, animating stills, start/end keyframes, camera motion, audio/lipsync and multishot. Use for 'magnific video', 'animate this image' or 'video from still'.Other plugins' skills for the same job