{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Image Generation",
  "description": "Generate images from text prompts using multiple AI providers. Supports GPT, Gemini, Grok, FLUX, and Riverflow models with automatic API fallback to OpenRouter.",
  "x-icon": "/skills/image/image.svg",
  "x-tags": ["Media", "AI"],
  "properties": {
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "description": "Whether this skill is enabled",
      "default": false
    },
    "states": {
      "type": "object",
      "properties": {
        "image_gpt": {
          "type": "string",
          "title": "GPT Image 1.5",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using OpenAI GPT Image 1.5.",
          "default": "disabled"
        },
        "image_gpt_mini": {
          "type": "string",
          "title": "GPT Image 1 Mini",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using OpenAI GPT Image 1 Mini (faster, cheaper).",
          "default": "disabled"
        },
        "image_gemini_pro": {
          "type": "string",
          "title": "Nano Banana Pro",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using Google Gemini 3 Pro.",
          "default": "disabled"
        },
        "image_gemini_flash": {
          "type": "string",
          "title": "Nano Banana 2",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using Google Gemini 3.1 Flash (faster, cheaper).",
          "default": "disabled"
        },
        "image_grok_pro": {
          "type": "string",
          "title": "Grok Imagine Pro",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using xAI Grok Imagine Image Pro.",
          "default": "disabled"
        },
        "image_grok": {
          "type": "string",
          "title": "Grok Imagine",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using xAI Grok Imagine Image (faster, cheaper).",
          "default": "disabled"
        },
        "image_flux_pro": {
          "type": "string",
          "title": "FLUX.2 Pro",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using FLUX.2 Pro via OpenRouter.",
          "default": "disabled"
        },
        "image_riverflow": {
          "type": "string",
          "title": "Riverflow v2 Fast",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using Riverflow v2 Fast via OpenRouter.",
          "default": "disabled"
        },
        "image_minimax": {
          "type": "string",
          "title": "MiniMax image-01",
          "enum": ["disabled", "public", "private"],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Generate images using MiniMax image-01. Supports subject reference.",
          "default": "disabled"
        }
      },
      "description": "States for each image generation skill (disabled, public, or private)"
    }
  },
  "required": ["enabled", "states"],
  "additionalProperties": true
}
