Made · Schema

GenerationRequest

Artificial IntelligenceImage GenerationVideo GenerationCreative ToolsPlatform

Properties

Name Type Description
model string Model id from GET /v1/models, for example `seedance_2_5` or `nano_banana_2`.
prompt string What to make. Required by most models; edit models describe the change.
request_id string 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 number 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
kind string Optional guard: the request is refused if the model is a different kind.
count integer Outputs to make. Each one is priced.
aspect_ratio string One of the model's `aspectRatios`, for example `16:9` or `9:16`.
duration number Seconds of video or audio. One of the model's `durations` (or inside its `durationRange`).
resolution string 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` ren
quality string One of the model's `qualities`, where it has them.
audio boolean Generate sound, on models whose catalog entry has `audioPricing`.
image_size string One of the model's `imageSizes`, where it has them.
upscale_factor number For upscale models: one of the model's `upscaleFactors`.
medias array 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.
characters array Saved characters (`ref_…`) to star, so the same face carries across generations.
character string One saved character; the same as `characters` with one id.
products array 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, color
product string One saved product; the same as `products` with one id.
params object Extra model options from the model's `allowedParams`, for example `seed`.
View JSON Schema on GitHub

JSON Schema

made-app-generation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/made-app/json-schema/made-app-generation-request-schema.json",
  "title": "GenerationRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/made-app-openapi.json#/components/schemas/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`."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/made-app-generation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.