SVG AI · Schema

GenerateRequest

At least one nonempty prompt, image or image_url is required. image and image_url cannot both be supplied. These schemas describe the recommended canonical input types; the server also normalizes some string/boolean aliases.

Artificial IntelligenceSVGGraphicsGenerator

Properties

Name Type Description
prompt string Plain-language design brief. Optional with an image; whitespace-only text is empty.
image string Raw base64 or an image data URL. PNG, JPEG, or WebP; up to 8 MB decoded. Do not send together with image_url.
image_url string Publicly reachable HTTP(S) image URL. Private/reserved hosts are rejected; up to 8 MB downloaded. Do not send together with image.
model string Generation model. Check current costs through GET /api/v1/credits.
variations integer Each variation uses credits.
transparent_background string
aspect_ratio string
wait boolean
View JSON Schema on GitHub

JSON Schema

svgai-org-generate-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/svgai-org/json-schema/svgai-org-generate-request-schema.json",
  "title": "GenerateRequest",
  "description": "At least one nonempty prompt, image or image_url is required. image and image_url cannot both be supplied. These schemas describe the recommended canonical input types; the server also normalizes some string/boolean aliases.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/svgai-org-openapi.json#/components/schemas/GenerateRequest",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "maxLength": 4000,
      "description": "Plain-language design brief. Optional with an image; whitespace-only text is empty."
    },
    "image": {
      "type": "string",
      "minLength": 100,
      "description": "Raw base64 or an image data URL. PNG, JPEG, or WebP; up to 8 MB decoded. Do not send together with image_url."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://",
      "description": "Publicly reachable HTTP(S) image URL. Private/reserved hosts are rejected; up to 8 MB downloaded. Do not send together with image."
    },
    "model": {
      "type": "string",
      "enum": [
        "classic",
        "ultra"
      ],
      "default": "classic",
      "description": "Generation model. Check current costs through GET /api/v1/credits."
    },
    "variations": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "default": 1,
      "description": "Each variation uses credits."
    },
    "transparent_background": {
      "type": "string",
      "enum": [
        "auto",
        "on",
        "off"
      ],
      "default": "auto"
    },
    "aspect_ratio": {
      "type": "string",
      "enum": [
        "default",
        "square"
      ],
      "default": "default"
    },
    "wait": {
      "type": "boolean",
      "default": true
    }
  },
  "anyOf": [
    {
      "required": [
        "prompt"
      ],
      "properties": {
        "prompt": {
          "minLength": 1,
          "pattern": "\\S"
        }
      }
    },
    {
      "required": [
        "image"
      ]
    },
    {
      "required": [
        "image_url"
      ]
    }
  ],
  "not": {
    "required": [
      "image",
      "image_url"
    ]
  }
}

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/svgai-org-generate-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.