Adobe Creative Cloud · JSON Structure

Adobe Firefly Api Expand Image Request Structure

ExpandImageRequest from Adobe API

Type: object Properties: 4 Required: 2
AI/MLCloudCreativeDesignDocumentsPhotographySaaSVideo

ExpandImageRequest is a JSON Structure definition published by Adobe Creative Cloud, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

image size prompt placement

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-creative-cloud/refs/heads/main/json-structure/adobe-firefly-api-expand-image-request-structure.json",
  "name": "ExpandImageRequest",
  "description": "ExpandImageRequest from Adobe API",
  "type": "object",
  "properties": {
    "image": {
      "$ref": "#/components/schemas/ImageReference"
    },
    "size": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "int32",
          "description": "Target width in pixels."
        },
        "height": {
          "type": "int32",
          "description": "Target height in pixels."
        }
      }
    },
    "prompt": {
      "type": "string",
      "description": "Text describing the content to generate in expanded areas.",
      "example": "A beautiful sunset over the ocean"
    },
    "placement": {
      "type": "object",
      "description": "How to position the original image within the expanded canvas.",
      "properties": {
        "alignment": {
          "type": "object",
          "properties": {
            "horizontal": {
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "vertical": {
              "type": "string",
              "enum": [
                "top",
                "center",
                "bottom"
              ]
            }
          }
        }
      }
    }
  },
  "required": [
    "image",
    "size"
  ]
}