For agents
Set a ceiling. Agents never spend past it.
One key in front of image, video, voice and text, on prepaid credit, with the spend limit enforced by the API rather than by the agent.
The ceiling
A limit is a parameter, not an instruction
The agent says what it wants and the most it may spend. Corent decides the rest.
tool: create{ "intent": "a product photo of a matte black watch on marble, square", "max_cost_cents": 25} → Corent · image · 1:1 · 7¢ billed
Ceiling 25¢
Checked before it spends
The ceiling is enforced server-side, so a looping agent cannot argue its way past it.
No model to pick
The agent describes the outcome. The router picks the model and sets the parameters. When the user asks for the best, the agent adds quality: best.
The charge comes back
meta.cost_cents rides on every successful response, and every request keeps a receipt.
MCP
One paste connects an agent
Hosted, or run the package locally. Either way the key stays server-side.
The hosted connector signs you in with your Corent account, Google sign-in included. No key to find first. Pasting a key still works, for a client that cannot open a browser.
https://mcp.corent.tech/mcp{ "mcpServers": { "corent": { "command": "npx", "args": ["-y", "corent-mcp"], "env": { "CORENT_API_KEY": "co_live_..." } } }}
The tools an agent works with, and what each one spends.
| Tool | What it does | What it spends |
|---|---|---|
| plan | Previews what Corent would do for an intent, and what it would cost. | Nothing |
| create | Takes an intent and a max_cost_cents ceiling, decides everything, generates. The ceiling has to cover the most the plan could cost on any live model, not only the estimate plan showed; under that it is refused and spends nothing. With quality best the ceiling is simply the cap. | Up to the ceiling |
| generate_image | One image from a prompt, at Corent's default or best quality. Takes reference images, so a face or product holds across a series. | The image |
| generate_video | One clip from a prompt, or from a still it animates. Takes reference images, videos and audio, and can hand back the last frame so the next shot starts where this one ended. Returns a job id. | The clip, on completion |
| edit_video | Changes a clip you already have: add, remove, replace or change something, at the source length. | The edited clip, on completion |
| extend_video | Continues a clip forward or backward from a reference video. | The new footage, on completion |
| plan_film | Turns one sentence into a film plan: the script, the characters, every scene with its dialogue, and the price. The agent shows it and asks before spending. | Nothing |
| make_film | Makes the planned film: writes, casts, shoots with the same characters and spoken lines, checks, reshoots, and joins it into one video with sound. Takes a max_cost_cents ceiling. | Up to the ceiling you set |
| get_film | The film's stage, from writing to editing, and the finished video once it is done. | Nothing |
| cancel_film | Stops a film that has not finished. | Nothing |
| generate_image_batch | Up to 50 images in one call. Returns a batch id and a job id for each image. | Each image, at the normal price |
| generate_video_batch | Up to 50 clips in one call. Returns a batch id and a job id for each clip. | Each clip, at the normal price |
| get_batch | How far a batch has got: finished, failed and waiting, with each item's job id. | Nothing |
| generate_speech | Narration from text, in a voice from list_voices. | Per 1,000 characters |
| list_voices | The voices generate_speech accepts, with a name, a preview clip and a short description of each. | Nothing |
| generate_text | Runs a prompt or a conversation through a language model and returns the answer. Takes tool calls and JSON mode. | The reply |
| upscale_image | Makes an existing image bigger and sharper. No supplier serves it today, so the call is refused with a plain sentence and bills nothing. | Nothing today |
| remove_background | Cuts the subject out and returns a PNG with a real transparent background. | The cut-out |
| inpaint_image | Regenerates only the masked region. Every pixel outside the mask is left untouched, pixel for pixel. | The edit |
| upload_image | Sends a file up and hands back a url that every other tool accepts as an image, mask or reference. | Nothing |
| list_media | Finds past jobs: what was made, when, for how much, and the url to reuse it. | Nothing |
| get_job | The state of one job, and the charge once it lands. | Nothing |
| cancel_job | Stops a job that has not finished and releases the money held for it. | Nothing; what was already delivered stays billed |
| get_balance | The account balance in cents, including what is held for jobs still running. | Nothing |
| get_status | Whether image, video, text and voice are working, slower than usual or down. | Nothing |
| list_models | The models an agent can pin by name, with live status and quality score. | Nothing |
Recipes
Six recipes, ready to run
The hosted connector carries each recipe ready for an agent to pick up whole. The chain is the order the tools run in. Connect Corent in Claude or ChatGPT and pick a recipe from the connector's menu.
| Recipe | What it makes | The chain |
|---|---|---|
| make-a-film | One sentence to one finished film. Corent plans it and shows the price, the user says yes, then Corent writes, casts, shoots and joins it, with the stage reported every minute. | plan_film → make_film → get_film |
| product-ugc-reel | A vertical creator-style reel for one product: photo in, hook line, three cuts, narration, ready to post. | upload_image → plan → generate_image (references) → generate_video → generate_speech → get_job |
| character-series | One character, many scenes. The first render becomes the reference for every render after it, so the face holds. | generate_image → generate_image (references) → list_media |
| storyboard-to-clip | A storyboard of stills becomes a sequence of clips, each animated from its frame, then joined in order. | upload_image → generate_image (references) → generate_video → get_job → list_media |
| ad-variations | One approved ad, eight variants: different hooks, crops and voices, every one costed before it renders. | plan → generate_image (references) → generate_video → generate_speech → get_job |
| faceless-explainer | A narrated explainer with no presenter: script to voice, voice to timed scenes, scenes to one clip. | plan → generate_speech → generate_image → generate_video → get_job |
make-a-film hands the whole job to Corent, so a story with several characters or anything over about 30 seconds starts there. A 50 second 720p film with five characters costs roughly $10 to $20, and the charge never goes above max_cost_cents.
character-series keeps the character with reference images on every clip, and storyboard-to-clip chains shots with the last frame, so each clip starts on the frame the one before it ended on.
Every step in a recipe is a normal tool call with the normal price, and each step comes back with its own receipt.
HTTP
For agents that do not speak MCP
One request, one result, the cost on the response.
curl -X POST \ https://api.corent.tech/v1/images/generate \ -H "Authorization: Bearer co_live_..." \ -H "Content-Type: application/json" \ -d '{ "prompt": "a matte black watch on marble", "max_cost_cents": 10 }'
{ "status": "completed", "images": [{ "url": "https://..." }], "meta": { "model": "image-routed", "cost_cents": 4, "duration_ms": 1500 }}
Deciding what to generate on its own? Send the raw request to /v1/intent/execute with confirm_estimated_cost_cents_up_to, and Corent picks the model conservatively rather than letting an agent reach for the most expensive one. Set that ceiling with headroom: it is checked against the most the plan could cost on any live model, not against the estimate /v1/intent showed, so a 10 second video needs a ceiling of a dollar or more where an image passes at 25¢. Under it, nothing is made and nothing is charged.
Reach
Four kinds of output, one balance
Same key, same credits, the exact charge returned every time.
| Output | Endpoint | What comes back | The charge |
|---|---|---|---|
| Image | POST /v1/images/generate | The image inline, usually. A slow render returns a job id instead. | meta.cost_cents, per image |
| Video | POST /v1/videos/generate | 202 and a job id. Read GET /v1/jobs/{id}/stream instead of polling. | On the job, per second of video |
| Voice | POST /v1/audio/speech | The finished audio file, synchronously. | meta.cost_cents, per 1,000 characters |
| Text | POST /v1/chat/completions | An OpenAI-compatible completion. Streaming and tool calls pass through. | corent.cost_cents, per reply |
Starting prices, read from the live price menu. Every price is on the pricing page.
Budget
What stops a runaway loop
Four limits and two safety nets, all outside the agent.
| Safeguard | What it does |
|---|---|
| Per-request ceiling | max_cost_cents on create, confirm_estimated_cost_cents_up_to over HTTP. It has to cover the most the plan could cost on any live model, not only the estimate: under that, Corent returns the plan and the estimate and spends nothing. With quality best it is simply the cap Corent routes under. |
| Per-key daily cap | Off by default: your prepaid balance is the ceiling. Switch on a daily cap per key in the dashboard. Raising it needs a dashboard sign-in or a management key, so a leaked key cannot raise its own. |
| Rate limits | A new key starts at 300 requests a minute and 300 jobs at the same time. Past either, the request returns 429 with a Retry-After. |
| Prepaid balance | GET /v1/account/balance, in cents. Top up from $5 by card, $10 in crypto. No subscription. At zero, the request returns 402 and nothing generates until funds land. |
| ReceiptsSafety net | Every response carries cost_cents and what served it. GET /v1/requests lists them all. |
| Blind retriesSafety net | Send an Idempotency-Key. A repeated key returns the original job instead of charging twice. |
Next
Two minutes in. Take a key.
Prepaid credits from $5. No subscription. The exact charge on every response.