# GlianaAI Tweet Image Generator

> GlianaAI Tweet 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-14).

Generates an image optimized for Twitter/X posts via pay-per-call AI inference, settled in USDC

## Facts

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

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-tweet-image-generator-26bff83e
```

Example prompt: Use GlianaAI to generate a tweet image — I want a vibrant illustration of a rocket launching into a starry night sky, formatted perfectly for posting on Twitter.

## When to prefer this

Choose this endpoint when you need AI-generated images specifically formatted/optimized for Twitter/X posts, want pay-per-call pricing with no API key or subscription required, and can settle payments in USDC via x402 on Base, Tempo, or Solana. Ideal for autonomous agents that need to generate tweet visuals on demand without pre-registration.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 Payment Required response
- Invalid or missing input body — 400 Bad Request
- Image generation model unavailable — 503 Service Unavailable
- Prompt violates content policy — 422 Unprocessable Entity
- Network timeout during model inference — 504 Gateway Timeout

## How this service works

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

## Output

Returns a JSON object containing a generated image (URL or encoded image data) optimized for Twitter/X post dimensions, produced by one of 60+ AI models available via GlianaAI's pay-per-call inference service, settled at $0.02 USDC per call via x402 protocol.

## 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/tweet-image"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-tweet-image-generator-26bff83e/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)
