- Add canvas project and node database tables - Create canvas workspace with drag, resize, zoom and pan - Add ImageNode with background removal, enhance, extend, angle edit, scene fusion - Add VideoNode with playback controls - Add TextNode for text editing - Integrate AI image generation API (Gemini/Alibaba) - Implement viewport culling for performance optimization - Add canvas entry in top navigation bar
19 lines
366 B
TypeScript
19 lines
366 B
TypeScript
import { Metadata } from "next";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "无限画布",
|
|
description: "AI 驱动的无限画布创作工具",
|
|
};
|
|
|
|
export default function CanvasEditorLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="h-screen w-screen overflow-hidden bg-background">
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|