Convert script length to spoken runtime
script_runtimeConvert a word count, or a pasted script, into a spoken runtime range, and convert a target runtime back into a word budget. Rates come from Prepublish's own measurement of 349 videos: 25th percentile 160 words per minute, median 181, 75th percentile 201. Choose this for "how long will this script run" or "how many words for a ten-minute video". It is arithmetic on speaking rate only: it excludes pauses, B-roll and demonstrations, so a finished edit usually runs longer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "script_runtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word_count | No | A word count, if the user already knows it. | |
| script_text | No | A script to count. Provide this or word_count or target_minutes. | |
| target_minutes | No | A target runtime in minutes, to convert into a word budget. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caveat | Yes | What this arithmetic excludes. Repeat it rather than presenting a single number. | |
| source | Yes | Where the rates come from, with the published write-up. | |
| word_count | No | Words counted or supplied. Present when script_text or word_count was given. | |
| word_budget | No | Words needed to fill the target at each rate. Present when target_minutes was given. | |
| target_minutes | No | The target runtime asked for, echoed back. Present when target_minutes was given. | |
| runtime_minutes | No | Spoken runtime in minutes at each rate. Present when script_text or word_count was given. | |
| speaking_rates_words_per_minute | Yes | The measured rates used, in words per minute: slow is the 25th percentile, median the 50th, fast the 75th. |