Opper AI · Schema

ImageRequest

Artificial IntelligenceGatewaysEuropeanOpenAI-CompatibleGDPR

Properties

Name Type Description
aspect_ratio string
async boolean Run generation on the background worker and return a job to poll (202) instead of waiting inline (200). Use for slow models. Single-image only.
image string
mask string
model string
n integer
parameters object
prompt string
quality string
reference_images array
resolution string Output-resolution tier for models that declare one (e.g. xAI 1k/2k). Separate axis from quality.
response_format string
size string
store boolean Persist each generated image to /v3/files and return a reusable file_id per image. Defaults to false; set true to store.
View JSON Schema on GitHub

JSON Schema

opper-image-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opper/json-schema/opper-image-request-schema.json",
  "title": "ImageRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opper-images-api-openapi.yml#/components/schemas/ImageRequest",
  "properties": {
    "aspect_ratio": {
      "type": "string"
    },
    "async": {
      "description": "Run generation on the background worker and return a job to poll (202) instead of waiting inline (200). Use for slow models. Single-image only.",
      "type": "boolean"
    },
    "image": {
      "type": "string"
    },
    "mask": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "n": {
      "type": "integer"
    },
    "parameters": {
      "type": "object"
    },
    "prompt": {
      "type": "string"
    },
    "quality": {
      "type": "string"
    },
    "reference_images": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "resolution": {
      "description": "Output-resolution tier for models that declare one (e.g. xAI 1k/2k). Separate axis from quality.",
      "type": "string"
    },
    "response_format": {
      "type": "string"
    },
    "size": {
      "type": "string"
    },
    "store": {
      "description": "Persist each generated image to /v3/files and return a reusable file_id per image. Defaults to false; set true to store.",
      "type": "boolean"
    }
  },
  "required": [
    "model",
    "prompt"
  ],
  "type": "object"
}

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/opper-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. 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.