# AgentUtility Mobile Story Image Expand

> AgentUtility Mobile Story Image 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 an image to 1080×1920 pixels (mobile story portrait format) using AI

## Facts

- Endpoint: POST https://x402.agentutility.ai/mobile-story-image-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-mobile-story-image-expand-23abdc8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8TpTZV235-3quc6HyCemN

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-mobile-story-image-expand-23abdc8e -d '<json body>'
```

Example prompt: Take this image and expand it to fit a mobile story format (1080×1920 portrait) — I need it ready for an Instagram or TikTok story post.

## When to prefer this

Use this endpoint when you need to expand or reformat an existing image to the standard mobile story portrait resolution (1080×1920) for platforms like Instagram, TikTok, or Snapchat Stories. Prefer this over generic image resizers when you want AI-powered outpainting or smart expansion rather than simple cropping or letterboxing.

## Known failure modes

- Invalid or inaccessible source image URL returns an error
- Image too small or low quality to expand meaningfully
- Payment failure via x402 if wallet lacks sufficient USDC
- Timeout if image processing takes too long
- Unsupported image format rejected by the endpoint

## How this service works

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

## Output

Returns a JSON object with width (1080), height (1920), and a URL pointing to the AI-expanded portrait-format image ready for mobile story use.

## 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": {
     "required": [
      "image_url",
      "canvas_width",
      "canvas_height"
     ],
     "properties": {
      "seed": {
       "type": "number",
       "description": "Random seed for reproducible output. Optional; random if omitted."
      },
      "prompt": {
       "type": "string",
       "description": "Text hint describing what to generate in the expanded area. Optional."
      },
      "image_url": {
       "type": "string",
       "description": "Source image URL to expand."
      },
      "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."
      },
      "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."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "width": {
       "type": "integer"
      },
      "height": {
       "type": "integer"
      },
      "image_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-mobile-story-image-expand-23abdc8e/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)
