Initial 智念AIGC platform

This commit is contained in:
inman
2026-05-29 10:26:02 +08:00
commit f9c3393f84
86 changed files with 14741 additions and 0 deletions

16
app/create/page.tsx Normal file
View File

@@ -0,0 +1,16 @@
import { CreateStudio } from "@/components/create-studio";
export default async function CreatePage({
searchParams
}: {
searchParams?: Promise<Record<string, string | string[] | undefined>>;
}) {
const params = await searchParams;
const modeParam = Array.isArray(params?.mode) ? params?.mode[0] : params?.mode;
const initialMode = modeParam === "video" || modeParam === "inpaint" || modeParam === "upscale"
? modeParam
: modeParam === "edit"
? "inpaint"
: "image";
return <CreateStudio initialMode={initialMode} />;
}