1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8faf429d-d428-4694-b6d1-aee8f1b23ffc",e._sentryDebugIdIdentifier="sentry-dbid-8faf429d-d428-4694-b6d1-aee8f1b23ffc")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19593],{37336:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/caption-generator/youtube-title-generator",function(){return a(9744)}])},75628:function(e,t,a){"use strict";a.d(t,{l:function(){return f}});var r=a(85893),s=a(67294),i=a(27245),o=a(21774),n=a(76453),l=a(34680),d=a(94193),u=a(93484),c=a(41664),b=a.n(c),h=a(65550);let g={instagram:{href:"/tools/ai-reel-generator",label:"Instagram Reel"},tiktok:{href:"/tools/ai-tiktok-video-generator",label:"TikTok video"},youtube:{href:"/tools/ai-youtube-shorts-generator",label:"YouTube Short"},"youtube-title":{href:"/tools/ai-youtube-shorts-generator",label:"YouTube Short"}};function f(e){let{platform:t,title:a,description:c}
1=e,[f,m]=(0,s.useState)(!1),[x,p]=(0,s.useState)(""),[y,w]=(0,s.useState)(""),[v,j]=(0,s.useState)(null),[T,N]=(0,s.useState)(null);async function k(e){e.preventDefault(),m(!0),j(null);try{let e=await fetch("/api/ai/caption-generator",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({topic:x,platform:t,keywords:y})}),a=await e.json();if(e.ok)N(a);else throw Error(a.error)}catch(e){console.error(e),j(e instanceof Error&&e.message?e.message:"Something went wrong. Please try again.")}finally{m(!1)}}let _=e=>`${e.text} 2 3${e.hashtags.join(" ")}`;return(0,r.jsx)("div",{className:"container max-w-4xl mx-auto py-8",children:(0,r.jsxs)(l.Zb,{className:"bg-gray-900 border-gray-800",children:[(0,r.jsxs)(l.Ol,{children:[(0,r.jsx)(l.ll,{className:"text-white",children:a}),(0,r.jsx)(l.SZ,{className:"text-gray-400",children:c})]}),(0,r.jsxs)(l.aY,{children:[(0,r.jsxs)("form",{onSubmit:k,className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(d._,{htmlFor:"topic",className:"text-gray-200",children:"What's your content about?"}),(0,r.jsx)(n.g,{id:"topic",placeholder:"e.g. A beautiful sunset at the beach",value:x,onChange:e=>p(e.target.value),className:"mt-1 bg-gray-800 border-gray-700 text-white placeholder:text-gray-500"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(d._,{htmlFor:"keywords",className:"text-gray-200",children:"Keywords (optional)"}),(0,r.jsx)(o.I,{id:"keywords",placeholder:"e.g. nature, travel, adventure",value:y,onChange:e=>w(e.target.value),className:"mt-1 bg-gray-800 border-gray-700 text-white placeholder:text-gray-500"})]}),(0,r.jsx)(i.zx,{type:"submit",disabled:f||!x,className:"w-full bg-blue-600 hover:bg-blue-700 text-white",children:f?"Generating...":"Generate Captions"}),v&&(0,r.jsx)("p",{className:"text-sm text-red-400",children:v})]}),T&&(0,r.jsxs)("div",{className:"mt-8 space-y-4",children:[T.captions.map((e,t)=>(0,r.jsx)(l.Zb,{className:"bg-gray-800 border-gray-700 relative",children:(0,r.jsxs)(l.aY,{className:"pt-6",children:[(0,r.jsx)("p",{className:"whitespace-pre-wrap text-white",children:e.text}),(0,r.jsx)("div",{className:"mt-2 text-sm text-blue-400",children:e.hashtags.join(" ")}),(0,r.jsx)("div",{className:"absolute bottom-4 right-4",children:(0,r.jsx)(u.q,{text:_(e)})})]})},t)),(0,r.jsx)(l.Zb,{className:"bg-gray-800 border-[#4bde81]/30",children:(0,r.jsxs)(l.aY,{className:"pt-6 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-white font-semibold",children:"Your caption is ready. Now make the video."}),(0,r.jsxs)("p",{className:"text-gray-400 text-sm mt-1",children:["Revid turns your topic into a ready-to-post ",g[t].label," with AI voice, captions, and visuals."]})]}),(0,r.jsxs)(b(),{href:g[t].href,className:"shrink-0 inline-flex items-center justify-center gap-2 rounded-lg bg-[#4bde81] px-4 py-2.5 text-sm font-semibold text-gray-950 transition-colors hover:bg-[#3ecb72]",children:["Turn it into a video",(0,r.jsx)(h.D3e,{className:"h-4 w-4"})]})]})})]})]})]})})}},21774:function(e,t,a){"use strict";a.d(t,{I:function(){return o},e:function(){return n}});var r=a(85893),s=a(67294),i=a(69394);let o=s.forwardRef((e,t)=>{let{className:a,type:s,...o}=e;return(0,r.jsx)("input",{type:s,className:(0,i.cn)("flex h-10 w-full rounded-[9px] border border-ds-border-strong bg-ds-surface px-3 py-2 text-ds-text shadow-[0_1px_2px_#1010140A] outline-none transition-colors file:border-0 file:bg-transparent file:text-sm file:font-norm file:text-ds-strong placeholder:text-ds-faint focus-visible:border-ds-strong focus-visible:ring-0 disabled:cursor-not-allowed disabled:opacity-50 dark:border-base-800 dark:bg-base-950 dark:file:text-base-50 dark:placeholder:text-base-400 text-ds-label font-normal",a),ref:t,"data-gramm":"false","data-gramm_editor":"false","data-enable-grammarly":"false",...o})});o.displayName="Input";let n="h-8.5 w-full rounded-ds-lg border-ds-border pl-9 pr-3 text-ds-label-sm shadow-none focus-visible:border-ds-border-strong focus-visible:ring-0 focus-visible:ring-offset-0"},9744:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return g},default:function(){return f}});var r=a(85893),s=a(65491);a(67294);var i=a(23789),o=a(66167),n=a(2962),l=a(28978),d=a(7385),u=a(75628),c=a(95159);let b=[{title:"1. Enter Your Video Topic",body:"Describe what your YouTube video is about - this helps generate attention-grabbing titles."},{title:"2. Add Keywords (Optional)",body:"Include target keywords to improve your video's search ranking and click-through rate."},{title:"3. Generate Titles",body:"Our AI creates multiple engaging title options optimized for views and engagement."},{title:"4. Test and Upload",body:"Choose your favorite title, make any final tweaks, and upload to YouTube."}],h=[{question:"How do I write catchy YouTube titles?",answer:"Effective YouTube titles should be attention-grabbing, include relevant keywords, create curiosity, and stay under 70 characters. Our AI generator helps create titles that drive clicks while following YouTube's best practices."},{question:"What makes a good YouTube title?",answer:"A good YouTube title combines curiosity, keywords, and clarity. It should accurately represent your content while being engaging enough to earn clicks. Our generator creates titles that balance SEO with viewer appeal."},{question:"How long should YouTube titles be?",answer:"YouTube titles should be 60-70 characters maximum to avoid being cut off in search results. Our generator creates titles within this optimal length while maintaining impact and searchability."},{question:"Do YouTube titles affect SEO?",answer:"Yes! Your video title is one of the most important ranking factors for YouTube SEO. It helps YouTube understand your content and influences click-through rates. Our generator optimizes titles for both search visibility and viewer engagement."}];var g=!0;function f(){let e=`https://www.${d.O7.domain}/caption-generator/youtube-title-generator`,t="Free YouTube Title Generator | Catchy Titles That Rank",a="Create attention-grabbing YouTube titles that boost views and rankings. Our free YouTube Title Generator uses AI to craft perfect titles in seconds.";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("main",{className:"z-0 bg-black relative flex flex-col items-center py-24 px-2 md:px-24 w-full overflow-x-hidden min-h-screen",children:[(0,r.jsx)(s.w,{color:"#000000"}),(0,r.jsx)(n.PB,{title:t,description:a,canonical:e,openGraph:{url:e,title:t,description:a,images:[{url:`https://www.${d.O7.domain}/og?title=`+encodeURIComponent("YouTube Title Generator")}],siteName:d.O7.name},twitter:{handle:"@revid_ai",site:"@revid_ai",cardType:"summary_large_image"}}),(0,r.jsx)(i.Z,{solid:!1,height:"96px"}),(0,r.jsxs)("div",{className:"container mx-auto px-4 pt-20",children:[(0,r.jsx)("h1",{className:"text-4xl font-bold text-center mb-4 text-white",children:"YouTube Title Generator"}),(0,r.jsx)("p",{className:"text-xl text-center text-gray-400 mb-8",children:"Create attention-grabbing YouTube titles that drive views and engagement"})]}),(0,r.jsx)(u.l,{platform:"youtube-title",title:"Generate YouTube Titles",description:"Enter your video topic and get AI-generated engaging titles"}),(0,r.jsx)(c.default,{title:"How It Works",steps:b}),(0,r.jsx)(l.default,{faq:h.map(e=>({title:e.question,description:e.answer}))})]}),(0,r.jsx)(o.default,{})]})}}},function(e){e.O(0,[78845,41664,49123,64712,87144,72007,23789,58507,92888,49774,40179],function(){return e(e.s=37336)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.