Photo to stained glass
- Lab Skill
- v0.1.0
- Illustration
Cut one consented photo of a person, pet or object into a 2:3 stained-glass panel — jewel-toned pieces bounded by black lead cames, backlit so the panel glows.
例

Photo to stained glass
オンラインで実行
SandBase sandbox で実行し、結果を Lab で確認できます。
Lab で開く ↗得られるもの
Bring one consented photo of a single subject. The Skill returns one 2:3 stained-glass PNG and a bilingual run report.
仕組み
- 01
Choose a bold silhouette
Stained-Glass Panel has no style options; the brief is photo, consent and language. The photo shows one person, pet or object you own or may use, at least 512 px on the short side. A readable silhouette and bold shapes translate best into glass pieces, because the medium simplifies detail into leaded segments.
- 02
Cut the subject into glass
With Node.js 18 or later and SANDBASE_API_KEY, run node scripts/generate.mjs run --brief assets/sample-brief.en.json --out /tmp/glass-run. openai/gpt-image-2.5-flare/edit cuts the subject into jewel-toned pieces bounded by thick black lead cames, with streaky imperfect glass, a backlit glow, a dark lead border and a dim surround, at upright 2:3.
- 03
Inspect segmentation in glass.png
The deliverable is glass.png with JSON and bilingual HTML reports. Inspect the segmentation and likeness at full resolution and as a thumbnail. The panel must carry no text, and a logo, signature, watermark, real church name or official religious insignia is a defect.
FAQ
Will Stained-Glass Panel still look like the subject?
Yes, on a best-effort basis. Stained-Glass Panel carries colours and silhouette into the glass work, simplified by the medium into jewel-toned pieces and lead lines. Check the result at full size.
Can Stained-Glass Panel make a church window design?
Stained-Glass Panel makes a backlit panel of your subject, but it is not for imagery naming a real church or using official religious insignia.
Is Stained-Glass Panel a paid run?
Yes. Stained-Glass Panel calls openai/gpt-image-2.5-flare/edit once per approved brief and bills your SandBase account. The plan step is offline, and run compares the inspected estimate with the --budget flag, or the default preflight budget, before it submits. The report holds the recorded cost. Rates are at https://www.sandbase.ai/pricing.
What does Stained-Glass Panel output?
Stained-Glass Panel writes glass.png, an upright 2:3 PNG of a leaded panel inside a dark border, plus report.json and HTML reports in English and Chinese. The PNG is checked for signature, chunks, CRCs, decoded pixels and dimensions.
Can Stained-Glass Panel use a photo of my friend?
Only with their consent. Stained-Glass Panel is not for photos of other people without consent or for fan art of copyrighted characters. Set consent to accepted only for photos you have the right to use.
その他の Skills
すべての Illustration Skills →
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.
