# GlianaAI OG Image Generator

> GlianaAI OG Image Generator is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Generates Open Graph (OG) preview images for URLs or content, paid per-call in USDC with no API key required

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/og-image
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-og-image-generator-9f49fb16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2C0MJ0Vt7mB1s8KLsz5vZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability glianaai-og-image-generator-9f49fb16
```

Example prompt: Generate an OG preview image for my blog post titled 'How to Build AI Agents in 2025' — I want a shareable social card I can use as a link preview, and pay for it per-call in USDC on GlianaAI.

## When to prefer this

Choose this endpoint when you need to programmatically generate Open Graph / social preview images on a pay-per-call basis with no signup or API key, especially when your agent operates on Base, Tempo, or Solana and can settle USDC payments via x402 or MPP protocols.

## Known failure modes

- Missing required 'input' object with type, method, bodyType, and body fields returns validation error
- Payment not settled in USDC results in 402 Payment Required response
- Unsupported method (not GET) returns 405 Method Not Allowed
- Malformed body or bodyType enum mismatch causes 400 Bad Request
- Network or inference backend unavailability returns 503

## How this service works

GlianaAI - pay-per-call AI + utility APIs (80+ models incl. LLM chat), no signup, USDC. This resource: tools/og-image. https://ai.glianalabs.com

## Output

Returns a JSON response confirming the tool used (tools/og-image) along with the generated Open Graph image, suitable for use as a social media link preview card.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/og-image"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-og-image-generator-9f49fb16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
