{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-creative-suite/refs/heads/main/json-structure/adobe-creative-suite-firefly-image-fill-request-structure.json",
  "name": "ImageFillRequest",
  "description": "Request body for generative fill operation",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Text prompt describing what to fill in the masked area",
      "maxLength": 1024,
      "example": "example_value"
    },
    "negativePrompt": {
      "type": "string",
      "description": "Text describing what to avoid in the filled area",
      "maxLength": 1024,
      "example": "example_value"
    },
    "image": {
      "$ref": "#/components/schemas/InputImageReference"
    },
    "mask": {
      "$ref": "#/components/schemas/InputImageReference"
    },
    "numVariations": {
      "type": "int32",
      "minimum": 1,
      "maximum": 4,
      "default": 1,
      "example": 1920
    },
    "seeds": {
      "type": "array",
      "items": {
        "type": "int32"
      }
    }
  },
  "required": [
    "image",
    "mask"
  ]
}