# HyperCLI Image-to-Image AI Transformation

> HyperCLI Image-to-Image AI Transformation is a paid API for AI agents from api.hypercli.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Transforms an input image into a new image guided by a text prompt using AI, billed at $0.1 USDC per call via x402 payment protocol

## Facts

- Endpoint: POST https://api.hypercli.com/api/x402/flow/image-to-image
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hypercli-image-to-image-ai-transformation-1801953e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6-2tuHeUZ-V9cCkNaZzUe

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 hypercli-image-to-image-ai-transformation-1801953e -d '<json body>'
```

Example prompt: Take this photo (https://example.com/photo.jpg) and transform it into a watercolor painting style — make it 512x512 pixels and avoid dark or gloomy tones.

## When to prefer this

Use this endpoint when you need to transform or stylize an existing image guided by a text prompt, rather than generating an image from scratch. Prefer this over text-to-image when you want to preserve the structure or content of a source image while applying stylistic or content changes. It is well-suited for agentic workflows that can poll an async status URL and handle x402 micropayment flows at $0.1 per call.

## Known failure modes

- Payment not received or x402 payment protocol failure — endpoint returns 402 Payment Required
- Invalid or inaccessible image URL or file ID — returns 4xx error
- Prompt is missing or empty — request validation failure
- Width or height values are out of supported range — returns error
- Job processing timeout — status URL may reflect failed state
- notify_url unreachable when job completes — silent webhook failure

## How this service works

image-to-image — fixed price $0.1

## Output

Returns a JSON object containing an access key to retrieve the result, a status URL to poll for job completion, a cancel URL to abort the job, and a render object with result details once processing is complete.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "width": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "height": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "prompt": {
   "type": "string"
  },
  "dry_run": {
   "type": "boolean",
   "default": false
  },
  "file_ids": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "negative": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "image_urls": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "notify_url": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "render": {},
  "access_key": "example",
  "cancel_url": "example",
  "status_url": "example"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hypercli-image-to-image-ai-transformation-1801953e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.hypercli.com](https://www.zero.xyz/host/api.hypercli.com/llms.txt)
