Skip to content

v1.1.0 — Audio generation log report

Choose a tag to compare

@dta121 dta121 released this 29 May 11:57
· 17 commits to main since this release

Added — Audio generation log report

A new page under Site administration → Reports → AI Reader audio log that lists every narration asset:

  • Context: the course and the activity (page, or book + chapter) the audio was generated for.
  • Details: language, model and voice, status, when it was generated, and the mp3 file size.
  • Estimated cost per asset, derived from the narration character count and the model used.
  • Failed generations are listed with their failure reason (e.g. "Narration text exceeds max (58501 > 50000 chars)").

The table is sortable, paged, filterable by status, and downloadable (CSV, Excel, etc.). A summary header shows counts by status and the estimated total spend.

Notes

  • Gated by a new local/aireader:viewlog capability (granted to managers by default), so managers can view it without full site-config access.
  • Cost (cost_calculator): tts-1 ($15) and tts-1-hd ($30) use OpenAI's published per-million-character rates; gpt-4o-mini-tts uses a blended $10/million-character estimate. Translation and Whisper alignment are billed separately and excluded. Figures are budgeting estimates, not an invoice.
  • A new nullable inputchars column on local_aireader_asset (captured at generation) drives the estimate. Audio generated before this release has no character count and shows an unknown cost ("—") until regenerated.

Full changelog: v1.0.5...v1.1.0