ObjectCompositeRequest

ObjectCompositeRequest from Adobe API

AI/MLCloudCreativeDesignDocumentsPhotographySaaSVideo

Properties

Name Type Description
image object
placement object Placement configuration for the object.
prompt string Optional text to guide the composition.
numVariations integer
View JSON Schema on GitHub

JSON Schema

adobe-firefly-api-object-composite-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-creative-cloud/refs/heads/main/json-schema/adobe-firefly-api-object-composite-request-schema.json",
  "title": "ObjectCompositeRequest",
  "description": "ObjectCompositeRequest from Adobe API",
  "type": "object",
  "properties": {
    "image": {
      "$ref": "#/components/schemas/ImageReference"
    },
    "placement": {
      "type": "object",
      "description": "Placement configuration for the object.",
      "properties": {
        "inpaint": {
          "type": "boolean",
          "description": "Whether to harmonize the placed object."
        }
      }
    },
    "prompt": {
      "type": "string",
      "description": "Optional text to guide the composition.",
      "example": "A beautiful sunset over the ocean"
    },
    "numVariations": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "example": 42
    }
  },
  "required": [
    "image",
    "placement"
  ]
}