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 { POST as influencer } from "../route";
/**
* The price of an AI Influencer run without starting it: the same body as POST /api/influencer?preview=1, at the
* `<route>/estimate` path the evaluation harness prices studio routes at. Priced as the asker's run would go: an
* account's on its own GPU or key, a guest's on the open engine, never a demo (src/server/account-tool-run.ts priceAsRun).
*/
export async function POST(request: Request) {
const url = new URL(request.url.replace(/\/estimate(?=\/?(\?|$))/, ""));
url.searchParams.set("preview", "1");
return influencer(new Request(url, { method: "POST", headers: request.headers, body: await request.text() }));
}