GenerateImagesRequest

GenerateImagesRequest from Adobe API

AI/MLCloudCreativeDesignDocumentsPhotographySaaSVideo

Properties

Name Type Description
prompt string Text description of the image to generate.
negativePrompt string Text describing elements to exclude from generation.
numVariations integer Number of image variations to generate.
size object Output image dimensions.
contentClass string Content class hint. photo optimizes for photorealistic output, art for artistic/illustrated styles.
style object Style configuration for generation.
seeds array Random seeds for reproducible generation. One seed per requested variation.
View JSON Schema on GitHub

JSON Schema

adobe-firefly-api-generate-images-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-generate-images-request-schema.json",
  "title": "GenerateImagesRequest",
  "description": "GenerateImagesRequest from Adobe API",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "maxLength": 1024,
      "description": "Text description of the image to generate.",
      "example": "A beautiful sunset over the ocean"
    },
    "negativePrompt": {
      "type": "string",
      "maxLength": 1024,
      "description": "Text describing elements to exclude from generation.",
      "example": "A beautiful sunset over the ocean"
    },
    "numVariations": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "default": 1,
      "description": "Number of image variations to generate.",
      "example": 42
    },
    "size": {
      "type": "object",
      "description": "Output image dimensions.",
      "properties": {
        "width": {
          "type": "integer",
          "description": "Width in pixels."
        },
        "height": {
          "type": "integer",
          "description": "Height in pixels."
        }
      }
    },
    "contentClass": {
      "type": "string",
      "enum": [
        "photo",
        "art"
      ],
      "description": "Content class hint. photo optimizes for photorealistic output, art for artistic/illustrated styles.",
      "example": "photo"
    },
    "style": {
      "type": "object",
      "description": "Style configuration for generation.",
      "properties": {
        "presets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Style preset identifiers."
        },
        "referenceImage": {
          "$ref": "#/components/schemas/ImageReference"
        }
      }
    },
    "seeds": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Random seeds for reproducible generation. One seed per requested variation."
    }
  },
  "required": [
    "prompt"
  ]
}