Rawa · Schema

GptImage25ResizeWorkflowInputAPI

API input for resize by outpainting. Provide one input image (via `image_url` or `image_s3_key`) and exactly one of: - `output_size` as `[width, height]` in pixels: the delivered file is exactly that size. Shortest edge at least 100, longest at most 3840, ratio up to 3:1, at most 8,294,400 pixels. The source is centred on the new canvas unless `focal_point` or `blank_space_sides` places it. - `target_aspect` as `[width, height]`, up to 3:1: the output pixel dimensions are computed for you. Placement is left to the model and `extra_prompt`. With `output_size`, `focal_point` (one of nine regions, such as `top-center`) slides the source to that side of the axis the new area is added on. Each side in `blank_space_sides` (`top`, `bottom`, `left`, `right`) is kept clear: the source moves to the opposite side, and when it already fills that axis it is shrunk so the side gets a margin of 25% of the canvas. A blank side wins over a focal point on the same axis. Only the new area is repainted. A content-policy fallback to Nano Banana Pro reads `extra_prompt` only. The subject keeps its proportions and the scene is outpainted to fill the new frame. `output_format` is `png` (the default) or `jpeg`, a smaller file with any transparency flattened on white. Example: { "image_url": "https://example.com/portrait.jpg", "output_size": [1080, 1350], "output_format": "jpeg" }

Artificial IntelligenceMarketingEnterpriseContentPlatform

Properties

Name Type Description
image_url object
image_s3_key object
target_aspect object
output_size object
quality string
extra_prompt object
focal_point object
blank_space_sides object
output_path object
output_format string
webhook_url object
View JSON Schema on GitHub

JSON Schema

rawa-ai-gpt-image25-resize-workflow-input-api-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rawa-ai/json-schema/rawa-ai-gpt-image25-resize-workflow-input-api-schema.json",
  "title": "GptImage25ResizeWorkflowInputAPI",
  "description": "API input for resize by outpainting.\n\nProvide one input image (via `image_url` or `image_s3_key`) and exactly one of:\n\n- `output_size` as `[width, height]` in pixels: the delivered file is exactly\n  that size. Shortest edge at least 100, longest at most 3840, ratio up to\n  3:1, at most 8,294,400 pixels. The source is centred on the new canvas\n  unless `focal_point` or `blank_space_sides` places it.\n- `target_aspect` as `[width, height]`, up to 3:1: the output pixel\n  dimensions are computed for you. Placement is left to the model and\n  `extra_prompt`.\n\nWith `output_size`, `focal_point` (one of nine regions, such as\n`top-center`) slides the source to that side of the axis the new area is\nadded on. Each side in `blank_space_sides` (`top`, `bottom`, `left`,\n`right`) is kept clear: the source moves to the opposite side, and when it\nalready fills that axis it is shrunk so the side gets a margin of 25% of\nthe canvas. A blank side wins over a focal point on the same axis. Only the\nnew area is repainted. A content-policy fallback to Nano Banana Pro reads\n`extra_prompt` only.\n\nThe subject keeps its proportions and the scene is outpainted to fill the\nnew frame. `output_format` is `png` (the default) or `jpeg`, a smaller file\nwith any transparency flattened on white.\n\nExample:\n\n{\n    \"image_url\": \"https://example.com/portrait.jpg\",\n    \"output_size\": [1080, 1350],\n    \"output_format\": \"jpeg\"\n}",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/rawa-ai-api-openapi.json#/components/schemas/GptImage25ResizeWorkflowInputAPI",
  "properties": {
    "image_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Image Url"
    },
    "image_s3_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Image S3 Key"
    },
    "target_aspect": {
      "anyOf": [
        {
          "prefixItems": [
            {
              "type": "integer"
            },
            {
              "type": "integer"
            }
          ],
          "type": "array",
          "maxItems": 2,
          "minItems": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Aspect"
    },
    "output_size": {
      "anyOf": [
        {
          "prefixItems": [
            {
              "type": "integer"
            },
            {
              "type": "integer"
            }
          ],
          "type": "array",
          "maxItems": 2,
          "minItems": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Size"
    },
    "quality": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "xhigh",
        "max",
        "auto"
      ],
      "title": "Quality",
      "default": "high"
    },
    "extra_prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extra Prompt"
    },
    "focal_point": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "top-left",
            "top-center",
            "top-right",
            "center-left",
            "center",
            "center-right",
            "bottom-left",
            "bottom-center",
            "bottom-right"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Focal Point"
    },
    "blank_space_sides": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "enum": [
              "top",
              "bottom",
              "left",
              "right"
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Blank Space Sides"
    },
    "output_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Path"
    },
    "output_format": {
      "type": "string",
      "enum": [
        "png",
        "jpeg"
      ],
      "title": "Output Format",
      "default": "png"
    },
    "webhook_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Webhook Url"
    }
  },
  "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/rawa-ai-gpt-image25-resize-workflow-input-api"
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.