The console
The console is the browser side of the service. It is where you submit and track batch inference jobs, make videos, manage API keys, manage your organization's members, and handle billing.
Everything here works on the same jobs and the same organization as the HTTP API - a job submitted from a script shows up here too, and a job submitted here can be polled with an API key. The API reference covers the API side.
Organization and members
Everyone who signs in belongs to one organization. There are three roles:
- Owner
- Everything an admin can do, plus: buy credits, set the billing email, rename the organization, turn auto-approve on or off, promote or demote owners, and delete the organization. The first person to sign in for a new organization becomes its owner.
- Admin
- Everything a member can do, plus manage people: invite teammates, set roles between member and admin, remove members and admins, and configure webhooks. An admin cannot change an owner, buy credits, manage billing, rename the organization, or set auto-approve.
- Member
- Submit, approve, cancel, and download jobs, and create and deactivate API keys. Cannot manage people, billing, or organization settings.
A new teammate joins as a member. An admin can promote them to admin; only an owner can make someone an owner, from the member list under Settings. Nobody can change their own role, so an organization always keeps at least one owner.
API keys
Any member can create and deactivate API keys from the Keys page. A key authenticates HTTP requests to the batch API - it is not needed to use the console, only for calling the API directly (scripts, CI, etc.).
When you create a key, the full token is shown exactly once, right after creation. Copy it then - the list only ever shows a masked preview afterwards, and there is no way to recover a lost token; create a new key instead.
Deactivating a key stops it from authenticating new requests immediately. It stays listed rather than being deleted, because jobs it already submitted are still billed and audited against it. A deactivated key cannot be reactivated.
Accounts for agents
An AI agent or a script can create an account and get an API key over HTTP, without a browser. It needs an email address whose inbox it, or the person it works for, can read: the address is proven with a one-time code sent to it. Two calls, both on the console origin and both without a key:
curl -X POST https://console.anex.sh/api/auth/email-code \
-H "Content-Type: application/json" \
-d '{"email": "agent@example.com"}'
This answers 202 and emails a 6-digit code to the address.
The code is valid for 10 minutes and works once. Then send it back:
curl -X POST https://console.anex.sh/api/auth/email-code/verify \
-H "Content-Type: application/json" \
-d '{"email": "agent@example.com", "code": "123456", "key_name": "my agent"}'
This answers 201 with a new API key in
api_key.token, shown in this answer only, and with the
organization, the user's role, the credit balance and
new_account, which is true when the address
had no account before. A new address gets a new organization and
becomes its owner. An address that already has an account signs in to
it, and the key is added to that organization. key_name
is optional and defaults to agent.
A key made this way works for 30 days; api_key.expires_at
says until when. After that it is refused like a deactivated key, and
a new email code, or a key that still works, gets a new one. Every key
created over the API works 30 days; only a key created on the console's
Keys page can last without an expiry.
With the key, the agent can manage the organization's keys without a
browser, sending it as Authorization: Bearer to the same
routes the Keys page uses:
GET https://console.anex.sh/api/keys- Every key of the organization, with a masked preview, whether it
is active, its expiry, and
current: trueon the key making the call. POST https://console.anex.sh/api/keys- Body
{"name": "..."}(1 to 100 characters). Answers201with the new key'stoken, shown only then. It works for 30 days from its creation, like every key created over the API. POST https://console.anex.sh/api/keys/{id}/deactivate- Stops a key at once on the batch API and within 30 seconds on the realtime API. Any key of the organization can deactivate any other, or itself. A deactivated key cannot be turned back on.
The account is an ordinary account: the person who owns the address
can sign in to the console in a browser with the same address and see
the same organization, keys and balance. A new organization starts with
no credit, so uploading an input, approving a job and realtime requests
answer 402 until credit is added: by the owner on the
Billing page, as described below, or with a payment
link the agent asks for with its key. The first link needs the
organization's billing address, which every invoice is made out to and
any tax is calculated from. The key can set it:
curl -X PUT https://console.anex.sh/api/billing/address \
-H "Authorization: Bearer $ANEX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Ltd", "line1": "1 High St", "city": "London",
"postal_code": "SW1A 1AA", "country": "GB"}'
country is the two-letter ISO code. line2
and state are optional, and postal_code is
required in the US. A business in the EU adds its VAT number as
vat_id. The answer carries ready_for_topup:
when it is false, Stripe cannot calculate tax for the
address and problem says why. A key only sets the first
address: once one is saved, only the owner can change it, on the
Billing page, and the key gets 403. Then
ask for the link:
curl -X POST https://console.anex.sh/api/billing/topup-link \
-H "Authorization: Bearer $ANEX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount_cents": 2500}'
This answers 201 with a Stripe Checkout url
and a purchase_id. tax_cents is the tax
Stripe adds for the billing address, and total_cents is
what the payer is charged: the credit plus the tax. Any key of the organization can ask for
one. The agent gives the link to the person who pays; it is valid for
24 hours, and nothing is charged until someone pays it by card on
Stripe's page. The amount is in US cents, from 100 to 999,999, and at
most 10 unpaid links can be open at once. Without a billing address the
request answers 409. The agent then polls
GET /api/billing/topup-link/{purchase_id} with the same
key until status is paid (or
expired); the answer carries the tax, the total and
the credit_balance_cents as well, and
GET /api/billing/balance returns the balance alone. The
receipt and invoice go to the organization's billing email, or to its
owner when none is set.
- 400
- The address cannot be mailed, or the code is wrong, expired or already used. Ask for a new code.
- 409
- The account belongs to more than one organization. Sign in to the console in a browser to choose one.
- 422
- The body is not valid JSON, or
emailis not an email address. - 429
- Too many requests. At most 3 codes per address per 10 minutes and
10 per day, and 10 code attempts per address per 15 minutes. Wait
for the number of seconds in
Retry-After.
Credits and billing
The service is prepaid. 1 credit = 1 US cent. An owner buys credits from the Billing page (opens Stripe Checkout); credits land on the balance once the payment settles, typically within seconds. If no billing address is saved yet, the first purchase asks for it on the same page and goes on to Checkout once it is saved.
Credits are non-refundable and do not expire, except as set out in the Terms. Unused credits simply stay on the balance for future jobs.
An organization billed by monthly invoice has no prepaid balance. Its Billing page shows the credit limit and how much of it is left of it until the next invoice instead, jobs are approved against that limit, and there is nothing to top up. Usage is invoiced at the end of each month, with one line per model and kind of usage (batch input, realtime output, media items and so on) showing its tokens or items. The month's total is rounded to the cent once and spread across the lines, so a line with very little usage can show 0 cents. A month whose total rounds to 0 cents is not invoiced.
Stripe emails each monthly invoice to the billing email (or the first owner if none is set), and it is due 30 days after it is sent. The owner also finds every monthly invoice on the Billing page under Monthly invoices, newest month first, with its amount before tax (and the total with tax where tax was added), a link to view it on Stripe and pay it there, and its PDF. The status comes from Stripe: open with its due date, paid with the date, overdue once the due date has passed unpaid, void when it was cancelled and nothing is owed, or uncollectible. A month whose invoice is still being made shows being prepared. If Stripe cannot be reached the month is still listed, as unknown, until the next reload. The list stays after an organization moves back to prepaid credits.
Approving a job's cost estimate holds that amount against the balance - this is the maximum the job can ever consume. If the job finishes for less (or only part of it completes before it fails or is cancelled), you are billed only for the actual amount and the rest of the hold returns to the balance automatically.
A job that does any work costs at least 1 credit, so a very small job is quoted and billed that minimum rather than rounding down to nothing. A job that consumed nothing at all - cancelled before it started, or failed without completing a row - is not charged.
Each model also carries a minimum job price. A job whose token estimate is below the minimum is quoted and billed the minimum instead, and nothing is ever added on top of a job that clears it. When a job's estimate sits at the minimum, the console says so next to the amount. The current minimums are listed on the pricing page.
Batch pricing rewards volume: once a job's token price clears the minimum, you pay the token price alone. If you can, batch more rows into one larger job rather than submitting many small ones - the same rows cost less that way.
Balances and job costs are shown in credits, since credits are what you hold and what jobs consume. Dollars appear only where money moves: the top-up amount is entered in USD, and the form shows how many credits it buys before you pay.
Media inputs. Every token of a job bills at its
model's token rates, and each image, audio clip or video clip adds the
fee in the rate tables: per
image or per megapixel, and per second of audio or video (see
how media is billed). A clip's
length is read from the file's header and checked against its content
when the row runs; a row whose media does not match its header fails
with media_length_mismatch and is not billed. A job that is
cancelled or stops part-way pays for the tokens and media of the rows
that ran. A job is billed at the prices in force when it was approved,
so a job approved before a price change settles at the prices it was
quoted.
Tax. Credit prices exclude tax. Tax is worked out from the billing address saved on the Billing page and added to the payment at Checkout, so the credits you receive always match the amount you entered. Wherever a reverse charge applies, a business that saved a valid VAT number with its address is billed with no tax added and the invoice records that - paying the tax is then your own obligation, at your local rate and under your local rules. Where we hold no tax registration, no tax is added. The name, address and VAT number are printed on every invoice until you change them, and Checkout does not change them.
Invoices and receipts. Every paid top-up is invoiced. The Billing page lists your purchases with a link to view each invoice or download its PDF, and Stripe emails a receipt when the payment goes through. Manage billing details on the same page opens your billing page at Stripe, where the full archive lives and where you set the company name, address and tax ID that appear on future invoices. Operator credit grants are listed too; they are not purchases, so they have no invoice. A top-up you started but never paid is listed until Stripe's payment page expires, with a link to go back and finish it; after that it is marked expired and nothing was charged.
The billing email (owner-only, set on the Settings page) is where those receipts are sent and the address printed on your invoices, plus where we send billing correspondence such as notice of changes to these terms. If it is unset, receipts go to the owner who made the purchase, and monthly invoices to the organization's first owner. It is a billing destination only - setting it does not create an account or grant anyone access.
Submitting a job
From the Jobs page, choose an input file and a model, then submit. The input is a .jsonl file: one full chat-completion request per line; no extra configuration needed.
For a model that can think before answering, a thinking / reasoning checkbox appears under Advanced. It is shown only for those models, and it sets the default for every row; a JSONL row that sets thinking itself keeps its own setting. Below it, for models that support it, set thinking budget per row manually works the same way as the max output tokens opt-in: left off, the budget is estimated from the same sample as the output cap; ticked, a number caps how many tokens each row may spend thinking, counted inside the output cap, and a no thinking cap checkbox lets thinking use the whole output cap instead. A budget only applies with thinking on, so the field hides when thinking is off, and the console will not submit a JSONL file whose rows turn thinking off while a number is set.
Under Advanced you can also supply a JSON response_format to constrain every answer to structured JSON (see structured output), and set max tokens per row yourself. Left alone, the cap is estimated from a sample of your input: the value every row is expected to stay under with 95% confidence, which is also the job's price basis. Setting it uses your number as the cap and price basis instead.
Audio, video, and images ride the rows themselves: on a
media-capable model (the dropdown labels each model's modalities), a
.jsonl row's messages may carry image, audio, and video
content parts alongside text, in the same shapes the HTTP API accepts -
see the input file for the exact
objects and limits for the per-clip caps. Declare duration_seconds on a hosted audio or
video part: an undeclared hosted clip whose length the estimate cannot
read is held at the model's full duration ceiling. The bill uses the
clip's real length.
The file is uploaded directly from your browser to storage, then the job is created pointing at it - there is no option in the console to submit a job by giving a URL instead. The HTTP API can do both - give a URL or upload a file directly - see the API docs. Input limits are the same everywhere; see limits.
Embedding models change the form: picking one of the embedding models (see models) hides the thinking checkbox and the whole Advanced block (max tokens, response_format - none of them apply to a job that returns vectors, not text) and shows an optional "Vector dimensions" field in their place - an integer from 32 up to the model's own width, to truncate the output vector. Leave it blank for the model's full native width. See embedding jobs for the equivalent API fields.
Video models take a video JSONL file: one
/v1/videos request per line, at most 200 clips a job. Picking
one hides the Advanced block, since none of its fields
apply to a clip. Each line names its images, audio and videos by an https
URL or by the input_id of an upload made through the API; the
row format and limits are in the video
docs. The estimate and approval work as for any job, and the
Play button on a finished job lists each clip with its
status, length and resolution, to play or download. For a single clip,
use the Video page below.
Approving and cancelling
The Jobs page shows each job's status and its estimate. Until the estimate is ready the row, token, and credit columns read "waiting for estimate": the total row count of a large JSONL input is only settled when the estimate reads the whole file. The list updates itself while the page is open - a job that moves on, and the buttons that come with it, appear without a reload. Under each status is what the job is doing right now and what it is waiting on; a job under way also says when it is expected to complete, counted from the moment it was approved. Once a job has finished, the note breaks its rows down by outcome. Each row's timeline shows when the job was created, started and completed: started is the approval, so the total run time includes obtaining a GPU but not the wait for your approval. The statuses themselves are described under job lifecycle.
Approving: a cost_ready job shows an Approve button if your balance covers the estimate, or a Top up shortcut for the shortfall if it doesn't. Any member can approve.
Cancelling: any job that hasn't reached finalizing yet can be cancelled by any member, from the row's Cancel button. A job that had not started work stops immediately at no charge; one with rows in flight lets them finish, bills only those, and delivers them as a partial result.
Auto-approve
When on, a job's cost estimate is approved automatically instead of waiting for someone to click Approve - it skips the manual approval step only. It does not skip the balance check: a job whose estimate exceeds the balance still stops at cost_ready and waits, exactly as it would with auto-approve off.
The Settings page shows whether auto-approve is currently on or off for your organization. An owner can turn it on or off from that page.
Webhooks
A webhook is one HTTP endpoint on your side that receives a signed event each time a job moves through its lifecycle - not only when it finishes. A registered endpoint receives every job event; there is no per-event subscription.
The full event list, the payload shape, and how to verify the signature are on the API reference page.
When a webhook is registered, the signing secret is shown exactly once, at registration time. It cannot be retrieved again afterwards - if it's lost, the endpoint has to be registered again to get a new one.
The Settings page shows whether a webhook is currently configured for your organization. An owner or admin can register or remove the endpoint URL and send a test event from that page.
Results
A job that reaches done - or one that stopped early but still delivered a partial result - offers Preview and Download on the Jobs page.
Preview opens the first rows of the result (up to 50) right in the console, so you can check the output before downloading everything.
Download opens a link straight to the result file. That link expires after a while - if it stops working, click Download again to get a fresh one. What is inside the file is described under output format.
A result is kept for 30 days after the job finishes and the input for 7 days after it arrived, then each is deleted. Delete data removes both right away instead; the job's record (status, counts, cost) stays in the list. On a job that is still running it first cancels the job (rows already completed are billed) and deletes the data as soon as the job has stopped - the row reads "Deleting data once the job stops" meanwhile. Download the result first if you still need it - the deletion cannot be undone. The API offers the same as DELETE /jobs/{id}/data.
Making a video
The Video page makes one clip at a time, with no API key and no script. Choose a mode:
- Text
- A clip from the prompt alone, on MiniMax H3 or FastH3-8-Step-V2 (a toggle). FastH3 is faster and cheaper, at 768P only.
- First/last frame
- A clip that starts on one image, ends on another, or both, on MiniMax H3.
- References
- Up to 9 images, 3 videos and 3 audio files the clip follows: a person or a product from an image, an edit of a video, a voice from an audio file. The Ref2VA 4-step model, faster and lower-priced, is selected by default; MiniMax H3 Ref2VA, the full 50-step render, is the other choice. The prompt names the files in the order you chose them: "Image 1", "Video 1", "Audio 1".
Every mode takes a prompt, a duration from 4 to 15 seconds, a ratio, a resolution (768P, or 2K and 4K where the model offers them) and an optional seed. With frames or references the ratio may be left at adaptive, which follows the first image or video. Files are checked in your browser against the published limits (type, size, count and length) before anything is uploaded, then each goes straight from your browser to storage.
The line under the form is the clip's list price at the video rates: its seconds, each reference video counted at up to the clip's own length, and any images past the five free ones. Reference audio is free. It is the most the clip can cost; the bill uses the real lengths. The price is held from your credits when the clip starts, as for any job.
After Make the clip the page follows the clip: queued, rendering, then done or failed with the reason. When no GPU for the model is running, starting one can take tens of minutes. You can close the page: the clip keeps rendering, its job appears on the Jobs page, and that job's Play button brings you back to it. A finished clip plays in the page, downloads with Download, and carries the same marks as every clip we deliver. Its task id is shown under it.
Under a finished 768P clip, Upscale to 2K and Upscale to 4K make the same clip at that resolution, priced on the button at the upscale rate for the clip's real length, which can be up to about a second more than the seconds asked for. That price is held when the upscale starts and is what it bills. The 768P clip stays where it is and the upscaled one appears below it, titled 2K upscale or 4K upscale. A 4K clip takes longer to make than a 2K one.
Troubleshooting
A job is stuck at cost_ready. It is waiting for approval. Either approve it yourself (or have another member do so), or check whether auto-approve is on and your balance covers the estimate - if the balance is short, top up and it will still need approving.
A webhook isn't arriving. On the Settings page, confirm the endpoint shows as configured, then use Send test event to check delivery. Make sure the endpoint is reachable over HTTPS and isn't behind auth it doesn't expect.
An upload gets rejected. Check the file extension (only .jsonl is accepted) and its size (1 GiB max). The error message names which check failed.
A media job fails with invalid_input. The
failure reason names the problem: an inline clip or image over its
per-item size cap (see limits, the message
names the line), a clip longer than the model takes, a row whose
input tokens with the media counted in do not fit the 32,768-token
context a row is served in, or a content part your chosen model has
no encoder for. A row over a duration cap or over the context is
rejected before any paid work starts, so nothing is billed for it:
the job either fails to submit, when the row is one of those sampled
at submit, or fails before it reaches approval. The same failure covers an
unsupported container: check the file extension or format
field against the supported formats, make
sure an inline clip's bytes really are what it says they are, and give
a hosted audio or video URL either a file extension or a real
Content-Type. Fix the named row, or pick a model whose
modalities cover it, and resubmit.
Answers come back empty on a thinking model. The model can spend its whole output budget reasoning and leave nothing for the answer. Either turn the thinking checkbox off, set a thinking budget, or allow a larger output cap.