AllAi/apps/web/app/api/billing/plans/route.ts
2025-11-14 21:54:04 +03:00

48 lines
1.1 KiB
TypeScript

export async function GET() {
const plans = [
{
id: "starter",
name: "Starter",
price: 19,
currency: "USD",
credits: 200,
description: "For individuals exploring AI media.",
features: [
"200 generation credits",
"Access to AI image tools",
"Standard support"
]
},
{
id: "professional",
name: "Professional",
price: 49,
currency: "USD",
credits: 800,
description: "Teams building marketing assets and video.",
features: [
"800 credits",
"Image + video generation",
"Priority support",
"Collaboration workspace"
]
},
{
id: "enterprise",
name: "Enterprise",
price: 199,
currency: "USD",
credits: 4000,
description: "Large-scale operations with compliance needs.",
features: [
"Custom credits",
"Dedicated success manager",
"Self-hosting options",
"SLAs & security reviews"
]
}
];
return Response.json({ plans });
}