Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/made-app:made-app-batches-api"
All apis
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.
Get an API 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 Specification
openapi: 3.2.0
info:
title: Made Batches API
version: 1.0.0
summary: Image, video and audio models and ready-made tools, priced in credits.
description: 'Create a key at https://www.made.app/account/api-keys and send it as `Authorization: Bearer made_sk_…`, from your server. Prices and balances are in credits; a credit is 10 cents. Fields named …Cents count cents (60 = 6 credits). Quote first (POST /v1/cost or /v1/tools/{id}/quote, free), then create with request_id and max_cost_cents so a retry never charges twice and a price change is refused, not charged. If the provider a job was quoted on fails, Made moves the job to a backup provider and charges that provider''s price, which can be above max_cost_cents; send `X-MADE-Backup-Pricing: cap` to have such a job fail instead. Jobs are asynchronous: poll GET /v1/generations/{id}. A failed or canceled job is refunded.'
contact:
email: support@made.app
url: https://www.made.app/developers
servers:
- url: https://www.made.app/api
security:
- bearerAuth: []
tags:
- name: Batches
description: Ad versions of one video.
paths:
/v1/generation-batches/quote:
post:
operationId: quoteGenerationBatch
tags:
- Batches
summary: Price a batch of ad versions
description: Free. Batches make up to 12 versions of one video with a video editing model (kling_o3_edit_pro or seedance_2_5_edit).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GenerationBatchRequest'
responses:
'200':
description: The total and each version's price.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Invalid batch.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/generation-batches:
post:
operationId: createGenerationBatch
tags:
- Batches
summary: Start a batch of ad versions
description: Each version is its own job and its own charge. Send max_cost_cents from the quote.
parameters:
- name: X-MADE-Backup-Pricing
in: header
required: false
schema:
type: string
enum:
- provider
- cap
default: provider
description: 'If the provider a job was quoted on fails, Made moves the job to a backup provider. `provider` (the default): the backup charges its own price, which can be more than the quote and max_cost_cents; your balance has to cover it. `cap`: max_cost_cents holds for the backup too, so a costlier backup fails the job instead, and it is refunded.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GenerationBatchRequest'
responses:
'202':
description: The batch.
content:
application/json:
schema:
type: object
properties:
batch:
type: object
additionalProperties: true
'400':
description: Invalid batch.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Not enough credits. The body says what the job costs, what the balance is, and where to add credits.
content:
application/json:
schema:
$ref: '#/components/schemas/InsufficientCreditsError'
'409':
description: The total is above max_cost_cents, or the batch id belongs to different inputs.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
get:
operationId: listGenerationBatches
tags:
- Batches
summary: List your batches
responses:
'200':
description: Recent batches.
content:
application/json:
schema:
type: object
properties:
batches:
type: array
items:
type: object
additionalProperties: true
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/generation-batches/{id}:
get:
operationId: getGenerationBatch
tags:
- Batches
summary: Get a batch
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Batch id (a UUID).
responses:
'200':
description: The batch and its versions' jobs.
content:
application/json:
schema:
type: object
properties:
batch:
type: object
additionalProperties: true
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such batch.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
InsufficientCreditsError:
type: object
required:
- error
- code
- add_credits_url
properties:
error:
type: string
example: 'Insufficient credits: this costs 6 credits and your balance is 0.'
code:
type: string
const: insufficient_credits
cost_credits:
type: number
description: What the job costs, in credits. Absent when it isn't known at that point.
example: 6
balance_credits:
type: number
description: The balance, in credits. Absent when it isn't known at that point.
example: 0
add_credits_url:
type: string
format: uri
example: https://www.made.app/billing
Error:
type: object
required:
- error
properties:
error:
type: string
description: What went wrong, in plain words.
GenerationRequest:
type: object
additionalProperties: false
required:
- model
properties:
model:
type: string
description: Model id from GET /v1/models, for example `seedance_2_5` or `nano_banana_2`.
prompt:
type: string
description: What to make. Required by most models; edit models describe the change.
request_id:
type: string
minLength: 8
maxLength: 128
pattern: ^[a-zA-Z0-9_-]+$
description: Idempotency key. Sending the same request_id with the same body again returns the same job instead of charging twice, so retry with it after a lost response.
max_cost_cents:
type: number
minimum: 0
description: The approved price in cents (10 cents = 1 credit), usually the customerCostCents from POST /v1/cost. If the price is higher the request is refused with 409 and nothing is charged. If the provider the job was quoted on fails, a backup provider runs it at its own price, which can be higher (see the X-MADE-Backup-Pricing header).
kind:
type: string
enum:
- image
- video
- audio
description: 'Optional guard: the request is refused if the model is a different kind.'
count:
type: integer
minimum: 1
maximum: 4
default: 1
description: Outputs to make. Each one is priced.
aspect_ratio:
type: string
description: One of the model's `aspectRatios`, for example `16:9` or `9:16`.
duration:
type: number
exclusiveMinimum: 0
description: Seconds of video or audio. One of the model's `durations` (or inside its `durationRange`).
resolution:
type: string
description: Output tier, using the exact key from the model's catalog entry (for example `480p`, `768P` or `2160p`). An undeclared tier is refused, never re-priced. A tier in the entry's `upscaledResolutions` renders at its `from` tier and is then upscaled; its price is that render plus the upscale, and `/v1/cost` quotes both.
quality:
type: string
description: One of the model's `qualities`, where it has them.
audio:
type: boolean
description: Generate sound, on models whose catalog entry has `audioPricing`.
image_size:
type: string
description: One of the model's `imageSizes`, where it has them.
upscale_factor:
type: number
exclusiveMinimum: 0
description: 'For upscale models: one of the model''s `upscaleFactors`.'
medias:
type: array
description: Reference media for image-to-video, edits and reference models. The model's `mediaRoles` lists the roles it takes and `requiredMedia` the ones it needs.
items:
type: object
additionalProperties: false
required:
- value
- role
properties:
value:
type: string
description: An https URL, an uploaded `media_…` id, a prior `job_…` id, or a saved character's or product's `ref_…` id.
role:
type: string
description: The role this media plays, for example `start_image` or `reference_images`.
characters:
type: array
minItems: 1
maxItems: 3
items:
type: string
pattern: ^ref_
description: Saved characters (`ref_…`) to star, so the same face carries across generations.
character:
type: string
pattern: ^ref_
description: One saved character; the same as `characters` with one id.
products:
type: array
minItems: 1
maxItems: 3
items:
type: string
pattern: ^ref_
description: 'Saved products (`ref_…` from GET /v1/products) to show: their photos, cover first, go in as references after any characters'', and the prompt says to keep each product exactly as it looks (shape, colors, labels).'
product:
type: string
pattern: ^ref_
description: One saved product; the same as `products` with one id.
params:
type: object
additionalProperties: true
description: Extra model options from the model's `allowedParams`, for example `seed`.
GenerationBatchRequest:
type: object
required:
- id
- label
- variants
properties:
id:
type: string
format: uuid
description: Your id for the batch; resending it resumes instead of starting again.
label:
type: string
minLength: 1
maxLength: 80
max_cost_cents:
type: number
minimum: 0
description: The quoted total, in cents.
variants:
type: array
minItems: 1
maxItems: 12
items:
type: object
required:
- id
- label
- request
properties:
id:
type: string
format: uuid
label:
type: string
minLength: 1
maxLength: 80
request:
$ref: '#/components/schemas/GenerationRequest'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A made_sk_… key from https://www.made.app/account/api-keys.
externalDocs:
description: Guides and examples
url: https://www.made.app/developers