Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

String Art Portrait

Redraw your photo as a string-art picture: a square wooden board edged with nails, and dark thread lines that build up your face.

示例

String Art Portrait

String Art Portrait

在线运行

在 SandBase sandbox 中运行,并在 Lab 中查看结果。

在 Lab 中打开 ↗

你将获得什么

Bring one clear photo of the person. The Skill returns a square string-art portrait: nail boundary, wooden base and thread-drawn likeness.

工作原理

  1. 01

    Upload a face-forward portrait

    Photo String Art takes photo, consent and language, with no style fields. The photo is a selfie or portrait of one person you may use, PNG or JPEG up to 8 MB, at least 512 px on the short side and upright. A clearly visible face matters, because the thread density draws the face.

  2. 02

    Wind thread nail to nail

    With Node.js 18 or later and SANDBASE_API_KEY, node scripts/generate.mjs run --brief assets/sample-brief.en.json --out /tmp/string-art-run sends the stripped photo to openai/gpt-image-2.5-flare/edit. The model draws a square wooden board ringed with nails, where a continuous dark thread crosses nail to nail until the woven lines form the sitter's face.

  3. 03

    Check thread coverage in string-art.png

    The result is string-art.png at 1:1 with report.json and English and Chinese HTML reports. Inspect identity cues, thread coverage and the nail border at full resolution and as a thumbnail. The image must carry no text; a logo, signature or watermark is a defect. The report keeps text accuracy flagged for human review.

常见问题

Is Photo String Art a pattern I can build?

No. Photo String Art produces a picture in the string-art style, not a pattern. It gives no nail count and no winding order, so it cannot be followed to make a physical piece.

Will Photo String Art look like me?

Photo String Art keeps the face and features on a best-effort basis while the medium changes from photo to thread. The likeness comes from line density, so review the identity cues at full size.

Does Photo String Art charge for each portrait?

Yes. Photo String Art calls openai/gpt-image-2.5-flare/edit once and bills your SandBase account. plan runs offline first. The run command checks the inspected estimate against the --budget flag before submitting, and an omitted flag means the Skill's own default, which is also its maximum. Rates are at https://www.sandbase.ai/pricing.

Can Photo String Art use a pet photo?

No. Photo String Art's photo field asks for a selfie or a portrait of a person. Photos of other people need their consent, and identity documents and brand reproduction are excluded.

What size is the Photo String Art image?

Photo String Art returns one 1:1 PNG from a 1k medium-quality edit. Model rounding can move it up to 2% from exact square, and the report states the actual dimensions without any silent resize or crop.