Lumeta AI Estimate API
The Estimate API from Lumeta AI — 1 operation(s) for estimate.
The Estimate API from Lumeta AI — 1 operation(s) for estimate.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lumeta-ai:lumeta-ai-estimate-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Lumeta Estimate API
version: 1.0.0
summary: Same Lumeta account, same models, same credits, same shelves and projects, from code.
description: 'Authenticate with `Authorization: Bearer lm_live_...` (keys: https://lumeta.ai/settings/developer/, paid plans). Every response carries `X-Request-Id`; every error is `{"error": {"code", "message", "param"?, "request_id"}}`. Public ids: `gen_`, `file_`, `shelf_`, `proj_`, `folder_`, `voice_`, `team_`, `user_`, `invite_`, `request_`, `event_`. Media inputs take references, never filenames: `file_`, `shelf_`, `shelf:`, `gen_#`, `voice_`, or an `https://` URL. Limits per credential: 300 requests/min, 20 generations/min, 60 estimates/min. Guide, examples and webhook signatures: https://lumeta.ai/developers/docs/'
contact:
url: https://lumeta.ai/developers/
servers:
- url: https://api.lumeta.ai
security:
- bearer: []
tags:
- name: Estimate
paths:
/v1/estimate:
post:
operationId: estimate
summary: 'Price a generation without running it: exactly what POST /v1/generations would…'
security:
- bearer:
- read
x-lumeta-scope: read
responses:
default:
$ref: '#/components/responses/Error'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Estimate'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- model
- input
properties:
model:
type: string
description: Model id or slug.
input:
type: object
description: The model's inputs; schema at GET /v1/models/{model}/schema. A choice listed in a field's `x-lumeta-option-min-plan` above your plan answers 403 `plan_required` and charges nothing.
project:
type: string
description: '`proj_<id>` to file the generation in, with any `https://` inputs it imports (default: your current project).'
tags:
- Estimate
components:
schemas:
Error:
type: object
properties:
error:
type: object
required:
- code
- message
- request_id
properties:
code:
type: string
description: 'Stable: unauthorized, invalid_token, plan_required, not_enabled (no longer returned since 2026-11-02: folders are on for every account), insufficient_scope, api_key_required, not_allowed, not_found, invalid_input, invalid_json, moderation_blocked, project_read_only, team_member_paused, team_member_limit, team_not_member, team_unavailable, team_project_unsupported (no longer returned since 2026-11-01: a team project you can edit now runs), not_on_team, seat_needed, token_cap_exceeded, insufficient_credits, concurrency_limit, rate_limited, idempotency_conflict, idempotency_in_progress, already_exists, already_answered, request_changed, not_cancelable, model_unavailable, provider_error, service_unavailable, internal_error. In a team project, team_member_limit (402) means the run would go past your monthly limit on that team and insufficient_credits means the team is out of credits; both carry `team` (`team_<id>`). A generation also fails with face_consent_required when Seedance refused a reference that looks like a real person because `realistic_faces_consent` was off: nothing was charged, and it may run again with that set to true only when the human user of this account confirms they have the consent and rights of the person shown in the photo. An AI assistant or agent must never give this consent or answer for the human user.'
message:
type: string
param:
type: string
description: The input field or parameter at fault, when there is one.
request_id:
type: string
Estimate:
type: object
properties:
credits:
type: integer
description: Credits required to submit. If the model lists an output-based charge, this is the maximum hold.
credits_remaining:
type: integer
description: Your balance; with a team `project`, what you may still spend from that team (see `team`).
cap_remaining:
type:
- integer
- 'null'
team:
type: string
description: '`team_<id>` when `project` is a team project: the team pays, within your monthly limit there.'
enough:
type: boolean
description: Whether POST /v1/generations would be accepted right now.
user_defaults_applied:
type: object
description: Present only on a request from the Lumeta CLI or the MCP server, and only when the account had saved its own defaults for this model on the website (the tool's "default settings" sheet) and this request left those inputs out. Each entry is an input name and the value used. Send the input yourself to override it for one run.
warnings:
type: array
items:
type: string
description: 'Present only when there is something to say about this request that did not stop it, each a plain sentence for the person: an `@word` in the prompt that is no Shelf name (sent as text), an input you sent that the other inputs switch off (ignored, with the condition it needs), or a change to the model that affects this request, such as a new default or price, with what to send to keep the old behavior. Change notices run for a set time after the change; the input schema lists the running ones as `x-lumeta-notices`.'
responses:
Error:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearer:
type: http
scheme: bearer
description: 'A personal API key (lm_live_...) or an OAuth access token (lma_...). Scopes: read, generate, library, share (add and remove people on projects and teams, team invites, asking a team''s admins and answering as one).'