Stability AI · Schema

GenerateCoreRequest

3D GenerationArtificial IntelligenceGenerative AIImage-GenerationImage EditingMachine-LearningStable DiffusionText-to-ImageVideo Generation

Properties

Name Type Description
prompt string Text describing what you wish to see in the output image.
negative_prompt string Text describing elements to exclude from the output image.
aspect_ratio string Controls the aspect ratio of the generated image.
seed integer A value to control randomness in generation.
output_format string The output format of the generated image.
style_preset string An optional style preset to guide the image model towards a particular visual style.
View JSON Schema on GitHub

JSON Schema

stability-ai-generatecorerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GenerateCoreRequest",
  "title": "GenerateCoreRequest",
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "maxLength": 10000,
      "description": "Text describing what you wish to see in the output image."
    },
    "negative_prompt": {
      "type": "string",
      "maxLength": 10000,
      "description": "Text describing elements to exclude from the output image."
    },
    "aspect_ratio": {
      "type": "string",
      "enum": [
        "16:9",
        "1:1",
        "21:9",
        "2:3",
        "3:2",
        "4:5",
        "5:4",
        "9:16",
        "9:21"
      ],
      "default": "1:1",
      "description": "Controls the aspect ratio of the generated image."
    },
    "seed": {
      "type": "integer",
      "minimum": 0,
      "maximum": 4294967294,
      "default": 0,
      "description": "A value to control randomness in generation."
    },
    "output_format": {
      "type": "string",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ],
      "default": "png",
      "description": "The output format of the generated image."
    },
    "style_preset": {
      "type": "string",
      "description": "An optional style preset to guide the image model towards a particular visual style."
    }
  }
}

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/stability-ai-generatecorerequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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