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 { photoProjectChange } from "@/server/photo-apps-http";
import { deleteUserPack } from "@/server/photodump";
/** Delete one of your own packs (an account's own only: another's reads as not found). */
export async function DELETE(request: Request, ctx: RouteContext<"/api/photodump/packs/[id]">) {
const { id } = await ctx.params;
return photoProjectChange(request, () => (deleteUserPack(id) ? new Response(null, { status: 204 }) : Response.json({ error: "Not found" }, { status: 404 })));
}