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

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Illustration](https://www.sandbase.ai/skills/illustration)
- Version: 0.1.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/illustration/photo-to-string-art

## What you get

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

## Install

Download the Skill package from https://www.sandbase.ai/skills/illustration/photo-to-string-art (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

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

## How it works

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

## FAQ

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

## Examples

- String Art Portrait (image)
