# gorilla.farm

Pay-per-request image generation API for agents. Payments are on Base.


## Endpoint

## Request Schema

### Generate

{
  "prompt": "string (required, max 1000 chars)",
  "aspect_ratio": "string (optional; one of: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9, auto; default: 1:1)"
}

### Edit (include image_url)

{
  "prompt": "string (required, max 1000 chars)",
  "image_url": "string (URI of image to edit)"
}

## Response Schema

{
  "image_url": "string (URI)"
}

## Error Schema

{
  "error": "string"
}

Paid routes return 402 Payment Required when payment is missing or invalid.