PageSourceSearch

https://jsonpromptgenerator.net/assets/js/YouTubeLongScriptGenerat…7d1x-GH6Vc83X-D1zVZnkU-C4NfeX0a-DXCnpTwO.js

js jsonpromptgenerator.net collected 2026-10-02 00:38:17 UTC 26,968 bytes, 50 lines download raw bytes

1import{y as a,a as e,A as y,W as ne,N as ie,D as Ne,P as Te,j as k,C as le,J as z,R as oe,b as A,c as I,v as Y,w as E,d as $,F as ce,s as Se,B as de,I as P,V as Ce,$ as ke,e as Ae,f as Ie,g as Ye,h as Ee}from"./index-CpIXAmwR.js";import{p as $e}from"./circle-check-big-Ckm-VE0b-C3rXWwTu-B_cFAHKX-BQhuK49K-CTU5IrZs-UoxQmdlA-CBXXCttg-DQiAFSSX-LBNMlmEn-D9bwPF9Q-WRA02qv-.js";import{m as Pe}from"./circle-x-BXYfoAlW-DJxxSUoU-CxOVnymS-DCyEQOC6-ChZ_rmcR-DD4slRBM-BU3uXt7g-C5OGsCtm-BDqTIIw5-L0Ylfq4K-B45YDzvR.js";import{i as me}from"./clock-D5-SMJSu-BsU8Mxyv-BYFdVWn5-CRMgLa4E-BIW8e1j4-D4hOxMhX-Dg0cAUxE-CYZU8FQR-C2JPuG-P-CqIP7-74-CeKNacZs.js";import{p as pe}from"./brain-CXJTkM_Y-DLaWGIxB-QkHybbJu-CX7D_RY8-D9CHQ-EC-LsMTozbp-BAkj4VWl-Ff65TOD4-tTiD4o21-B8CnklQK-DV_4B_gR.js";import{r as Le}from"./circle-alert-BI98_1Tx-BSanpVP4-x7B5gA7b-DCakjaMx-Ci2GpX0a-BHky_cWg-D0yQb7YV-CHATqry_-DFOSCaN3-DMgKplNa-C5oDM6mN.js";var q=(c,v,d)=>new Promise((w,x)=>{var N=i=>{try{m(d.next(i))}catch(p){x(p)}},T=i=>{try{m(d.throw(i))}catch(p){x(p)}},m=i=>i.done?w(i.value):Promise.resolve(i.value).then(N,T);m((d=d.apply(c,v)).next())});const V=[{id:"short",label:"Short Script (5-10 min)",chunks:1,words:1500,duration:"5-10 minutes"},{id:"medium",label:"Medium Script (12-15 min)",chunks:2,words:3e3,duration:"12-15 minutes"},{id:"long",label:"Long Script (30-45 min)",chunks:5,words:7500,duration:"30-45 minutes"},{id:"ultra",label:"Ultra Long Script (1-2 hours)",chunks:10,words:15e3,duration:"1-2 hours"},{id:"mega",label:"Mega Script (2-3 hours)",chunks:20,words:3e4,duration:"2-3 hours"}],_=[{id:"educational",label:"Educational/Tutorial",description:"How-to guides, tutorials, learning content"},{id:"entertainment",label:"Entertainment",description:"Fun, engaging, viral content"},{id:"review",label:"Review/Analysis",description:"Product reviews, movie reviews, analysis"},{id:"storytelling",label:"Storytelling",description:"Personal stories, narratives, experiences"},{id:"news",label:"News/Commentary",description:"Current events, commentary, opinions"},{id:"lifestyle",label:"Lifestyle",description:"Daily life, habits, wellness content"}],B=[{id:"professional",label:"Professional",description:"Formal, authoritative, expert tone"},{id:"casual",label:"Casual",description:"Relaxed, friendly, conversational"},{id:"energetic",label:"Energetic",description:"High energy, exciting, dynamic"},{id:"calm",label:"Calm",description:"Peaceful, soothing, meditative"},{id:"humorous",label:"Humorous",description:"Funny, witty, entertaining"},{id:"dramatic",label:"Dramatic",description:"Intense, emotional, compelling"}],H=[{id:"plain",label:"Plain Text",description:"Simple paragraphs, easy to copy-paste, no timestamps or formatting",icon:"📝"},{id:"detailed",label:"Detailed Format",description:"Includes timestamps, host notes, scene descriptions, and structured formatting",icon:"🎬"}];function Me(){const[c,v]=a.useState(""),[d,w]=a.useState(""),[x,N]=a.useState("medium"),[T,m]=a.useState("educational"),[i,p]=a.useState("casual"),[L,Q]=a.useState("plain"),[W,J]=a.useState(""),[K,X]=a.useState(""),[O,Z]=a.useState(!1),[ee,h]=a.useState(0),[ue,g]=a.useState(""),[l,G]=a.useState(""),[te,b]=a.useState(null),[D,xe]=a.useState("checking"),S=V.find(t=>t.id===x)||V[1],se=_.find(t=>t.id===T)||_[0],R=B.find(t=>t.id===i)||B[1],re=H.find(t=>t.id===L)||H[0],ae=a.useMemo(()=>!1,[]);a.useEffect(()=>{he()},[]),a.useEffect(()=>{const t=document.title,n=document.querySelector('meta[name="description"]')||(()=>{const s=document.createElement("meta");return s.setAttribute("name","description"),document.head.appendChild(s),s})(),r=document.querySelector('link[rel="canonical"]')||(()=>{const s=document.createElement("link");return s.setAttribute("rel","canonical"),document.head.appendChild(s),s})();return document.title="YouTube Long Script Generator | Generate Long Script",n.setAttribute("content","Create YouTube content effortlessly with our Long Script Generator. Generate detailed scripts tailored to your video needs in just minutes."),r.setAttribute("href","https://jsonpromptgenerator.net/youtube-long-script-generator"),(document.querySelector('meta[name="keywords"]')||(()=>{const s=document.createElement("meta");return s.setAttribute("name","keywords"),document.head.appendChild(s),s})()).setAttribute("content","YouTube long script generator, AI YouTube script writer, YouTube script generator, long-form YouTube script tool, AI script generator for YouTube, YouTube video script maker, long YouTube video script generator, AI script writing tool, YouTube content generator, YouTube script creator, AI video script generator, script generator for YouTubers, long-form content script generator, YouTube script writing software, generate 3 hour YouTube script"),()=>{document.title=t}},[]),a.useEffect(()=>{const t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Can this generate scripts for 1–3 hour videos?",acceptedA
1nswer:{"@type":"Answer",text:"Yes! This tool is designed to create scripts for videos from under 10 minutes to 3+ hours. Ultra-long scripts are auto-chunked and retention-optimized."}},{"@type":"Question",name:"Is the output SEO-friendly?",acceptedAnswer:{"@type":"Answer",text:"Absolutely. AI-generated scripts are structured for engagement, transitions, and audience retention—helping your video perform better on YouTube."}},{"@type":"Question",name:"Can I get just plain paragraphs?",acceptedAnswer:{"@type":"Answer",text:'Yes! Select "Plain" in Output Type to generate easily copy-pasteable, unstructured content.'}}]},n=document.createElement("script");return n.type="application/ld+json",n.id="faq-schema-long-script",n.innerHTML=JSON.stringify(t),document.head.appendChild(n),()=>{const r=document.getElementById("faq-schema-long-script");r&&document.head.removeChild(r)}},[]);const he=()=>q(null,null,function*(){{xe("error");return}}),ge=()=>q(null,null,function*(){var t,n,r;if(!c.trim()){b("Please enter a video title.");return}if(!ae){b("Groq API key not configured.");return}Z(!0),b(null),G(""),h(0),g("Initializing script generation..."),Ie("youtube_long_script_generator",{script_length:S.id,title_length:c.length});try{const s=S.chunks,f=15e3+s*5e3,u=Math.floor(f/6),ye=[{progress:10,step:"Analyzing your video concept...",delay:u},{progress:25,step:"Structuring content outline...",delay:u},{progress:40,step:"Writing engaging introduction...",delay:u},{progress:60,step:"Developing main content...",delay:u},{progress:80,step:"Adding hooks and transitions...",delay:u},{progress:95,step:"Finalizing script...",delay:u}];for(const{progress:o,step:F,delay:M}of ye)h(o),g(F),yield new Promise(j=>setTimeout(j,M));let U="";const ve=Math.ceil(S.words/s);for(let o=1;o<=s;o++){g(`Generating section ${o} of ${s}...`),h(95+o/s*5);const F=L==="plain"?`OUTPUT FORMAT (Plain Text):
2- Write in simple, flowing paragraphs
3- No timestamps, scene markers, or formatting
4- Easy to copy-paste directly
5- Natural conversational flow
6- Clean, readable text only
7- Do NOT use **bold** or *italic* formatting
8- Do NOT use markdown formatting`:`OUTPUT FORMAT (Detailed):
9- Include timestamps for major sections [00:00 - Introduction]
10- Add host notes in brackets [Host: Look at camera]
11- Include scene descriptions [Scene: Close-up of product]
12- Add transition cues [Transition: Cut to B-roll]
13- Structure with clear sections and markers
14- Include technical notes where relevant
15- Do NOT use **bold** or *italic* formatting
16- Do NOT use markdown formatting`,M=`You are an expert YouTube script writer. Create a comprehensive script section for a ${S.duration} YouTube video.
17
18VIDEO DETAILS:
19- Title: "${c}"
20- Description: "${d||"Not provided"}"
21- Content Type: ${se.label} (${se.description})
22- Tone: ${R.label} (${R.description})
23- Output Type: ${re.label} (${re.description})
24- Target Audience: ${W||"General audience"}
25- Key Points to Cover: ${K||"Not specified"}
26
27SECTION REQUIREMENTS:
28- This is section ${o} of ${s} total sections
29- Target length: ~${ve} words
30- Maintain ${R.label.toLowerCase()} tone throughout
31- Include engaging hooks and transitions
32- Optimize for YouTube algorithm (retention, engagement, SEO)
33- Use natural speech patterns and conversational style
34- Include specific examples and actionable advice where relevant
35
36${F}
37
38CONTENT REQUIREMENTS:
39- Engaging opening hook (if section 1)
40- Clear value proposition
41- Structured content with smooth transitions
42- Call-to-action (if final section)
43- Natural speech patterns and pacing
44- Compelling and informative content optimized for viewer retention
45
46Make it compelling, informative, and optimized for viewer retention.`,j=yield fetch("https://api.groq.com/openai/v1/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer undefined"},body:JSON.stringify({model:"llama-3.1-8b-instant",messages:[{role:"system",content:"You are a professional YouTube script writer with expertise in creating engaging, algorithm-optimized content. Write in a natural, conversational style."},{role:"user",content:M}],max_tokens:3e3,temperature:.7})});if(!j.ok)throw new Error(`API request failed: ${j.status}`);let C=((r=(n=(t=(yield j.json()).choices)==null?void 0:t[0])==null?void 0:n.message)==null?void 0:r.content)||"";C=C.replace(/\*\*(.*?)\*\*/g,"$1").replace(/\*(.*?)\*/g,"$1").replace(/#{1,6}\s*/g,"").replace(/`(.*?)`/g,"$1").replace(/\[(.*?)\]\(.*?\)/g,"$1"),o===1?U=C:U+=`
47
48--- SECTION ${o} ---
49
50${C}`,yield new Promise(we=>setTimeout(we,1e3))}G(U),h(100),g("Script generation complete!")}catch(s){console.error("Error generating script:",s),b(`Failed to generate script: ${s.message}`)}finally{Z(!1)}}),be=()=>{const t=new Date().toISOString().split("T")[0],n=`${c.replace(/[^a-zA-Z0-9]/g,"-")||"youtube-script"}-${t}.txt`,r=new Blob([l],{type:"text/plain"}),s=URL.createObjectURL(r),f=document.createElement("a");f.href=s,f.download=n,f.click(),URL.revokeObjectURL(s),Ee("youtube_long_script","txt")},fe=()=>q(null,null,function*(){var t;try{yield navigator.clipboard.writeText(l),Ye("youtube_long_script");const n=(t=document.querySelector("[data-copy-button]"))==null?void 0:t.textContent,r=document.querySelector("[data-copy-button]");r&&(r.textContent="Copied!",r.classList.add("bg-green-500","hover:bg-green-400"),r.classList.remove("bg-blue-500","hover:bg-blue-400"),setTimeout(()=>{r.textContent=n,r.classList.remove("bg-green-500","hover:bg-green-400"),r.classList.add("bg-blue-500","hover:bg-blue-400")},2e3))}catch(n){console.error("Failed to copy: ",n);const r=document.createElement("textarea");r.value=l,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r)}}),je=()=>
50{v(""),w(""),N("medium"),m("educational"),p("casual"),Q("plain"),J(""),X(""),G(""),b(null),h(0),g("")};return e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900",children:[e.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsxs("div",{className:"text-center mb-6 sm:mb-8",children:[e.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-3 sm:mb-4",children:e.jsx("span",{className:"bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 bg-clip-text text-transparent",children:"YouTube Long Script Generator"})}),e.jsx("p",{className:"text-sm sm:text-base lg:text-lg text-gray-300 max-w-4xl mx-auto px-4",children:"Generate comprehensive YouTube scripts for long-form content. AI-powered script writing tool for creators, YouTubers, and content makers."})]}),e.jsx("div",{className:"mb-6",children:e.jsx(y,{slot:"4574733192"})}),e.jsxs("div",{className:"mb-4 sm:mb-6",children:[D==="checking"&&e.jsxs("div",{className:"flex items-center justify-center p-3 sm:p-4 bg-blue-500/10 border border-blue-500/20 rounded-lg",children:[e.jsx(ne,{className:"w-4 h-4 sm:w-5 sm:h-5 text-blue-400 animate-spin mr-2 sm:mr-3"}),e.jsx("span",{className:"text-blue-400 text-sm sm:text-base",children:"Checking API connection..."})]}),D==="connected"&&e.jsxs("div",{className:"flex items-center justify-center p-3 sm:p-4 bg-green-500/10 border border-green-500/20 rounded-lg",children:[e.jsx($e,{className:"w-4 h-4 sm:w-5 sm:h-5 text-green-400 mr-2 sm:mr-3"}),e.jsx("span",{className:"text-green-400 text-sm sm:text-base",children:"API connected successfully"})]}),D==="error"&&e.jsxs("div",{className:"flex items-center justify-center p-3 sm:p-4 bg-red-500/10 border border-red-500/20 rounded-lg",children:[e.jsx(Pe,{className:"w-4 h-4 sm:w-5 sm:h-5 text-red-400 mr-2 sm:mr-3"}),e.jsx("span",{className:"text-red-400 text-sm sm:text-base",children:"API connection failed. Please check your configuration."})]})]}),e.jsxs(ie,{className:"bg-slate-900/70 border-purple-500/20 backdrop-blur-xl shadow-2xl",children:[e.jsx(Ne,{className:"p-4 sm:p-6",children:e.jsxs(Te,{className:"text-xl sm:text-2xl text-white flex items-center",children:[e.jsx(k,{className:"w-5 h-5 sm:w-6 sm:h-6 mr-2 sm:mr-3 text-purple-400"}),"Script Configuration"]})}),e.jsxs(le,{className:"space-y-4 sm:space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(z,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-blue-400"}),"Video Title *"]}),e.jsx(oe,{value:c,onChange:t=>v(t.target.value),placeholder:"Enter your video title...",className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(me,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-green-400"}),"Script Length"]}),e.jsxs(A,{value:x,onValueChange:N,children:[e.jsx(I,{className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base",children:e.jsx(Y,{placeholder:"Select script length"})}),e.jsx(E,{className:"bg-slate-800 border-purple-500/30",children:V.map(t=>e.jsx($,{value:t.id,className:"text-white hover:bg-purple-500/20",children:e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{children:[e.jsx("div",{className:"font-medium text-sm sm:text-base",children:t.label}),e.jsxs("div",{className:"text-xs sm:text-sm text-gray-400",children:[t.words.toLocaleString()," words • ",t.duration]})]})})},t.id))})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(pe,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-purple-400"}),"Video Description"]}),e.jsx(ce,{value:d,onChange:t=>w(t.target.value),placeholder:"Describe your video content, goals, and key messages...",rows:3,className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(Se,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-yellow-400"}),"Content Type"]}),e.jsxs(A,{value:T,onValueChange:m,children:[e.jsx(I,{className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base",children:e.jsx(Y,{placeholder:"Select content type"})}),e.jsx(E,{className:"bg-slate-800 border-purple-500/30",children:_.map(t=>e.jsx($,{value:t.id,className:"text-white hover:bg-purple-500/20",children:e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{children:[e.jsx("div",{className:"font-medium text-sm sm:text-base",children:t.label}),e.jsx("div",{className:"text-xs sm:text-sm text-gray-400",children:t.description})]})})},t.id))})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(de,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-pink-400"}),"Tone"]}),e.jsxs(A,{value:i,onValueChange:p,children:[e.jsx(I,{className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base",children:e.jsx(Y,{placeholder:"Select tone"})}),e.jsx(E,{className:"bg-slate-800 border-purple-500/30",children:B.map(t=>e.jsx($,{value:t.id,className:"text-white hover:bg-purple-500/20",children:e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{children:[e.jsx("div",{className:"font-medium text-sm sm:text-base",children:t.label}),e.jsx("div",{className:"text-xs sm:text-sm text-gray-400",children:t.description})]})})},t.id))})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(k,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-indigo-400"}),"Output Type"]}),e.jsxs(A,{value:L,onValueChange:Q,children:[e.jsx(I,{className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base",children:e.jsx(Y,{placeholder:"Select output type"})}),e.jsx(E,{className:"bg-slate-800 border-purple-500/30",children:H.map(t=>e.jsx($,{value:t.id,className:"text-white hover:bg-purple-500/20",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-base sm:text-lg mr-2",children:t.icon}),e.jsxs("div",{children:[e.jsx("div",{className:"font-medium text-sm sm:text-base",children:t.label}),e.jsx("div",{className:"text-xs sm:text-sm text-gray-400",children:t.description})]})]})},t.id))})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(z,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-orange-400"}),"Target Audience"]}),e.jsx(oe,{value:W,onChange:t=>J(t.target.value),placeholder:"e.g., Beginners, Professionals, Students, General audience...",className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"text-base sm:text-lg font-medium text-white flex items-center",children:[e.jsx(pe,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 text-cyan-400"}),"Key Points to Cover"]}),e.jsx(ce,{value:K,onChange:t=>X(t.target.value),placeholder:"List the main points, topics, or sections you want to include in your script...",rows:3,className:"text-white bg-slate-800/50 border-purple-500/30 focus:border-purple-400 text-sm sm:text-base"})]}),e.jsx("div",{className:"my-4",children:e.jsx(y,{slot:"4574733192"})}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 sm:gap-4",children:[e.jsx(P,{disabled:O||!ae||!c.trim(),onClick:ge,className:"flex-1 bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-400 hover:to-pink-400 text-white font-semibold py-3 px-4 sm:px-6 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105 text-sm sm:text-base",children:O?e.jsxs(e.Fragment,{children:[e.jsx(ne,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2 animate-spin"}),e.jsx("span",{className:"hidden sm:inline",children:"Generating Script..."}),e.jsx("span",{className:"sm:hidden",children:"Generating..."})]}):e.jsxs(e.Fragment,{children:[e.jsx(de,{className:"w-4 h-4 sm:w-5 sm:h-5 mr-2"}),e.jsx("span",{className:"hidden sm:inline",children:"Generate YouTube Script"}),e.jsx("span",{className:"sm:hidden",children:"Generate Script"})]})}),l&&e.jsxs(P,{variant:"outline",onClick:je,className:"border-purple-500/30 text-purple-300 hover:bg-purple-500/10 py-3 px-4 sm:px-6 text-sm sm:text-base",children:[e.jsx(Ce,{className:"w-4 h-4 mr-2"}),"Reset"]})]}),e.jsx("div",{className:"my-4",children:e.jsx(y,{slot:"4574733192"})}),te&&e.jsxs("div",{className:"flex items-center p-3 sm:p-4 bg-red-500/10 border border-red-500/20 rounded-lg",children:[e.jsx(Le,{className:"w-4 h-4 sm:w-5 sm:h-5 text-red-400 mr-2 sm:mr-3"}),e.jsx("span",{className:"text-red-400 text-sm sm:text-base",children:te})]}),O&&e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs sm:text-sm text-gray-300",children:[e.jsx("span",{className:"truncate mr-2",children:ue}),e.jsxs("span",{className:"flex-shrink-0",children:[ee,"%"]})]}),e.jsx("div",{className:"w-full bg-slate-700 rounded-full h-2",children:e.jsx("div",{className:"bg-gradient-to-r from-purple-500 to-pink-500 h-2 rounded-full transition-all duration-500 ease-out",style:{width:`${ee}%`}})})]})]})]}
50),l&&e.jsxs("div",{className:"mt-6 sm:mt-8 space-y-4 sm:space-y-6",children:[e.jsx("div",{className:"my-4",children:e.jsx(y,{slot:"4574733192"})}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-3 sm:gap-4",children:[e.jsxs("h2",{className:"text-xl sm:text-2xl lg:text-3xl font-bold text-white flex items-center",children:[e.jsx(k,{className:"w-6 h-6 sm:w-7 sm:h-7 lg:w-8 lg:h-8 mr-2 sm:mr-3 text-green-400"}),e.jsx("span",{className:"hidden sm:inline",children:"Generated YouTube Script"}),e.jsx("span",{className:"sm:hidden",children:"Generated Script"})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 sm:gap-3 w-full sm:w-auto",children:[e.jsxs(P,{onClick:fe,"data-copy-button":!0,className:"bg-blue-500 hover:bg-blue-400 text-white text-sm sm:text-base py-2 sm:py-3 px-3 sm:px-4",children:[e.jsx(ke,{className:"w-4 h-4 mr-2"}),"Copy Script"]}),e.jsxs(P,{onClick:be,className:"bg-green-500 hover:bg-green-400 text-white text-sm sm:text-base py-2 sm:py-3 px-3 sm:px-4",children:[e.jsx(Ae,{className:"w-4 h-4 mr-2"}),"Download TXT"]})]})]}),e.jsx(ie,{className:"bg-slate-900/60 border-purple-500/10 backdrop-blur-xl",children:e.jsxs(le,{className:"p-4 sm:p-6",children:[e.jsx("div",{className:"flex items-center justify-between mb-3 p-2 bg-slate-800/30 rounded-lg border border-slate-600/30",children:e.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-300",children:[e.jsxs("span",{className:"flex items-center",children:[e.jsx(k,{className:"w-4 h-4 mr-1 text-blue-400"}),e.jsxs("span",{className:"font-medium",children:[l.split(/\s+/).filter(t=>t.length>0).length," words"]})]}),e.jsxs("span",{className:"flex items-center",children:[e.jsx(z,{className:"w-4 h-4 mr-1 text-green-400"}),e.jsxs("span",{className:"font-medium",children:[l.length," characters"]})]}),e.jsxs("span",{className:"flex items-center",children:[e.jsx(me,{className:"w-4 h-4 mr-1 text-purple-400"}),e.jsxs("span",{className:"font-medium",children:["~",Math.round(l.split(/\s+/).filter(t=>t.length>0).length/150)," min read"]})]})]})}),e.jsx("div",{className:"bg-slate-800/50 p-3 sm:p-4 rounded-lg border border-slate-700",children:e.jsx("pre",{className:"whitespace-pre-wrap text-gray-200 text-xs sm:text-sm leading-relaxed overflow-x-auto",children:l})})]})}),e.jsx("div",{className:"my-4",children:e.jsx(y,{slot:"4574733192"})})]})]}),e.jsxs("section",{className:"mt-14 max-w-3xl mx-auto bg-slate-900/60 border border-pink-500/10 rounded-xl shadow-lg p-8 text-white prose prose-invert",children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold mb-4",children:"YouTube Long Script Generator: Effortless Long-Form Video Scripting"}),e.jsxs("p",{className:"mt-2 mb-2 text-lg",children:["The ",e.jsx("strong",{children:"YouTube Long Script Generator"})," is your go-to tool for crafting detailed, high-quality video scripts—from 5 minutes to over 3 hours of AI-generated content. Instantly generate polished scripts tailored to your topic, style, and audience—perfect for educators, creators, marketers, and agencies who need full-length YouTube scripts fast."]}),e.jsx("p",{children:"Choose your script length, content style, tone, and output format—then let our AI do the heavy lifting. You’ll get engaging, retention-optimized scripts that are ready to record or publish, every time."}),e.jsx("h2",{className:"mt-6 mb-3 text-2xl font-semibold",children:"Why Use the Long Script Generator?"}),e.jsxs("ul",{className:"list-disc ml-6",children:[e.jsxs("li",{children:[e.jsx("b",{children:"Ultra-long-form content:"})," Create scripts for 30 minutes to 3+ hour videos, split into useful, readable sections."]}),e.jsxs("li",{children:[e.jsx("b",{children:"Plain or Detailed formats:"})," Choose easy-to-edit classic text or advanced, timestamped scenes (with host/CTA markers)."]}),e.jsxs("li",{children:[e.jsx("b",{children:"Audience-tuned:"})," Set tone, key points, and target viewers for super-relevant scripts."]}),e.jsxs("li",{children:[e.jsx("b",{children:"SEO smart:"})," All content is designed to boost watch time and engagement for YouTube."]})]}),e.jsx("h2",{className:"mt-6 mb-3 text-2xl font-semibold",children:"How to Use It"}),e.jsxs("ol",{className:"list-decimal ml-6",children:[e.jsx("li",{children:"Enter your video title and optional description."}),e.jsx("li",{children:"Select your script duration, content type, tone, and output format."}),e.jsxs("li",{children:["Hit ",e.jsx("b",{children:"Generate"})," and get a ready-made script—instantly downloadable."]})]}),e.jsx("h2",{className:"mt-6 mb-3 text-2xl font-semibold",children:"FAQs: YouTube Script Generation"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mt-2 mb-1",children:"Can this generate scripts for 1–3 hour videos?"}),e.jsx("p",{children:"Yes! This tool is designed to create scripts for videos from under 10 minutes to 3+ hours. Ultra-long scripts are auto-chunked and retention-optimized."}),e.jsx("h3",{className:"font-semibold mt-2 mb-1",children:"Is the output SEO-friendly?"}),e.jsx("p",{children:"Absolutely. AI-generated scripts are structured for engagement, transitions, and audience retention—helping your video perform better on YouTube."}),e.jsx("h3",{className:"font-semibold mt-2 mb-1",children:"Can I get just plain paragraphs?"}),e.jsx("p",{children:'Yes! Select "Plain" in Output Type to generate easily copy-
50pasteable, unstructured content.'})]}),e.jsx("h2",{className:"mt-8 mb-3 text-2xl font-semibold",children:"Try More YouTube & AI Scripting Tools"}),e.jsxs("ul",{className:"list-disc ml-6",children:[e.jsxs("li",{children:[e.jsx("a",{href:"/script-to-image-prompt-generator",className:"text-blue-400 underline hover:text-blue-300",children:"Script to Image Generator"}),": Instantly convert scripts into detailed AI image prompts for Midjourney, DALL·E, and others."]}),e.jsxs("li",{children:[e.jsx("a",{href:"/youtube-script-rewriter",className:"text-blue-400 underline hover:text-blue-300",children:"YouTube Script Rewriter"}),": Turn competitor or old scripts into brand new, original content."]})]}),e.jsxs("div",{className:"mt-8 text-gray-400 text-xs",children:["Powered by ",e.jsx("a",{href:"https://jsonpromptgenerator.net",className:"text-blue-400 underline",children:"jsonpromptgenerator.net"})," — your AI video scripting partner."]})]})]})}export{Me as default};

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.