APIMart Alternative: Image and Video on One Key
An APIMart alternative for image and video: what to compare, a prepaid dollar balance charged only on success, an MCP server for agents, and the switch.
Updated 5 min read
An APIMart alternative is worth weighing when your traffic is images and clips, and what you want from a provider is a known price per request and nothing to pay for the jobs that fail. On Frameport one key reaches every image and video model in the catalog, a free quote prices any request before it runs, and agents connect through an MCP server on the same balance.
This page sums up APIMart in a few lines, then covers what to compare, what is different here, the models, how to move an agent and a script over, and the cases where APIMart remains the better choice.
What APIMart is
APIMart describes itself as a unified gateway for AI models: one API key and an OpenAI-compatible format in front of text, image, video, audio and music models, so that switching providers can come down to changing a base URL. Around the API it offers a playground, an MCP server and guides for coding agents such as Claude Code and Cursor. Its own site lists its current models, rates and terms.
Why developers look for an APIMart alternative
Most of the reasons are about fit rather than faults:
- A catalog that is only media. Fewer models, each with a page that lists its options and prices, can be quicker to choose from than a gateway to every kind of model.
- Money in dollars. A prepaid dollar balance makes each job's price readable as it is, with no unit to convert.
- Tools around the renders. Clip editors for faces and resolution, a Studio for people who do not code, and workspaces that split budgets by client.
- A fallback for media jobs. A second API with a similar job shape keeps a product running when one route has an incident.
What to compare before you switch
- Your models, option by option. A model's name says little; check the lengths, resolutions, aspect ratios, sound and reference pictures you actually send. Here they are on each model page and in
GET /v1/models. - What a failure costs. Here, a job that fails or is refused costs nothing, and each image of a batch is billed on its own.
- The price before the call. Here,
POST /v1/generations/quotereturns the exact price and whether the balance covers it, holding nothing. - Limits on a busy day. Here, 60 requests that start work a minute and 20 jobs at once per workspace, shared by its keys, the Studio and the MCP server.
- Agents. Here, the MCP server exposes the same prices, limits and errors as the API, with your own key.
- Tracing a problem. Here, every error carries a
request_id, andGET /v1/statustells a monitor whether the API is taking work.
Put the same six questions to APIMart's docs and terms.
What Frameport does differently
- A hold, then a charge. A submit holds the request's price (
reserved_usd); a success turns it into the charge, a failure gives it back.max_cost_usdturns a request away before anything is held when its price is above your cap. - No plan. Top up from $10; nothing renews unless you turn on auto top-up.
- Retries that cannot pay twice. An
Idempotency-Keyreturns the first job for 24 hours (idempotency keys). - Our own clip editors. Frameport Replace 1 swaps faces in a clip, with the consent of the people involved, and Frameport Upscale 1 raises a clip to 1080p and 2K.
Our engines run without a content filter only after an owner or admin of the workspace, 18 or older, switches it off; every workspace starts with it on. Third-party models answer to their makers' policies and can refuse a prompt, which costs nothing, and the acceptable use policy applies with the filter on or off. Read one API key for every AI model for the single-key case and what a failed generation costs for the billing rule.
The models you can call with one key
| What you need | Model | Example request | Price |
|---|---|---|---|
| A scene with dialogue and sound | Seedance 2.5 | 12 s at 720p | $3.24 |
| A short shot at 4K | Veo 3.1 | 4 s at 4K, with sound | $2.78 |
| An edit guided by pictures you send | Nano Banana Pro | One image | $0.16 |
| A face swap in a short clip | Frameport Replace 1 | 6 s at 1080p | $1.50 |
| A sharper finished clip | Frameport Upscale 1 | 20 s to 2K | $1.00 |
Every other model, with all its options, is on the models page, and pricing shows how holds and the balance work.
Moving your code from APIMart
Agents first. An agent that used APIMart's MCP server points at a new URL with a key of its own. In Claude Code:
claude mcp add --transport http frameport https://frameport.ai/mcp \
--header "Authorization: Bearer fp_live_..."Cursor and Claude Desktop take a config entry instead, and any client that speaks Streamable HTTP and can send a header connects to the same URL (MCP setup). The agent then has list_models, get_quote, generate_image, generate_video, edit_video, get_generation, list_generations and get_balance, and nothing it starts can spend beyond the workspace's balance.
Then scripts. The pieces map like this:
| In your integration | Here |
|---|---|
| A base URL | https://frameport.ai/v1 |
| One key for everything | Authorization: Bearer fp_live_…, one key per app |
| A model name | A catalog id such as seedance-2-5 or nano-banana-pro |
| Starting a video task | POST /v1/videos/generations, answered 202 with a generation |
| Checking on it | GET /v1/generations/{id}, or a signed webhook |
| The result | outputs[0].url, a signed link that lasts about an hour |
A Seedance 2.5 clip that opens on one picture and lands on another, in Node:
const API = 'https://frameport.ai/v1'
const headers = { 'Authorization': `Bearer ${process.env.FRAMEPORT_API_KEY}`, 'Content-Type': 'application/json' }
const body = {
model: 'seedance-2-5',
prompt: 'The pencil sketch slowly fills with watercolor until it becomes the finished painting, soft brush sounds',
reference_images: ['https://example.com/sketch.jpg'], // the first frame
end_image: 'https://example.com/painting.jpg', // the last frame
duration: 6,
resolution: '720p',
aspect_ratio: '16:9',
}
// Free: the price, and whether the balance covers it
const quote = await fetch(`${API}/generations/quote`, { method: 'POST', headers, body: JSON.stringify(body) }).then(res => res.json())
if (quote.error) throw new Error(quote.error.message)
if (!quote.enough_balance) throw new Error(`Top up first: this clip costs ${quote.price_usd} dollars`)
let gen = await fetch(`${API}/videos/generations`, {
method: 'POST',
headers: { ...headers, 'Idempotency-Key': 'sketch-to-painting-1' },
body: JSON.stringify({ ...body, max_cost_usd: quote.reserved_usd }),
}).then(res => res.json())
if (gen.error) throw new Error(`${gen.error.code}: ${gen.error.message}`)
while (gen.status === 'queued' || gen.status === 'running') {
await new Promise(resolve => setTimeout(resolve, 5000))
gen = await fetch(`${API}/generations/${gen.id}`, { headers }).then(res => res.json())
}
if (gen.error) throw new Error(`Failed, nothing charged: ${gen.error.message}`)
console.log(gen.outputs[0].url, 'charged', gen.cost_usd)The pictures can also be uploads or images you made earlier (first and last frames).
When APIMart is still the better fit
- You need text, audio or music models too. Frameport serves image and video models and clip editors only.
- Your code relies on an OpenAI-compatible format. Here the request shape is its own, so the move is a code change, small but real.
- A model you use is not in our catalog. Check the models page before you plan the move.
- The integration is fine as it is. If no point of the checklist matters to your bill or your uptime, a migration buys you little.
FAQ
Is there a free APIMart alternative?
Creating an account and a key, listing models, quoting requests and failed jobs cost nothing here. Delivered images and clips are paid from a prepaid balance in dollars, with no subscription.
Does Frameport have an MCP server like APIMart?
Yes: one URL, https://frameport.ai/mcp, with your key in the Authorization header. Its tools list models, price a request, start images, videos and clip edits, read them back and check the balance, with the API's prices and limits.
Can I call Seedance here, as through APIMart?
Yes. Seedance 2.5, Seedance 2.0 and its faster and smaller tiers are in the catalog, on the same key as every other model. Each one's lengths, sizes and prices are on its model page.
How do I get an API key?
Sign up, add funds under Billing, and create a key under API keys. It starts with fp_live_ and is shown once, so store it in an environment variable such as FRAMEPORT_API_KEY right away.
Can an agent overspend through the MCP server?
It can spend only what the workspace's balance holds, and each tool that starts work takes max_cost_usd and an idempotency_key. Give each agent a key of its own, so its spend shows under its name and you can revoke it alone (API key security).