{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sociahive-com/json-schema/sociahive-com-post-api-v1-media-generate-image-request-schema.json",
  "title": "PostApiV1MediaGenerateImageRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/sociahive-com-openapi-generated.yml#/components/schemas/PostApiV1MediaGenerateImageRequest",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Description of the image to generate"
    },
    "aspect": {
      "type": "string",
      "description": "Shape of the image (square, portrait, landscape)"
    },
    "count": {
      "type": "integer",
      "description": "Number of images to generate (1‑4)"
    },
    "fromCaption": {
      "type": "boolean",
      "description": "If true, generate from the post caption"
    },
    "caption": {
      "type": "string",
      "description": "Caption text to use when fromCaption is true"
    },
    "requestId": {
      "type": "string",
      "description": "Id for retrying the same request"
    }
  }
}