Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Photo to minifig

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.

例

Photo to minifig

Photo to minifig

オンラインで実行

SandBase sandbox で実行し、結果を Lab で確認できます。

Lab で開く ↗

得られるもの

Bring one consented photo of a person. The Skill returns one 2:3 minifig package PNG and a bilingual run report.

仕組み

  1. 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.

  2. 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.

  3. 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.