{ "code": 200, "message": "SUCCESS", "data": { "data": { "summary": "The video shows a young woman named Kiara, who is an Omega from the Blood Moon Pack. She is being hunted by Wendigos, creatures that are attracted to her. Her own pack considers her a jinx and treats her badly, especially her stepmother and stepsister, because they believe she brings the Wendigos to them.\n\nOne day, while being chased by a Wendigo, Kiara is rescued by Alejandro Rossi, the Alpha of the Ironclaw Pack. He takes her to his home, where she learns that he is the \"Alpha King\" who protects all the packs. Kiara is surprised because she had been told he was cold-hearted and ruthless.\n\nAlejandro keeps Kiara at his home to investigate why Wendigos are drawn to her. He discovers that she has a connection to the Moon Goddess, who tells Kiara that Alejandro is her destined mate and that their love will be tested.\n\nKiara and Alejandro develop a strong bond. He heals her wounds and helps her train to become a strong wolf. They also spend time together, going out for donuts, which Kiara had never had before.\n\nHowever, their relationship faces challenges. Alejandro has another mate, Jasmine, who is possessive and tries to hurt Kiara. The video ends with a cliffhanger, as Jasmine confronts Kiara and threatens her.", "usage": { "duration": 0.0, "model": "gemini-2.5-flash", "output_tokens": 264, "prompt_tokens": 215102 } }, "msg": "Video summary completed successfully", "success": true }, "task_id": "67d848a979ae40ce927cfccf862e5e96"}
Video Task APIs
Video Summary
Generate an AI summary of a video’s content asynchronously.
{ "code": 200, "message": "SUCCESS", "data": { "data": { "summary": "The video shows a young woman named Kiara, who is an Omega from the Blood Moon Pack. She is being hunted by Wendigos, creatures that are attracted to her. Her own pack considers her a jinx and treats her badly, especially her stepmother and stepsister, because they believe she brings the Wendigos to them.\n\nOne day, while being chased by a Wendigo, Kiara is rescued by Alejandro Rossi, the Alpha of the Ironclaw Pack. He takes her to his home, where she learns that he is the \"Alpha King\" who protects all the packs. Kiara is surprised because she had been told he was cold-hearted and ruthless.\n\nAlejandro keeps Kiara at his home to investigate why Wendigos are drawn to her. He discovers that she has a connection to the Moon Goddess, who tells Kiara that Alejandro is her destined mate and that their love will be tested.\n\nKiara and Alejandro develop a strong bond. He heals her wounds and helps her train to become a strong wolf. They also spend time together, going out for donuts, which Kiara had never had before.\n\nHowever, their relationship faces challenges. Alejandro has another mate, Jasmine, who is possessive and tries to hurt Kiara. The video ends with a cliffhanger, as Jasmine confronts Kiara and threatens her.", "usage": { "duration": 0.0, "model": "gemini-2.5-flash", "output_tokens": 264, "prompt_tokens": 215102 } }, "msg": "Video summary completed successfully", "success": true }, "task_id": "67d848a979ae40ce927cfccf862e5e96"}
Product: Visual Intelligence — Video Task APIs (application layer)
Use case: Pre-packaged video analysis tasks built on top of the Video Model APIs — fixed prompt + workflow, you just POST a video and get a structured result. For full control over prompt and model selection, see Video Model APIs.
Host: https://mavi-backend.memories.ai/serve/api/v2Auth: Authorization: sk-mavi-... (no Bearer prefix)
Generates a narrative summary of a video using Gemini — what the video is about, key events, people, and storyline. Processes the full video context in one pass.
This is an async endpoint. You must configure a webhook URL in Webhooks Settings before calling this endpoint, otherwise you will not receive the processing results. See Webhooks Configuration Guide for details.
{ "code": 200, "message": "SUCCESS", "data": { "data": { "summary": "The video shows a young woman named Kiara, who is an Omega from the Blood Moon Pack. She is being hunted by Wendigos, creatures that are attracted to her. Her own pack considers her a jinx and treats her badly, especially her stepmother and stepsister, because they believe she brings the Wendigos to them.\n\nOne day, while being chased by a Wendigo, Kiara is rescued by Alejandro Rossi, the Alpha of the Ironclaw Pack. He takes her to his home, where she learns that he is the \"Alpha King\" who protects all the packs. Kiara is surprised because she had been told he was cold-hearted and ruthless.\n\nAlejandro keeps Kiara at his home to investigate why Wendigos are drawn to her. He discovers that she has a connection to the Moon Goddess, who tells Kiara that Alejandro is her destined mate and that their love will be tested.\n\nKiara and Alejandro develop a strong bond. He heals her wounds and helps her train to become a strong wolf. They also spend time together, going out for donuts, which Kiara had never had before.\n\nHowever, their relationship faces challenges. Alejandro has another mate, Jasmine, who is possessive and tries to hurt Kiara. The video ends with a cliffhanger, as Jasmine confronts Kiara and threatens her.", "usage": { "duration": 0.0, "model": "gemini-2.5-flash", "output_tokens": 264, "prompt_tokens": 215102 } }, "msg": "Video summary completed successfully", "success": true }, "task_id": "67d848a979ae40ce927cfccf862e5e96"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Memories.ai API","colors":{"primary":"#5026A4","light":"#A78BFA","dark":"#5026A4"},"logo":{"light":"https://mintcdn.com/memories/xyhRN3OJaXxxzcxh/logo/logo.png?fit=max\u0026auto=format\u0026n=xyhRN3OJaXxxzcxh\u0026q=85\u0026s=77ec93feefafd5196ff9c2b10130af40","dark":"https://mintcdn.com/memories/xyhRN3OJaXxxzcxh/logo/logo.png?fit=max\u0026auto=format\u0026n=xyhRN3OJaXxxzcxh\u0026q=85\u0026s=77ec93feefafd5196ff9c2b10130af40"},"favicon":"https://mintcdn.com/memories/OotoxKsfqNLDNzcT/favicon.svg?fit=max\u0026auto=format\u0026n=OotoxKsfqNLDNzcT\u0026q=85\u0026s=bc23cbb454306f09fc68c20f6551c691","api":{"openapi":["datalake/openapi.json","visual-intelligence/openapi.json","visual-intelligence/base/openapi.json","visual-intelligence/transcript/openapi.json","visual-intelligence/embeddings/openapi.json","visual-intelligence/stream/openapi.json","visual-intelligence/stream/understanding-openapi.json","visual-intelligence/scraper/openapi.json","visual-intelligence/video-metadata-transcript/openapi.json","visual-intelligence/gemini/openapi.json","visual-intelligence/gpt/openapi.json","visual-intelligence/nova/openapi.json","visual-intelligence/qwen/openapi.json","visual-search/openapi.json","visual-agents/openapi.json","visual-agents/screenplay/openapi.json"],"playground":{"display":"interactive","proxy":false}},"navbar":{"links":[{"href":"mailto:support@memories.ai","label":"Tech Support"},{"href":"https://memories.ai/contact-sales","label":"Contact Sales"},{"href":"https://discord.gg/kStNGZ7Q","label":"Discord"},{"href":"https://github.com/Memories-ai-labs/memories-cli","label":"Memories CLI"},{"href":"https://console.memories.ai","label":"Console"}]},"footer":{"socials":{"twitter":"https://twitter.com/memories_ai","github":"https://github.com/memories-ai","linkedin":"https://www.linkedin.com/company/memories-ai"}},"fonts":{"heading":{"family":"Manrope"},"body":{"family":"Manrope"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"memories","hasAudioNarration":false,"actualSubdomain":"memories","customDomains":["docs.memories.ai"],"gitSource":{"type":"github","owner":"memories-ai-official","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aee8cd47e56ae076de71b34","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Visual Intelligence","count":61},{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Visual Search","count":39},{"language":"default","tag":"Visual Agents","count":24},{"language":"default","tag":"Social Media Scraping","count":19},{"language":"default","tag":"Search","count":11},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Index Upload","count":10},{"language":"default","tag":"Moments \u0026 Derived Content","count":9},{"language":"default","tag":"Videos","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@layer properties, theme, base, components, utilities;.mdx-content a.link{color:rgb(var(--primary))}.dark .mdx-content a.link{color:rgb(var(--primary-light))}ul.sidebar-group li[data-active=\"true\"]>a,ul.sidebar-group a[aria-current=\"page\"]{background-color:rgb(24 24 27 / 0.05);color:#18181b;text-shadow:none;font-weight:600}.dark ul.sidebar-group li[data-active=\"true\"]>a,.dark ul.sidebar-group a[aria-current=\"page\"]{background-color:rgb(250 250 250 / 0.06);color:#fafafa}.mobile-nav-tabs-item[data-active=\"true\"],.mobile-nav-tabs-item[data-active=\"true\"] svg{color:#18181b}.dark .mobile-nav-tabs-item[data-active=\"true\"],.dark .mobile-nav-tabs-item[data-active=\"true\"] svg{color:#fafafa}ul.sidebar-group,ul.sidebar-group ul{border-left:1px solid rgb(24 24 27 / 0.15);margin-left:0.5rem;padding-left:0.5rem}.dark ul.sidebar-group,.dark ul.sidebar-group ul{border-left-color:rgb(250 250 250 / 0.18)}.eyebrow{display:none}@media (min-width: 1280px){html[data-current-path=\"/home/overview\"] nav:has(ul.sidebar-group),html[data-current-path=\"/home/overview\"] div[class*=\"w-[18rem]\"]:has(ul.sidebar-group){display:none}html[data-current-path=\"/home/overview\"] .flex-row-reverse{flex-direction:row;column-gap:0}html[data-current-path=\"/home/overview\"] .flex-row-reverse>div:last-child{padding-left:2.7rem;margin-left:0;width:100%}}html[data-current-path=\"/home/overview\"] div.pl-10:has(ul.toc){padding-left:0.5rem;width:18rem}html[data-current-path=\"/home/overview\"] div.sticky:has(ul.toc){top:calc(\n var(--mintlify-slot-header-height, calc(4rem + var(--topbar-tabs-height, 0rem))) + 2rem\n );height:calc(100vh - 9rem);margin-top:-0.5rem}html[data-current-path=\"/home/overview\"] div[class*=\"w-[16.5rem]\"]:has(ul.toc){width:15.5rem}html[data-current-path=\"/home/overview\"] ul.toc{--toc-pad: 0.5rem;border-left-color:rgb(24 24 27 / 0.15)}html.dark[data-current-path=\"/home/overview\"] ul.toc{border-left-color:rgb(250 250 250 / 0.18)}html[data-current-path=\"/home/overview\"] ul.toc li.toc-item>a{padding:0.375rem 0.75rem 0.375rem 1rem!important}html[data-current-path=\"/home/overview\"] ul.toc li.toc-item+li.toc-item,html[data-current-path=\"/home/overview\"] ul.toc ul li.toc-item:first-child{margin-top:1px}html[data-current-path=\"/home/overview\"] ul.toc ul li.toc-item>a{margin-left:1rem}html[data-current-path=\"/home/overview\"] ul.toc ul ul li.toc-item>a{margin-left:2rem}html[data-current-path=\"/home/overview\"] li.toc-item[data-active]::before{display:none}html[data-current-path=\"/home/overview\"] li.toc-item[data-active]:not(:has(.toc-item[data-active]))>a{background-color:rgb(24 24 27 / 0.05);border-radius:0.75rem;color:#18181b;font-weight:600}html.dark[data-current-path=\"/home/overview\"] li.toc-item[data-active]:not(:has(.toc-item[data-active]))>a{background-color:rgb(250 250 250 / 0.06);color:#fafafa}html[data-current-path=\"/home/overview\"] [data-mai-toc-heading]{padding-left:0.5rem;margin-bottom:0.625rem;font-weight:600;color:rgb(25 23 27)}html.dark[data-current-path=\"/home/overview\"] [data-mai-toc-heading]{color:rgb(224 223 227)}.nav-tabs-item,.nav-tabs-item *,ul.toc li.toc-item>a{text-shadow:none}.nav-tabs-item[aria-current=\"page\"],.nav-tabs-item[data-active=\"true\"],.nav-tabs-item:has(div[class*=\"bg-primary\"]){font-weight:600}.nav-tabs-item div[class*=\"bg-primary\"]{background-color:#1a1a1e}.dark .nav-tabs-item div[class*=\"bg-primary\"]{background-color:#fafafa}ul.toc{--toc-pad: 1rem;border-left:1px solid rgb(24 24 27 / 0.15);padding-left:var(--toc-pad);margin-left:0}.dark ul.toc{border-left-color:rgb(250 250 250 / 0.18)}li.toc-item{position:relative}li.toc-item[data-active]:not(:has(.toc-item[data-active]))::before{content:\"\";position:absolute;left:calc(-1 * var(--toc-pad) - 1px);top:0.15rem;bottom:0.15rem;width:2px;border-radius:2px;background-color:#18181b}.dark li.toc-item[data-active]:not(:has(.toc-item[data-active]))::before{background-color:#fafafa}li.toc-item[data-active]:not(:has(.toc-item[data-active]))>a,ul.toc a[aria-current=\"location\"]{color:#18181b;font-weight:600}.dark li.toc-item[data-active]:not(:has(.toc-item[data-active]))>a,.dark ul.toc a[aria-current=\"location\"]{color:#fafafa}li.toc-item[data-active]:has(.toc-item[data-active])>a{color:rgb(82 81 85);text-shadow:none}.dark li.toc-item[data-active]:has(.toc-item[data-active])>a{color:rgb(160 159 163)}[data-mai-toc-heading] svg{display:none}[data-mai-toc-heading]>:not(svg){margin-left:0!important}@layer components{.card.card:hover,.card.card:focus,.card.card:focus-within,.card.card:focus-visible,.card.card[data-active]{border-color:rgb(24 24 27 / 0.25)!important}.dark .card.card:hover,.dark .card.card:focus,.dark .card.card:focus-within,.dark .card.card:focus-visible,.dark .card.card[data-active]{border-color:rgb(250 250 250 / 0.25)!important}}.card [style*=\"mask-image\"]{background-color:#27272a}.dark .card [style*=\"mask-image\"]{background-color:#d4d4d8}[style*=\"mask-image\"]{-webkit-mask-size:contain!important;mask-size:contain!important}details.accordion>summary:hover{background-color:rgb(24 24 27 / 0.05)}.dark details.accordion>summary:hover{background-color:rgb(250 250 250 / 0.06)}.card:hover [class*=\"group-hover:text-primary\"],.card:hover [class*=\"group-hover:fill-primary\"]{color:#27272a;fill:#27272a}.dark .card:hover [class*=\"group-hover:text-primary\"],.dark .card:hover [class*=\"group-hover:fill-primary\"]{color:#d4d4d8;fill:#d4d4d8}code:not(pre *){background-color:rgb(24 24 27 / 0.06);border-color:rgb(24 24 27 / 0.10)}.dark code:not(pre *){background-color:rgb(250 250 250 / 0.08);border-color:rgb(250 250 250 / 0.14)}.code-group{border-color:transparent;background-color:rgb(24 24 27 / 0.05)}.dark .code-group{border-color:transparent;background-color:rgb(250 250 250 / 0.05)}.code-group [role=\"tab\"][aria-selected=\"true\"]{color:#18181b}.dark .code-group [role=\"tab\"][aria-selected=\"true\"]{color:#fafafa}.code-group [role=\"tab\"]:hover>div{background-color:rgb(24 24 27 / 0.05);color:#18181b}.dark .code-group [role=\"tab\"]:hover>div{background-color:rgb(250 250 250 / 0.06);color:#fafafa}.code-group [role=\"tab\"] div[class*=\"bg-primary\"]{background-color:#18181b}.dark .code-group [role=\"tab\"] div[class*=\"bg-primary\"]{background-color:#fafafa}.callout[class*=\"border-yellow\"]{border-color:#e8930c;background-color:color-mix(in oklab, #e8930c 8%, var(--background, #fff))}.dark .callout[class*=\"border-yellow\"]{background-color:color-mix(in oklab, #e8930c 20%, transparent)}.callout[class*=\"border-green\"]{border-color:#17a34a;background-color:color-mix(in oklab, #17a34a 8%, var(--background, #fff))}.dark .callout[class*=\"border-green\"]{background-color:color-mix(in oklab, #17a34a 20%, transparent)}.callout[class*=\"border-red\"]{border-color:#e11d2e;background-color:color-mix(in oklab, #e11d2e 8%, var(--background, #fff))}.dark .callout[class*=\"border-red\"]{background-color:color-mix(in oklab, #e11d2e 20%, transparent)}[role=\"menuitemradio\"][aria-checked=\"true\"],[role=\"menuitem\"][data-active=\"true\"],[role=\"menuitem\"][aria-selected=\"true\"]{color:#18181b}.dark [role=\"menuitemradio\"][aria-checked=\"true\"],.dark [role=\"menuitem\"][data-active=\"true\"],.dark [role=\"menuitem\"][aria-selected=\"true\"]{color:#fafafa}[role=\"menuitemradio\"][aria-checked=\"true\"] svg[class*=\"text-primary\"],[role=\"menuitem\"][data-active=\"true\"] svg[class*=\"text-primary\"],[role=\"menuitem\"][aria-selected=\"true\"] svg[class*=\"text-primary\"]{color:#18181b}.dark [role=\"menuitemradio\"][aria-checked=\"true\"] svg[class*=\"text-primary\"],.dark [role=\"menuitem\"][data-active=\"true\"] svg[class*=\"text-primary\"],.dark [role=\"menuitem\"][aria-selected=\"true\"] svg[class*=\"text-primary\"]{color:#fafafa}[role=\"menuitemradio\"][aria-checked=\"true\"] svg[class*=\"text-primary\"],[role=\"menuitemradio\"][aria-checked=\"true\"] svg[class*=\"text-primary\"] *,[role=\"menuitem\"][data-active=\"true\"] svg[class*=\"text-primary\"],[role=\"menuitem\"][data-active=\"true\"] svg[class*=\"text-primary\"] *,[role=\"menuitem\"][aria-selected=\"true\"] svg[class*=\"text-primary\"],[role=\"menuitem\"][aria-selected=\"true\"] svg[class*=\"text-primary\"] *{stroke-width:1.75}.code-group [class*=\"hover:text-primary\"]:hover{color:#18181b}.dark .code-group [class*=\"hover:text-primary\"]:hover{color:#fafafa}[role=\"menuitemradio\"]:not(.contact-dropdown-item):hover,[role=\"menuitem\"]:not(.contact-dropdown-item):hover{color:#18181b;background-color:rgb(24 24 27 / 0.05)}.dark [role=\"menuitemradio\"]:not(.contact-dropdown-item):hover,.dark [role=\"menuitem\"]:not(.contact-dropdown-item):hover{color:#fafafa;background-color:rgb(250 250 250 / 0.06)}button.tryit-button{background-color:#1a1a1e;color:#ffffff}.dark button.tryit-button{background-color:#fafafa;color:#1a1a1e}.contact-dropdown{position:relative}@media (min-width: 1024px){li.navbar-link:has(>a[href^=\"mailto:support@memories.ai\"]),li.navbar-link:has(>a[href*=\"memories.ai/contact-sales\"]),li.navbar-link:has(>a[href*=\"discord.gg\"]),li.navbar-link:not(.cli-nav):has(>a[href*=\"github.com/Memories-ai-labs/memories-cli\"]),li.navbar-link:not(.console-nav):has(>a[href*=\"console.memories.ai\"]){display:none}}div[role=\"presentation\"][class~=\"lg:hidden\"] [role=\"dialog\"] button[class~=\"top-1.5\"][class~=\"right-1.5\"]{display:none}li.contact-dropdown,li.cli-nav,li.console-nav{margin-left:0!important;margin-inline-start:0!important;margin-right:0.5rem!important;margin-inline-end:0.5rem!important}.cli-button{display:inline-flex;align-items:center;gap:0.4rem;padding:0.3125rem 0.75rem;border-radius:0.75rem;border:1px solid rgb(24 24 27 / 0.15);font-size:0.875rem;font-weight:500;white-space:nowrap;color:#27272a;text-decoration:none;transition:background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease}.cli-button:hover{background-color:rgb(24 24 27 / 0.05);border-color:rgb(24 24 27 / 0.25);color:#18181b}.dark .cli-button{border-color:rgb(250 250 250 / 0.18);color:#d4d4d8}.dark .cli-button:hover{background-color:rgb(250 250 250 / 0.06);border-color:rgb(250 250 250 / 0.3);color:#fafafa}@property --cli-border-angle{syntax:\"\u003cangle>\";initial-value:0deg;inherits:false}@keyframes cli-border-spin{to{--cli-border-angle: 360deg}}.cli-button:not(.console-button){position:relative;border-color:transparent}.cli-button:not(.console-button)::before{content:\"\";position:absolute;inset:0;border-radius:inherit;padding:1px;background:conic-gradient(\n from var(--cli-border-angle),\n #8f77e8 0deg,\n #7b8fe8 60deg,\n #6d8ce8 120deg,\n #74c9a6 150deg,\n #cfe6cf 170deg,\n #f0ddc9 190deg,\n #f2cdbe 205deg,\n #9fd6c8 222deg,\n #7b9be8 300deg,\n #8f77e8 360deg\n );-webkit-mask:linear-gradient(#000 0 0) content-box,\n linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,\n linear-gradient(#000 0 0);mask-composite:exclude;animation:cli-border-spin 4s linear infinite;pointer-events:none}.cli-button:not(.console-button):hover{border-color:transparent}.cli-button:not(.console-button):hover::before{filter:saturate(1.25) brightness(1.05)}@media (prefers-reduced-motion: reduce){.cli-button:not(.console-button)::before{animation:none}}.pagination-chevron-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2rem;height:2rem;border:1px solid rgb(24 24 27 / 0.15);border-radius:0.75rem;color:#52525b;transition:background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease}.group:hover .pagination-chevron-btn{background-color:rgb(24 24 27 / 0.05);border-color:rgb(24 24 27 / 0.25);color:#18181b}.dark .pagination-chevron-btn{border-color:rgb(250 250 250 / 0.18);color:#a1a1aa}.dark .group:hover .pagination-chevron-btn{background-color:rgb(250 250 250 / 0.06);border-color:rgb(250 250 250 / 0.3);color:#fafafa}.contact-dropdown-trigger{display:inline-flex;align-items:center;gap:0.3rem;margin:0;padding:0.3125rem 0.75rem;border:1px solid transparent;border-radius:0.75rem;background:transparent;font-size:0.875rem;font-weight:500;line-height:1.25rem;color:#27272a;cursor:pointer;transition:background-color 0.12s ease, color 0.12s ease}.contact-dropdown-trigger:hover,.contact-dropdown.is-open .contact-dropdown-trigger{background-color:rgb(24 24 27 / 0.05);color:#18181b}.dark .contact-dropdown-trigger{color:#d4d4d8}.dark .contact-dropdown-trigger:hover,.dark .contact-dropdown.is-open .contact-dropdown-trigger{background-color:rgb(250 250 250 / 0.06);color:#fafafa}.theme-preference-menu-trigger,button[data-component-name=\"theme-toggle\"]{border-radius:0.75rem;transition:background-color 0.12s ease, color 0.12s ease}.theme-preference-menu-trigger:hover,button[data-component-name=\"theme-toggle\"]:hover{background-color:rgb(24 24 27 / 0.05)}.dark .theme-preference-menu-trigger:hover,.dark button[data-component-name=\"theme-toggle\"]:hover{background-color:rgb(250 250 250 / 0.06)}.contact-dropdown-chevron{transition:transform 0.15s ease}.contact-dropdown.is-open .contact-dropdown-chevron{transform:rotate(180deg)}.contact-dropdown-menu{display:none;position:absolute;top:calc(100% + 0.5rem);left:0;z-index:50;min-width:12rem;padding:0.375rem;border-radius:0.75rem;background-color:#ffffff;border:1px solid rgb(24 24 27 / 0.1);box-shadow:0 0 2px rgb(24 24 27 / 0.08), 0 0 10px rgb(24 24 27 / 0.08)}.contact-dropdown.is-open .contact-dropdown-menu{display:block}.dark .contact-dropdown-menu{background-color:#18181b;border-color:rgb(250 250 250 / 0.1);box-shadow:0 0 0 1px rgb(255 255 255 / 0.04), 0 0 10px rgb(0 0 0 / 0.4)}.contact-dropdown-item{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.625rem;border-radius:0.5rem;font-size:0.875rem;font-weight:500;white-space:nowrap;color:#27272a;text-decoration:none;transition:background-color 0.12s ease, color 0.12s ease}.contact-dropdown-item:hover{background-color:rgb(24 24 27 / 0.06);color:#18181b}.dark .contact-dropdown-item{color:#d4d4d8}.dark .contact-dropdown-item:hover{background-color:rgb(250 250 250 / 0.08);color:#fafafa}.contact-dropdown-icon{flex-shrink:0;opacity:0.7}.contact-dropdown-item:hover .contact-dropdown-icon{opacity:1}[data-component-part=\"version-select-content\"]{border-radius:0.875rem;border-color:rgb(24 24 27 / 0.1);box-shadow:0 0 2px rgb(24 24 27 / 0.08), 0 0 10px rgb(24 24 27 / 0.08)}.dark [data-component-part=\"version-select-content\"]{background-color:#18181b;border-color:rgb(250 250 250 / 0.1);box-shadow:0 0 0 1px rgb(255 255 255 / 0.04), 0 0 10px rgb(0 0 0 / 0.4)}[data-component-part=\"version-select-item\"][aria-selected=\"true\"]{background-color:rgb(24 24 27 / 0.05)}.dark [data-component-part=\"version-select-item\"][aria-selected=\"true\"]{background-color:rgb(250 250 250 / 0.06)}[data-component-part=\"version-select-item\"][aria-selected=\"true\"] [class*=\"text-primary\"]{color:#18181b;font-weight:600}.dark [data-component-part=\"version-select-item\"][aria-selected=\"true\"] [class*=\"text-primary\"]{color:#fafafa}[data-component-part=\"version-select-tag\"]{background-color:rgb(24 24 27 / 0.06);color:#52525b}.dark [data-component-part=\"version-select-tag\"]{background-color:rgb(250 250 250 / 0.08);color:#a1a1aa}@layer components{[data-component-part=\"version-select-tag\"]{border-radius:0.375rem!important}}"}],"page":{"pagePath":"visual-intelligence/caption/video-summary","slug":"/visual-intelligence/caption/video-summary","pageMetadata":{"openapi":"POST /transcriptions/async-summary","title":"Video Summary","description":"Generate an AI summary of a video's content asynchronously.","href":"/visual-intelligence/caption/video-summary"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate an AI summary of a video’s content asynchronously.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Info,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Product`}),`: Visual Intelligence — Video Task APIs (application layer)\n`,_jsx(_components.strong,{children:`Use case`}),`: Pre-packaged video analysis tasks built on top of the Video Model APIs — fixed prompt + workflow, you just POST a video and get a structured result. For full control over prompt and model selection, see Video Model APIs.\n`,_jsx(_components.strong,{children:`Host`}),`: `,_jsx(_components.code,{children:`https://mavi-backend.memories.ai/serve/api/v2`}),`\n`,_jsx(_components.strong,{children:`Auth`}),`: `,_jsx(_components.code,{children:`Authorization: sk-mavi-...`}),` (no `,_jsx(_components.code,{children:`Bearer`}),` prefix)`]})}),`\n`,_jsx(_components.p,{children:`Generates a narrative summary of a video using Gemini — what the video is about, key events, people, and storyline. Processes the full video context in one pass.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This is an `,_jsx(_components.strong,{children:`async endpoint`}),`. You must configure a webhook URL in `,_jsx(_components.a,{href:`https://console.memories.ai/webhooks`,children:`Webhooks Settings`}),` before calling this endpoint, otherwise you will not receive the processing results. See `,_jsx(_components.a,{href:`/visual-intelligence/getting-started/webhooks`,children:`Webhooks Configuration Guide`}),` for details.`]})}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Pricing:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Input tokens: $0.45/1M tokens`}),`\n`,_jsx(_components.li,{children:`Output tokens: $3.75/1M tokens`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`code-example`,children:`Code Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request POST \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://mavi-backend.memories.ai/serve/api/v2/transcriptions/async-summary \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: sk-mavi-...'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset_id\": \"re_657929111888723968\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`fetch`,numberOfLines:`16`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BASE_URL = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mavi-backend.memories.ai/serve/api/v2/transcriptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` API_KEY = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk-mavi-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fetch(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`${BASE_URL}/async-summary`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` method: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: API_KEY`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body: JSON.stringify({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` asset_id: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'re_657929111888723968'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`console.log(data);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`17`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mavi-backend.memories.ai/serve/api/v2/transcriptions\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk-mavi-...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`HEADERS = {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{API_KEY}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`def`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` async_generate_summary(asset_id: str):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url = f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{BASE_URL}/async-summary\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data = {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asset_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: asset_id}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp = requests.post(url, json=data, headers=HEADERS)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp.json()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Usage example`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result = async_generate_summary(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"re_657929111888723968\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`print(result)`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`asset_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The unique identifier of the video asset to summarize`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the summary generation task information.`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Response code indicating the result status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`msg`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Response message describing the operation result`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Response data object containing task information`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.task_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unique identifier of the summary generation task`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`success`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the operation was successful`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`failed`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the operation failed`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`callback-response-parameters`,children:`Callback Response Parameters`}),`\n`,_jsx(_components.p,{children:`When the summary generation is complete, a callback will be sent to your configured webhook URL.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Response code (200 indicates success)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`message`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Status message (e.g., “SUCCESS”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Response data object containing the summary result and metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Inner data object containing summary and usage information`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.summary`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The generated summary text of the video content`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Usage statistics for the API call`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.duration`}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Processing duration in seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.model`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The AI model used for summary generation (e.g., “gemini-2.5-flash”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.output_tokens`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Number of tokens in the generated summary`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.prompt_tokens`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Number of tokens in the input prompt`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.msg`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Detailed message about the operation result`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.success`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the summary generation was successful`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`task_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The task ID associated with this summary generation request`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"POST /transcriptions/async-summary","title":"Video Summary","description":"Generate an AI summary of a video's content asynchronously.","href":"/visual-intelligence/caption/video-summary"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Info,Note,ResponseExample,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Product`}),`: Visual Intelligence — Video Task APIs (application layer)\n`,_jsx(_components.strong,{children:`Use case`}),`: Pre-packaged video analysis tasks built on top of the Video Model APIs — fixed prompt + workflow, you just POST a video and get a structured result. For full control over prompt and model selection, see Video Model APIs.\n`,_jsx(_components.strong,{children:`Host`}),`: `,_jsx(_components.code,{children:`https://mavi-backend.memories.ai/serve/api/v2`}),`\n`,_jsx(_components.strong,{children:`Auth`}),`: `,_jsx(_components.code,{children:`Authorization: sk-mavi-...`}),` (no `,_jsx(_components.code,{children:`Bearer`}),` prefix)`]})}),`\n`,_jsx(_components.p,{children:`Generates a narrative summary of a video using Gemini — what the video is about, key events, people, and storyline. Processes the full video context in one pass.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This is an `,_jsx(_components.strong,{children:`async endpoint`}),`. You must configure a webhook URL in `,_jsx(_components.a,{href:`https://console.memories.ai/webhooks`,children:`Webhooks Settings`}),` before calling this endpoint, otherwise you will not receive the processing results. See `,_jsx(_components.a,{href:`/visual-intelligence/getting-started/webhooks`,children:`Webhooks Configuration Guide`}),` for details.`]})}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Pricing:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Input tokens: $0.45/1M tokens`}),`\n`,_jsx(_components.li,{children:`Output tokens: $3.75/1M tokens`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`code-example`,children:`Code Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request POST \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://mavi-backend.memories.ai/serve/api/v2/transcriptions/async-summary \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: sk-mavi-...'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset_id\": \"re_657929111888723968\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`fetch`,numberOfLines:`16`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BASE_URL = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mavi-backend.memories.ai/serve/api/v2/transcriptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` API_KEY = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk-mavi-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fetch(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`${BASE_URL}/async-summary`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` method: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: API_KEY`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body: JSON.stringify({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` asset_id: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'re_657929111888723968'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`console.log(data);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`17`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mavi-backend.memories.ai/serve/api/v2/transcriptions\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk-mavi-...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`HEADERS = {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{API_KEY}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`def`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` async_generate_summary(asset_id: str):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url = f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{BASE_URL}/async-summary\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data = {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asset_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: asset_id}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp = requests.post(url, json=data, headers=HEADERS)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp.json()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Usage example`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result = async_generate_summary(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"re_657929111888723968\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`print(result)`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`asset_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The unique identifier of the video asset to summarize`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the summary generation task information.`}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Response`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ec2449885ba84c4f943a80ff0633158e\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Callback Response`,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"summary\": \"The video shows a young woman named Kiara, who is an Omega from the Blood Moon Pack. She is being hunted by Wendigos, creatures that are attracted to her. Her own pack considers her a jinx and treats her badly, especially her stepmother and stepsister, because they believe she brings the Wendigos to them.\\\\n\\\\nOne day, while being chased by a Wendigo, Kiara is rescued by Alejandro Rossi, the Alpha of the Ironclaw Pack. He takes her to his home, where she learns that he is the \\\\\"Alpha King\\\\\" who protects all the packs. Kiara is surprised because she had been told he was cold-hearted and ruthless.\\\\n\\\\nAlejandro keeps Kiara at his home to investigate why Wendigos are drawn to her. He discovers that she has a connection to the Moon Goddess, who tells Kiara that Alejandro is her destined mate and that their love will be tested.\\\\n\\\\nKiara and Alejandro develop a strong bond. He heals her wounds and helps her train to become a strong wolf. They also spend time together, going out for donuts, which Kiara had never had before.\\\\n\\\\nHowever, their relationship faces challenges. Alejandro has another mate, Jasmine, who is possessive and tries to hurt Kiara. The video ends with a cliffhanger, as Jasmine confronts Kiara and threatens her.\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-2.5-flash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`264`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`215102`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Video summary completed successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"67d848a979ae40ce927cfccf862e5e96\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Response code indicating the result status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`msg`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Response message describing the operation result`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Response data object containing task information`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.task_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unique identifier of the summary generation task`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`success`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the operation was successful`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`failed`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the operation failed`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`callback-response-parameters`,children:`Callback Response Parameters`}),`\n`,_jsx(_components.p,{children:`When the summary generation is complete, a callback will be sent to your configured webhook URL.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Response code (200 indicates success)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`message`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Status message (e.g., “SUCCESS”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Response data object containing the summary result and metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Inner data object containing summary and usage information`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.summary`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The generated summary text of the video content`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Usage statistics for the API call`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.duration`}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Processing duration in seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.model`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The AI model used for summary generation (e.g., “gemini-2.5-flash”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.output_tokens`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Number of tokens in the generated summary`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.data.usage.prompt_tokens`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Number of tokens in the input prompt`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.msg`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Detailed message about the operation result`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data.success`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Indicates whether the summary generation was successful`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`task_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The task ID associated with this summary generation request`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"POST /transcriptions/async-summary","title":"Video Summary","description":"Generate an AI summary of a video's content asynchronously.","href":"/visual-intelligence/caption/video-summary"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Code Example","slug":"code-example","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Response Parameters","slug":"response-parameters","depth":3,"children":[]},{"title":"Callback Response Parameters","slug":"callback-response-parameters","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"task_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ec2449885ba84c4f943a80ff0633158e\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Callback Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUCCESS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"summary\": \"The video shows a young woman named Kiara, who is an Omega from the Blood Moon Pack. She is being hunted by Wendigos, creatures that are attracted to her. Her own pack considers her a jinx and treats her badly, especially her stepmother and stepsister, because they believe she brings the Wendigos to them.\\n\\nOne day, while being chased by a Wendigo, Kiara is rescued by Alejandro Rossi, the Alpha of the Ironclaw Pack. He takes her to his home, where she learns that he is the \\\"Alpha King\\\" who protects all the packs. Kiara is surprised because she had been told he was cold-hearted and ruthless.\\n\\nAlejandro keeps Kiara at his home to investigate why Wendigos are drawn to her. He discovers that she has a connection to the Moon Goddess, who tells Kiara that Alejandro is her destined mate and that their love will be tested.\\n\\nKiara and Alejandro develop a strong bond. He heals her wounds and helps her train to become a strong wolf. They also spend time together, going out for donuts, which Kiara had never had before.\\n\\nHowever, their relationship faces challenges. Alejandro has another mate, Jasmine, who is possessive and tries to hurt Kiara. The video ends with a cliffhanger, as Jasmine confronts Kiara and threatens her.\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gemini-2.5-flash\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"output_tokens\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">264\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt_tokens\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">215102\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Video summary completed successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"task_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"67d848a979ae40ce927cfccf862e5e96\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/memories/972cc1cc2414ba25/script.js"],"openApiReferenceData":{"operation":{"summary":"Async Generate Summary","operationId":"async_summary","description":"Generate an AI summary of a video's content asynchronously.","requestBody":"986df221-c99f-4851-a6bf-e4a700369e91","responses":{"200":"8e9e8515-e8a8-4ae5-81e4-43af151afc71"},"method":"post","type":"path","servers":["782dd634-17d0-473a-abac-a8ce59584386"],"security":["aa9df867-8a51-4dfe-8978-bf54f931e6fa"],"path":"/transcriptions/async-summary","baseUrlOptions":["https://mavi-backend.memories.ai/serve/api/v2"],"title":"Async Generate Summary","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"9","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"200"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"msg\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"task_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"ec2449885ba84c4f943a80ff0633158e\""}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"failed\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Response"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"18","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"200"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"SUCCESS\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"children":" \"summary\": \"The video shows a young woman named Kiara, who is an Omega from the Blood Moon Pack. She is being hunted by Wendigos, creatures that are attracted to her. Her own pack considers her a jinx and treats her badly, especially her stepmother and stepsister, because they believe she brings the Wendigos to them.\\n\\nOne day, while being chased by a Wendigo, Kiara is rescued by Alejandro Rossi, the Alpha of the Ironclaw Pack. He takes her to his home, where she learns that he is the \\\"Alpha King\\\" who protects all the packs. Kiara is surprised because she had been told he was cold-hearted and ruthless.\\n\\nAlejandro keeps Kiara at his home to investigate why Wendigos are drawn to her. He discovers that she has a connection to the Moon Goddess, who tells Kiara that Alejandro is her destined mate and that their love will be tested.\\n\\nKiara and Alejandro develop a strong bond. He heals her wounds and helps her train to become a strong wolf. They also spend time together, going out for donuts, which Kiara had never had before.\\n\\nHowever, their relationship faces challenges. Alejandro has another mate, Jasmine, who is possessive and tries to hurt Kiara. The video ends with a cliffhanger, as Jasmine confronts Kiara and threatens her.\","}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"usage\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"duration\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.0"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"model\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"gemini-2.5-flash\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"output_tokens\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"264"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"prompt_tokens\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"215102"}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"msg\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Video summary completed successfully\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"task_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"67d848a979ae40ce927cfccf862e5e96\""}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Callback Response"}],"responseExampleType":"mdx","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"asset_id":{"type":"string","description":"The transcription asset ID","example":"re_657929111888723968","isRequired":true,"uniqueKey":"asset_id","typeLabel":"string"}},"required":["asset_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"asset_id":"re_657929111888723968"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8e9e8515-e8a8-4ae5-81e4-43af151afc71":{"description":"Summary generation task information","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":200,"description":"Response code indicating the result status","uniqueKey":"code","typeLabel":"string"},"msg":{"type":"string","example":"success","description":"Response message describing the operation result","uniqueKey":"msg","typeLabel":"string"},"data":{"type":"object","properties":{"task_id":{"type":"string","example":"ec2449885ba84c4f943a80ff0633158e","description":"Unique identifier of the summary generation task","uniqueKey":"data.task_id","typeLabel":"string"}},"description":"Response data object containing task information","uniqueKey":"data","typeLabel":"object"},"success":{"type":"boolean","example":true,"description":"Indicates whether the operation was successful","uniqueKey":"success","typeLabel":"boolean"},"failed":{"type":"boolean","example":false,"description":"Indicates whether the operation failed","uniqueKey":"failed","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":200,"msg":"success","data":{"task_id":"ec2449885ba84c4f943a80ff0633158e"},"success":true,"failed":false}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"aa9df867-8a51-4dfe-8978-bf54f931e6fa":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","scopes":[]}}},"servers":{"782dd634-17d0-473a-abac-a8ce59584386":{"url":"https://mavi-backend.memories.ai/serve/api/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","scopes":[]},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"visual-intelligence/transcript/openapi.json"},"subdomain":"memories","siteName":"Memories.ai API","title":"Video Summary - Memories.ai API","navMaps":{"firstHrefInVersion":{"2.0":{"href":"/overview","matchLevel":3},"1.0":{"href":"/visual-intelligence/caption/video-summary","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-08-05T07:13:12.427Z","originalFileLocation":"visual-intelligence/caption/video-summary.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate an AI summary of a video\u0026#x27;s content asynchronously.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Memories.ai API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Video Summary - Memories.ai API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate an AI summary of a video\u0026#x27;s content asynchronously.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Memories.ai API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memories.ai/visual-intelligence/caption/video-summary\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://memories.mintlify.site/_mintlify/api/og/v2?division=Video+Task+APIs\u0026amp;title=Video+Summary\u0026amp;description=Generate+an+AI+summary+of+a+video%27s+content+asynchronously.\u0026amp;theme=95f96f5d29bb2d358170d12a\u0026amp;signature=e5957f32d27a9ec3b1e7aaebf32f4362bda2689a37beaf8da5e36c290be271f4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Video Summary - Memories.ai API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate an AI summary of a video\u0026#x27;s content asynchronously.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://memories.mintlify.site/_mintlify/api/og/v2?division=Video+Task+APIs\u0026amp;title=Video+Summary\u0026amp;description=Generate+an+AI+summary+of+a+video%27s+content+asynchronously.\u0026amp;theme=95f96f5d29bb2d358170d12a\u0026amp;signature=e5957f32d27a9ec3b1e7aaebf32f4362bda2689a37beaf8da5e36c290be271f4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/memories/5j8WL483Yysza6QZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Memories.ai API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5026A4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memories.ai/visual-intelligence/caption/video-summary\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/visual-intelligence/caption/video-summary.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memories.ai/#organization\",\"name\":\"Memories.ai API\",\"url\":\"https://docs.memories.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/memories/xyhRN3OJaXxxzcxh/logo/logo.png?fit=max\u0026auto=format\u0026n=xyhRN3OJaXxxzcxh\u0026q=85\u0026s=77ec93feefafd5196ff9c2b10130af40\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memories.ai#website\",\"name\":\"Memories.ai API\",\"url\":\"https://docs.memories.ai\",\"publisher\":{\"@id\":\"https://docs.memories.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary#webpage\",\"url\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary\",\"name\":\"Video Summary\",\"description\":\"Generate an AI summary of a video's content asynchronously.\",\"dateModified\":\"2026-08-05T07:13:12.427Z\",\"isPartOf\":{\"@id\":\"https://docs.memories.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video Task APIs\",\"item\":\"https://docs.memories.ai/visual-intelligence/caption/video-frame-description\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Video Summary\",\"item\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary#apireference\",\"headline\":\"Video Summary\",\"name\":\"Video Summary\",\"description\":\"Generate an AI summary of a video's content asynchronously.\",\"url\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memories.ai/visual-intelligence/caption/video-summary#webpage\"},\"dateModified\":\"2026-08-05T07:13:12.427Z\",\"publisher\":{\"@id\":\"https://docs.memories.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memories.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Memories.ai API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Memories.ai API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/visual-intelligence/caption/video-summary.md","siteName":"Memories.ai API","nav":{"global":null,"versions":[{"version":"2.0","default":true,"pages":[{"title":"2.0","href":"/overview"}]},{"version":"1.0","tag":"Deprecated","tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/home/overview"}]},{"tab":"Visual Intelligence","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/visual-intelligence/getting-started/introduction"},{"title":"API Overview","href":"/visual-intelligence/getting-started/overview"},{"title":"Create Your API Key","href":"/visual-intelligence/getting-started/create-your-key"}]},{"group":"Asset Management","pages":[{"openapi":"POST /upload","title":"Upload File","href":"/visual-intelligence/base/upload"},{"openapi":"POST /upload/signed-url","title":"Get Upload Signed URL","href":"/visual-intelligence/base/upload-by-signed-url/get-upload-signed-url"},{"title":"Upload File Using Signed URL","href":"/visual-intelligence/base/upload-by-signed-url/upload-file-using-signed-url"},{"openapi":"POST /video/extract-frames","title":"Extract Video Frames","href":"/visual-intelligence/base/extract-frames"},{"openapi":"GET /{asset_id}/metadata","title":"Get Asset Metadata","href":"/visual-intelligence/base/get-metadata"},{"title":"Download Asset","href":"/visual-intelligence/base/download"},{"title":"Download by Bucket and Blob","href":"/visual-intelligence/base/download-by-bucket-blob"},{"openapi":"DELETE /{asset_id}","title":"Delete Asset","href":"/visual-intelligence/base/delete"}]},{"group":"Social Media Scraping","pages":[{"title":"Social Media Scraping Overview","href":"/visual-intelligence/social-media-scraping-overview"},{"group":"YouTube","pages":[{"openapi":"POST /youtube/video/metadata","title":"YouTube Video Metadata","href":"/visual-intelligence/video-metadata-transcript/youtube-video-metadata"},{"openapi":"POST /youtube/video/transcript","title":"YouTube Video Transcript","href":"/visual-intelligence/video-metadata-transcript/youtube-video-transcript"},{"openapi":"POST /youtube/video/mai/transcript","title":"YouTube Video Caption","href":"/visual-intelligence/video-metadata-transcript/youtube-video-caption"},{"openapi":"POST /youtube/video/detail","title":"YouTube Video Detail","href":"/visual-intelligence/scraper/youtube-video-detail"},{"openapi":"POST /youtube/video/comment","title":"YouTube Video Comment","href":"/visual-intelligence/scraper/youtube-video-comment"},{"openapi":"POST /youtube/video/comment/reply","title":"YouTube Video Comment Reply","href":"/visual-intelligence/scraper/youtube-video-comment-reply"}]},{"group":"Instagram","pages":[{"openapi":"POST /instagram/video/metadata","title":"Instagram Video Metadata","href":"/visual-intelligence/video-metadata-transcript/instagram-video-metadata"},{"openapi":"POST /instagram/video/transcript","title":"Instagram Video Transcript","href":"/visual-intelligence/video-metadata-transcript/instagram-video-transcript"},{"openapi":"POST /instagram/video/mai/transcript","title":"Instagram Video Caption","href":"/visual-intelligence/video-metadata-transcript/instagram-video-caption"}]},{"group":"TikTok","pages":[{"openapi":"POST /tiktok/video/metadata","title":"TikTok Video Metadata","href":"/visual-intelligence/video-metadata-transcript/tiktok-video-metadata"},{"openapi":"POST /tiktok/video/transcript","title":"TikTok Video Transcript","href":"/visual-intelligence/video-metadata-transcript/tiktok-video-transcript"},{"openapi":"POST /tiktok/video/mai/transcript","title":"TikTok Video Caption","href":"/visual-intelligence/video-metadata-transcript/tiktok-video-caption"},{"openapi":"POST /tiktok/video/detail","title":"TikTok Video Detail","href":"/visual-intelligence/scraper/tiktok-video-detail"},{"openapi":"POST /tiktok/video/comment","title":"TikTok Video Comment","href":"/visual-intelligence/scraper/tiktok-video-comment"},{"openapi":"POST /tiktok/video/comment/reply","title":"TikTok Video Comment Reply","href":"/visual-intelligence/scraper/tiktok-video-comment-reply"}]},{"group":"Twitter","pages":[{"openapi":"POST /twitter/video/metadata","title":"Twitter Video Metadata","href":"/visual-intelligence/video-metadata-transcript/twitter-video-metadata"},{"openapi":"POST /twitter/video/transcript","title":"Twitter Video Transcript","href":"/visual-intelligence/video-metadata-transcript/twitter-video-transcript"},{"openapi":"POST /twitter/video/mai/transcript","title":"Twitter Video Caption","href":"/visual-intelligence/video-metadata-transcript/twitter-video-caption"}]}]},{"group":"Audio File Transcription","pages":[{"title":"ElevenLabs","sidebarTitle":"ElevenLabs","api":"POST https://mavi-backend.memories.ai/serve/api/v2/transcriptions/speech-to-text","href":"/visual-intelligence/transcript/elevenlabs"},{"title":"AssemblyAI","sidebarTitle":"AssemblyAI","api":"POST https://mavi-backend.memories.ai/serve/api/v2/transcriptions/speech-to-text","href":"/visual-intelligence/transcript/assemblyai"},{"title":"Whisper Audio Transcription","href":"/visual-intelligence/transcript/whisper-audio-transcription"},{"title":"Speaker Diarization","href":"/visual-intelligence/transcript/speaker-diarization"},{"openapi":"POST /transcriptions/async-generate-multi-speaker","title":"Multimodal Speaker Recognition","href":"/visual-intelligence/transcript/speaker-recognition"}]},{"group":"Live Audio Transcription","pages":[{"group":"Server-Pull Mode (callback)","pages":[{"openapi":"visual-intelligence/stream/openapi.json POST /audio-stream/start","title":"Start Audio Stream Transcription","href":"/visual-intelligence/stream/audio-stream-start"},{"openapi":"visual-intelligence/stream/openapi.json POST /audio-stream/stop","title":"Stop Audio Stream Transcription","href":"/visual-intelligence/stream/audio-stream-stop"}]},{"group":"Client-Push Mode (WebSocket)","pages":[{"title":"Real-time Audio Stream (WebSocket)","href":"/visual-intelligence/stream/audio-stream-websocket"}]}]},{"group":"Video Model APIs","pages":[{"title":"Video Model Selection","href":"/visual-intelligence/video-model-selection"},{"title":"Gemini Video","openapi":"visual-intelligence/gemini/openapi.json POST /vu/chat/completions","href":"/visual-intelligence/gemini/gemini-vlm"},{"openapi":"visual-intelligence/nova/openapi.json POST /vu/chat/completions","title":"Nova Video","href":"/visual-intelligence/nova/nova-vlm"},{"openapi":"visual-intelligence/qwen/openapi.json POST /vu/chat/completions","title":"Qwen Video","href":"/visual-intelligence/qwen/qwen-vlm"}]},{"group":"Video Task APIs","pages":[{"openapi":"POST /transcriptions/async-generate-video","title":"Video Frame Description","description":"Generate timestamped visual descriptions of what appears on screen in a video.","href":"/visual-intelligence/caption/video-frame-description"},{"openapi":"POST /transcriptions/async-summary","title":"Video Summary","href":"/visual-intelligence/caption/video-summary"}]},{"group":"Live Video Content Moderation","pages":[{"openapi":"visual-intelligence/stream/openapi.json POST /stream/start","title":"Start Video Stream Moderation","description":"Start video stream content moderation and logo detection with real-time processing.","href":"/visual-intelligence/stream/video-stream-start"},{"openapi":"visual-intelligence/stream/openapi.json POST /stream/stop","title":"Stop Video Stream Moderation","href":"/visual-intelligence/stream/video-stream-stop"}]},{"group":"Live Video Understanding","pages":[{"openapi":"visual-intelligence/stream/understanding-openapi.json POST /v1/understand/streamConnect","title":"Start Stream Video Understanding","href":"/visual-intelligence/stream/video-stream-understanding-start"},{"openapi":"visual-intelligence/stream/understanding-openapi.json POST /v1/understand/stop/{task_id}","title":"Stop Stream Video Understanding","href":"/visual-intelligence/stream/video-stream-understanding-stop"}]},{"group":"Image Model APIs","pages":[{"title":"Image Model Selection","href":"/visual-intelligence/image-model-selection"},{"openapi":"visual-intelligence/gemini/openapi.json POST /iu/chat/completions","title":"Gemini Image","href":"/visual-intelligence/gemini/gemini-ilm"},{"openapi":"visual-intelligence/gpt/openapi.json POST /iu/chat/completions","title":"GPT Image","href":"/visual-intelligence/gpt/gpt-ilm"},{"openapi":"visual-intelligence/nova/openapi.json POST /iu/chat/completions","title":"Nova Image","href":"/visual-intelligence/nova/nova-ilm"},{"openapi":"visual-intelligence/qwen/openapi.json POST /iu/chat/completions","title":"Qwen Image","href":"/visual-intelligence/qwen/qwen-ilm"}]},{"group":"Embeddings","pages":[{"openapi":"POST /embeddings/image","title":"Generate Image Embedding","href":"/visual-intelligence/embeddings/image-embedding"},{"openapi":"POST /embeddings/video","title":"Generate Video Embedding","href":"/visual-intelligence/embeddings/video-embedding"},{"openapi":"POST /embeddings/text","title":"Generate Text Embedding","href":"/visual-intelligence/embeddings/text-embedding"}]},{"group":"Human ReID \u0026 Caption","pages":[{"title":"Video Caption","href":"/visual-intelligence/caption/video-caption"},{"title":"Image Caption","href":"/visual-intelligence/caption/image-caption"}]},{"group":"Reference","pages":[{"title":"Rate Limit","href":"/visual-intelligence/getting-started/rate-limit"},{"title":"Webhooks","href":"/visual-intelligence/getting-started/webhooks"},{"title":"Response \u0026 Error Codes","href":"/visual-intelligence/getting-started/error-codes"}]}]},{"tab":"Visual Search","pages":[{"title":"Visual Search","href":"/visual-search/introduction"}]},{"tab":"Visual Agents","pages":[{"title":"Visual Agents","href":"/visual-agents/overview"}]}]}]},"basePath":"","title":"Video Summary - Memories.ai API","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}