A shell lesson turned into presenter slides

A Software Carpentry lesson on pipes and filters became 10 presenter slides with almost no text. See every slide, the request, its cost and our check.

How this was made. Audio and video overviews, slide decks, infographics and quizzes are made with Google's Gemini Notebook (formerly NotebookLM), on accounts that AutoContent operates. AutoContent has no agreement with Google. Google can limit or stop this access at any time.

A shell lesson turned into presenter slides, slide 1 of 10A shell lesson turned into presenter slides, slide 2 of 10A shell lesson turned into presenter slides, slide 3 of 10
Show all 10 slides
A shell lesson turned into presenter slides, slide 4 of 10A shell lesson turned into presenter slides, slide 5 of 10A shell lesson turned into presenter slides, slide 6 of 10A shell lesson turned into presenter slides, slide 7 of 10A shell lesson turned into presenter slides, slide 8 of 10A shell lesson turned into presenter slides, slide 9 of 10A shell lesson turned into presenter slides, slide 10 of 10

The deck is a PDF: each slide is a picture, so its text cannot be edited.

AI-generated with AutoContent APIDownload PDF
Slides
10 slides
Credits used
10 credits
Cost on the Starter plan
€0.29
Generation time
11 min 44 s
Format
Slide deck
Job
Course lessons
Language
English
Generated on
2026-11-02
Make this with the API

This output used 10 credits, which is €0.29 on the Starter plan (€29 per month for 1,000 credits). Failed generations use none. Generation time runs from the request to the finished file; it depends on the sources, the options and the queue.

What came out, and what we would change

We asked for presenter slides for a short class, with one command example per slide, and set slideDeckFormat to presenter and duration to short. The result is 10 slides that each carry a picture, a title and one command, and leave the explanation to the speaker: a factory theme where wc is a counting machine, a file is a crate, and the pipe is a conveyor belt.

The commands and results are the lesson's own: ls *.pdb, wc -l *.pdb, the redirect to lengths.txt with the warning that > overwrites a file without asking, sort -n, head -n 1, the pipe, and the full pipeline that ends with methane.pdb as the shortest file. Each command sits in a terminal line on the slide, so a class can type it as it is. The last slide sorts the tools into filters, pipes, > and >>.

Small flaws: the sort machine shows the -n switch twice, and the strips of numbers in the pictures are decoration rather than exact output. The PDF carries no speaker notes, so the teacher still needs the lesson text. Our badge sits in the bottom-right corner of each slide; on this deck it covers nothing.

The deck took 11 min 44 s to generate and used 10 credits, the same as a podcast. Presenter slides suit classes, talks and team demos where someone speaks over them: send the lesson or the talk notes as the source and say how long the session is. For slides that explain themselves without a speaker, use detailed, as in the Kubernetes deck example.

Text on the slides

Taken from the PDF, not edited. It is part of the sample output.

How do we find the shortest file without opening them all? $ ls *.pdb

The Shipping Container. Silent Overwrite: Existing boxes with the same name are destroyed without warning. $ wc -l *.pdb > lengths.txt

The Complete Pipeline. $ wc -l *.pdb | sort -n | head -n 1

The exact request

The body that was sent to POST /content/Create, unchanged, and the same request as curl.

request.json
{
  "resources": [
    {
      "type": "website",
      "content": "https://swcarpentry.github.io/shell-novice/04-pipefilter.html"
    }
  ],
  "outputType": "slide_deck",
  "slideDeckFormat": "presenter",
  "duration": "short",
  "text": "Presenter slides for a short class on pipes and filters: wc, sort, head, redirection and the pipe operator, with one command example per slide.",
  "language": "English"
}
curl
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer $AUTOCONTENT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resources":[{"type":"website","content":"https://swcarpentry.github.io/shell-novice/04-pipefilter.html"}],"outputType":"slide_deck","slideDeckFormat":"presenter","duration":"short","text":"Presenter slides for a short class on pipes and filters: wc, sort, head, redirection and the pipe operator, with one command example per slide.","language":"English"}'
# then poll until "status" is 100:
curl -H "Authorization: Bearer $AUTOCONTENT_API_KEY" "https://api.autocontentapi.com/content/Status/<request_id>"

How we checked it

Text
We read the text of every slide against the source page and looked at every slide.
Notes
The commands, the overwrite warning and the result match the lesson. Decorative glitches only.
Checked on
2026-11-02. Failed generations are run again and never published.