shorts-picks
The server step of the site's /video-to-shorts: you send the transcript (lines with start times), a model picks self-contained moments with a hook, and our code snaps each to whole lines and to the length bounds. Each clip has start and end (seconds), a title and why it works. The video itself is not sent — cut the clips yourself. Priced exactly like the page, per call. ASYNCHRONOUS: returns 202 with a run id — poll GET /v1/runs/{id} or register a webhook.
v1 beta server · 350 tokens
Price (server): 350 tokens per call; paid plans: −5%, rounded up. The exact figure for your file: POST /v1/tools/shorts-picks/estimate.
Call it
POST https://tembrica.com/v1/tools/shorts-picks/runs
Authorization: Bearer $TIMBRICA_KEY
Idempotency-Key: <your retry-safe key>
Content-Type: application/json
Input
| Field | Type | Required | Notes |
|---|---|---|---|
lines | array | yes | Transcript lines in time order; at most 60 000 characters in all. |
duration | number | no | Length of the video, seconds. Omitted — the last line's time. |
want | integer | no |
How many clips at most.
default: 8 |
min_seconds | number | no | Shortest clip (default 15). |
max_seconds | number | no | Longest clip (default 90). |
lang | string | no |
Language of the titles. Two-letter code.
one of: ru, en, es, pt, fr, de, id, ar, ko, uk, tr default: en |
Errors it can return
validation_failed
too_long
insufficient_tokens
concurrency_limited
upstream_unavailable
History
- v1 — 2026-11-20 — Initial release (server lane, async, the site's price per call).
This contract cannot change without a new version and a line above: a test compares the published schema, pricing and limits against a committed lockfile and fails the build otherwise. Subscribe to /v1/changelog to be told when something moves.