Skip to content
Back to skills

Narrated Poem

ASecurity

Turn a picture into a spoken poem — a vision model describes the image, an LLM writes a short poem from the description, and a text-to-speech model narrates it. Use when the user wants a poem, narration, or spoken-word piece inspired by an image file.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 25, 2026
ai-agentsnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 19, 2026

npx -y skills add nanoodlecom/noodle-skills --skill narrated-poem --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Narrated Poem?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Narrated Poem
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nanoodlecom-narrated-poem/badge)](https://www.skillsdirectory.com/skills/nanoodlecom-narrated-poem)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: narrated-poem
description: Turn a picture into a spoken poem — a vision model describes the image, an LLM writes a short poem from the description, and a text-to-speech model narrates it. Use when the user wants a poem, narration, or spoken-word piece inspired by an image file.
---

# Narrated poem

Runs the bundled nanoodle workflow `workflows/narrated-poem.noodle-graph.json` against the
NanoGPT API: an image input (`Picture`) feeds a vision model that describes it, an LLM turns
the description into a four-line poem, and a TTS model speaks it (`Narration`). Requires
Node.js 22.23.5+, 24.22.3+, or 26.13.1+ 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:

```sh
npx nanoodle run workflows/narrated-poem.noodle-graph.json \
  --input "Picture=@/path/to/picture.jpg" \
  --out ./poem-out
```

Add `--env-file .env` only when the key is not already exported. Add `--json` for a
structured result (paths, costUsd, remainingBalance).

Optional overrides:

```sh
--input "Poet=<custom poet instructions, e.g. write a limerick instead>"
--set "n4.voice=am_michael"        # pick a Kokoro voice (af_bella, am_adam, bf_emma, …)
--set "n2.q=<different question to ask about the image>"
```

Inspect the interface anytime with:

```sh
npx nanoodle inspect workflows/narrated-poem.noodle-graph.json
```

## Inputs

| Key | Required | What to pass |
|-----|----------|--------------|
| `Picture` | yes | `@<path>` to the user's image file (jpg/png/webp) |
| `Poet` | no | Custom instructions for the poem-writing LLM (its system prompt) |

`Poet` is the node name shown in the editor. It replaces that node's system prompt.

## Outputs

- Media is saved under `--out` as `Narration.<ext>` — extension follows the audio MIME
  (often `mp3` or `wav`). **Use the path the CLI prints on the `Narration:` line**; do not
  hard-code the extension.
- With `--json`, the path is in `outputs.Narration`.

## Cost

Each run costs about **$0.01** in NanoGPT credit (vision + LLM are fractions of a cent;
`Kokoro-82m` speech is ~$0.002 per poem). Runs spend real credit — tell the user before
running repeatedly.

Files in this skill

  • SKILL.md2.4 KB
  • workflows/narrated-poem.noodle-graph.json1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.