The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
import { cookies } from "next/headers";
import { endSession, SESSION_COOKIE } from "@/server/auth";
/** Sign out: this session ends on the server too (a copy of its cookie stops working), and the browser forgets it. */
export async function POST() {
const jar = await cookies();
endSession(jar.get(SESSION_COOKIE)?.value);
jar.delete(SESSION_COOKIE);
return Response.json({ ok: true });
}