{ "status": "success", "transcript": "This is your last chance. After this, there is no turning back. You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland. And I show you how deep the rabbit hole goes.", "transcriptArray": [ "This is your last chance.", "After this, there is no turning back.", "You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland.", "And I show you how deep the rabbit hole goes." ], "videoTitle": "Choose Wisely: Blue Pill or Red Pill Adventure Awaits!", "wordCount": 52}
Generate
视频转写
使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。
{ "status": "success", "transcript": "This is your last chance. After this, there is no turning back. You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland. And I show you how deep the rabbit hole goes.", "transcriptArray": [ "This is your last chance.", "After this, there is no turning back.", "You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland.", "And I show you how deep the rabbit hole goes." ], "videoTitle": "Choose Wisely: Blue Pill or Red Pill Adventure Awaits!", "wordCount": 52}
使用 AI 生成视频文件的转写文本和标题。
生成的转写内容可用于 /generate/post,据此创建视频的社交媒体摘要。
对于需要标题的 YouTube,可直接使用生成的标题。
{ "status": "success", "transcript": "This is your last chance. After this, there is no turning back. You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland. And I show you how deep the rabbit hole goes.", "transcriptArray": [ "This is your last chance.", "After this, there is no turning back.", "You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland.", "And I show you how deep the rabbit hole goes." ], "videoTitle": "Choose Wisely: Blue Pill or Red Pill Adventure Awaits!", "wordCount": 52}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ayrshare Docs","colors":{"primary":"#2266C2","light":"#4985D8","dark":"#1A4E9A"},"logo":{"light":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf","dark":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-dark.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=77590acef2781d2fec9a1b14b6e09b73","href":"https://www.ayrshare.com/docs"},"favicon":"https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/logos/icon-docs.png?fit=max\u0026auto=format\u0026n=dKBti0xVDJrOZ19f\u0026q=85\u0026s=9704762afaad78a9cfdd90a20cb1d253","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","javascript","python","php","go","java"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.ayrshare.com/api"}},"appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://www.ayrshare.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.ayrshare.com"}},"footer":{"socials":{"github":"https://github.com/ayrshare","x":"https://x.com/ayrshare","bluesky":"https://bsky.app/profile/ayrshare.com","facebook":"https://www.facebook.com/Ayrshare","linkedin":"https://www.linkedin.com/company/ayrshare","youtube":"https://www.youtube.com/@ayrshare"}},"seo":{"indexing":"navigable"},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-P23WG8W"},"plausible":{"domain":"docs.ayrshare.com"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"es","href":"es/introduction"},{"language":"cn","hidden":true,"href":"cn/introduction"},{"language":"zh","hidden":true,"href":"zh/introduction"},{"language":"pt-BR","href":"pt-BR/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"de","href":"de/introduction"},{"language":"vi","href":"vi/introduction"},{"language":"ja","href":"ja/introduction"},{"language":"uk","href":"uk/introduction"},{"language":"hi","href":"hi/introduction"},{"language":"ar","href":"ar/introduction"},{"language":"zh-Hans","href":"zh-Hans/introduction"},{"language":"zh-Hant","href":"zh-Hant/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayrshare-docs","hasAudioNarration":false,"actualSubdomain":"ayrshare-docs","customDomains":["www.ayrshare.com"],"gitSource":{"type":"github","owner":"ayrshare","repo":"ayrshare_3","deployBranch":"docs-prod","contentDirectory":"apps/mintlify","isPrivate":true,"mountPath":"","label":"","_id":"6aec8a4b6de9d64b11a45855"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b113c20514e7ad9e6d36df2","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"en","tag":"Documentation","count":262},{"language":"ar","tag":"Documentation","count":262},{"language":"de","tag":"Documentation","count":262},{"language":"es","tag":"Documentation","count":262},{"language":"fr","tag":"Documentation","count":262},{"language":"hi","tag":"Documentation","count":262},{"language":"ja","tag":"Documentation","count":262},{"language":"pt-BR","tag":"Documentation","count":262},{"language":"uk","tag":"Documentation","count":262},{"language":"vi","tag":"Documentation","count":262},{"language":"zh-Hans","tag":"Documentation","count":262},{"language":"zh-Hant","tag":"Documentation","count":262},{"language":"en","tag":"API Endpoints","count":183},{"language":"ar","tag":"API Endpoints","count":183},{"language":"de","tag":"API Endpoints","count":183},{"language":"es","tag":"API Endpoints","count":183},{"language":"fr","tag":"API Endpoints","count":183},{"language":"hi","tag":"API Endpoints","count":183},{"language":"ja","tag":"API Endpoints","count":183},{"language":"pt-BR","tag":"API Endpoints","count":183},{"language":"uk","tag":"API Endpoints","count":183},{"language":"vi","tag":"API Endpoints","count":183},{"language":"zh-Hans","tag":"API Endpoints","count":183},{"language":"zh-Hant","tag":"API Endpoints","count":183},{"language":"en","tag":"Help Center","count":126},{"language":"ar","tag":"Help Center","count":126},{"language":"de","tag":"Help Center","count":126},{"language":"es","tag":"Help Center","count":126},{"language":"fr","tag":"Help Center","count":126},{"language":"hi","tag":"Help Center","count":126},{"language":"ja","tag":"Help Center","count":126},{"language":"pt-BR","tag":"Help Center","count":126},{"language":"uk","tag":"Help Center","count":126},{"language":"vi","tag":"Help Center","count":126},{"language":"zh-Hans","tag":"Help Center","count":126},{"language":"zh-Hant","tag":"Help Center","count":126},{"language":"en","tag":"Ads","count":43},{"language":"ar","tag":"Ads","count":43},{"language":"de","tag":"Ads","count":43},{"language":"es","tag":"Ads","count":43},{"language":"fr","tag":"Ads","count":43},{"language":"hi","tag":"Ads","count":43},{"language":"ja","tag":"Ads","count":43},{"language":"pt-BR","tag":"Ads","count":43},{"language":"uk","tag":"Ads","count":43},{"language":"vi","tag":"Ads","count":43},{"language":"zh-Hans","tag":"Ads","count":43},{"language":"zh-Hant","tag":"Ads","count":43},{"language":"en","tag":"Additional","count":41},{"language":"ar","tag":"Additional","count":41},{"language":"de","tag":"Additional","count":41},{"language":"es","tag":"Additional","count":41},{"language":"fr","tag":"Additional","count":41},{"language":"hi","tag":"Additional","count":41},{"language":"ja","tag":"Additional","count":41},{"language":"pt-BR","tag":"Additional","count":41},{"language":"uk","tag":"Additional","count":41},{"language":"vi","tag":"Additional","count":41},{"language":"zh-Hans","tag":"Additional","count":41},{"language":"zh-Hant","tag":"Additional","count":41},{"language":"en","tag":"Technical Support","count":40},{"language":"ar","tag":"Technical Support","count":40},{"language":"de","tag":"Technical Support","count":40},{"language":"es","tag":"Technical Support","count":40},{"language":"fr","tag":"Technical Support","count":40},{"language":"hi","tag":"Technical Support","count":40},{"language":"ja","tag":"Technical Support","count":40},{"language":"pt-BR","tag":"Technical Support","count":40},{"language":"uk","tag":"Technical Support","count":40},{"language":"vi","tag":"Technical Support","count":40},{"language":"zh-Hans","tag":"Technical Support","count":40},{"language":"zh-Hant","tag":"Technical Support","count":40},{"language":"en","tag":"Post","count":22},{"language":"ar","tag":"Post","count":22},{"language":"de","tag":"Post","count":22},{"language":"es","tag":"Post","count":22},{"language":"fr","tag":"Post","count":22},{"language":"hi","tag":"Post","count":22},{"language":"ja","tag":"Post","count":22},{"language":"pt-BR","tag":"Post","count":22},{"language":"uk","tag":"Post","count":22},{"language":"vi","tag":"Post","count":22},{"language":"zh-Hans","tag":"Post","count":22},{"language":"zh-Hant","tag":"Post","count":22},{"language":"en","tag":"Dashboard","count":21},{"language":"ar","tag":"Dashboard","count":21},{"language":"de","tag":"Dashboard","count":21},{"language":"es","tag":"Dashboard","count":21},{"language":"fr","tag":"Dashboard","count":21},{"language":"hi","tag":"Dashboard","count":21},{"language":"ja","tag":"Dashboard","count":21},{"language":"pt-BR","tag":"Dashboard","count":21},{"language":"uk","tag":"Dashboard","count":21},{"language":"vi","tag":"Dashboard","count":21},{"language":"zh-Hans","tag":"Dashboard","count":21},{"language":"zh-Hant","tag":"Dashboard","count":21},{"language":"en","tag":"Product","count":16},{"language":"ar","tag":"Product","count":16},{"language":"de","tag":"Product","count":16},{"language":"es","tag":"Product","count":16},{"language":"fr","tag":"Product","count":16},{"language":"hi","tag":"Product","count":16},{"language":"ja","tag":"Product","count":16},{"language":"pt-BR","tag":"Product","count":16},{"language":"uk","tag":"Product","count":16},{"language":"vi","tag":"Product","count":16},{"language":"zh-Hans","tag":"Product","count":16},{"language":"zh-Hant","tag":"Product","count":16},{"language":"en","tag":"Facebook Ads","count":15},{"language":"ar","tag":"Facebook Ads","count":15},{"language":"de","tag":"Facebook Ads","count":15},{"language":"es","tag":"Facebook Ads","count":15},{"language":"fr","tag":"Facebook Ads","count":15},{"language":"hi","tag":"Facebook Ads","count":15},{"language":"ja","tag":"Facebook Ads","count":15},{"language":"pt-BR","tag":"Facebook Ads","count":15},{"language":"uk","tag":"Facebook Ads","count":15},{"language":"vi","tag":"Facebook Ads","count":15},{"language":"zh-Hans","tag":"Facebook Ads","count":15},{"language":"zh-Hant","tag":"Facebook Ads","count":15}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".center{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}.welcome-banner{margin-left:auto;margin-right:auto;max-width:100%;height:auto;border-radius:12px}.custom-bullets{padding-left:0}.custom-bullets li{position:relative;padding-left:1.5em;margin-bottom:0.75em;list-style-type:none;line-height:1.4}.custom-bullets li::before{content:\"\\2022\";color:#2266c2;position:absolute;left:0.5em;top:0}.custom-bullets li:last-child{margin-bottom:0}.custom-bullets li>*{margin-top:0;margin-bottom:0}ul ul{margin-left:20px}.custom-bullets li::after,.custom-bullets li::before{border:none!important;background:none!important}.button{background-color:#2266c2;color:#fff;padding:16px 24px;border-radius:8px;border:none;transition-duration:0.2s;margin-top:100px}.button:hover{background-color:#133e76;color:white}.button2{background-color:#fff;color:#2266c2;padding:16px 24px;border-radius:8px;border:1px solid #2266c2;transition-duration:0.2s}.button2:hover{background-color:#133e76;color:white}.video-container{width:100%;max-width:560px;margin:0 auto}.video-container iframe{width:100%;height:auto;aspect-ratio:16 / 9}.plan-tag-light{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#ffffff;background-color:#16171b;margin-right:10px}.plan-tag-dark{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#3f4144;background-color:#b7b9bb;margin-right:10px}@media (min-width: 768px){.video-container{display:flex;justify-content:center;align-items:center}}code{font-size:0.96em;line-height:1.7em}dialog.ayr-playground{padding:0;border:none;background:transparent;width:min(1100px, calc(100vw - 32px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;overflow-y:auto}dialog.ayr-playground::backdrop{background:rgb(3 7 18 / 0.6);backdrop-filter:blur(2px)}.ayr-playground-card{--ayr-border: rgb(3 7 18 / 0.1);--ayr-muted-bg: rgb(3 7 18 / 0.03);border:1px solid var(--ayr-border);border-radius:16px;background:rgb(var(--background-light));box-shadow:0 24px 48px -12px rgb(0 0 0 / 0.35)}.dark .ayr-playground-card{--ayr-border: rgb(255 255 255 / 0.1);--ayr-muted-bg: rgb(255 255 255 / 0.04);background:rgb(var(--background-dark))}.ayr-playground-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1rem 0.75rem 1.25rem}.ayr-playground-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:rgb(107 114 128)}.ayr-playground-close:hover{background:var(--ayr-muted-bg);color:inherit}.ayr-playground-request{display:flex;align-items:stretch;gap:0.75rem;padding:0 1.25rem 1rem;border-bottom:1px solid var(--ayr-border)}.ayr-playground-url{display:flex;flex:1;min-width:0;align-items:center;gap:0.75rem;min-height:44px;padding:0 0.875rem;border:1px solid var(--ayr-border);border-radius:10px;background:var(--ayr-muted-bg)}.ayr-playground-send{flex-shrink:0;padding:0 1.25rem;border-radius:10px}.ayr-playground-url code{padding:0;border:none;background:none}.ayr-playground-method{flex-shrink:0;padding:0.125rem 0.5rem;border-radius:6px;background:rgb(34 197 94 / 0.15);color:rgb(21 128 61);font-size:0.75rem;font-weight:700}.dark .ayr-playground-method{color:rgb(74 222 128)}.ayr-playground-body{display:grid;gap:1.75rem;padding:1.25rem}@media (min-width: 768px){.ayr-playground-body{grid-template-columns:minmax(0, 5fr) minmax(0, 7fr)}}.ayr-playground-fields,.ayr-playground-output{display:flex;flex-direction:column;gap:1.5rem;min-width:0}.ayr-playground-section-title{display:flex;align-items:center;gap:0.5rem;margin-bottom:0.75rem;font-size:0.75rem;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;color:rgb(107 114 128)}.ayr-playground-output .code-block,.ayr-playground-output .code-group{margin-top:0;margin-bottom:0}.ayr-playground-status{padding:0.0625rem 0.5rem;border-radius:9999px;font-size:0.75rem;letter-spacing:normal;text-transform:none}.ayr-playground-status.is-ok{background:rgb(34 197 94 / 0.15);color:rgb(21 128 61)}.ayr-playground-status.is-error{background:rgb(239 68 68 / 0.15);color:rgb(185 28 28)}.dark .ayr-playground-status.is-ok{color:rgb(74 222 128)}.dark .ayr-playground-status.is-error{color:rgb(248 113 113)}.ayr-playground-empty{padding:1.5rem 1rem;border:1px dashed var(--ayr-border);border-radius:12px;text-align:center;font-size:0.875rem;color:rgb(107 114 128)}.ayr-playground-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.dark .ayr-playground-section-title,.dark .ayr-playground-empty,.dark .ayr-playground-close{color:rgb(156 163 175)}.dark .ayr-playground-close:hover{color:inherit}"}]}
{"page":{"pagePath":"zh-Hans/apis/generate/transcribe-video","slug":"/zh-Hans/apis/generate/transcribe-video","pageMetadata":{"title":"视频转写","description":"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。","api":"POST /generate/transcription","href":"/zh-Hans/apis/generate/transcribe-video"},"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: \"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。\"\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];const HeaderAPI=({noProfileKey,profileKeyRequired})=>{const _components={a:`a`,..._provideComponents()},{ParamField}=_components;if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,children:[_jsx(_components.a,{href:`/apis/overview#authorization`,children:`API Key`}),` of the Primary Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Authorization: Bearer API_KEY`})]}),!noProfileKey\u0026\u0026(profileKeyRequired?_jsxs(ParamField,{header:`Profile-Key`,type:`string`,required:true,children:[_jsx(_components.a,{href:`/apis/overview#profile-key-format`,children:`Profile Key`}),` of a User Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Profile-Key: PROFILE_KEY`})]}):_jsxs(ParamField,{header:`Profile-Key`,type:`string`,children:[_jsx(_components.a,{href:`/apis/overview#profile-key-format`,children:`Profile Key`}),` of a User Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Profile-Key: PROFILE_KEY`})]}))]})};const PlansAvailable=({plans=[],maxPackRequired})=>{const{Note}=_provideComponents()||{};if(!Note)_missingMdxReference(`Note`,true);let displayPlans=plans;if(plans\u0026\u0026plans.length===1){const lowerCasePlan=plans[0].toLowerCase();if(lowerCasePlan===`business`){displayPlans=[`Launch`,`Business`,`Enterprise`]}else if(lowerCasePlan===`premium`){displayPlans=[`Premium`,`Launch`,`Business`,`Enterprise`]}}return _jsxs(Note,{children:[`Available on `,displayPlans.length===1?`the `:``,displayPlans.join(`, `).replace(/\\b\\w/g,l=>l.toUpperCase()),` `,displayPlans.length>1?`plans`:`plan`,`.`,maxPackRequired\u0026\u0026_jsx(`span`,{onClick:()=>window.open(`https://www.ayrshare.com/docs/additional/maxpack`,`_self`),className:`mint-flex mint-items-center mint-mt-2 mint-cursor-pointer`,children:_jsx(`span`,{className:`mint-px-1.5 mint-py-0.5 mint-rounded mint-text-sm`,style:{backgroundColor:`#C264B6`,color:`white`,fontSize:`12px`},children:`Max Pack required`})})]})};function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Heading,OptimizedFrame,ParamField,Warning,_MdxComponentBoundary}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`PlansAvailable`,children:_jsx(PlansAvailable,{plans:[`premium`],maxPackRequired:true})}),`\n`,_jsxs(_components.p,{children:[`使用 AI 生成视频文件的转写文本和标题。\n生成的转写内容可用于 `,_jsx(_components.a,{href:`/apis/generate/post-text`,children:`/generate/post`}),`,据此创建视频的社交媒体摘要。\n对于需要标题的 `,_jsx(_components.a,{href:`/apis/post/social-networks/youtube`,children:`YouTube`}),`,可直接使用生成的标题。`]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`视频必须先通过 `,_jsx(_components.a,{href:`/apis/media/overview`,children:`/media`}),` 上传到 Ayrshare。\n非 Ayrshare 托管的视频将被拒绝。`]}),_jsx(_components.p,{children:`视频文件最大 500GB,最长时长 10 分钟。`})]}),`\n`,_jsx(Heading,{level:`3`,id:`视频转写指南`,children:`视频转写指南`}),`\n`,_jsx(`div`,{class:`video-container`,children:_jsx(OptimizedFrame,{width:`380`,height:`200`,src:`https://www.youtube.com/embed/d1JBbHrxmls`,title:`Transcribe a Video`,frameborder:`0`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture`,allowfullscreen:true})}),`\n`,_jsx(Heading,{level:`2`,id:`请求头参数`,children:`请求头参数`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{noProfileKey:true})}),`\n`,_jsx(Heading,{level:`2`,id:`请求体参数`,children:`请求体参数`}),`\n`,_jsx(ParamField,{body:`videoUrl`,type:`string`,required:true,id:`param-video-url`,children:_jsx(_components.p,{children:`经 URL 编码的视频 URL。视频必须由 Ayrshare 托管。`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{HeaderAPI,PlansAvailable,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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"视频转写","description":"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。","api":"POST /generate/transcription","href":"/zh-Hans/apis/generate/transcribe-video"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const HeaderAPI=()=>null;const PlansAvailable=()=>null;function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedFrame,ParamField,RequestExample,ResponseExample,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`PlansAvailable`,children:_jsx(PlansAvailable,{plans:[`premium`],maxPackRequired:true})}),`\n`,_jsxs(_components.p,{children:[`使用 AI 生成视频文件的转写文本和标题。\n生成的转写内容可用于 `,_jsx(_components.a,{href:`/apis/generate/post-text`,children:`/generate/post`}),`,据此创建视频的社交媒体摘要。\n对于需要标题的 `,_jsx(_components.a,{href:`/apis/post/social-networks/youtube`,children:`YouTube`}),`,可直接使用生成的标题。`]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`视频必须先通过 `,_jsx(_components.a,{href:`/apis/media/overview`,children:`/media`}),` 上传到 Ayrshare。\n非 Ayrshare 托管的视频将被拒绝。`]}),_jsx(_components.p,{children:`视频文件最大 500GB,最长时长 10 分钟。`})]}),`\n`,_jsx(Heading,{level:`3`,id:`视频转写指南`,children:`视频转写指南`}),`\n`,_jsx(`div`,{class:`video-container`,children:_jsx(OptimizedFrame,{width:`380`,height:`200`,src:`https://www.youtube.com/embed/d1JBbHrxmls`,title:`Transcribe a Video`,frameborder:`0`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture`,allowfullscreen:true})}),`\n`,_jsx(Heading,{level:`2`,id:`请求头参数`,children:`请求头参数`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{noProfileKey:true})}),`\n`,_jsx(Heading,{level:`2`,id:`请求体参数`,children:`请求体参数`}),`\n`,_jsx(ParamField,{body:`videoUrl`,type:`string`,required:true,id:`param-video-url`,children:_jsx(_components.p,{children:`经 URL 编码的视频 URL。视频必须由 Ayrshare 托管。`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{\"videoUrl\": \"https://img.ayrshare.com/random/landscape5.mp4\"}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-X `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.ayrshare.com/api/generate/transcription`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`15`,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:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"API_KEY\"`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.ayrshare.com/api/generate/transcription\"`}),_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\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_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\":`#9CDCFE`},children:` headers:`}),_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:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},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\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_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\":`#9CDCFE`},children:` videoUrl:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://img.ayrshare.com/random/landscape5.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// required`})]}),`\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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`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:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`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:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`11`,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:`11`,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:`payload `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'videoUrl'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://img.ayrshare.com/random/landscape5.mp4'`}),_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:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer API_KEY'`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.ayrshare.com/api/generate/transcription'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(r.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`26`,language:`php`,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:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`php`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$curl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` curl_init`}),_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\":`#9CDCFE`},children:`$data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` array`}),_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:` \"videoUrl\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://img.ayrshare.com/random/landscape5.mp4\"`})]}),`\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:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_setopt_array`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`array`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.ayrshare.com/api/generate/transcription'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_RETURNTRANSFER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_ENCODING`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_MAXREDIRS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_TIMEOUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--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:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_FOLLOWLOCATION`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_HTTP_VERSION`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURL_HTTP_VERSION_1_1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_CUSTOMREQUEST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_POSTFIELDS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` http_build_query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--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:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_HTTPHEADER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` array`}),_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: Bearer API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Accept-Encoding: gzip'`})}),`\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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` curl_exec`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_close`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200: Success`,numberOfLines:`12`,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:`12`,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:` \"status\"`}),_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:` \"transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This is your last chance. After this, there is no turning back. You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland. And I show you how deep the rabbit hole goes.\"`}),_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:` \"transcriptArray\"`}),_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:` \"This is your last chance.\"`}),_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:` \"After this, there is no turning back.\"`}),_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:` \"You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"And I show you how deep the rabbit hole goes.\"`})}),`\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:` \"videoTitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Choose Wisely: Blue Pill or Red Pill Adventure Awaits!\"`}),_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:` \"wordCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`52`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{HeaderAPI,PlansAvailable,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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"视频转写","description":"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。","api":"POST /generate/transcription","href":"/zh-Hans/apis/generate/transcribe-video"}}}},"mdxExtracts":{"tableOfContents":[{"title":"视频转写指南","slug":"视频转写指南","depth":3,"children":[]},{"title":"请求头参数","slug":"请求头参数","depth":2,"children":[]},{"title":"请求体参数","slug":"请求体参数","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","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=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization: Bearer API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-d \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\"videoUrl\": \"https://img.ayrshare.com/random/landscape5.mp4\"}'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-X \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.ayrshare.com/api/generate/transcription\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","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=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> API_KEY\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.ayrshare.com/api/generate/transcription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\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:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> videoUrl:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://img.ayrshare.com/random/landscape5.mp4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// required\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:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">then\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">((\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">res\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">=>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> res\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">())\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">then\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">((\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">=>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">error\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","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=\"python\">\u003ccode language=\"python\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">payload \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'videoUrl'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://img.ayrshare.com/random/landscape5.mp4'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Bearer API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">r \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api.ayrshare.com/api/generate/transcription'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">payload,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(r.json())\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","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=\"php\">\u003ccode language=\"php\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">php\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$curl\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> curl_init\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$data\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> array\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"videoUrl\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://img.ayrshare.com/random/landscape5.mp4\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">curl_setopt_array\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$curl\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">array\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_URL\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.ayrshare.com/api/generate/transcription'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_RETURNTRANSFER\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_ENCODING\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ''\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_MAXREDIRS\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 10\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_TIMEOUT\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_FOLLOWLOCATION\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_HTTP_VERSION\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURL_HTTP_VERSION_1_1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_CUSTOMREQUEST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_POSTFIELDS\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> http_build_query\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> CURLOPT_HTTPHEADER\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> array\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Accept-Encoding: gzip'\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\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> curl_exec\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$curl\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">curl_close\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$curl\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">echo\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200: Success","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=\"12\">\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\"> \"status\"\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\"> \"transcript\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"This is your last chance. After this, there is no turning back. You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland. And I show you how deep the rabbit hole goes.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transcriptArray\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"This is your last chance.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"After this, there is no turning back.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"You take the blue pill the story ends you wake up in your bed and believe whatever you want to be. You take the red pill you stay in Wonderland.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"And I show you how deep the rabbit hole goes.\"\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\"> \"videoTitle\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Choose Wisely: Blue Pill or Red Pill Adventure Awaits!\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"wordCount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">52\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":[]}},"endpoint":{"title":"视频转写","path":"/generate/transcription","servers":[{"url":"https://api.ayrshare.com/api"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"videoUrl":[{"type":"string","description":"经 URL 编码的视频 URL。视频必须由 Ayrshare 托管。","required":true}]}}],"examples":{"example":{"value":{"videoUrl":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/ayrshare-docs/80ea29d8530ebaa2/script.js","/docs/_mintlify/custom/ayrshare-docs/3e93073b19ca64e9/tools/maintainScroll.js"],"dynamicCss":".mint-mt-2 {\n margin-top: 0.5rem\n}\n.mint-flex {\n display: flex\n}\n.mint-cursor-pointer {\n cursor: pointer\n}\n.mint-items-center {\n align-items: center\n}\n.mint-rounded {\n border-radius: 0.25rem\n}\n.mint-px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem\n}\n.mint-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}","subdomain":"ayrshare-docs","siteName":"Ayrshare Docs","title":"视频转写 - Ayrshare Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/apis/generate/transcribe-video","matchLevel":1},"es":{"href":"/es/apis/generate/transcribe-video","matchLevel":1},"cn":{"href":"/cn/apis/generate/transcribe-video","matchLevel":1,"hidden":true},"zh":{"href":"/zh/apis/generate/transcribe-video","matchLevel":1,"hidden":true},"pt-BR":{"href":"/pt-BR/apis/generate/transcribe-video","matchLevel":1},"fr":{"href":"/fr/apis/generate/transcribe-video","matchLevel":1},"de":{"href":"/de/apis/generate/transcribe-video","matchLevel":1},"vi":{"href":"/vi/apis/generate/transcribe-video","matchLevel":1},"ja":{"href":"/ja/apis/generate/transcribe-video","matchLevel":1},"uk":{"href":"/uk/apis/generate/transcribe-video","matchLevel":1},"hi":{"href":"/hi/apis/generate/transcribe-video","matchLevel":1},"ar":{"href":"/ar/apis/generate/transcribe-video","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/apis/generate/transcribe-video","matchLevel":0},"zh-Hant":{"href":"/zh-Hant/apis/generate/transcribe-video","matchLevel":1}}},"lastModified":"2026-11-03T15:41:47.007Z","originalFileLocation":"zh-Hans/apis/generate/transcribe-video.mdx","locale":"zh-Hans"},"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=\"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_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=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"视频转写 - Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Generate\u0026amp;title=%E8%A7%86%E9%A2%91%E8%BD%AC%E5%86%99\u0026amp;description=%E4%BD%BF%E7%94%A8+AI+%E4%B8%BA%E4%B8%8A%E4%BC%A0%E5%88%B0+Ayrshare+%E7%9A%84%E8%A7%86%E9%A2%91%E7%94%9F%E6%88%90%E8%BD%AC%E5%86%99%E6%96%87%E6%9C%AC%E5%92%8C%E6%A0%87%E9%A2%98%EF%BC%8C%E7%84%B6%E5%90%8E%E7%94%A8%E4%BA%8E%E5%88%9B%E5%BB%BA%E5%B8%96%E5%AD%90%E6%91%98%E8%A6%81%E6%88%96+YouTube+%E6%A0%87%E9%A2%98%E3%80%82%E8%A7%86%E9%A2%91%E6%9C%80%E9%95%BF+10+%E5%88%86%E9%92%9F%E3%80%82\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=8ed1abaa31ac955bc8df0ae5ef2cab7ea4b10c2e886cfaeb231d25a46d4750ad\">\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=\"视频转写 - Ayrshare Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Generate\u0026amp;title=%E8%A7%86%E9%A2%91%E8%BD%AC%E5%86%99\u0026amp;description=%E4%BD%BF%E7%94%A8+AI+%E4%B8%BA%E4%B8%8A%E4%BC%A0%E5%88%B0+Ayrshare+%E7%9A%84%E8%A7%86%E9%A2%91%E7%94%9F%E6%88%90%E8%BD%AC%E5%86%99%E6%96%87%E6%9C%AC%E5%92%8C%E6%A0%87%E9%A2%98%EF%BC%8C%E7%84%B6%E5%90%8E%E7%94%A8%E4%BA%8E%E5%88%9B%E5%BB%BA%E5%B8%96%E5%AD%90%E6%91%98%E8%A6%81%E6%88%96+YouTube+%E6%A0%87%E9%A2%98%E3%80%82%E8%A7%86%E9%A2%91%E6%9C%80%E9%95%BF+10+%E5%88%86%E9%92%9F%E3%80%82\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=8ed1abaa31ac955bc8df0ae5ef2cab7ea4b10c2e886cfaeb231d25a46d4750ad\">\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=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2266C2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/zh-Hans/apis/generate/transcribe-video.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://www.ayrshare.com/docs/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://www.ayrshare.com/docs/es/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://www.ayrshare.com/docs/pt-BR/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://www.ayrshare.com/docs/fr/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://www.ayrshare.com/docs/de/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://www.ayrshare.com/docs/vi/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://www.ayrshare.com/docs/ja/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"uk\" href=\"https://www.ayrshare.com/docs/uk/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://www.ayrshare.com/docs/hi/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://www.ayrshare.com/docs/ar/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://www.ayrshare.com/docs/zh-Hant/apis/generate/transcribe-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.ayrshare.com/docs/apis/generate/transcribe-video\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ayrshare.com/#organization\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.ayrshare.com/docs#website\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com/docs\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video#webpage\",\"url\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video\",\"name\":\"视频转写\",\"description\":\"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。\",\"dateModified\":\"2026-11-03T15:41:47.007Z\",\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://www.ayrshare.com/docs/zh-Hans/apis/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate\",\"item\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"视频转写\",\"item\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video#apireference\",\"headline\":\"视频转写\",\"name\":\"视频转写\",\"description\":\"使用 AI 为上传到 Ayrshare 的视频生成转写文本和标题,然后用于创建帖子摘要或 YouTube 标题。视频最长 10 分钟。\",\"url\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/zh-Hans/apis/generate/transcribe-video#webpage\"},\"dateModified\":\"2026-11-03T15:41:47.007Z\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ayrshare Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ayrshare Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/zh-Hans/apis/generate/transcribe-video.md","siteName":"Ayrshare Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/apis/generate/transcribe-video"}]},{"language":"es","pages":[{"title":"es","href":"/es/apis/generate/transcribe-video"}]},{"language":"cn","hidden":true,"pages":[{"title":"cn","href":"/cn/apis/generate/transcribe-video","hidden":true}]},{"language":"zh","hidden":true,"pages":[{"title":"zh","href":"/zh/apis/generate/transcribe-video","hidden":true}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/apis/generate/transcribe-video"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/apis/generate/transcribe-video"}]},{"language":"de","pages":[{"title":"de","href":"/de/apis/generate/transcribe-video"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi/apis/generate/transcribe-video"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/apis/generate/transcribe-video"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/apis/generate/transcribe-video"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/apis/generate/transcribe-video"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/apis/generate/transcribe-video"}]},{"language":"zh-Hans","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"Ayrshare 社交媒体 API","href":"/zh-Hans/introduction"},{"title":"快速入门指南","href":"/zh-Hans/quickstart"},{"group":"MCP Server","pages":[{"title":"MCP Server:用 AI 代理驱动 API","sidebarTitle":"概览","icon":"robot","href":"/zh-Hans/additional/mcp-action-server"},{"title":"连接到 MCP Server","sidebarTitle":"Connect \u0026 Setup","icon":"plug","href":"/zh-Hans/additional/mcp-action-connect"},{"title":"MCP 工具目录","sidebarTitle":"工具目录","icon":"list","href":"/zh-Hans/additional/mcp-action-tools"},{"title":"Claude Code 插件","icon":"terminal","href":"/zh-Hans/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/zh-Hans/additional/mcp-n8n"},{"title":"接入客户的社交账户","sidebarTitle":"客户接入","icon":"user-plus","href":"/zh-Hans/additional/mcp-client-onboarding"},{"title":"Documentation MCP","sidebarTitle":"Documentation MCP","icon":"magnifying-glass","href":"/zh-Hans/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"Ayrshare API 概述","href":"/zh-Hans/apis/overview"},{"group":"GraphQL","pages":[{"title":"GraphQL API 概述","href":"/zh-Hans/apis/graphql/overview"},{"title":"使用 GraphQL API","href":"/zh-Hans/apis/graphql/using-the-api"},{"title":"GraphQL 错误","href":"/zh-Hans/apis/graphql/errors"},{"title":"GraphQL 限制与计费","href":"/zh-Hans/apis/graphql/limits"},{"title":"广告","href":"/zh-Hans/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"Ads API:Meta 推广与 Google Ads 管理","sidebarTitle":"广告 API 概览","href":"/zh-Hans/apis/ads/overview"},{"title":"广告活动","href":"/zh-Hans/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"账户","api":"GET /ads/facebook/accounts","href":"/zh-Hans/apis/ads/facebook/get-ad-accounts"},{"title":"广告活动","api":"GET /ads/facebook/campaigns","href":"/zh-Hans/apis/ads/facebook/get-ad-campaigns"},{"title":"推广帖子","api":"POST /ads/facebook/boost","href":"/zh-Hans/apis/ads/facebook/boost-post"},{"title":"已推广广告","api":"GET /ads/facebook/ads","href":"/zh-Hans/apis/ads/facebook/get-boosted-ads"},{"title":"历史记录","api":"GET /ads/facebook/history","href":"/zh-Hans/apis/ads/facebook/get-ad-history"},{"title":"洞察","api":"GET /ads/facebook/insights","href":"/zh-Hans/apis/ads/facebook/get-ad-insights"},{"title":"兴趣","api":"GET /ads/facebook/interests","href":"/zh-Hans/apis/ads/facebook/get-ad-interests"},{"title":"地区","api":"GET /ads/facebook/regions","href":"/zh-Hans/apis/ads/facebook/get-ad-regions"},{"title":"城市","api":"GET /ads/facebook/cities","href":"/zh-Hans/apis/ads/facebook/get-ad-cities"},{"title":"DSA 推荐","api":"GET /ads/facebook/dsaRecommendations","href":"/zh-Hans/apis/ads/facebook/get-dsa-recommendations"},{"title":"更新广告","api":"PUT /ads/facebook/ads","href":"/zh-Hans/apis/ads/facebook/put-ad-update"},{"title":"受众","api":"GET /ads/facebook/audiences","href":"/zh-Hans/apis/ads/facebook/get-audiences"},{"title":"创建受众","api":"POST /ads/facebook/audiences","href":"/zh-Hans/apis/ads/facebook/create-audience"},{"title":"删除受众","api":"DELETE /ads/facebook/audiences/{id}","href":"/zh-Hans/apis/ads/facebook/delete-audience"},{"title":"受众成员","api":"POST /ads/facebook/audiences/{id}/users","href":"/zh-Hans/apis/ads/facebook/audience-members"}]},{"group":"Instagram Ads","pages":[{"title":"账户","api":"GET /ads/instagram/accounts","href":"/zh-Hans/apis/ads/instagram/get-ad-accounts"},{"title":"广告活动","api":"GET /ads/instagram/campaigns","href":"/zh-Hans/apis/ads/instagram/get-ad-campaigns"},{"title":"地区","api":"GET /ads/instagram/regions","href":"/zh-Hans/apis/ads/instagram/get-ad-regions"},{"title":"城市","api":"GET /ads/instagram/cities","href":"/zh-Hans/apis/ads/instagram/get-ad-cities"},{"title":"DSA 推荐","api":"GET /ads/instagram/dsaRecommendations","href":"/zh-Hans/apis/ads/instagram/get-dsa-recommendations"},{"title":"推广帖子","api":"POST /ads/instagram/boost","href":"/zh-Hans/apis/ads/instagram/boost-post"},{"title":"已推广广告","api":"GET /ads/instagram/ads","href":"/zh-Hans/apis/ads/instagram/get-boosted-ads"},{"title":"历史记录","api":"GET /ads/instagram/history","href":"/zh-Hans/apis/ads/instagram/get-ad-history"},{"title":"洞察","api":"GET /ads/instagram/insights","href":"/zh-Hans/apis/ads/instagram/get-ad-insights"},{"title":"兴趣","api":"GET /ads/instagram/interests","href":"/zh-Hans/apis/ads/instagram/get-ad-interests"},{"title":"更新广告","api":"PUT /ads/instagram/ads","href":"/zh-Hans/apis/ads/instagram/put-ad-update"},{"title":"受众","api":"GET /ads/instagram/audiences","href":"/zh-Hans/apis/ads/instagram/get-audiences"},{"title":"创建受众","api":"POST /ads/instagram/audiences","href":"/zh-Hans/apis/ads/instagram/create-audience"},{"title":"删除受众","api":"DELETE /ads/instagram/audiences/{id}","href":"/zh-Hans/apis/ads/instagram/delete-audience"},{"title":"受众成员","api":"POST /ads/instagram/audiences/{id}/users","href":"/zh-Hans/apis/ads/instagram/audience-members"}]},{"group":"Google Ads","pages":[{"title":"账户","api":"GET /ads/google/accounts","href":"/zh-Hans/apis/ads/google/get-ad-accounts"},{"title":"Google 搜索广告活动","sidebarTitle":"搜索广告活动","api":"POST /ads/google/campaigns","href":"/zh-Hans/apis/ads/google/search-campaigns"},{"title":"Google Performance Max 广告活动","sidebarTitle":"Performance Max 广告活动","api":"POST /ads/google/campaigns","href":"/zh-Hans/apis/ads/google/performance-max-campaigns"},{"title":"获取广告活动","api":"GET /ads/google/campaigns/{id}","href":"/zh-Hans/apis/ads/google/get-campaign"},{"title":"更新广告活动","api":"PUT /ads/google/campaigns/{id}","href":"/zh-Hans/apis/ads/google/update-campaign"},{"title":"洞察","api":"GET /ads/google/insights","href":"/zh-Hans/apis/ads/google/get-ad-insights"}]},{"group":"TikTok Ads","pages":[{"title":"推广帖子","api":"POST /ads/tiktok/boost","href":"/zh-Hans/apis/ads/tiktok/boost"}]},{"group":"Boost on Behalf","pages":[{"title":"推广团队成员的帖子","href":"/zh-Hans/apis/ads/delegations/boost-on-behalf"},{"title":"创建推广授权","api":"POST /ads/delegations","href":"/zh-Hans/apis/ads/delegations/create-delegations"},{"title":"获取推广授权","api":"GET /ads/delegations","href":"/zh-Hans/apis/ads/delegations/get-delegations"},{"title":"撤销推广授权","api":"DELETE /ads/delegations/:id","href":"/zh-Hans/apis/ads/delegations/delete-delegation"}]}]},{"group":"Analytics","pages":[{"title":"分析 API:帖子、社交账户和链接指标","sidebarTitle":"分析 API 概述","href":"/zh-Hans/apis/analytics/overview"},{"title":"帖子分析","api":"POST /analytics/post","href":"/zh-Hans/apis/analytics/post"},{"title":"按社交 ID 查询帖子分析","api":"POST /analytics/post","href":"/zh-Hans/apis/analytics/social-by-id"},{"title":"社交网络分析","api":"POST /analytics/social","href":"/zh-Hans/apis/analytics/social"},{"title":"YouTube 播放列表","api":"GET /analytics/youTubePlaylists","href":"/zh-Hans/apis/analytics/youtube-playlists"},{"title":"在线 Instagram 粉丝数","api":"GET /analytics/getInstagramOnlineFollowers","href":"/zh-Hans/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"自动排期概述","href":"/zh-Hans/apis/auto-schedule/overview"},{"title":"设置自动排期","api":"POST /auto-schedule/set","href":"/zh-Hans/apis/auto-schedule/set-schedule"},{"title":"删除自动排期","api":"DELETE /auto-schedule/delete","href":"/zh-Hans/apis/auto-schedule/delete-schedule"},{"title":"列出自动排期","api":"GET /auto-schedule/list","href":"/zh-Hans/apis/auto-schedule/list-schedule"},{"title":"获取待发的自动排期帖子","api":"GET /auto-schedule/pending","href":"/zh-Hans/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"自动化 API 概述","href":"/zh-Hans/apis/automations/overview"},{"title":"创建自动化","api":"POST /automations","href":"/zh-Hans/apis/automations/create-automation"},{"title":"列出自动化","api":"GET /automations","href":"/zh-Hans/apis/automations/list-automations"},{"title":"获取自动化","api":"GET /automations/:id","href":"/zh-Hans/apis/automations/get-automation"},{"title":"更新自动化","api":"PUT /automations/:id","href":"/zh-Hans/apis/automations/update-automation"},{"title":"删除自动化","api":"DELETE /automations/:id","href":"/zh-Hans/apis/automations/delete-automation"},{"title":"获取自动化活动","api":"GET /automations/:id/activity","href":"/zh-Hans/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"品牌 API:公开账户与竞争对手数据","href":"/zh-Hans/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"评论 API 概述","href":"/zh-Hans/apis/comments/overview"},{"title":"发布评论","api":"POST /comments","href":"/zh-Hans/apis/comments/post-comment"},{"title":"获取评论","api":"GET /comments/:id","href":"/zh-Hans/apis/comments/get-comments"},{"title":"删除评论","api":"DELETE /comments/:id","href":"/zh-Hans/apis/comments/delete-comments"},{"title":"回复评论","api":"POST /comments/reply/:commentId","href":"/zh-Hans/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"RSS 订阅源概览","href":"/zh-Hans/apis/feeds/overview"},{"title":"添加 RSS 订阅源","api":"POST /feed","href":"/zh-Hans/apis/feeds/add-feed"},{"title":"删除 RSS 订阅源","api":"DELETE /feed","href":"/zh-Hans/apis/feeds/delete-feed"},{"title":"获取 RSS 订阅源","api":"GET /feed","href":"/zh-Hans/apis/feeds/get-feeds"},{"title":"更新 RSS 订阅源","api":"PUT /feed","href":"/zh-Hans/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"Generate API 概览","href":"/zh-Hans/apis/generate/overview"},{"title":"生成帖子文本","api":"POST /generate/post","href":"/zh-Hans/apis/generate/post-text"},{"title":"重写帖子","description":"使用 AI 为一条社交媒体帖子生成最多五个改写版本,可选择添加表情符号或 hashtag,并将每个版本控制在 280 个字符以内。","api":"POST /generate/rewrite","href":"/zh-Hans/apis/generate/rewrite-post"},{"title":"视频转写","api":"POST /generate/transcription","href":"/zh-Hans/apis/generate/transcribe-video"},{"title":"翻译帖子","description":"使用 AI 将帖子文本翻译为 100 多种语言。系统会自动检测当前语言,并翻译为你指定的语言代码。","api":"POST /generate/translate","href":"/zh-Hans/apis/generate/translate-post"},{"title":"生成替代文字","api":"POST /generate/altText","href":"/zh-Hans/apis/generate/image-alt-text"},{"title":"情感分析","api":"POST /generate/sentiment","href":"/zh-Hans/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"Hashtags API 概览","href":"/zh-Hans/apis/hashtags/overview"},{"title":"自动 hashtag","api":"POST /hashtags/auto","href":"/zh-Hans/apis/hashtags/auto-hashtags"},{"title":"检查被封禁的 hashtag","api":"GET /hashtags/banned","href":"/zh-Hans/apis/hashtags/check-hashtags"},{"title":"推荐 hashtag","api":"GET /hashtags/recommend","href":"/zh-Hans/apis/hashtags/recommend-hashtags"},{"title":"搜索 hashtag","api":"GET /hashtags/search","href":"/zh-Hans/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"History API 概览","href":"/zh-Hans/apis/history/overview"},{"title":"帖子历史","api":"GET /history","href":"/zh-Hans/apis/history/get-history"},{"title":"按 ID 查询帖子历史","api":"GET /history/:id","href":"/zh-Hans/apis/history/get-history-id"},{"title":"获取社交平台的帖子历史","api":"GET /history/:platform","href":"/zh-Hans/apis/history/history-platform"},{"title":"按 Social ID 查询帖子历史","api":"GET /history/:socialId","href":"/zh-Hans/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"Links API 概览","href":"/zh-Hans/apis/links/overview"},{"title":"创建短链接","api":"POST /links","href":"/zh-Hans/apis/links/create-short-link"},{"title":"更新短链接","api":"PUT /links/:id","href":"/zh-Hans/apis/links/update-short-link"},{"title":"链接分析","api":"GET /links/:id","href":"/zh-Hans/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"Listen API:社交媒体监测与提及","href":"/zh-Hans/apis/listen/overview"},{"title":"获取品牌数据","api":"GET /brand/byUser","href":"/zh-Hans/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"搜索 Facebook Pages","api":"GET /brand/search/facebook","href":"/zh-Hans/apis/listen/search/fb-page-search"},{"title":"搜索 LinkedIn","api":"GET /brand/search/linkedin","href":"/zh-Hans/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"按关键词搜索推文","api":"GET /listen/keyword","href":"/zh-Hans/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"Media API 概览","href":"/zh-Hans/apis/media/overview"},{"title":"上传图片或视频","api":"POST /media/upload","href":"/zh-Hans/apis/media/upload-media"},{"title":"上传大型媒体文件","api":"GET /media/uploadUrl","href":"/zh-Hans/apis/media/upload-large-media"},{"title":"验证媒体 URL 是否存在","api":"POST /media/urlExists","href":"/zh-Hans/apis/media/verify-media-url"},{"title":"获取媒体库中的所有媒体","api":"GET /media","href":"/zh-Hans/apis/media/get-media-in-gallery"},{"title":"调整图片尺寸","api":"POST /media/resize","href":"/zh-Hans/apis/media/resize"},{"title":"媒体文件的元数据","api":"GET /media/meta","href":"/zh-Hans/apis/media/get-media-metadata"},{"title":"搜索 Instagram 音频","api":"GET /media/instagram/audio/search","href":"/zh-Hans/apis/media/search-instagram-audio"},{"title":"获取 Instagram 音频元数据","api":"GET /media/instagram/audio/{audioId}","href":"/zh-Hans/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"Messages API 概览","href":"/zh-Hans/apis/messages/overview"},{"title":"发送消息","api":"POST /messages/:platform","href":"/zh-Hans/apis/messages/send-message"},{"title":"获取消息","api":"GET /messages/:platform","href":"/zh-Hans/apis/messages/get-messages"},{"title":"更新消息","api":"PUT /messages/:platform/:conversationId","href":"/zh-Hans/apis/messages/update-messages"},{"title":"设置自动回复","api":"POST /messages/autoresponse","href":"/zh-Hans/apis/messages/set-auto-response"},{"title":"获取自动回复","api":"GET /messages/autoresponse","href":"/zh-Hans/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"Post API 概述","href":"/zh-Hans/apis/post/overview"},{"title":"发布帖子 API:向任意社交网络发布","api":"POST /post","href":"/zh-Hans/apis/post/post"},{"title":"获取帖子","api":"GET /post/:id","href":"/zh-Hans/apis/post/get-post"},{"title":"删除帖子","api":"DELETE /post","href":"/zh-Hans/apis/post/delete-post"},{"title":"更新帖子","api":"PATCH /post","href":"/zh-Hans/apis/post/update-post"},{"title":"重试帖子","api":"PUT /post/retry","href":"/zh-Hans/apis/post/retry-post"},{"title":"复制帖子","api":"POST /post/copy","href":"/zh-Hans/apis/post/copy-post"},{"title":"批量发布","api":"POST /post/bulk","href":"/zh-Hans/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"支持的社交网络","href":"/zh-Hans/apis/post/social-networks/overview"},{"title":"Bluesky API","icon":"bluesky","href":"/zh-Hans/apis/post/social-networks/bluesky"},{"title":"Facebook 主页 API","icon":"facebook","href":"/zh-Hans/apis/post/social-networks/facebook"},{"title":"Google Business Profile API","icon":"google","href":"/zh-Hans/apis/post/social-networks/google"},{"title":"Instagram API","icon":"instagram","href":"/zh-Hans/apis/post/social-networks/instagram"},{"title":"LinkedIn API","icon":"linkedin","href":"/zh-Hans/apis/post/social-networks/linkedin"},{"title":"Pinterest API","icon":"pinterest","href":"/zh-Hans/apis/post/social-networks/pinterest"},{"title":"Reddit API","icon":"reddit","href":"/zh-Hans/apis/post/social-networks/reddit"},{"title":"Snapchat API","icon":"snapchat","href":"/zh-Hans/apis/post/social-networks/snapchat"},{"title":"Telegram API","icon":"telegram","href":"/zh-Hans/apis/post/social-networks/telegram"},{"title":"Threads API","icon":"threads","href":"/zh-Hans/apis/post/social-networks/threads"},{"title":"TikTok API","icon":"tiktok","href":"/zh-Hans/apis/post/social-networks/tiktok"},{"title":"X API","icon":"x-twitter","href":"/zh-Hans/apis/post/social-networks/x-twitter"},{"title":"YouTube API","icon":"youtube","href":"/zh-Hans/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"Profiles API 概览","href":"/zh-Hans/apis/profiles/overview"},{"title":"创建 User Profile","api":"POST /profiles","href":"/zh-Hans/apis/profiles/create-profile"},{"title":"删除 User Profile","api":"DELETE /profiles","href":"/zh-Hans/apis/profiles/delete-profile"},{"title":"更新 User Profile","api":"PATCH /profiles","href":"/zh-Hans/apis/profiles/update-profile"},{"title":"获取 User Profile 列表","api":"GET /profiles","href":"/zh-Hans/apis/profiles/get-profiles"},{"title":"解绑社交网络","api":"DELETE /profiles/social","href":"/zh-Hans/apis/profiles/unlink-social-network"},{"title":"社交关联概览","href":"/zh-Hans/apis/profiles/social-linking-overview"},{"title":"创建 Link Session","api":"POST /profiles/link-sessions","href":"/zh-Hans/apis/profiles/create-link-session"},{"title":"获取 Link Session","api":"GET /profiles/link-sessions/{sessionId}","href":"/zh-Hans/apis/profiles/get-link-session"},{"title":"吊销 Link Session","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/zh-Hans/apis/profiles/revoke-link-session"},{"title":"生成链接 URL (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/zh-Hans/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"Reviews API 概览","href":"/zh-Hans/apis/reviews/overview"},{"title":"获取所有评价","api":"GET /reviews","href":"/zh-Hans/apis/reviews/get-reviews"},{"title":"获取单条评价","api":"GET /reviews/:id","href":"/zh-Hans/apis/reviews/get-one-review"},{"title":"回复评价","api":"POST /reviews","href":"/zh-Hans/apis/reviews/reply-review"},{"title":"删除评价回复","api":"DELETE /reviews","href":"/zh-Hans/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"User Profile API 概览","href":"/zh-Hans/apis/user/overview"},{"title":"User Profile 详情","api":"GET /user","href":"/zh-Hans/apis/user/profile-details"},{"title":"Pinterest Board","api":"GET /user/details/pinterest","href":"/zh-Hans/apis/user/pinterest-board"},{"title":"更新用户","api":"PATCH /user/:platform","href":"/zh-Hans/apis/user/update-user"},{"title":"WhatsApp 商家资料","api":"GET /user/details/whatsapp","href":"/zh-Hans/apis/user/whatsapp-profile"},{"title":"批量获取全部","api":"GET /user/batch","href":"/zh-Hans/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"合作者请求状态","api":"GET /post/collaborators/:id","href":"/zh-Hans/apis/utils/instagram-get-collaborator"},{"title":"Reddit Flair","api":"GET /post/redditFlair/:subreddit","href":"/zh-Hans/apis/utils/reddit-get-flair"},{"title":"用户查询记录","api":"GET /user/lookups","href":"/zh-Hans/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"YouTube 类别","api":"GET /post/youtubeCategories/:region","href":"/zh-Hans/apis/utils/youtube-categories"},{"title":"设置 YouTube 水印","api":"POST /post/youTubeWatermark","href":"/zh-Hans/apis/utils/set-youtube-watermark"},{"title":"移除 YouTube 水印","api":"DELETE /post/youTubeWatermark","href":"/zh-Hans/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"Validate API 概览","href":"/zh-Hans/apis/validate/overview"},{"title":"校验媒体","href":"/zh-Hans/apis/validate/validate-media"},{"title":"检查帖子长度","api":"POST /validate/postLength","href":"/zh-Hans/apis/validate/check-post-length"},{"title":"检查 subreddit 是否存在","api":"GET /validate/redditExists/:subreddit","href":"/zh-Hans/apis/validate/check-subreddit"},{"title":"内容审核","api":"POST /validate/moderation","href":"/zh-Hans/apis/validate/moderation"},{"title":"校验 JSON","api":"POST /validate/json","href":"/zh-Hans/apis/validate/validate-json"},{"title":"校验帖子","api":"POST /validate/post","href":"/zh-Hans/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"Webhook 概览","href":"/zh-Hans/apis/webhooks/overview"},{"title":"Webhook Action","href":"/zh-Hans/apis/webhooks/actions"},{"title":"注册 Webhook","api":"POST /hook/webhook","href":"/zh-Hans/apis/webhooks/register"},{"title":"注销 Webhook","api":"DELETE /hook/webhook","href":"/zh-Hans/apis/webhooks/unregister"},{"title":"轮换签名密钥","api":"POST /hook/webhook/secret","href":"/zh-Hans/apis/webhooks/rotate-signing-secret"},{"title":"列出已注册的 webhook","api":"GET /hook/webhook","href":"/zh-Hans/apis/webhooks/list"},{"title":"Webhook 历史","api":"GET /hook/history","href":"/zh-Hans/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"Launch Plan:入门级多用户 Business Plan","href":"/zh-Hans/multiple-users/business-launch-overview"},{"title":"Business Plan 概览","href":"/zh-Hans/multiple-users/business-plan-overview"},{"title":"用户集成","href":"/zh-Hans/multiple-users/user-integration"},{"title":"Business 版的 API 集成","href":"/zh-Hans/multiple-users/api-integration-business"},{"title":"Ayrshare Connect 小组件","href":"/zh-Hans/multiple-users/connect-widget"},{"title":"自建关联弹窗","href":"/zh-Hans/multiple-users/connect-direct-mode"},{"title":"关联完成事件","href":"/zh-Hans/multiple-users/link-completion-events"},{"title":"管理多个用户配置","href":"/zh-Hans/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"Ayrshare 控制台概览:管理社交媒体发布","href":"/zh-Hans/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"连接你的社交媒体账号","href":"/zh-Hans/dashboard/connect-social-accounts/overview"},{"title":"Bluesky 关联","icon":"bluesky","href":"/zh-Hans/dashboard/connect-social-accounts/bluesky"},{"title":"Facebook 关联","icon":"facebook","href":"/zh-Hans/dashboard/connect-social-accounts/facebook"},{"title":"Google Business Profile 关联","icon":"google","href":"/zh-Hans/dashboard/connect-social-accounts/google-business"},{"title":"Instagram 关联","icon":"instagram","href":"/zh-Hans/dashboard/connect-social-accounts/instagram"},{"title":"LinkedIn 关联","icon":"linkedin","href":"/zh-Hans/dashboard/connect-social-accounts/linkedin"},{"title":"Pinterest 关联","icon":"pinterest","href":"/zh-Hans/dashboard/connect-social-accounts/pinterest"},{"title":"Reddit 关联","icon":"reddit","href":"/zh-Hans/dashboard/connect-social-accounts/reddit"},{"title":"Snapchat 关联","icon":"snapchat","href":"/zh-Hans/dashboard/connect-social-accounts/snapchat"},{"title":"将 Telegram 群组或频道关联到 Ayrshare","icon":"telegram","href":"/zh-Hans/dashboard/connect-social-accounts/telegram"},{"title":"Threads 关联","icon":"threads","href":"/zh-Hans/dashboard/connect-social-accounts/threads"},{"title":"TikTok 关联","icon":"tiktok","href":"/zh-Hans/dashboard/connect-social-accounts/tiktok"},{"title":"配置你自己的 X API Key","icon":"x-twitter","href":"/zh-Hans/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"X 关联","icon":"x-twitter","href":"/zh-Hans/dashboard/connect-social-accounts/x-twitter"},{"title":"YouTube 关联","icon":"youtube","href":"/zh-Hans/dashboard/connect-social-accounts/youtube"}]},{"title":"如何发布社交媒体帖子","href":"/zh-Hans/dashboard/publish-post"},{"title":"查看 JSON","href":"/zh-Hans/dashboard/view-json"},{"title":"撤销社交媒体访问权限","href":"/zh-Hans/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"RSS、Substack 与 YouTube 订阅源","href":"/zh-Hans/dashboard/automated-rss-feeds"},{"title":"查找 RSS 订阅源 URL","href":"/zh-Hans/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"最新动态","href":"/zh-Hans/whatsnew/latest"},{"title":"更新归档","href":"/zh-Hans/whatsnew/archive"},{"title":"即将到来的 API 变更","mode":"wide","href":"/zh-Hans/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"错误概览","href":"/zh-Hans/errors/overview"},{"title":"HTTP 状态码","href":"/zh-Hans/errors/errors-http"},{"title":"Ayrshare 错误码","href":"/zh-Hans/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/zh-Hans/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"社交媒体图片与视频要求","href":"/zh-Hans/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/zh-Hans/media-guidelines/bluesky"},{"title":"Facebook 主页","icon":"facebook","href":"/zh-Hans/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/zh-Hans/media-guidelines/google-business-profile"},{"title":"Instagram","icon":"instagram","href":"/zh-Hans/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/zh-Hans/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/zh-Hans/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/zh-Hans/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/zh-Hans/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/zh-Hans/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/zh-Hans/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/zh-Hans/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/zh-Hans/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/zh-Hans/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/zh-Hans/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"Ayrshare SDK 与集成指南概览","mode":"wide","href":"/zh-Hans/packages-guides/overview"},{"title":"Airtable","href":"/zh-Hans/packages-guides/airtable"},{"title":"Bubble.io","href":"/zh-Hans/packages-guides/bubble"},{"title":"Flutter","href":"/zh-Hans/packages-guides/flutter"},{"title":"FlutterFlow","href":"/zh-Hans/packages-guides/flutterflow"},{"title":"Make","href":"/zh-Hans/packages-guides/make"},{"title":"n8n","href":"/zh-Hans/packages-guides/n8n"},{"title":"Node.js NPM","href":"/zh-Hans/packages-guides/nodejs"},{"title":"Notion","href":"/zh-Hans/packages-guides/notion"},{"title":"Python PyPI","href":"/zh-Hans/packages-guides/python"},{"title":"Retool","href":"/zh-Hans/packages-guides/retool"}]},{"title":"系统状态","href":"/zh-Hans/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/zh-Hans/testing/hurl"},{"title":"校验接口","href":"/zh-Hans/testing/validation-endpoints"},{"title":"Postman","href":"/zh-Hans/testing/postman"},{"title":"帖子校验","href":"/zh-Hans/testing/post-verification"},{"title":"发布前检查","href":"/zh-Hans/testing/pre-publish-checks"}]},{"group":"ISO Codes","pages":[{"title":"国家/地区代码","href":"/zh-Hans/iso-codes/country"},{"title":"语言代码","href":"/zh-Hans/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/zh-Hans/help-center/overview"}]}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/apis/generate/transcribe-video"}]}]},"basePath":"","title":"视频转写 - Ayrshare Docs","deploymentId":"dpl_2XYgqAEo2Z87hCspE7GmXvEteEBv","buildId":"dpl_2XYgqAEo2Z87hCspE7GmXvEteEBv","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DNqkp7YS.js","snippetPresets-C38JHxW2.js","utils-5JdO8rlh.js","style-to-object-BY3JEAdk.js","utils-C0Bo3eqZ.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-D-aWhlw8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BPmIGmRa.js","_Uint8Array-CcjpDbJb.js","isObject-FP1Yky1u.js","ApiExamples-D422jahk.js","usePlaygroundInputsStore-osHAJtpm.js","shallow-Gw98mn20.js","isEqual-X71_hSCS.js","CodeSnippets-D5iZ7Wia.js","CodeSnippet-Br0gsSYf.js","use-playground-group-access-D2GsZl7r.js","Page-Tji5sfbr.js","api-description-markdown-Dl9akA3Z.js","DynamicMarkdown-nQmF4d4W.js","SectionHeading-_u13RW5t.js","MethodPill-DvROsJQF.js","getPastedJson-Df88_Idg.js","Check2Icon-CFIe--gy.js","axios-CsQoIw0U.js"]}