# HyperCLI Image-to-Video Generation

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

Converts a source image (and optional text prompt) into a generated video clip using AI, billed at $0.25 USDC per call via x402 payment protocol

## Facts

- Endpoint: POST https://api.hypercli.com/api/x402/flow/image-to-video
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hypercli-image-to-video-generation-8f39b87c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4N6_WGEnJDeyNYD_HaHom

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-video-generation-8f39b87c -d '<json body>'
```

Example prompt: Take this image at https://example.com/my-photo.jpg and animate it into a short video with the prompt 'cinematic slow zoom with soft wind motion', 1280 wide by 720 tall — use HyperCLI's image-to-video and send status updates to https://myapp.com/webhook.

## When to prefer this

Choose this endpoint when you need to animate or convert a static image into a video clip using generative AI, especially when you already have an image URL or file reference and want motion or cinematic output. Prefer this over text-to-video when you have a specific source image to animate rather than generating video purely from text. Use when cost-per-call pricing ($0.25) suits your workload over a subscription model.

## Known failure modes

- Invalid or inaccessible image_url returns an error indicating the image could not be fetched
- Missing required prompt field causes a 400-level validation error
- Payment failure via x402 protocol results in a 402 Payment Required response
- Invalid width/height dimensions (unsupported resolution) may cause job failure
- Job times out on the rendering backend, returning an error status at status_url
- Both image_url and file_ids omitted may result in a failed render with no source image

## How this service works

image-to-video — fixed price $0.25

## Output

Returns a JSON object containing a render object (video job details), an access_key for retrieving results, a status_url to poll for job completion, and a cancel_url to abort the job if needed. The video is generated asynchronously so the agent must poll status_url or await a webhook notification.

## 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_url": {
   "anyOf": [
    {
     "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-video-generation-8f39b87c/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)
