# GlianaAI YouTube Thumbnail Fetcher

> GlianaAI YouTube Thumbnail Fetcher 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).

Fetches the thumbnail image for a YouTube video via a pay-per-call endpoint settled in USDC

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/youtube-thumbnail
- 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-youtube-thumbnail-fetcher-64c1cc6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AgZUCyFM0WRmcXt9WQTrs

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-youtube-thumbnail-fetcher-64c1cc6c
```

Example prompt: Can you grab the thumbnail image for this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ?

## When to prefer this

Choose this endpoint when an AI agent needs to retrieve the thumbnail image of a YouTube video without requiring API keys or prior signup, and is capable of settling micropayments in USDC via x402 on Base, Tempo, or Solana. Useful in agentic pipelines that need to display, embed, or analyze YouTube video previews on demand.

## Known failure modes

- Invalid or missing YouTube video URL/ID returns an error
- Video is private or deleted, returning no thumbnail
- Payment failure on Tempo, Base, or Solana prevents the call from completing
- Malformed request body type causes a 400-level error
- Rate limiting or quota issues on the GlianaAI side

## How this service works

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

## Output

Returns a JSON response containing a tool identifier and the fetched YouTube thumbnail data — typically a thumbnail image URL or image content associated with the given YouTube video.

## 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/youtube-thumbnail"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-youtube-thumbnail-fetcher-64c1cc6c/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)
