{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "gorilla-farm-api-generate",
  "title": "Gorilla.farm \u00b7 Image Generation & Editing",
  "url": "https://gorilla.farm/api/generate",
  "category": "media",
  "summary": "Generates new images from text prompts or edits existing images via URL, with configurable aspect ratios and generation parameters.",
  "seo": {
    "title": "Gorilla.farm Image Gen API | x402 Payment Required",
    "description": "Generate or edit images via x402 micropayments. Supports multiple aspect ratios, image-to-image editing, and text-to-image generation. 0.2 USDC per call on Base."
  },
  "use_cases": [
    "Generate images from text descriptions with custom aspect ratios",
    "Edit existing images via URL reference",
    "Create visual content for social media or marketing"
  ],
  "ideal_buyer": "Content creators, marketers, and AI application developers needing programmatic image generation and editing capabilities.",
  "example_prompt": "Generate a 16:9 image of a futuristic cityscape at sunset with flying vehicles.",
  "example_request_body": {
    "prompt": "futuristic cityscape at sunset with flying vehicles",
    "aspect_ratio": "16:9"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 2.5,
    "median_category_atomic": 80000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x7bf611a5771df944568fb45f9f30fe06e06490ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "200000",
      "max_timeout_seconds": 60,
      "mime_type": "application/json",
      "description": "Generate or edit an image (Nano Banana 2)",
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "prompt"
            ],
            "properties": {
              "prompt": {
                "type": "string",
                "maxLength": 1000,
                "description": "Text description for generation or editing instruction"
              },
              "image_url": {
                "type": "string",
                "format": "uri",
                "description": "Optional: URL of image to edit. If omitted, generates new image."
              },
              "aspect_ratio": {
                "enum": [
                  "1:1",
                  "16:9",
                  "9:16",
                  "4:3",
                  "3:4",
                  "3:2",
                  "2:3",
                  "5:4",
                  "4:5",
                  "21:9",
                  "auto"
                ],
                "type": "string",
                "default": "1:1",
                "description": "Image aspect ratio for generation. Defaults to 1:1."
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "image_url": "https://img.gorilla.farm/123e4567-e89b-12d3-a456-426614174000.png"
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "gorilla-farm",
    "host": "gorilla.farm",
    "title": "gorilla.farm",
    "description": "Pay-per-request image generation/edit API on Base via x402.",
    "url": "https://gorilla.farm",
    "favicon": "https://gorilla.farm/favicon.ico"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/gorilla-farm-api-generate",
    "url": "https://x402all.com/resource/gorilla-farm-api-generate",
    "name": "Gorilla.farm \u00b7 Image Generation & Editing",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/gorilla-farm-api-generate",
      "@type": "Offer",
      "price": "0.2",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.200000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://gorilla.farm/api/generate",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/gorilla-farm",
      "url": "https://gorilla.farm",
      "name": "gorilla.farm",
      "@type": "Organization"
    },
    "identifier": "gorilla-farm-api-generate",
    "description": "Generate or edit images via x402 micropayments. Supports multiple aspect ratios, image-to-image editing, and text-to-image generation. 0.2 USDC per call on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=gorilla-farm-api-generate",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "media"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=gorilla-farm-api-generate"
}
