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 { failure, MultiplierBody, readBody, runMultiplier } from "@/server/marketing";
/** Ad Multiplier: new versions of a reference ad (the whole ad from a prompt, or a new hook / CTA around it). */
export async function POST(request: Request) {
const body = await readBody(request, MultiplierBody, "Add a reference video to recreate");
if (body instanceof Response) return body;
try {
return Response.json({ runs: await runMultiplier(body) }, { status: 201 });
} catch (e) {
return failure(e);
}
}