AI video analysis API: hooks, structure and visuals of short-form videos
The lulubanana creative analysis API reads the video itself (frames sampled densely in the first 3 seconds, on-screen text, measured scene cuts and the transcript) with a vision model, and returns a structured breakdown: the hook, the opening → body → payoff → ending structure, visual presentation, storytelling techniques and a mechanism hypothesis, each with timestamped evidence and a confidence.
What is the ai video & creative analysis API?
The lulubanana creative analysis API reads the video itself (frames sampled densely in the first 3 seconds, on-screen text, measured scene cuts and the transcript) with a vision model, and returns a structured breakdown: the hook, the opening → body → payoff → ending structure, visual presentation, storytelling techniques and a mechanism hypothesis, each with timestamped evidence and a confidence.
lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). It is built for developers, content teams and autonomous AI agents that need evidence-backed answers instead of raw posts: every result keeps its source videos and marks what is measured and what is an AI reading.
8 things you can do with the AI video analysis API
- Extract the spoken and on-screen opening hook
- Classify hook categories and the psychological mechanism
- Break down opening, body, payoff and ending, including whether the payoff keeps the promise
- Describe presentation: talking head or faceless, camera, setting, text overlays, B-roll, split screen, screen recording
- Measure cuts per 10 seconds and average shot length
- List storytelling and retention techniques
- Get timestamped evidence for every observation
- Know when a video could not be inspected (status incomplete)
How it works
- Send POST /videos/{id}/analyze (free, 20 a day; analysed once and shared).
- Poll GET /analysis/jobs/{id}, or read GET /videos/{id}/analysis.
- Read hook, structure, visual (with measured cuts), storytelling_techniques, mechanism_explanation, evidence and confidence.
Endpoints
| Endpoint | What it does | Cost |
|---|---|---|
POST /videos | Frame-level creative breakdown of the video itself | Free |
GET /videos | The creative breakdown of a video, or its status (not_analysed, incomplete with the… | Free |
GET /analysis | Status and result of an analysis job (opportunities, comments, comment insights,… | Free |
Frame-level creative breakdown of the video itself
Frame-level creative breakdown of the video itself: frames (dense in the first 3 s), on-screen text, measured cuts and the transcript are read by a vision model into hook (spoken and on-screen opening, first frame, categories, mechanism, curiosity gap, promise, problem, tone), opening → body → payoff → ending structure, visual presentation, storytelling techniques and a mechanism hypothesis, with timestamped evidence and confidence. Done once per video and shared. Included, 20 a day. If the video cannot be fetched the status says incomplete: a caption is never passed off as video analysis.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl -X POST "https://lulubanana.com/api/v1/videos/tt7581234567890123456/analyze" \
-H "Authorization: Bearer $LULUBANANA_KEY" \
-H "Content-Type: application/json" \
-d '{}'import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.create_videos_analyze("tt7581234567890123456", {})import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.create_videos_analyze("tt7581234567890123456", {});Example reply
{
"data": {
"video_id": "tt7581234567890123456",
"status": "queued",
"job_id": 1003,
"poll_url": "/api/v1/analysis/jobs/1003",
"result_url": "/api/v1/videos/tt7581234567890123456/analysis"
}
}The creative breakdown of a video, or its status (not_analysed, incomplete with the…
The creative breakdown of a video, or its status (not_analysed, incomplete with the reason).
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl "https://lulubanana.com/api/v1/videos/tt7581234567890123456/analysis" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_videos_analysis("tt7581234567890123456")import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_videos_analysis("tt7581234567890123456");Example reply (real data, trimmed)
{
"data": {
"video_id": "ytssBlEj4A8Io",
"status": "complete",
"analysed_at": "2026-11-23T10:19:06.558Z",
"hook": {
"problem": "Glitter mess, implied by the spoken line about it being easier to move than to clean up.",
"promise": "Ranking the best glitter trend, with No. 1 as the best.",
"categories": [
"listicle",
"curiosity"
],
"first_frame": "A woman with wavy, light-brown hair in close-up, holding a lighter-shaped glitter object toward the camera against a dark purple-blue bac…",
"curiosity_gap": "Which glitter trend ranks #1, and what the rest of the list will say, is withheld until the list fills in.",
"emotional_tone": "Playful, lighthearted and comedic.",
"on_screen_text": "(No 1 is best) / Ranking The Best / Glitter Trend / 1. / 3. / 5.",
"spoken_opening": "Ranking the best glitter trend. Now it's easier to move than to clean up.",
"connects_to_body": "Each numbered slot is filled in over the video, so the viewer keeps watching to see the list complete.",
"initial_movement": "The hand thrusts the glitter object toward the camera in a quick close-up.",
"psychological_mechanism": "A numbered ranking with blank slots invites the viewer to wait for each slot to fill, and the 'No 1 is best' framing sets up a payoff at …"
},
"note": "A structured reading of the frames, on-screen text, cuts and transcript. Explanations are hypotheses, not proof of why the video worked. …",
"inputs": {
"frames": 12,
"method": "ai",
"transcript": true,
"frame_times": [
0,
0.5
],
"on_screen_text_read": true
},
"visual": {
"b_roll": true,
"pacing": "fast",
"setting": "Dark purple-blue backdrop in the opening, then a bedroom with a shelf and wall decor, then a dark room, then a home interior with curtains.",
"measured": {
"cuts": 12,
"cuts_per_10s": 2.8,
"analysed_seconds": 42.5,
"average_shot_seconds": 3.3
},
"camera_angle": "Close-up, front-facing, with products thrust toward the lens in the opening and middle frames.",
"presentation": "talking_head",
"split_screen": false,
"text_overlays": "heavy",
"people_visible": 1,
"motion_graphics": true,
"screen_recording": false,
"caption_placement": "Title and numbered list in the upper-left and top-centre; single-word captions in the lower-middle of the frame.",
"recurring_patterns": [
"numbered ranking overlay",
"product close-up"
],
"demonstration_style": "Holding and showing glitter products toward the camera, with glitter falling or covering the frame in later shots.",
"lighting_and_production": "Ambient coloured lighting in the opening, then natural or indoor lighting; glitter particles are added in several shots."
},
"evidence": [
{
"t": 0,
"observation": "Title card '(No 1 is best) / Ranking The Best' and the numbered list 1, 3, 5 appear, with the woman thrusting a lighter-shaped object tow…"
},
{
"t": 0.5,
"observation": "'Glitter Trend' heading appears and the caption 'BEST' is shown."
}
],
"structure": {
"body": {
"progression": "Moves from a product-focused opening, to the cleaning and mess references, to fuller glitter-covered scenes, and finally to the #1 slot b…",
"question_or_problem": "Which glitter trend is the best?",
"retention_techniques": [
"progressive list reveal"
],
"information_delivered": "Ranking slots are filled in progressively: slot 3 'House full of glitter', slot 4 'A lot of glitter', slot 5 'She's cute', slot 2 'On pur…",
"examples_or_demonstrations": "A woman holds up a lighter-shaped glitter item, then a purple-capped glitter spray, then a pink-capped tube, and glitter fills the frame …"
},
"ending": {
"encourages": [],
"how_it_ends": "The final frame shows the completed list over a glitter-filled scene; the transcript ends mid-sentence.",
"call_to_action": ""
},
"payoff": {
"what_is_delivered": "By the final frame all five slots are filled, with '1. She won' at the top of the list.",
"resolves_curiosity_gap": true,
"fulfils_opening_promise": true
},
"opening": "The title card, the 1–5 ranking frame and a product close-up grab attention, while the actual ranked items and the #1 result are withheld."
},
"confidence": 0.7,
"mechanism_explanation": "The ranking format keeps the viewer watching for each slot to fill, and the blank #1 slot creates a reason to stay until the end. Quick s…",
"storytelling_techniques": [
"ranked list reveal",
"escalating reveal"
]
}
}Status and result of an analysis job (opportunities, comments, comment insights,…
Status and result of an analysis job (opportunities, comments, comment insights, creator baseline, creative breakdown, content briefs, hook recommendations, and the search jobs: intent, demand, Google and YouTube results audits, search opportunities). Poll every 10 s until completed or failed (a search opportunity job waiting for its research run says collecting: poll every minute). A failed paid check is refunded.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | The id in the path |
curl "https://lulubanana.com/api/v1/analysis/jobs/1001" \
-H "Authorization: Bearer $LULUBANANA_KEY"import os
from lulubanana import Lulubanana
lb = Lulubanana(os.environ["LULUBANANA_KEY"])
r = lb.get_analysis_jobs_item(1001)import { Lulubanana } from './lulubanana.mjs';
const lb = new Lulubanana(process.env.LULUBANANA_KEY);
const r = await lb.get_analysis_jobs_item(1001);AI video & creative analysis: frequently asked questions
Does lulubanana analyse the actual video or only the caption?
The actual video: frames, on-screen text, measured cuts and the transcript. When a video cannot be fetched (slideshows, removed posts) the status is incomplete and only the caption is known; it is never passed off as a video analysis.
Which numbers are measured and which are AI readings?
Cut counts, cuts per 10 seconds and average shot length are measured. Descriptions, categories and the mechanism explanation are AI readings and hypotheses, with timestamped evidence.
How much does a creative breakdown cost?
It is included (free) up to 20 a day per account. Each video is analysed once and shared, so asking again is instant.