{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "aifi/ai-image-generator",
    "version": "1.0.0",
    "title": "AI Image Generator",
    "category": "media",
    "icon": "format-image",
    "description": "Generate AI-powered images inline in your content.",
    "keywords": ["ai", "image", "generate", "openai", "gemini"],
    "textdomain": "ai-featured-image-generator",
    "supports": {
        "align": ["left", "center", "right", "wide", "full"],
        "html": false,
        "anchor": true
    },
    "attributes": {
        "prompt": {
            "type": "string",
            "default": ""
        },
        "useCustomSettings": {
            "type": "boolean",
            "default": false
        },
        "style": {
            "type": "string",
            "default": ""
        },
        "aspectRatio": {
            "type": "string",
            "default": ""
        },
        "imageUrl": {
            "type": "string",
            "default": ""
        },
        "attachmentId": {
            "type": "number",
            "default": 0
        },
        "alt": {
            "type": "string",
            "default": ""
        },
        "width": {
            "type": "number",
            "default": 0
        },
        "height": {
            "type": "number",
            "default": 0
        },
        "customText": {
            "type": "string",
            "default": ""
        },
        "useBrandKit": {
            "type": "boolean",
            "default": true
        }
    },
    "example": {
        "attributes": {
            "prompt": "A serene mountain landscape at sunset",
            "style": "realistic",
            "imageUrl": ""
        }
    },
    "editorScript": "file:./index.js",
    "editorStyle": "file:./index.css",
    "style": "file:./style-index.css"
}
