Shot list from a video (older, still available)
POSThttps://api.minih3.dev/v1/tools/shotlist
This call is billed to your account. Price: $0.01 per minute of video, rounded up
Older, still available: it works and is billed as before. New integrations use POST /v1/tools/breakdown-v1 (contents: ["shot"]). With an old skill pack the answer carries a minih3_notice update reminder.
Purpose: break a reference video into a structured shot list (timing, framing, camera move, dialogue, on-screen text) plus a story pass.
On-screen text: each shot's on_screen_text_items is a list of {text, kind, on}, one item per piece, copied verbatim. kind is either text added in editing (subtitle, name_card, title for title and POV cards, watermark, sticker; on is empty) or text physically in the scene (sign, screen for phone and computer screens, print for packaging, paper, books and labels, other_scene; on names the object it is on). text_format: 2 marks a shot written this way. on_screen_text joins every piece into one string for old readers and is deprecated.
Billing: $0.01 per minute of video, rounded up (bill id minih3-tool-shotlist); model usage is included.
Notes: seconds is required and must be the real length; if the video is more than 1 s longer you get 400 longer_than_stated. 429 when busy; retry in a minute. A run can take from a few minutes to half an hour (more shots, longer) and runs one at a time, with up to 15 minutes in the queue: set your client timeout to 60 minutes or more. The video file must be 200 MB or smaller (otherwise 400 too_large, not charged). If the connection drops, the run still finishes and is charged, so do not cancel or retry while waiting. Dialogue language is detected automatically; set audio_language (e.g. zh, en) to force it.
After a dropped connection or timeout, do not send the same video again: the run still finishes and is charged, and its result cannot be fetched afterwards (async avoids this). A run has a 50-minute limit; past it you still get a 200 with the remaining visual batches and the story layer skipped, report.layers.visual partial and report.layers.time_budget exceeded, billed in full. When the video states a character name, characters[] carries name and name_source (the evidence); names are never invented or translated.
Pass async: true to run it asynchronously (recommended, especially for long videos): you get 202 and a job_id at once, then poll GET /v1/tools/jobs/{job_id} about every 15 seconds; you are charged only when the result is delivered, so a dropped connection costs nothing.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
video_url | body | string | yes | An https video URL, e.g. the media_url from a fetch-*-v1 endpoint |
audio_language | body | string | no | Optional dialogue language such as zh or en; detected automatically when omitted |
async | body | boolean | no | Optional. true runs it asynchronously: you get 202 and a job id at once, then fetch the result with GET /v1/tools/jobs/{job_id}; charged only when the result is delivered |
seconds | body | number | yes | Real video length in seconds; billed on this |
Code samples
curl -X POST "https://api.minih3.dev/v1/tools/shotlist" \
-H "Authorization: Bearer $MINIH3_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_url": "https://…/tiktok-7339393672959757570.mp4",
"seconds": 32.8
}'Try it
Kept in this browser tab only (sessionStorage) and sent straight to api.minih3.dev; it never reaches this site.
Enter your key to send.Responses
200
Shot list
202
Queued (async: true): job_id, status and poll
400
Error
429
Error