1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58],{1866:function(e,o,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/features/video-generation",function(){return t(9571)}])},9571:function(e,o,t){"use strict";t.r(o),t.d(o,{default:function(){return j}});var i=t(5893),n=t(7294),r=t(1107),a=t(8284),s=t(9148),l=t(3679),d=t(9140),c=t(4052),u=t(5585),p=t(4092),f=t(245),x=t(3520);function m(e){let{title:o,posterUrl:t,videoUrl:a,onPlay:s}=e,[l,d]=(0,n.useState)(!1),u=n.useRef(null);return n.useEffect(()=>{l&&u.current&&u.current.play().catch(()=>{})},[l]),(0,i.jsx)(r.xu,{position:"relative",borderRadius:12,overflow:"hidden",cursor:"pointer",transition:"all 0.3s ease",_hover:{transform:"scale(1.03)"},onClick:()=>s(a),onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),bg:"dark.300",children:(0,i.jsxs)(r.xu,{position:"relative",w:"100%",h:"140px",children:[(0,i.jsx)(r.xu,{as:"img",w:"100%",h:"100%",objectFit:"cover",src:t,alt:o,position:"absolute",top:0,left:0}),l&&(0,i.jsx)("video",{ref:u,src:a,muted:!0,loop:!0,playsInline:!0,style:{width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0}}),!l&&(0,i.jsx)(r.xu,{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",bg:"rgba(0,0,0,0.1)",children:(0,i.jsx)(r.xu,{opacity:.6,children:(0,i.jsx)(r.xu,{as:c.KCr,color:"white",fontSize:20,ml:"2px"})})}),(0,i.jsx)(r.xu,{position:"absolute",bottom:0,left:0,right:0,bgGradient:"linear(to-t, rgba(0,0,0,0.8) 0%, transparent 100%)",p:3,pt:6,children:(0,i.jsx)(r.xv,{color:"white",fontSize:13,fontWeight:600,children:o})})]})})}function g(){let{data:e}=(0,x.NwE)(),[o,t]=(0,n.useState)(null),[a,s]=(0,n.useState)(!1),l=(null!=e?e:[]).filter(e=>e.video&&e.poster).slice(0,6),d=e=>{t(e),s(!0)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.g,{title:"Image to **Video**",accentColor:"#0077cc",description:"Use the latest AI video models to create & bring your images to life. Apply stunning effects, generate motion from still photos, and create viral content in seconds.",customFeaturesContent:(0,i.jsxs)(r.xu,{display:"flex",flexWrap:"wrap",gap:2,w:"100%",children:[(0,i.jsx)(f.r,{icon:c.LFN,text:"Photo to video transformation",iconColor:"#0077cc"}),(0,i.jsx)(f.r,{icon:c.Wqx,text:"Multiple AI models (Sora, Kling, Wan)",iconColor:"#0077cc"}),(0,i.jsx)(f.r,{icon:c.NNy,text:"Motion & camera controls",iconColor:"#0077cc"}),(0,i.jsx)(f.r,{icon:c.Par,text:"Fast generation times",iconColor:"#0077cc"})]}),linkText:"Explore video features",linkHref:"/features/video-generation",children:(0,i.jsx)(r.MI,{columns:{base:2,md:3},gap:3,children:l.map(e=>(0,i.jsx)(m,{title:e.title,posterUrl:e.posterVideo||e.poster,videoUrl:e.video,onPlay:d},e.id))})}),(0,i.jsx)(u.K,{isOpen:a,onClose:()=>{s(!1),t(null)},videoUrl:o})]})}var h=t(742);let b=[{id:"all",name:"All Models"},{id:"sora",name:"Sora (OpenAI)",color:"#393485"},{id:"kling",name:"Kling",color:"#26fe86"},{id:"wan",name:"Wan (Alibaba)",color:"#ff6b6b"}],v=[{title:"Social Media Content",description:"Create viral short-form videos for TikTok, Reels, and YouTube Shorts"},{title:"Music Videos",description:"Generate visuals to accompany AI-generated or existing music"},{title:"Product Showcases",description:"Bring products to life with dynamic AI-generated demos"},{title:"Concept Visualization",description:"Transform ideas into moving visuals before production"}];function j(){var e;let{data:o=[]}=(0,x.dnu)(),{data:t}=(0,x.Df1)(),u=null!==(e=null==t?void 0:t.models)&&void 0!==e?e:[],p=(0,n.useMemo)(()=>0===u.length?h.V4:u.filter(e=>e.enabled).map(w),[u]),f=(0,n.useMemo)(()=>0===o.length?b:[{id:"all",name:"All Models"},...o.map(e=>({id:e.id,name:"".concat(e.title).concat("sora"===e.id?" (OpenAI)":"wan"===e.id?" (Alibaba)":""),color:e.color}))],[o]),m=e=>"all"===e?p:p.filter(o=>o.provider===({sora:"OpenAI",kling:"Kuaishou",wan:"Alibaba"})[e]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.R,{title:"AI Video Generator - Sora, Kling & Wan",description:"Create stunning AI videos with industry-leading models: OpenAI Sora, Kling, and Wan. Transform images into cinematic videos in seconds.",keywords:["AI video generator","Sora AI","Kling video","Wan AI","image to video AI","AI video maker","text to video","AI animation","video generation app"],canonical:"https://dreamstolife.app/features/video-generation"}),(0,i.jsxs)(l.h,{tag:(0,i.jsx)(d.X,{icon:c.HwW,text:"AI Video Generator",color:"#3b82f6"}
1),title:"AI **Video** Generation",subtitle:"Choose from industry-leading AI video models. From OpenAI's cinematic Sora to the fast and affordable Kling and Wan.",footerTitle:"Start creating **videos** with AI",footerSubtitle:"Transform images into cinematic videos with industry-leading AI models.",footerButtonText:"Create my first video",color:"#3b82f6",children:[(0,i.jsx)(g,{}),(0,i.jsxs)(r.W2,{maxW:"6xl",children:[(0,i.jsxs)(r.mQ,{variant:"unstyled",mb:20,mt:20,children:[(0,i.jsx)(r.td,{justifyContent:"center",gap:2,mb:8,flexWrap:"wrap",children:f.map(e=>(0,i.jsx)(r.OK,{bg:"dark.300",color:"gray.400",borderRadius:8,px:4,py:2,fontSize:14,fontWeight:600,_selected:{bg:e.color||"accent.200",color:"kling"===e.id?"black":"white"},transition:"all 0.2s",children:e.name},e.id))}),(0,i.jsx)(r.nP,{children:f.map(e=>(0,i.jsx)(r.x4,{p:0,children:(0,i.jsx)(r.MI,{columns:{base:1,md:2,lg:3},gap:6,children:m(e.id).map(e=>(0,i.jsx)(a.L,{model:e,showVideo:!0},e.id))})},e.id))})]}),(0,i.jsxs)(r.xu,{mb:20,children:[(0,i.jsx)(r.X6,{color:"white",fontSize:"2xl",fontWeight:600,mb:8,textAlign:"center",children:"Perfect For"}),(0,i.jsx)(r.MI,{columns:{base:1,md:2,lg:4},gap:6,children:v.map(e=>(0,i.jsxs)(r.xu,{bg:"dark.200",borderRadius:12,p:6,transition:"all 0.3s ease",_hover:{bg:"dark.300"},children:[(0,i.jsx)(r.X6,{color:"white",fontSize:"lg",fontWeight:600,mb:2,children:e.title}),(0,i.jsx)(r.xv,{color:"gray.400",fontSize:14,lineHeight:1.6,children:e.description})]},e.title))})]})]})]})]})}function w(e){return{id:e.model,name:e.name,provider:({sora:"OpenAI",kling:"Kuaishou",wan:"Alibaba"})[e.groupId]||e.groupId,description:e.description,features:[],grade:e.grade,tag:e.tag,estimatedPrice:"".concat(e.estimatedPrice," tokens"),category:"video",color:"sora"===e.groupId?"#393485":"kling"===e.groupId?"#26fe86":"#ff6b6b",exampleVideo:e.exampleVideo}}},5585:function(e,o,t){"use strict";t.d(o,{K:function(){return s}});var i=t(5893),n=t(7294),r=t(1107),a=t(4052);function s(e){let{isOpen:o,onClose:t,videoUrl:s}=e;return((0,n.useEffect)(()=>(o?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[o]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t]),o&&s)?(0,i.jsxs)(r.xu,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",children:[(0,i.jsx)(r.xu,{position:"absolute",top:0,left:0,right:0,bottom:0,bg:"blackAlpha.800",onClick:t}),(0,i.jsxs)(r.xu,{position:"relative",bg:"dark.200",borderRadius:12,overflow:"hidden",border:"1px solid",borderColor:"rgba(255,255,255,0.12)",maxW:{base:"95vw",md:"500px"},w:"100%",mx:4,zIndex:1,children:[(0,i.jsx)(r.xu,{as:"button",position:"absolute",top:3,right:3,zIndex:10,bg:"blackAlpha.600",borderRadius:"full",w:8,h:8,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",onClick:t,_hover:{bg:"blackAlpha.700"},border:"none",children:(0,i.jsx)(r.xu,{as:a.q5L,color:"white",size:18})}),(0,i.jsx)("video",{src:s,controls:!0,autoPlay:!0,loop:!0,playsInline:!0,style:{width:"100%",maxHeight:"80vh",objectFit:"contain",backgroundColor:"#000"}})]})]}):null}}},function(e){e.O(0,[152,66,121,34,543,888,774,179],function(){return e(e.s=1866)}),_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.