From 076621f809752e0290cb2f2b086534cdf385d79e Mon Sep 17 00:00:00 2001 From: gator Date: Mon, 14 Sep 2026 23:00:30 +0000 Subject: [PATCH] Setup shots: quote the real TTS cost, not "about a cent" A measured run of the 80s NIMBY script came back at $0.1589 for 946 characters - the ElevenLabs rate of $22 per 131,000 - so the copy understated it by more than tenfold. Compute it from the words actually in the box instead. --- script.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/script.html b/script.html index 7e8bbec..8b7d1f9 100644 --- a/script.html +++ b/script.html @@ -281,7 +281,12 @@ function render(r) { '

Setup shots

' + '

Speaks the whole piece once in your pet’s ' + 'voice, measures where every word actually falls, and cuts the shots at real sentence ' - + 'endings. It divides the words — it does not change them. About a cent.

' + + 'endings. It divides the words — it does not change them. ' + // Measured, not guessed: an 80s piece came back at $0.1589 for 946 characters, + // which is the ElevenLabs rate of $22 per 131,000. "About a cent" was wrong by + // more than tenfold, so quote the real number for the words actually on screen. + + 'Costs about ' + Math.max(1, Math.round(narrative.length * 22 / 1310)) + + ' cents at this length.

' + '' + '
';