MiniH3
EnglishWorkflows

Video breakdown report (older, still available)

中文

POSThttps://api.minih3.dev/v1/tools/breakdown

This call is billed to your account. Price: $0.3 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: ["story"] with report_language). With an old skill pack the answer carries a minih3_notice update reminder.
Purpose: give a video, get back a complete breakdown report, ready for scriptwriters, ad buyers and competitor research as well as remakes. The report covers: overview (premise, genre and format, length, storytelling mode); structure (sections and beats with times and shot numbers; the hook in the first 2–3 s, turning points, payoff, ending and call to action); characters (ids, role, relationships, what each wants, their arc); emotional curve (a viewer emotion and a 1–5 intensity per beat); dialogue (speaker and time); shot statistics (shot count, average and median shot length, framing and camera-move distribution); techniques (a reusable formula such as "problem → reveal → twist", why it works, what to keep or change in a remake); timeline and flashbacks.
Returns: report (JSON), markdown (the same report, readable, in the requested language) and shotlist (the full shot list, ready for the remake workflow's plan).
Billing: $0.3 per started minute of video (bill id minih3-tool-breakdown); model usage is included. If the model gives no usable analysis you get 502 and are not charged.
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; at most 30 minutes. Dialogue comes from speech recognition and is quoted as heard, not translated; people are referred to by ids (C1, C2…); what cannot be seen is written unknown, never guessed. 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. For a whole series call breakdown only: its answer already includes the full shot list, so do not call shotlist as well; save each episode yourself. The MCP server cannot run whole episodes yet; use HTTP.
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

NameInTypeRequiredDescription
video_urlbodystringyes

An https video URL, e.g. the media_url from a fetch-*-v1 endpoint

audio_languagebodystringno

Optional dialogue language such as zh or en; detected automatically when omitted

asyncbodybooleanno

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

secondsbodynumberyes

Real video length in seconds; billed on this

languagebodystringno

Report language

enzh
focusbodystringno

Optional: what you care about most (for example: why the opening holds viewers), answered in its own section

Code samples

curl -X POST "https://api.minih3.dev/v1/tools/breakdown" \
  -H "Authorization: Bearer $MINIH3_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "video_url": "https://…/tiktok-7339393672959757570.mp4",
  "seconds": 32.8,
  "language": "zh",
  "focus": "开头 3 秒为什么留得住人"
}'

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

Breakdown report

{
  "report": {
    "schema": "minih3.breakdown.v1",
    "language": "en",
    "overview": {
      "premise": "C1 asks C2 where he was; a flashback shows he lied",
      "genre": "drama",
      "format": "short drama",
      "storytelling_mode": "dialogue",
      "length_seconds": 32.8,
      "shot_count": 14
    },
    "structure": {
      "hook": {
        "start": 0,
        "end": 2.5,
        "shots": [
          1
        ],
        "what": "C1 asks a direct question",
        "why": "an open conflict in the first line"
      },
      "sections": [
        {
          "name": "Setup",
          "start": 0,
          "end": 9.4,
          "shots": [
            1,
            2,
            3,
            4
          ],
          "summary": "…"
        }
      ],
      "turning_points": [
        {
          "t": 9.4,
          "shot": 5,
          "what": "the flashback starts"
        }
      ],
      "payoff": {
        "t": 27.1,
        "shot": 12,
        "what": "the lie is out"
      },
      "ending": {
        "kind": "cliffhanger",
        "what": "C1 stares at C2",
        "cta": ""
      }
    },
    "beats": [
      {
        "t": 0.5,
        "shot": 1,
        "what": "C1 asks",
        "emotion": "curiosity",
        "intensity": 3
      }
    ],
    "emotional_curve": {
      "points": [
        "…"
      ],
      "peak": {
        "t": 27.1,
        "shot": 12,
        "emotion": "surprise",
        "intensity": 5
      }
    },
    "characters": [
      {
        "id": "C1",
        "role": "protagonist",
        "wants": "the truth",
        "arc": "trust to doubt",
        "relationships": [
          {
            "with": "C2",
            "relation": "wife"
          }
        ]
      }
    ],
    "dialogue": [
      {
        "n": 1,
        "start": 0.3,
        "end": 1.6,
        "shot": 1,
        "speaker": "S1",
        "character": "C1",
        "text": "Where were you last night?"
      }
    ],
    "shot_stats": {
      "shot_count": 14,
      "average_seconds": 2.34,
      "median_seconds": 2.1,
      "shots_per_minute": 25.6,
      "framing": [
        {
          "label": "close-up",
          "count": 8,
          "seconds": 17.9,
          "share": 0.571
        }
      ]
    },
    "techniques": {
      "formula": "question → flashback → proof",
      "why_it_works": "…",
      "keep": [
        "…"
      ],
      "change": [
        "…"
      ]
    },
    "timeline": [
      "…"
    ]
  },
  "markdown": "# Video breakdown\n\n## Overview\n…",
  "shotlist": {
    "schema": "minih3.shotlist.v1",
    "shots": [
      "…"
    ]
  }
}

202

Queued (async: true): job_id, status and poll

400

Error

429

Error

502

Error