# HyperCLI First-Last Frame Video Generation

> HyperCLI First-Last Frame 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).

Generates a video by animating between a specified start image and end image, guided by a text prompt, for $0.25 per call.

## Facts

- Endpoint: POST https://api.hypercli.com/api/x402/flow/first-last-frame-video
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hypercli-first-last-frame-video-generation-b9ecf4a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DF1FuuLxw81I9F9zLhSoT

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-first-last-frame-video-generation-b9ecf4a0 -d '<json body>'
```

Example prompt: Generate a video that starts with this image of a sunrise (https://example.com/sunrise.jpg) and ends with this image of a sunset (https://example.com/sunset.jpg), with the prompt 'golden hour sky shifting from dawn to dusk', at 1280x720 resolution.

## When to prefer this

Use this endpoint when you need to generate a video with explicit control over both the opening and closing frames — ideal for cinematic transitions, morphing between two specific images, or storytelling where the start and end visual states are known. Prefer over text-to-video when you have concrete reference images for first and last frames, and over image-to-video when you also want to constrain the ending frame.

## Known failure modes

- Invalid or inaccessible start/end image URLs return an error
- Missing required prompt field causes validation failure
- Payment failure via x402 prevents job from starting
- Unsupported image dimensions may cause generation errors
- Job may time out for very complex renders; check status URL
- notify_url webhook may fail if the target URL is unreachable

## How this service works

first-last-frame-video — fixed price $0.25

## Output

Returns a JSON object with an access key, a status URL to poll for completion, a cancel URL to abort the job, and a render object with details about the generated video task.

## 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
  },
  "notify_url": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "end_image_url": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null
  },
  "start_image_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-first-last-frame-video-generation-b9ecf4a0/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)
