Your first request
starts with your key.
Use one platform API to reach the models enabled for your project. Your platform key authenticates your application; vendor credentials stay on the backend.
Create an account and verify your email to access the production workspace. Paid generation requires an enabled provider, an approved execution budget and sufficient workspace credit. Buy credits with a plan or a pack on the pricing page; the studio and your API keys share one balance.
Built for AI agents.
Discover seven connected providers through stable retail routes. Let your agent compare compatible prices, choose a tier and estimate the cost for free. A generation still needs your approved maximum and a funded key.
Discover β estimate β approve β create
POST /v1/estimate
{
"capability": "text",
"prompt": "Write a concise welcome",
"qualityTier": "auto",
"routingPolicy": "lowest_cost",
"maxCredits": 20
}Estimates create no jobs, reserve no credits and make no provider calls. Bind the chosen price with a quote, then submit once with an idempotency key. Download the guide for SDK installation, a runnable Next.js sample, MCP setup, signed webhooks and safe retry behavior.
Connect via hosted MCP.
Add https://vantaedge.ai/mcp as a remote Streamable HTTP connector. OAuth sign-in lets you choose a project and approve access. Read-only access is the default; generation needs explicit credit limits and approval. Developer API lists your connected agents and lets you disconnect instantly.
# Claude Code claude mcp add --transport http vantaedge https://vantaedge.ai/mcp # Open /mcp in Claude Code to authenticate. # Codex codex mcp add vantaedge --url https://vantaedge.ai/mcp codex mcp login vantaedge
Clients supporting Bearer headers can also use a scoped VantaEdge API key. Create a key with models:read for discovery. Add jobs:read and wallet:read to inspect your own outputs and balance, and jobs:write only when you want generation. Set maximum credits per request; a zero or unset MCP ceiling disables generation.
Twelve tools cover creator discovery, daily scene preparation, discovery, pricing, estimates, route recommendations, quotes, generation, job status, assets and usage. Provider credentials stay private. The local stdio MCP package remains available in the agent guide.
1. Create your project key
- Sign in to your workspace and open Developer API.
- Enter a project and key name. Choose permissions, available models, and daily and monthly spending limits.
- Select Generate API Key. Copy the key immediately; it is shown once.
- Store it as
VANTAEDGE_API_KEYin your application server's environment. Keep it out of browser bundles, mobile binaries and source control.
2. Discover available models
Send your key as a Bearer token. The response lists the models permitted by the project and currently enabled by the owner.
const response = await fetch(
'https://vantaedge.ai/v1/models',
{ headers: {
Authorization: `Bearer ${process.env.VANTAEDGE_API_KEY}`
}}
);
const { data: models } = await response.json();Guide a creation with an image
Upload a JPG, PNG or WebP (up to 8 MB) to POST /v1/references as the raw request body with its image Content-Type and your Bearer key. Include the returned id as referenceAssetId in an image or video quote. Image requests use it as editing guidance; video requests use it as the opening frame. Describe the changes or camera movement in your prompt.
curl https://vantaedge.ai/v1/references \
-H "Authorization: Bearer $VANTAEDGE_API_KEY" \
-H "Content-Type: image/jpeg" \
--data-binary @reference.jpgUploads are private to the keyβs project and expire after 7 days. Read them with GET /v1/references/{id} or delete unused images with DELETE /v1/references/{id}. Upload/delete requires jobs:write; preview requires jobs:read. Active jobs protect their reference from deletion.
3. Quote, generate, retrieve
Generation is asynchronous. Review a quote before submitting a job, then poll its status. Use a unique idempotency key for each intended generation and reuse that key if you retry the same submission.
| Endpoint | Purpose | Key permission |
|---|---|---|
GET /v1/models | List allowed models | models:read |
POST /v1/quotes | Get an estimate and price snapshot | jobs:write |
POST /v1/jobs | Submit an approved quote | jobs:write |
GET /v1/jobs/{id} | Read job status and result | jobs:read |
GET /v1/usage | Inspect usage records | wallet:read |
GET /v1/wallet | Read balance and holds | wallet:read |
POST https://vantaedge.ai/v1/quotes
Authorization: Bearer <your-platform-key>
Content-Type: application/json
{
"capability": "text",
"qualityTier": "auto",
"maxCredits": 20,
"prompt": "Write a short welcome message."
}
POST https://vantaedge.ai/v1/jobs
Authorization: Bearer <your-platform-key>
Content-Type: application/json
Idempotency-Key: <a-unique-request-id>
{ "quoteId": "<id-from-the-quote-response>" }Poll GET /v1/jobs/{id} until the job succeeds, fails, or requires review. Successful jobs include the result and the recorded charge. The dashboard provides complete copyable JavaScript, Python and cURL examples for your selected model.
4. Operate with clear limits
A quote does not execute a provider call. Job submission checks credit and spending limits atomically. Completed work settles against measured usage; uncertain provider charges remain held for review. Automatic routing chooses a compatible available route; fallback is only attempted after a confirmed rejection. Vendor identities are visible only to the platform administrator after completion.
Rotate keys when replacing credentials and revoke keys immediately when access should end. A rotated or revoked key stops authenticating. Keep separate projects for separate applications and monitor their usage from the dashboard.
Handle 401 for an invalid key, 403 for denied access, 402 for insufficient credit, and 429 for rate or budget limits. Availability errors do not authorize an automatic retry with another provider.