Platform administration
Manage models, pricing, user accounts and platform operations.
Pricing & profit
What members pay for every model: the provider’s price × the dollar rate + your profit, checked against Hoosha. Turn models on or off on Models.
Models you priced by hand in Configuration keep their price.
Price per model
What one second of video (or one image) costs you at the provider, what users pay, and your profit. Type a profit % under a model to give it its own profit, then save.
| Model | Provider price | Your cost | Users pay | Tokens | Profit | Why this price |
|---|
Suggested token packages
| Model | Type | Provider ID | Provider price | Checked | Members pay | Enabled | Manage |
|---|
Automatic models follow Pricing & profit. A model you price by hand in Configuration keeps its price (marked Manual).
Gift codes
Create a code, share it, and each member who enters it gets the tokens once. Share it as a link and the code fills itself in.
| Code | Tokens | Used | Expires | Status | Note | Actions |
|---|
Payments
Let people buy tokens themselves through ZarinPal. Prices follow the token sale price on the Pricing & profit page.
Recent payments
| Date | Member | Tokens | Amount | Status | ZarinPal reference |
|---|
Members
Allocate tokens to individual accounts.
| ID | Member | Tokens | Role | Adjust balance | Access |
|---|
Configuration
No model selected
Select Configure on a model to set its defaults,
cost rules and target margin.
Platform & source lock
Close the platform to everyone except administrators, and lock the source code on this computer.
Your admin password
Changes the password you use to sign in here. It takes effect immediately and, for the main admin account, is also saved in .env.docker
Primary admin email
You sign in with . The new email is also saved as ADMIN_EMAIL in .env.docker.
Source code lock
Encrypts the platform’s code, settings, secrets and database backups on this computer into one file (source.vault, AES-256) with a passphrase, then removes the readable files. The running platform keeps working. Run these on this computer in the project folder:
python source_lock.py lock
python source_lock.py unlock
python source_lock.py status
Profit & provider wallet
What users paid, what the provider really cost after cashback, and your profit, all in Toman. The provider does not share the wallet balance through its API, so record your top-ups, cashback and the balance from the provider console below.
Choose a period
Excluded periods
Generations in these dates are left out of every profit figure, e.g. days you spent testing. The provider wallet still counts them, because the provider really charged for them.
By period
| Period | Generations | Users paid | Provider cost | Real cost (after cashback) | Real profit | Margin |
|---|
Record provider money
History
| Date | Type | Dollars | Toman paid | Toman per dollar | Note |
|---|
Activity & recovery
Review generations and recover existing provider requests.
| User | Generations | Completed | Failed | In progress | Tokens spent | Paid | Your profit | First activity | Last activity |
|---|
| Job | Status | Model | User | Tokens | Paid | Your profit | Output | Actions |
|---|