photo-restylerlisted
Install: claude install-skill nanoodlecom/noodle-skills
# Photo restyler
Runs the bundled nanoodle workflow `workflows/photo-restyler.noodle-graph.json` against the
NanoGPT API: an image input (`Photo`) plus a style instruction (`Style`) feed an image-edit
model that outputs the transformed picture (`Restyled`). Requires Node.js >= 20 and the
`nanoodle` npm package (`npx nanoodle` fetches it).
## API key
The run needs a NanoGPT API key. Prefer `NANOGPT_API_KEY` already in the environment.
Otherwise pass `--env-file <path-to-.env>` (this CLI: `--env-file` overrides ambient env).
Never print the key.
## Run
From this skill's directory (or prefix paths if running from elsewhere). `@path` attaches a
local file; replace both values:
```sh
npx nanoodle run workflows/photo-restyler.noodle-graph.json \
--input "Photo=@/path/to/photo.jpg" \
--input "Style=make it look like a vintage 1970s film photograph — warm faded colors, soft grain, slight vignette" \
--out ./restyle-out
```
Add `--env-file .env` only when the key is not already exported. Add `--json` for a
structured result (paths, costUsd, remainingBalance).
Inspect the interface anytime with:
```sh
npx nanoodle inspect workflows/photo-restyler.noodle-graph.json
```
## Inputs
| Key | Required | What to pass |
|-----|----------|--------------|
| `Photo` | yes | `@<path>` to the user's image file (jpg/png/webp) |
| `Style` | yes | The restyle instruction in plain English |
## Outputs
- Media is saved under `--out` as `Restyled.<ext>` — extension follows the image MI