Photo to minifig
- Skill z Lab
- v0.1.0
- Illustration
Package one consented photo of a person as a 2:3 retail photograph of a collectible brick-figure minifig — cylindrical printed head, torso print, sealed in a blister on a fictional backing card.
Przykład

Photo to minifig
Uruchom online
Uruchom w sandboxie SandBase i zobacz wyniki w Lab.
Otwórz w Lab ↗Co otrzymasz
Bring one consented photo of a person. The Skill returns one 2:3 minifig package PNG and a bilingual run report.
Jak to działa
- 01
Provide one portrait photo
Photo Minifig needs only photo, consent and language in its brief, with no style choices. The photo is one clear, upright shot of the person to rebuild as a packaged brick figure, PNG or JPEG up to 8 MB. Use your own photo or one whose subject agreed. Selling a real person's likeness as merchandise is out of scope.
- 02
Print the figure and package
With Node.js 18 or later and SANDBASE_API_KEY set, node scripts/generate.mjs run --brief assets/sample-brief.en.json --out /tmp/minifig-run sends the stripped photo to openai/gpt-image-2.5-flare/edit. The model prints the face on a cylindrical head and the outfit on the torso, adds clip-on legs and seals the figure in a clear blister.
- 03
Check minifig.png and its card
The result is minifig.png, a 2:3 retail product shot with a fictional backing card and an invented nameplate, plus JSON and bilingual HTML reports. Inspect the likeness, the blister, the card art and the finish at full resolution and as a thumbnail. A real toy brand, logo or a person other than the consenting subject is a defect.
FAQ
Is the Photo Minifig packaging a real toy brand?
No. Photo Minifig invents the backing card and the nameplate for each run, and it reproduces no real toy branding. It is not for fan art of licensed characters or for brand reproduction. The image is a mock retail photograph, not a product you can order.
What photo gives Photo Minifig the best result?
Photo Minifig works best with one clear photo of a person facing the camera, at least 512 px on the short side. A visible outfit gives the torso print more detail to carry over. The face becomes a printed head, so the likeness is best-effort and simplified by the figure format.
How much control do I have over Photo Minifig spending?
Photo Minifig bills one call to openai/gpt-image-2.5-flare/edit to your SandBase account. You control the ceiling with the --budget flag on the run command, and the Skill checks the inspected estimate against it before submitting. The plan command needs no network. Recorded cost appears in the report. Rates are at https://www.sandbase.ai/pricing.
Does Photo Minifig run outside Lab?
Yes. Photo Minifig runs locally with Node.js 18 or later in SandBase Sandbox, reading SANDBASE_API_KEY from the environment, and needs no dependencies. The hosted Lab entrypoint runs the same pipeline with an ephemeral credential and returns both report languages, so the two modes produce the same kind of result.
Can Photo Minifig resume without paying again?
Yes. Photo Minifig reuses the execution recorded in an existing output directory, so resume polls that execution and downloads its result. Changing the brief, version or model for that directory is rejected. Do not delete the state to force a fresh purchase.
Więcej Skills
Wszystkie Skills dla Illustration →
Coastal Cycle: Harbor Pelican
An authored SVG pelican rides a coral bicycle beside the sea. Measured travel drives the wheels, gear ratio drives the crank, and solved joints keep both feet on their actual pedals. Brake, reverse and explore three coastal palettes offline.

Sprout Study: Terracotta Mint
A quiet SVG botanical illustration. Hover or focus to grow the continuous stem, unfold leaves in sequence and fold them again. Touch hold, exact growth scrubbing and editable plants in one offline HTML.

Monochrome editorial
Turn a brand, one headline and context into a high-key monochrome editorial card.

Isometric diorama
Turn a brand, one headline and context into a modular isometric card.

Converging lines
Turn a brand, one headline and context into a precise line-convergence card.

Gradient horizon
Turn a brand, one headline and context into a warm gradient-horizon card.
