Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.
Extract a precise segment from any video URL. Only the requested time range is downloaded — no full video download required. Perfect for pulling clips around keyword matches, interesting moments, or specific timestamps.Supports YouTube, Instagram, TikTok, Twitter/X, and 1000+ sites via yt-dlp.
Video URL (YouTube, Instagram, TikTok, Twitter/X, etc.)
start
Yes
—
Start time in seconds
end
Yes
—
End time in seconds
output_dir
No
~/Desktop
Directory to save the clip
output_filename
No
auto-generated
Filename for the clip (without extension)
Adjusting padding
When exporting clips around keyword matches, the default padding is 15 seconds before and after the keyword timestamp. If the clip feels too short or too long, just ask for different padding — for example, “give me 30 seconds before and 10 seconds after.” Claude will re-export the clip with your exact timing, and the previous clip is automatically overwritten — no manual cleanup needed.
Web UI
Clip export is also available visually in the Web UI. Click the film icon on any search result to create a region on the waveform, fine-tune with ±1s/±5s nudge buttons, preview the selection, and export — all without leaving the browser.
Notes
Only the requested segment is downloaded. A 60-second clip from a 3-hour video downloads in seconds, not hours.
Works with any URL that yt-dlp supports — YouTube, Instagram Reels, TikTok, Twitter/X videos, and 1000+ other sites.
Combine with search_audio or deep_search to find timestamps first, then extract clips around matches.
Re-exporting a clip with the same filename automatically overwrites the previous file.
The output format depends on the source. YouTube typically produces .mp4.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Augent","colors":{"primary":"#00F060","light":"#00F060","dark":"#00C04E"},"logo":{"light":"https://mintcdn.com/augent/uFFumLHW3rIUF4xd/logo/light.png?fit=max\u0026auto=format\u0026n=uFFumLHW3rIUF4xd\u0026q=85\u0026s=3c81b6523e82ecac8639421c8dae0caa","dark":"https://mintcdn.com/augent/uFFumLHW3rIUF4xd/logo/dark.png?fit=max\u0026auto=format\u0026n=uFFumLHW3rIUF4xd\u0026q=85\u0026s=d26b0f7558fa4c2c976f533c9688dc5e","href":"https://augent.app"},"favicon":"/images/favicon.png","appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"icon":"github","href":"https://github.com/AugentDevs/Augent","label":"GitHub"},{"icon":"tag","href":"https://github.com/AugentDevs/Augent/releases","label":"Releases"}]},"footer":{"socials":{"github":"https://github.com/AugentDevs/Augent","x":"https://x.com/AugentDevs","discord":"https://discord.com/invite/DNmaZtaE7b"}},"search":{"prompt":"Search..."},"seo":{"metatags":{"og:site_name":"Augent","twitter:card":"summary_large_image","twitter:site":"@AugentDevs"}},"fonts":{"heading":{"family":"Montserrat","weight":700},"body":{"family":"Montserrat","weight":400}},"styling":{"eyebrows":"section","latex":false},"contextual":{"options":[],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"augent","hasAudioNarration":false,"actualSubdomain":"augent","customDomains":["docs.augent.app"],"gitSource":{"type":"github","owner":"augentdevs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94776ccbc2a0916014e2e:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"MCP Tools","count":22},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Getting Started","count":16},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Concepts","count":10},{"language":"default","tag":"Community","count":7},{"language":"default","tag":"Obsidian","count":7},{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Memory","count":6},{"language":"default","tag":"Analysis","count":5}]},"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#assistant-entry,#assistant-entry-mobile,#chat-assistant-sheet,div:has(>#chat-assistant-sheet){display:none!important}[data-testid=\"mode-switch-system\"],[data-testid=\"mode-switch-light\"],[data-testid=\"mode-switch-dark\"]{display:none!important}html.dark .code-block-background{background-color:#1F1F1F!important}html.dark [data-component-part=\"code-block-root\"]{background-color:#1F1F1F!important;--shiki-dark-bg: #1F1F1F !important}html.dark [data-fade-overlay]{--fade-color-dark: #1F1F1F !important}html.dark .code-block{--fade-color-dark: #1F1F1F !important}nav ul.flex>.navbar-link~.navbar-link{margin-left:1.5rem!important}html.dark details.accordion{background-color:#1F1F1F!important}html.dark .welcome-heading{color:#FFFFFF!important}.welcome-heading{color:#000000!important}pre,pre code,pre span,html.dark pre,html.dark pre code,html.dark pre span,[data-component-part=\"code-block-root\"] pre,[data-component-part=\"code-block-root\"] code,.code-block pre,.code-block code{white-space:pre!important;overflow-x:auto!important;word-wrap:normal!important;word-break:normal!important}.mermaid,pre:has(.mermaid),div:has(>.mermaid){display:flex!important;justify-content:center!important}html.dark pre span[style*=\"--shiki-dark: #569CD6\"],html.dark pre span[style*=\"--shiki-dark:#569CD6\"],html.dark pre span[style*=\"--shiki-dark: #6796E6\"],html.dark pre span[style*=\"--shiki-dark:#6796E6\"]{--shiki-dark: #00F060 !important;color:#00F060!important}.ascii-diagram pre,.ascii-diagram pre code,.ascii-diagram pre span,.ascii-diagram .shiki,.ascii-diagram .shiki span{color:#00F060!important;--shiki-dark: #00F060 !important;font-family:\"Menlo\", monospace!important;font-size:13px!important;line-height:1.5!important;letter-spacing:0!important}.ascii-diagram [data-component-part=\"code-block-root\"]{overflow-x:hidden!important}.ascii-diagram pre code{display:block!important;text-align:left!important;margin:0 auto!important;width:fit-content!important;padding-right:40px!important}.obsidian-accordion details{border:1px solid #00F060!important;border-radius:8px}"}]}
{"page":{"pagePath":"tools/clip-export","slug":"/tools/clip-export","pageMetadata":{"title":"clip_export","description":"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.","og:image":"images/og/tools-clip-export.png","twitter:image":"images/og/tools-clip-export.png","href":"/tools/clip-export"},"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: \"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.\"\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`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Extract a precise segment from any video URL. Only the requested time range is downloaded — no full video download required. Perfect for pulling clips around keyword matches, interesting moments, or specific timestamps.`}),`\n`,_jsx(_components.p,{children:`Supports YouTube, Instagram, TikTok, Twitter/X, and 1000+ sites via yt-dlp.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Request:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://youtube.com/watch?v=xxx\"`}),_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:` \"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_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:` \"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`180`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"file_path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/Users/you/Desktop/xxx_120-180.mp4\"`}),_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:`60`}),_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:` \"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_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:` \"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`180`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://youtube.com/watch?v=xxx\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example-custom-output`,children:`Example: Custom output`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.instagram.com/reel/abc123/\"`}),_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:` \"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`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:` \"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_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_dir\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"~/Videos/clips\"`}),_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_filename\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"intro_clip\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`Video URL (YouTube, Instagram, TikTok, Twitter/X, etc.)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`start`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`Start time in seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`end`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`End time in seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_dir`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/Desktop`})}),_jsx(_components.td,{children:`Directory to save the clip`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_filename`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`auto-generated`}),_jsx(_components.td,{children:`Filename for the clip (without extension)`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`adjusting-padding`,children:`Adjusting padding`}),`\n`,_jsxs(_components.p,{children:[`When exporting clips around keyword matches, the default padding is `,_jsx(_components.strong,{children:`15 seconds`}),` before and after the keyword timestamp. If the clip feels too short or too long, just ask for different padding — for example, “give me 30 seconds before and 10 seconds after.” Claude will re-export the clip with your exact timing, and the previous clip is automatically overwritten — no manual cleanup needed.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`web-ui`,children:`Web UI`}),`\n`,_jsxs(_components.p,{children:[`Clip export is also available visually in the `,_jsx(_components.a,{href:`/web-ui/overview#clip-export`,children:`Web UI`}),`. Click the film icon on any search result to create a region on the waveform, fine-tune with ±1s/±5s nudge buttons, preview the selection, and export — all without leaving the browser.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=d6cc189a3bb6b01275ab0542f04a7894`,alt:`Clip export in the Web UI`,style:{width:`100%`,borderRadius:`12px`,marginTop:`12px`},\"data-og-width\":`1782`,width:`1782`,\"data-og-height\":`1326`,height:`1326`,\"data-path\":`images/webui-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=a84e84bea0a66a69bf0ca0c39c3469b5 280w, https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=148bdbb9bad101a2ca6a4f65f8755909 560w, https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=637421dd6a00d05cc05fac41f8c75566 840w, https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=0c490a0133e6034a7ccfe5effcd74691 1100w, https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=1b93bebf06ded31e7ed665e3f63810a8 1650w, https://mintcdn.com/augent/Q7mPhIv4Cmhs0Ogq/images/webui-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Q7mPhIv4Cmhs0Ogq\u0026q=85\u0026s=2f9d4034119943c75957fff032580557 2500w`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsx(Tip,{children:`Only the requested segment is downloaded. A 60-second clip from a 3-hour video downloads in seconds, not hours.`}),`\n`,_jsxs(Tip,{children:[`Works with any URL that `,_jsx(_components.code,{children:`yt-dlp`}),` supports — YouTube, Instagram Reels, TikTok, Twitter/X videos, and 1000+ other sites.`]}),`\n`,_jsxs(Tip,{children:[`Combine with `,_jsx(_components.code,{children:`search_audio`}),` or `,_jsx(_components.code,{children:`deep_search`}),` to find timestamps first, then extract clips around matches.`]}),`\n`,_jsx(Tip,{children:`Re-exporting a clip with the same filename automatically overwrites the previous file.`}),`\n`,_jsxs(Tip,{children:[`The output format depends on the source. YouTube typically produces `,_jsx(_components.code,{children:`.mp4`}),`.`]})]})}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":{"title":"clip_export","description":"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.","og:image":"images/og/tools-clip-export.png","twitter:image":"images/og/tools-clip-export.png","href":"/tools/clip-export"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Example: Custom output","slug":"example-custom-output","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[]},{"title":"Adjusting padding","slug":"adjusting-padding","depth":2,"children":[]},{"title":"Web UI","slug":"web-ui","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"augent","siteName":"Augent","title":"clip_export - Augent","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-18T05:48:31.214Z","originalFileLocation":"tools/clip-export.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=\"dark\"}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=\"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Augent\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_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/augent/hsa2e8YsZsb45suU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"clip_export - Augent\">\u003cmeta data-mint-head property=\"og:description\" content=\"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Augent\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.augent.app/tools/clip-export\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://augent.mintlify.site/images/og/tools-clip-export.png\">\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=\"clip_export - Augent\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://augent.mintlify.site/images/og/tools-clip-export.png\">\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/augent/hsa2e8YsZsb45suU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Augent\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00F060\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.augent.app/tools/clip-export\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/tools/clip-export.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.augent.app/#organization\",\"name\":\"Augent\",\"url\":\"https://docs.augent.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/augent/uFFumLHW3rIUF4xd/logo/light.png?fit=max\u0026auto=format\u0026n=uFFumLHW3rIUF4xd\u0026q=85\u0026s=3c81b6523e82ecac8639421c8dae0caa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.augent.app#website\",\"name\":\"Augent\",\"url\":\"https://docs.augent.app\",\"publisher\":{\"@id\":\"https://docs.augent.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.augent.app/tools/clip-export#webpage\",\"url\":\"https://docs.augent.app/tools/clip-export\",\"name\":\"clip_export\",\"description\":\"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.\",\"dateModified\":\"2026-03-18T05:48:31.214Z\",\"isPartOf\":{\"@id\":\"https://docs.augent.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.augent.app/tools/clip-export#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.augent.app/tools/clip-export#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Processing\",\"item\":\"https://docs.augent.app/tools/separate-audio\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"clip_export\",\"item\":\"https://docs.augent.app/tools/clip-export\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.augent.app/tools/clip-export#article\",\"headline\":\"clip_export\",\"name\":\"clip_export\",\"description\":\"Export a video clip from any URL for a specific time range. Downloads only the requested segment, not the full video.\",\"url\":\"https://docs.augent.app/tools/clip-export\",\"mainEntityOfPage\":{\"@id\":\"https://docs.augent.app/tools/clip-export#webpage\"},\"image\":\"https://docs.augent.app/images/og/tools-clip-export.png\",\"dateModified\":\"2026-03-18T05:48:31.214Z\",\"publisher\":{\"@id\":\"https://docs.augent.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.augent.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Augent\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Augent\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/tools/clip-export.md","siteName":"Augent","nav":{"global":null,"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":""}]},{"tab":"MCP Tools","groups":[{"group":"Core","pages":[{"title":"download_audio","href":"/tools/download-audio"},{"title":"transcribe_audio","href":"/tools/transcribe-audio"},{"title":"search_audio","href":"/tools/search-audio"},{"title":"deep_search","href":"/tools/semantic-search"}]},{"group":"Search","pages":[{"title":"batch_search","href":"/tools/batch-search"},{"title":"search_proximity","href":"/tools/search-proximity"},{"title":"search_memory","href":"/tools/search-memory"}]},{"group":"Analysis","pages":[{"title":"take_notes","href":"/tools/notes"},{"title":"visual","href":"/tools/visual"},{"title":"chapters","href":"/tools/chapters"},{"title":"highlights","href":"/tools/highlights"},{"title":"identify_speakers","href":"/tools/identify-speakers"}]},{"group":"Processing","pages":[{"title":"separate_audio","description":"Separate audio into stems (vocals, drums, bass, other) using Meta's Demucs v4. Isolates vocals from music, background noise, and other sounds for clean transcription.","href":"/tools/separate-audio"},{"title":"clip_export","href":"/tools/clip-export"},{"title":"text_to_speech","description":"Convert text to natural speech audio using Kokoro TTS. 54 voices across 9 languages, fully local.","href":"/tools/text-to-speech"},{"title":"spaces","href":"/tools/spaces"}]},{"group":"Memory","pages":[{"title":"tag","href":"/tools/tag"},{"title":"rebuild_graph","href":"/tools/rebuild-graph"},{"title":"list_files","href":"/tools/list-files"},{"title":"list_memories","href":"/tools/list-memories"},{"title":"memory_stats","href":"/tools/memory-stats"},{"title":"clear_memory","href":"/tools/clear-memory"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/getting-started/download-audio"}]},{"tab":"Obsidian","pages":[{"title":"Obsidian","href":"/obsidian/why-augent-obsidian"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/concepts/pipeline"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/architecture"}]},{"tab":"Community","pages":[{"title":"Community","href":"/help/troubleshooting"}]}]},"basePath":"","title":"clip_export - Augent","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BUkqX3JF.js","lightbox-handle-r17bVUz3.js"]}