{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fal-ai/main/json-schema/fal-image-result-schema.json",
  "title": "fal Image Model Result",
  "description": "Common shape returned by fal image generation models (FLUX, SDXL, Seedream, Nano Banana, Qwen, etc.).",
  "type": "object",
  "additionalProperties": true,
  "required": ["images"],
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["url"],
        "properties": {
          "url": { "type": "string", "format": "uri" },
          "width": { "type": "integer" },
          "height": { "type": "integer" },
          "content_type": { "type": "string" }
        }
      }
    },
    "prompt": { "type": "string" },
    "seed": { "type": "integer" },
    "timings": {
      "type": "object",
      "properties": {
        "inference": { "type": "number" }
      }
    },
    "has_nsfw_concepts": {
      "type": "array",
      "items": { "type": "boolean" }
    }
  }
}
