# AgentUtility Course Thumbnail Expand

> AgentUtility Course Thumbnail Expand is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-13).

Expands or upscales a course thumbnail image to 1280x720 resolution and returns a hosted image URL

## Facts

- Endpoint: POST https://x402.agentutility.ai/course-thumbnail-expand
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-course-thumbnail-expand-9b339e8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Nab4twSSX3jBGTjRNCw3

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 agentutility-course-thumbnail-expand-9b339e8f -d '<json body>'
```

Example prompt: Can you expand this course thumbnail image to the standard 1280x720 widescreen size and give me back a hosted URL for the result? Here's the source image: https://example.com/my-course-thumb.jpg

## When to prefer this

Choose this endpoint when you need to programmatically upscale or expand course thumbnail images to the standard 1280x720 (HD 16:9) format, especially in automated e-learning content pipelines where pay-per-call USDC billing via x402 is acceptable. Prefer this over generic image resizing APIs when the use case is specifically course or educational content thumbnails.

## Known failure modes

- Invalid or inaccessible source image URL returns an error
- Source image format not supported
- Image too small or corrupted to expand
- Payment failure via x402 protocol returns 402 status
- Timeout if source image URL is slow to fetch

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

A JSON object containing the output image dimensions (width: 1280, height: 720) and a hosted PNG image URL pointing to the expanded thumbnail ready for use in course listings or video platforms.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "image_url": {
       "type": "string",
       "description": "Source image URL to expand."
      },
      "canvas_width": {
       "type": "number",
       "description": "Target canvas width in pixels. 256-4096."
      },
      "canvas_height": {
       "type": "number",
       "description": "Target canvas height in pixels. 256-4096."
      },
      "original_width": {
       "type": "number",
       "description": "Width of the original image within the new canvas. Optional; must pair with original_height."
      },
      "original_height": {
       "type": "number",
       "description": "Height of the original image within the new canvas. Optional; must pair with original_width."
      },
      "original_x": {
       "type": "number",
       "description": "X offset of the original image within the new canvas. Optional; must pair with original_y."
      },
      "original_y": {
       "type": "number",
       "description": "Y offset of the original image within the new canvas. Optional; must pair with original_x."
      },
      "prompt": {
       "type": "string",
       "description": "Text hint describing what to generate in the expanded area. Optional."
      },
      "seed": {
       "type": "number",
       "description": "Random seed for reproducible output. Optional; random if omitted."
      }
     },
     "required": [
      "image_url",
      "canvas_width",
      "canvas_height"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "image_url": {
       "type": "string"
      },
      "width": {
       "type": "integer"
      },
      "height": {
       "type": "integer"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "width": 1280,
  "height": 720,
  "image_url": "https://...png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-course-thumbnail-expand-9b339e8f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
