Distribea · Schema

GenerateImageRequest

Artificial IntelligenceVideoMediaSoftware-as-a-ServicePlatform

Properties

Name Type Description
prompt string What the image shows.
model string A model id from GET /api/v1/models?type=image.
quality string One of the model's `qualities`. Default 2K when `model` is omitted.
aspect_ratio string One of the model's `aspect_ratios`.
count integer Number of images, up to the model's `max_images`.
file_type string
image_urls array Public URLs of reference images (image-to-image), one or more. A model that takes fewer answers 400 with the limit.
image_url string Same as `image_urls` with one URL. Prefer `image_urls`.
dry_run boolean true returns the exact price only, with or without a key. Nothing is generated or charged.
View JSON Schema on GitHub

JSON Schema

distribea-com-generate-image-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/distribea-com/json-schema/distribea-com-generate-image-request-schema.json",
  "title": "GenerateImageRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/distribea-com-openapi.json#/components/schemas/GenerateImageRequest",
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "description": "What the image shows."
    },
    "model": {
      "type": "string",
      "description": "A model id from GET /api/v1/models?type=image.",
      "default": "nano-banana-pro"
    },
    "quality": {
      "type": "string",
      "description": "One of the model's `qualities`. Default 2K when `model` is omitted."
    },
    "aspect_ratio": {
      "type": "string",
      "description": "One of the model's `aspect_ratios`."
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of images, up to the model's `max_images`.",
      "default": 1
    },
    "file_type": {
      "type": "string",
      "enum": [
        "png",
        "jpg"
      ],
      "default": "png"
    },
    "image_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "minItems": 1,
      "description": "Public URLs of reference images (image-to-image), one or more. A model that takes fewer answers 400 with the limit."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "deprecated": true,
      "description": "Same as `image_urls` with one URL. Prefer `image_urls`."
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "true returns the exact price only, with or without a key. Nothing is generated or charged."
    }
  }
}

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/distribea-com-generate-image-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.