{
  "owner": "⫷𝐅𝐀𝐊 𝐎𝐅𝐅𝐈𝐂𝐈𝐀𝐋⫸",
  "copyright": "Copyright (c) Faizan Ahmad Khichi",
  "support_channel": "https://whatsapp.com/channel/0029Vb2y2umF6sn16F6Zm20k",
  "rate_limit": "1 request per 30 seconds per IP address.",
  "api_usage": {
    "endpoint": "/image",
    "method": "GET / POST",
    "description": "Generates or modifies an image. The function (txt2img or img2img) depends on the parameters provided.",
    "parameters": {
      "prompt": {
        "type": "string",
        "required": true,
        "description": "The text description of the image to generate or the instructions on how to change an existing image."
      },
      "imageUrl": {
        "type": "string",
        "required": false,
        "description": "A valid, direct URL to a source image. If provided, the API will perform an img2img operation."
      }
    },
    "examples": [
      {
        "type": "Text-to-Image",
        "url": "/image?prompt=a%20beautiful%20sunset%20over%20the%20ocean"
      },
      {
        "type": "Image-to-Image",
        "url": "/image?prompt=make%20the%20sky%20purple&imageUrl=https://example.com/sunset.jpg"
      }
    ]
  }
}