Adobe Creative Suite · JSON Structure

Adobe Creative Suite Firefly Image Generate Request Structure

Request body for text-to-image generation

Type: object Properties: 8 Required: 1
CreativeDesignGraphicsPhotographyVideo

ImageGenerateRequest is a JSON Structure definition published by Adobe Creative Suite, describing 8 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

prompt negativePrompt contentClass numVariations size style seeds locale

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-suite/refs/heads/main/json-structure/adobe-creative-suite-firefly-image-generate-request-structure.json",
  "name": "ImageGenerateRequest",
  "description": "Request body for text-to-image generation",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Text description of the image to generate",
      "maxLength": 1024,
      "example": "A serene mountain lake at golden hour with reflections of pine trees"
    },
    "negativePrompt": {
      "type": "string",
      "description": "Text description of elements to avoid in the generated image",
      "maxLength": 1024,
      "example": "blurry, low quality, distorted"
    },
    "contentClass": {
      "type": "string",
      "description": "Broad content category to guide the generation model",
      "enum": [
        "photo",
        "art"
      ],
      "example": "photo"
    },
    "numVariations": {
      "type": "int32",
      "description": "Number of image variations to generate (1 to 4)",
      "minimum": 1,
      "maximum": 4,
      "default": 1,
      "example": 2
    },
    "size": {
      "$ref": "#/components/schemas/ImageSize"
    },
    "style": {
      "$ref": "#/components/schemas/StyleOptions"
    },
    "seeds": {
      "type": "array",
      "description": "Array of integer seed values for reproducible generation. Providing the same seed with the same prompt produces the same output.",
      "items": {
        "type": "int32"
      },
      "example": [
        42,
        1337
      ]
    },
    "locale": {
      "type": "string",
      "description": "BCP 47 language locale for prompt interpretation",
      "example": "en-US"
    }
  },
  "required": [
    "prompt"
  ]
}