B Bani Studio Docs
arrow_back Back to app

Bani Studio Documentation

How to build, publish, and manage your apps on Bani Studio.

Platform URL: elbani.studio

How it works

Describe what you want to build, in Arabic or English. Bani's AI generates a complete web app — pages, logic, and a working backend — and gives you a live link within minutes.

Each build costs 2 credits. Running a live app costs 1 credit per day — your first 3 apps run free. Credits can be purchased as one-time packs or included in monthly subscriptions.

Credits & Billing

ActionCost
AI build2 credits
Live app per day1 credit
PostgreSQL provision10 credits

Credit packs (one-time)

PackCreditsBuildsPrice
Starter6030$5
Builder250125$20
Pro700350$50

Monthly subscriptions

PlanCredits/monthBuilds/monthPrice
Starter10050$15/mo
Builder300150$39/mo
Studio700350$99/mo

Your Apps

Every app gets a free subdomain: yourapp.elbani.studio.

You own everything. Download a ZIP export any time — full source code included — and deploy it anywhere you like.

Custom Domains

Every app gets appname.elbani.studio automatically, with SSL included.

To connect your own domain: open your app's workspace → Settings → Custom Domain → enter your domain → add a CNAME record pointing to elbani.studio.

Environment Variables

Each app you build can store its own secrets — API keys, connection strings, anything it needs at runtime. They're injected into your running app but never shown to the AI and never included in exports.

Manage them from your app's workspace → Settings → Environment Variables.

GitHub Auto-Push

Connect a GitHub repository to any app from workspace → Settings → GitHub. Once connected, every successful build is pushed to your repo automatically — a running version history of your app, with zero extra steps.

API — Authentication

Generate an API key from Account → API Keys. Send it as a Bearer token on every request:

Authorization: Bearer <your-api-key>

API — Apps

GET/api/apps
🔒 Auth required
List your apps.
POST/api/apps
🔒 Auth required
Create a new app. Body: { name, description? }
PUT/api/apps/:id
🔒 Auth required
Update app settings.
GET/api/apps/:id/export
🔒 Auth required
Download your app as a ZIP — full source, yours to keep.
POST/api/apps/:id/fork
🔒 Auth required
Duplicate an app.

API — Credits

GET/api/credits/balance
🔒 Auth required
Get your current credit balance and plan.
GET/api/credits/packs
List available credit packs and plans (public).
POST/api/credits/checkout
🔒 Auth required
Buy a credit pack. Body: { packId }
POST/api/credits/subscribe
🔒 Auth required
Start a monthly plan. Body: { planId }