"use client"; import { useState, useRef, useEffect, useMemo } from "react"; import { Table, AlignHorizontalSpaceAround, Loader2, Clapperboard, CircleArrowRight, } from "lucide-react"; import "./style/home-page2.css"; import { useRouter } from "next/navigation"; import { Swiper, SwiperSlide } from "swiper/react"; import "swiper/swiper-bundle.css"; // 引入样式 import { Autoplay } from "swiper/modules"; import { VideoCarouselLayout } from "@/components/video-carousel-layout"; import { VideoGridLayout } from "@/components/video-grid-layout"; import { motion, AnimatePresence } from "framer-motion"; import { LiquidButton } from "@/components/ui/liquid-glass-button"; import { createScriptProject, CreateScriptProjectRequest, } from "@/api/script_project"; import { ProjectTypeEnum, ModeEnum, ResolutionEnum } from "@/app/model/enums"; import { getResourcesList, Resource } from "@/api/resources"; import { Carousel } from "antd"; import { TextCanvas } from "../common/TextCanvas"; export function HomePage2() { const [hPading, setHPading] = useState(0); useEffect(() => { setHPading((window as any).Scale.hScale * 11); }, []); return ( //
); } /** 首屏 */ function HomeModule1() { const router = useRouter(); return (

Ideas Become Movies

Next-Generation AI Movies Making Platform

From Ideas to Movies in just 5-10 minutes

router.push("/create")} > Early Access
); } /**核心价值 */ function HomeModule2() { return (

Just Give Us Your Ideas

Input your idea in one sentence and MovieFlow will bring

your creativity to life

); } /**案例展示 */ function HomeModule3() { const videoList = [ [ "/assets/show (1).mp4", "/assets/show (2).mp4", "/assets/show (3).mp4", "/assets/show (4).mp4", "/assets/show (5).mp4", ], [ "/assets/show (6).mp4", "/assets/show (7).mp4", "/assets/show (8).mp4", "/assets/show (9).mp4", "/assets/show (10).mp4", ], [ "/assets/show (11).mp4", "/assets/show (12).mp4", "/assets/show (13).mp4", "/assets/show (14).mp4", "/assets/show (15).mp4", ], ]; // 定义内容样式 const contentStyle: React.CSSProperties = { height: "100%", lineHeight: "10rem", textAlign: "center", background: "#364d79", }; return (

Create Anything

MovieFlow can make any kind of film in high quality for you

{/* 3x3网格布局 */}
{/* 上方阴影遮罩 - 使用 mask 实现真正的渐变模糊,加重黑色 */}
{/* 下方阴影遮罩 - 使用 mask 实现真正的渐变模糊,加重黑色 */}
{videoList.map((column, columnIndex) => (
{column.map((video, videoIndex) => (
))}
))}
); } /**电影制作工序介绍 */ function HomeModule4() { const [activeTab, setActiveTab] = useState(0); const processSteps = [ { title: "Pre-Production", description: "Developing the story, writing the script, securing funding, assembling the crew, and planning the shoot.", }, { title: "Production", description: "Developing the story, writing the script, securing funding, assembling the crew, and planning the shoot.", }, { title: "Visual Effects", description: "Developing the story, writing the script, securing funding, assembling the crew, and planning the shoot.", }, { title: "Voice", description: "Developing the story, writing the script, securing funding, assembling the crew, and planning the shoot.", }, ]; const handleTabClick = (index: number) => { setActiveTab(index); }; return (

Edit like you think

{/* 左侧四个切换tab */}
{processSteps.map((step, index) => (
handleTabClick(index)} className={`w-[31.75rem] h-[10.5rem] rounded-lg cursor-pointer transition-all duration-300 border ${ activeTab === index ? "bg-[#262626] border-white/20 hover:border-white/40" : "bg-black border-white/10 hover:border-white/40" }`} >

{step.title}

{step.description}

))}
{/* 右侧视频播放区域 */}
); } /**价格方案 */ function HomeModule5() { const [billingType, setBillingType] = useState<"monthly" | "yearly">( "monthly" ); const pricingPlans = [ { title: "Plus", price: billingType === "monthly" ? 28 : 24, credits: "1x Boost, 10 Credits", buttonText: "Choose Plus", features: [ "10 Credits", "50 Video mins + 95 iStock", "2 UGC product asset ads", "30 secs of generative video", "2 express clones", "3 users, 100GB storage", "Unlimited exports", ], }, { title: "Max", price: billingType === "monthly" ? 50 : 43, credits: "1x Boost, 40 Credits", buttonText: "Choose Max", features: [ "40 Credits", "50 Video mins + 95 iStock", "2 UGC product asset ads", "30 secs of generative video", "2 express clones", "3 users, 100GB storage", "Unlimited exports", ], }, { title: "Generative", price: billingType === "monthly" ? 100 : 85, credits: "1x Boost, 100 Credits", buttonText: "Choose Generative", features: [ "100 Credits", "50 Video mins + 95 iStock", "2 UGC product asset ads", "30 secs of generative video", "2 express clones", "3 users, 100GB storage", "Unlimited exports", ], }, { title: "Team", price: billingType === "monthly" ? 899 : 764, credits: "1x Boost, 1000 Credits", buttonText: "Choose Team", features: [ "1000 Credits", "50 Video mins + 95 iStock", "2 UGC product asset ads", "30 secs of generative video", "2 express clones", "3 users, 100GB storage", "Unlimited exports", ], }, ]; return (

Start Creating

{/* 计费切换 */}
{/* 主要价格卡片 */}
{pricingPlans.map((plan, index) => (

{plan.title}

${plan.price} /month

{plan.credits}

* Billed monthly until cancelled

    {plan.features.map((feature, featureIndex) => (
  • {feature}
  • ))}
))}
{/* 额外价格卡片 */}

Free

$0

10 Video mins and 1 AI credit per week, 1 Express avatar, 4 Exports per week with invideo watermark.

No access to generative features.

Enterprise

Custom

Custom solutions for large organizations. Advanced security and flexible pricing based on your needs.

on your needs.

); } function HomeModule6() { return (
© 2025 MovieFlow. All rights reserved.
); }