/magnific-vfx:magnific-local-uploadfrom magnific-vfx
Uploads local images to Magnific as generation references, moves them into folders, and downloads outputs to a local path. Handles the presigned upload pipeline for local files.
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.
Version: 1.2.1 Last Updated: 2026-09-09
Handles the full pipeline: local folder -> upload to Magnific -> move to folder -> use as generation references -> download output to local folder.
Magnific does not accept file paths directly. Local files require a 3-step presigned upload:
1. creations_request_upload(mimeType, count=N) -> N presigned PUT URLs + temp paths
2. Python: PUT each file's bytes to the upload URL the response gives you
3. creations_finalize_upload(uploads=[...paths], folderReference=...) -> creation identifiers
creations_upload_file is for host-attached files (ChatGPT-style uploads) - it does not work for local disk files. Always use the 3-step flow.
PUT to whichever upload URL field the creations_request_upload response
actually contains. As of 2026-09-09 that is proxyUploadUrl only - the
directUploadUrl (GCS) field this skill used to mandate is no longer returned
(three 4-7 MB PNGs uploaded through the proxy at first attempt, 200 each).
Earlier in 2026 the response carried both and the proxy was the flaky one;
if directUploadUrl reappears, prefer it, but never stall looking for a
field that is not there.
Never re-PUT to the same URL after a failure - a repeat PUT to one target
is rate-limited (429). Request fresh targets with creations_request_upload
and retry from there.
| Extension | mimeType |
|---|---|
.jpg / .jpeg | image/jpeg |
.png | image/png |
.webp | image/webp |
.mp4 | video/mp4 |
.mov | video/quicktime |
.webm | video/webm |
Step 1: Scan folder with Glob
Glob(pattern="D:/path/to/folder/*.png")
Step 2: Request all presigned URLs in one call
creations_request_upload(mimeType="image/png", count=8)
# Returns: { uploads: [ {proxyUploadUrl, path, mimeType, expiresAt}, ... ] } (2026-09 shape)
Request the full batch count upfront - all URLs expire in 1 hour, so get them all before starting uploads.
Step 3: Write and run a Python upload script
Write to tmp/magnific_upload.py, execute immediately:
import urllib.request, pathlib, sys
# Pair each local file with its upload URL (the field the response gave you) and temp path
pairs = [
(r"D:\path\to\file1.png", "<uploadUrl_1>", "temp-files/<uuid1>.png"),
(r"D:\path\to\file2.png", "<uploadUrl_2>", "temp-files/<uuid2>.png"),
# ... one entry per file
]
paths = []
for filepath, url, path in pairs:
name = pathlib.Path(filepath).name
data = pathlib.Path(filepath).read_bytes()
req = urllib.request.Request(url, data=data, method="PUT")
req.add_header("Content-Type", "image/png")
try:
with urllib.request.urlopen(req) as resp:
print(f"OK {resp.status} {name}")
paths.append(path)
except Exception as e:
print(f"FAIL {name} {e}", file=sys.stderr)
print("\nPATHS:")
for p in paths: print(p)
Run with: python tmp/magnific_upload.py
All successful files print OK 200. Failed files print to stderr. Only pass 200-OK paths to finalize.
Step 4: Batch finalize
creations_finalize_upload(uploads=[
{"path": "temp-files/<uuid1>.png"},
{"path": "temp-files/<uuid2>.png"},
# ... all OK paths
])
# Returns: { results: [ {identifier, status: "completed"}, ... ] }
Step 5: Land the uploads in the right Magnific folder
creations_finalize_upload now accepts folderReference (verified 2026-09-09:
three uploads finalized straight into a job subfolder), so pass it in Step 4
and skip the move. creations_move remains the fallback for uploads that
already landed in the root:
creations_move(
creationIdentifiers=["id1", "id2", ...],
targetFolderReference="<folder_ref>"
)
See the magnific-image-gen skill for known folder references.
For one file, use an inline heredoc instead of writing a script:
# Request 1 URL (omit count)
creations_request_upload(mimeType="image/jpeg")
Then run Python inline via Bash:
python - <<'EOF'
import urllib.request, pathlib
data = pathlib.Path(r"D:\path\to\file.jpg").read_bytes()
req = urllib.request.Request("<uploadUrl>", data=data, method="PUT")
req.add_header("Content-Type", "image/jpeg")
with urllib.request.urlopen(req) as r:
print(f"OK {r.status}")
EOF
Then finalize:
creations_finalize_upload(path="temp-files/<uuid>.jpg")
Generate:
images_generate(
prompt="...",
mode="imagen-nano-banana-2",
aspectRatio="16:9",
resolution="2k",
count=2,
folderReference="<output_folder_ref>", # goes directly into Magnific folder
references=[
{"type": "image", "identifier": "<previs_or_comp_ref>"}, # composition lock
{"type": "style", "identifier": "<real_photo_ref_1>"}, # photorealism look
{"type": "style", "identifier": "<real_photo_ref_2>"},
]
)
Wait - creations_wait returns the URL directly:
result = creations_wait(identifiers=["<id>"])
# result.results[0].results.url <- full-res URL, no need to call creations_get
Only call creations_get if you need metadata beyond the URL.
Download:
python - <<'EOF'
import urllib.request, pathlib
url = "<url_from_creations_wait>"
out = r"D:\path\to\output\result.png"
pathlib.Path(out).parent.mkdir(parents=True, exist_ok=True)
urllib.request.urlretrieve(url, out)
data = pathlib.Path(out).read_bytes()
is_webp = data[:4] == b'RIFF' and data[8:12] == b'WEBP'
print(f"Saved {len(data)/1024/1024:.1f} MB WebP={is_webp}")
EOF
WebP check: If WebP=True, convert before using in Nuke:
python -c "from PIL import Image; Image.open('result.png').convert('RGB').save('result_conv.jpg', format='JPEG', quality=95)"
Nuke 16/17 does not support WebP. Always check and convert if pulling into Nuke.
After a successful generation, run variations to explore looks:
images_variations(
creationIdentifier="<id_of_successful_generation>",
variationMode="custom",
prompt="Describe what to vary - lighting, mood, angle, etc.",
gridRows=2,
gridCols=2, # 2x2 = 4 tiles; max 9 total
resolution="2k"
)
# Returns a single creation identifier for the grid image
Wait and download the same way as a generation. The grid is one image - pick a tile visually, then use it as an image reference in the next generation pass.
Magnific's NSFW filter triggers on style references that contain:
Workaround: Use action/violence content as image type (composition) rather than style. The filter is stricter on style references. If NSFW keeps triggering, remove those refs from style and use only calm, photographic refs for style.
For combat-sports / action content specifically - use the stills as image refs only, never style.
1. Glob local folder -> collect paths
2. creations_request_upload -> get N presigned URLs (count=N)
3. Write tmp/magnific_upload.py -> pair files to the upload URLs returned
4. python tmp/magnific_upload.py -> PUT all files, collect OK paths
5. creations_finalize_upload -> batch finalize -> get identifiers
6. creations_move -> only if finalize was called without folderReference
7. images_generate -> use identifiers as references, folderReference for output
8. creations_wait -> poll until complete, get URL from results
9. urllib.request.urlretrieve -> download to local output folder
10. WebP check + convert if needed
Ask user before running:
gen folder)image = composition/mood, style = look transfer)imagen-nano-banana-2)2k) / aspect ratio| Error | Cause | Fix |
|---|---|---|
| PUT returns 503/404/429 | Flaky target, or a re-PUT to a URL already used | Do NOT retry the same URL - request fresh upload targets and PUT again |
| PUT returns non-200 on GCS | Expired presigned URL (>1hr) | Re-request upload URLs, re-run |
creations_finalize_upload error | PUT didn't complete before finalize | Check Python script output for FAIL lines |
| Generation fails NSFW | Style ref contains violence/weapons | Move that ref to image type or remove it |
creations_wait never completes | Polling too short | Keep calling with timeoutSeconds=25 until allTerminal: true |
| Downloaded file is 0 bytes | URL expired | Call creations_get to get a fresh URL |
| WebP in Nuke | CDN serving WebP regardless of URL extension | Run Pillow convert |
magnific-image-gen - generation workflow, model selection, folder map, upscaling, variationsmagnific-video-gen - video generation with MagnificWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
magnific, image-upload, presigned-url, batch-upload, image-generation
npx claudepluginhub sideshowroberto/vfx-agent-toolkit --plugin magnific-vfx3 skills in this plugin
/magnific-image-genGenerates images with the Magnific MCP (default image tool, Nano Banana 2) - concept art, product shots, references, variations and folders; no upscaling. Use for 'generate image', 'generate refs', 'concept art', 'nb2', 'nano banana' or 'magnific folder' requests./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