CommunityImagegithub.com

pollinations-comic

Turn an idea into a 4-panel comic strip with Pollinations models. Use when the user wants a comic, a storyboard, an illustrated short story, or any creative picture story. Writes the script with a text model, draws the panels with an image model, and assembles a shareable comic page.

What is pollinations-comic?

pollinations-comic is a Codex agent skill that turn an idea into a 4-panel comic strip with Pollinations models. Use when the user wants a comic, a storyboard, an illustrated short story, or any creative picture story. Writes the script with a text model, draws the panels with an image model, and assembles a shareable comic page.

Works with~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/onvavite/pollinations-comic-skill/tree/HEAD

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

pollinations-comic — Make a 4-panel comic with Pollinations

Turn one idea into a finished 4-panel comic strip: a script from a Pollinations text model, four panels from a Pollinations image model, and a single HTML page that shows the strip with captions.

Setup

You need the Pollinations API. Prefer the polli CLI when it is installed (see the polli skill); otherwise call the REST API directly (see the pollinations-api skill). Never paste an API key into a chat, a file, or a command argument — use polli auth login or the POLLINATIONS_API_KEY environment variable.

Cheap defaults that work:

  • Text (script): openai/gpt-5.4-nano — fast and near-free.
  • Image (panels): black-forest-labs/flux.1-schnell — fast, ~$0.002/panel.

Check current IDs first: polli models --type image, polli models --type text.

Workflow

1. Ask for the idea (or invent one)

One hero, one place, one small twist. Keep it to a single sentence, e.g. "Pip, a small round robot bee, finds a magic flower that paints pictures from spoken words."

2. Write the script (text model)

polli gen text "Write a 4-panel comic script. Hero: <hero>. Story: <idea>.
For each panel give: one short caption (max 10 words) and one visual
description (one sentence). Format as Panel 1..4." --model openai/gpt-5.4-nano

Save the result as script.md in the output folder.

3. Draw the panels (image model)

One call per panel. Repeat the same character description and the same style words in every prompt — that is what keeps the hero recognisable from panel to panel:

polli gen image "flat vector comic panel, <character description, repeated verbatim>, <panel visual from the script>, bold outlines" \
  --model black-forest-labs/flux.1-schnell --output panel1.jpg

Rules:

  • Same style prefix in all four prompts (flat vector comic panel, bold outlines, or whatever the user picked).
  • Same character sentence in all four prompts, word for word.
  • One new visual element per panel from the script — never rewrite the character.
  • If a panel comes back wrong (wrong character, missing element), regenerate that panel only, with the missing element stated first in the prompt.

4. Assemble the comic page

Write an index.html next to the panels: title, the four images in a row (or 2×2 on narrow screens), and each panel's caption underneath. Keep it a single self-contained file that opens in any browser. Example: examples/pip/index.html in this repo.

Also export a 16:9 contact sheet (screenshot.png, 1280×720) for sharing — four panels in a row with captions, title on top.

5. Show it and check it

Open the page / contact sheet and verify before calling it done:

  • Same hero in all four panels (shape, colours, key features).
  • Each caption matches its picture.
  • The story reads left to right in four beats: setup → twist → turn → payoff.

If a panel fails a check, regenerate it (step 3) — never ship a panel you know is wrong.

Cost

A full comic costs about $0.01 on the defaults above (1 short text call

  • 4 images). If the user's balance is low, say so before generating and offer to draw fewer panels or a cheaper model.

Example

examples/pip/ — "Pip the Pollen Bee", made end to end with this skill: script, 4 panels, HTML page and 16:9 contact sheet. Total spend: ~$0.01.

Related Skills