MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

All in OneBase + Flare + every UI template · $129 · Save $28
MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy MuseMVP Flare

All in Cloudflare · AI built inmusemvp-flare

An AI SaaS from MVP to production,all in Cloudflare.

TanStack Start on Cloudflare Workers, with D1, R2 and Queues. Text, images and speech default to OpenAI; video uses a separate provider.

Buy MuseMVP FlareOpen live demoRead the docs

The live demo is served by Flare's own Worker, D1, R2 and Queues.

Worker · three entry points
1
native bindings
5
AI studios
4
servers to maintain
0
https://app.your-domain.comHover a workbench page to see which Cloudflare bindings serve it.

Your Cloudflare account

Workspace

  • AI studios

  • Assets

  • Account

  • Settings

Hello, local user

Your product, in motion.

A quiet place to build the next useful thing.

Available credits
1,022
Stored files
12
AI tasks
9
Orders
1

AI studios

D1· SQLite database

Users, sessions, AI tasks, the credit ledger and payment events live in D1. Credits are reserved together with the task and its outbox message in one batch, so a retry never charges twice. Migrations are versioned, and risky ones are checked before deployment.

Config
d1_databases → DB
Source
packages/db/src/index.ts
Read the guide

Compute, data, files, queues and mail run in your Cloudflare account. OpenAI, other model providers, payments and OAuth are external services.

AI on Cloudflare

One AI request, traced through your Cloudflare account.

Media tasks reserve credits, run on Queues, store outputs in R2 and settle once. Chat streams through the Worker and shares the credit ledger.

studio / images

A cozy reading nook by a rainy window, warm lamp light, a cat asleep on a knitted blanket, cinematic photograph

Runs on
OpenAI · GPT Image 2.5 Flare
Price
20 credits per image

Request path

  1. Request checkedWorker

    Session, origin and a D1 rate limit come first, then the prompt, ratio and model are validated.

    POST /api/ai/images
  2. Credits reservedD1

    The task, its credit reservation and an outbox message are written in one atomic batch.

    ledger · :reserve: · outbox
  3. Job leasedQueues

    The outbox hands the task to JOBS, and a lease token lets exactly one consumer run it.

    JOBS · lease_token
  4. Image generatedProvider adapter

    OpenAI generates or edits the image through the server-side adapter.

    OpenAI · images/generations · images/edits
  5. Saved privatelyR2

    Each image is stored as PNG under the owner's prefix in R2.

    {user}/ai/{asset}.png
  6. Settled onceD1

    Success keeps the reservation. A failure releases it, exactly once.

    succeeded · :release: on failure
Read the image guide

Optional Workers AI

FLUX models can use the AI binding. Local remote inference requires WORKERS_AI_REMOTE=true and a Cloudflare login; usage is billed to your account.

ai → AI

Provider adapters

Text, images and speech use OpenAI adapters; video keeps a separate provider. The studios share credit accounting.

ImageProvider · VideoProvider

Mock mode by default

Local development uses deterministic mock media saved to local R2: no keys, no spend. AI_MODE=live switches to real models.

AI_MODE=mock | live

Historical Flare samples, not regenerated with the new defaults. Model labels and prices show the current configuration; quality, quotas and costs depend on your accounts.

Ready to charge

Charge for it on day one.

Generations cost credits, credits come from plans and packs, and every number is checked on the server before a provider is called.

Credit ledger

Reserve, generate, settle. Never twice.

Each entry id is built from the user, the kind and the task, so retries, redelivery and double clicks cannot charge or refund twice. The usage page shows every line.

  1. 01reserve
  2. 02generate
  3. 03keep or release

ledgerbalance 950

  • grantWelcome credits after email verification+30
  • grant1,000-credit pack+1,000
  • reserveImages · 4 × FLUX.2 klein−80
  • reserveVideo · 720P · 5 s−60
  • releaseVideo returned · provider failed+60

Sell credits

Plans and credit packs.

Subscriptions and lifetime plans grant credits, and one-time packs top them up. Credits are fixed on the order at checkout, through any of the four gateways.

  • plan

    Pro

    1,000 / month

  • plan

    Lifetime

    10,000

  • pack

    Top-up

    1,000

Cost guards

Bounded before it is spent.

  • Too few credits: refused before reserving402
  • Too many unfinished tasks for one user429
  • Daily upstream budget reached503
  • Failures release credits automatically:release:
  • Admins can return credits for any task/app/admin
Read the credits and cost guide
All in Cloudflare

One account. One Worker. The whole product.

Compute, data, files, AI, jobs, mail and logs are bindings on the same Worker. You inherit a platform instead of assembling one.

Your Cloudflare account

Declared once in wrangler.jsonc.

D1, R2, Workers AI, Queues, Cron Triggers and Email Sending are native bindings. Development, preview and Workers tests run the same code.

  • Worker
  • D1
  • R2
  • Optional Workers AI
  • Queues
  • Cron Triggers
  • Email Sending
apps/web/wrangler.jsoncexcerpt
{
  "main": "src/server.ts",
  "d1_databases": [{ "binding": "DB" }],
  "r2_buckets": [{ "binding": "R2_BUCKET" }],
  "ai": { "binding": "AI" },
  "send_email": [{ "name": "EMAIL" }],
  "queues": { "producers": [{ "binding": "JOBS" }] },
  "triggers": { "crons": ["*/5 * * * *"] }
}

No adapter layer

TanStack Start, built as a Worker.

The Cloudflare Vite plugin emits a Worker. There is no OpenNext conversion step between your app and the edge.

Build path

Next.js → OpenNext → Worker

TanStack Start → Cloudflare Vite plugin → Worker

Fewer secrets

Bindings replace access keys.

The database, files, model, queue and mailbox are reached through the Worker. Runtime secrets stay limited to AUTH_SECRET plus the providers you enable.

Reached by binding, not by key

  • D1 connection string—
  • R2 access keys—
  • model API key—
  • queue broker URL—
  • mail API key—

Still a secret when you enable it

  • AUTH_SECRET
  • OAuth / Turnstile / payment credentials
A lighter stack

Seven pieces of infrastructure, one account.

Services you would normally sign up for and hold keys to one by one are, in Flare, bindings on a single Worker.

Seven services you would usually buy separately, already attached to one Worker.

Usually assembled by hand

Several dashboards, several key sets, several bills

In Flare

One account, one wrangler.jsonc, one CLI

  • RuntimeA Node server or container you scaleWorkerssrc/server.ts
  • DatabaseHosted Postgres and a connection stringD1DB
  • FilesAn S3 bucket and access keysR2R2_BUCKET
  • AIA model provider account, API keys and a job runnerWorkers AIAI · provider adapters
  • JobsA Redis queue and a long-running workerQueuesJOBS
  • CronAn external cron service or processCron Triggers*/5 * * * *
  • EmailAn email provider and API keyEmail SendingEMAIL

No adapter layer

TanStack Start builds into a Worker through Cloudflare's official Vite plugin, without an OpenNext-style translation step. Development, preview and tests all run Workers-compatible code.

@cloudflare/vite-plugin

Zero credentials locally

pnpm muse:init creates a local D1 database, generates AUTH_SECRET and seeds two test accounts. No Cloudflare account and no Docker required.

pnpm muse:init

Fewer secrets

Database, files, AI, queues and email all go through bindings. The Worker only stores the auth secret plus the CAPTCHA, OAuth and payment credentials you enable.

AUTH_SECRET
MVP → production

Start with one command. Ship with one plan.

Local development never touches the cloud. Before deploying, you see exactly what will be created and which migrations will run; after publishing, public smoke checks run automatically. Every command returns stable JSON and exit codes, ready for CI.

Initialize locally

Generates AUTH_SECRET, applies local D1 migrations and seeds two test accounts. No Cloudflare credentials at any point.

~/my-mvp1/5 · Init

$ pnpm install --frozen-lockfile

$ pnpm muse:init

command: init

initialized: true

next: [

"pnpm dev",

"Local accounts: [email protected] and [email protected] (see README)",

"Verification and reset links are captured at /dev/mail",

"Production secrets: .muse/production.secrets.json (gitignored)"

]

exit codes0 success1 operation failed2 blocked3 smoke failed

The plan is read-only and creates nothing. A pending migration containing DROP, TRUNCATE, DELETE or UPDATE SET blocks automated deployment.

Read the deployment guide
One product line

Same price. Pick the stack.

MuseMVP Base holds the two Next.js apps in the musemvp repository. MuseMVP Flare is its own repository, built for Workers from the first line, and the only edition with the AI studios.

Plan

MuseMVP Base$69

MuseMVP Flare$69

Next.js + Nodemusemvp/apps/web
Next.js + Cloudflaremusemvp/apps/web-cloudflare
TanStack Start + Cloudflare + AImusemvp-flare/apps/webThis page

Framework

Next.js + Node · MuseMVP BaseNext.js 16

Next.js + Cloudflare · MuseMVP BaseNext.js 16 + OpenNext

TanStack Start + Cloudflare + AI · MuseMVP FlareTanStack Start + Vite

Runtime

Next.js + Node · MuseMVP BaseNode.js on Vercel or Docker

Next.js + Cloudflare · MuseMVP BaseCloudflare Workers via OpenNext

TanStack Start + Cloudflare + AI · MuseMVP FlareWorkers, natively via the Cloudflare Vite plugin

Data & files

Next.js + Node · MuseMVP BasePostgreSQL · S3-compatible storage

Next.js + Cloudflare · MuseMVP BaseD1 · R2

TanStack Start + Cloudflare + AI · MuseMVP FlareD1 · R2

AI studios & jobs

Next.js + Node · MuseMVP BaseNot built in

Next.js + Cloudflare · MuseMVP BaseNot built in

TanStack Start + Cloudflare + AI · MuseMVP FlareTanStack Start on Cloudflare Workers, with D1, R2 and Queues. Text, images and speech default to OpenAI; video uses a separate provider.

Local development

Next.js + Node · MuseMVP BasePostgreSQL in Docker Compose

Next.js + Cloudflare · MuseMVP BaseWrangler local D1, no Docker

TanStack Start + Cloudflare + AI · MuseMVP FlareLocal D1, no Docker or cloud credentials

Deploy

Next.js + Node · MuseMVP BaseVercel or your own Docker host

Next.js + Cloudflare · MuseMVP Basepnpm cf:deploy to Workers

TanStack Start + Cloudflare + AI · MuseMVP Flarepnpm muse:deploy: plan → yes → verify

Choose it when

Next.js + Node · MuseMVP BaseYou need PostgreSQL, self-hosting or long-running Node processes.

Next.js + Cloudflare · MuseMVP BaseYou want one platform, an edge runtime and the least infrastructure to operate.

TanStack Start + Cloudflare + AI · MuseMVP FlareAn AI product you want to charge for, with the lightest path from laptop to Workers.

MuseMVP Base includes both Next.js apps, MuseMVP Flare includes this codebase, and All in One includes all three plus every UI template.

Compare all plans
Project structure

One pnpm workspace, clear boundaries.

apps/web holds the interface and the Worker entry; domain logic lives in packages. Hover any entry to preview the real source.

musemvp-flare / pnpm workspaceHover or focus to preview

Explorer

  • .agents
    • skills
  • apps
    • web
  • packages
  • scripts
  • tests
  • .env.example
  • AGENTS.md
  • package.json
  • pnpm-workspace.yaml
  • README.md
functions.tsOpen documentation
apps/web/src/modules/workbench/functions.ts
1import { product } from "@musemvp/config";
2import { createServerFn } from "@tanstack/react-start";
3import { getRequest } from "@tanstack/react-start/server";
4import { libraryAssets } from "@/modules/ai/assets";
5import {
6  availableImageModels,
7  availableSpeechModels,
8  availableVideoModels,
9} from "@/modules/ai/mode";
10import { studioTasks } from "@/modules/ai/tasks";
11import { identity } from "@/server/platform";
12
13/**
14 * Resolves the signed-in owner of the current server-function request.
Source excerptUTF-8

Reviewed excerpts, generated at build time.

Read the structure guide

Four plans. One payment.

Choose the plan that fits

Every plan is a one-time, tax-inclusive purchase. MuseMVP Base and MuseMVP Flare cost the same: pick the stack you build on. Flare adds AI image, video, voice and chat studios. All in One includes every repository.

  • One-time payment
  • Tax included
  • No subscription
  • Keep every version you receive

All in One

Both full-stack starters and every UI template.

Base and Flare are $69 each; UI Templates are $19.

Save $28

$157 bought separately, $129 together.

Frontend only

UI Templates

UI landing pages

$19USD
one-time

9+ editable Next.js landing-page templates.

Buy UI Templates

Full-stack · pick one

MuseMVP Base

Next.js SaaS starter

$69USD
one-time

Next.js for Node and for Cloudflare, with auth, payments and admin.

Buy Base
Recommended · AI

Full-stack · pick one

MuseMVP Flare

AI SaaS, all in Cloudflare

$69USD
one-time

TanStack Start on Cloudflare, with four AI studios built in.

Buy Flare
Every repository

Both stacks + UI

All in One

Base + Flare + UI templates

$129USD
one-time

Base, Flare and every UI template, plus new ones.

Buy All in One
Full-stack foundation
Auth & dashboard
Not included
Included
Included
Included
Four payment gateways
Not included
Included
Included
Included
AI-native development
Not included
Included
Included
Included
Stack & deployment
Next.js + Node
Not included
Included
Not included
Included
Next.js + Cloudflare
Not included
Included
Not included
Included
TanStack Start + Cloudflare
Not included
Not included
Included
Included
AI capabilities
AI images & editing
Not included
Not included
Included
Included
AI video
Not included
Not included
Included
Included
AI voice
Not included
Not included
Included
Included
AI chat & summaries
Not included
Not included
Included
Included
Private media library
Not included
Not included
Included
Included
Credits & credit packs
Not included
Not included
Included
Included
Cost guards
Not included
Not included
Included
Included
UI landing-page templates
9+ live landing-page templates
Included
Not included
Not included
Included
Editable source & assets
Included
Not included
Not included
Included
New templates included
Included
Not included
Not included
Included
After payment, connect GitHub in the Dodo Customer Portal, then accept each repository invitation.
Buy UI Templates
Buy Base
Buy Flare
Buy All in One
Every repository

Both stacks + UI

All in One

Base + Flare + UI templates

$129USD
one-time

Base, Flare and every UI template, plus new ones.

Buy All in One

Full-stack foundation

  • IncludedAuth & dashboard
  • IncludedFour payment gateways
  • IncludedAI-native development

Stack & deployment

  • IncludedNext.js + Node
  • IncludedNext.js + Cloudflare
  • IncludedTanStack Start + Cloudflare

AI capabilities

  • IncludedAI images & editing
  • IncludedAI video
  • IncludedAI voice
  • IncludedAI chat & summaries
  • IncludedPrivate media library
  • IncludedCredits & credit packs
  • IncludedCost guards

UI landing-page templates

  • Included9+ live landing-page templates
  • IncludedEditable source & assets
  • IncludedNew templates included

After payment, connect GitHub in the Dodo Customer Portal, then accept each repository invitation.

Recommended · AI

Full-stack · pick one

MuseMVP Flare

AI SaaS, all in Cloudflare

$69USD
one-time

TanStack Start on Cloudflare, with four AI studios built in.

Buy MuseMVP Flare

Full-stack foundation

  • IncludedAuth & dashboard
  • IncludedFour payment gateways
  • IncludedAI-native development

Stack & deployment

  • Not includedNext.js + Node
  • Not includedNext.js + Cloudflare
  • IncludedTanStack Start + Cloudflare

AI capabilities

  • IncludedAI images & editing
  • IncludedAI video
  • IncludedAI voice
  • IncludedAI chat & summaries
  • IncludedPrivate media library
  • IncludedCredits & credit packs
  • IncludedCost guards

UI landing-page templates

  • Not included9+ live landing-page templates
  • Not includedEditable source & assets
  • Not includedNew templates included

After payment, connect GitHub in the Dodo Customer Portal, then accept each repository invitation.

Full-stack · pick one

MuseMVP Base

Next.js SaaS starter

$69USD
one-time

Next.js for Node and for Cloudflare, with auth, payments and admin.

Buy MuseMVP Base

Full-stack foundation

  • IncludedAuth & dashboard
  • IncludedFour payment gateways
  • IncludedAI-native development

Stack & deployment

  • IncludedNext.js + Node
  • IncludedNext.js + Cloudflare
  • Not includedTanStack Start + Cloudflare

AI capabilities

  • Not includedAI images & editing
  • Not includedAI video
  • Not includedAI voice
  • Not includedAI chat & summaries
  • Not includedPrivate media library
  • Not includedCredits & credit packs
  • Not includedCost guards

UI landing-page templates

  • Not included9+ live landing-page templates
  • Not includedEditable source & assets
  • Not includedNew templates included

After payment, connect GitHub in the Dodo Customer Portal, then accept each repository invitation.

Frontend only

UI Templates

UI landing pages

$19USD
one-time

9+ editable Next.js landing-page templates.

Buy UI Templates

Full-stack foundation

  • Not includedAuth & dashboard
  • Not includedFour payment gateways
  • Not includedAI-native development

Stack & deployment

  • Not includedNext.js + Node
  • Not includedNext.js + Cloudflare
  • Not includedTanStack Start + Cloudflare

AI capabilities

  • Not includedAI images & editing
  • Not includedAI video
  • Not includedAI voice
  • Not includedAI chat & summaries
  • Not includedPrivate media library
  • Not includedCredits & credit packs
  • Not includedCost guards

UI landing-page templates

  • Included9+ live landing-page templates
  • IncludedEditable source & assets
  • IncludedNew templates included

After payment, connect GitHub in the Dodo Customer Portal, then accept each repository invitation.

Every plan includes

  • 1 developer license
  • Multiple commercial end products
  • Private client-project handoff
  • Product-line updates
  • Public documentation & community

One developer. Multiple commercial products and private client-project source handoff. No source redistribution or template resale.

Keep the versions you receive forever. Updates and new templates are included while the same product line is maintained, not future independent products or unlimited services.

There is no self-serve upgrade or price-difference checkout. Need to switch plans? Contact support.

Commercial license & refundsHow to get the sourceContact support
Flare FAQ

About MuseMVP Flare

Which plan includes Flare, how it differs from Base, AI models and costs, and local development.

Which plan includes Flare?+

MuseMVP Flare and All in One. MuseMVP Base covers the two Next.js apps only, and the UI Templates plan includes no engineering template.

Base or Flare? They cost the same.+

Pick the stack. Choose Base for Next.js on Node with PostgreSQL, or Next.js on Workers. Choose Flare for TanStack Start running entirely on Cloudflare, with the AI studios, credit billing and cost guards built in. All in One includes both.

Which AI models does it use?+

Set server-side OPENAI_API_KEY for default text, images and speech. Workers AI is optional; video needs a separate provider key. Models and prices live in packages/ai.

Will AI costs run away?+

Media tasks enforce credit, concurrency and daily cost limits and return credits on final failure. Chat, summaries and prompt enhancement need provider-side spending limits too.

Is everything really on Cloudflare?+

Compute, data, files, queues and mail run in your Cloudflare account. OpenAI, other model providers, payments and OAuth are external services.

Can I start locally without a Cloudflare account?+

Local development uses mock mode without keys or spend. For OpenAI, set OPENAI_API_KEY in apps/web/.dev.vars and AI_MODE=live. Only Workers AI needs wrangler login and WORKERS_AI_REMOTE=true.

What does it cost to run?+

Workers, D1, R2, Queues and Workers AI are billed by usage with included allowances, and premium model providers bill you directly. The template does not promise zero cost. Email Sending needs the service activated and a verified sender domain, and transactional mail to arbitrary recipients currently requires Workers Paid. Check current pricing.

Can I reuse the UI templates?+

Yes. The UI templates are built on Next.js; adapt routing and framework-specific components when bringing them into TanStack Start.

Workers · D1 · R2 · AI · Queues · Email

Ship your AI product on Cloudflare.

Sign-in, payments, credits, four AI studios and deployment tooling are ready. Start from a running Worker, not an empty repository.

  1. pnpm muse:init
  2. pnpm dev
  3. muse:deploy --plan
  4. muse:deploy --yes
Buy MuseMVP FlareOpen live demo
Read the docs