# ProfitCollector Video Generation API

> ProfitCollector Video Generation API is a paid API for AI agents from api.bakhour.ca, paid per call via x402, $0.8/call, status unknown (last checked 2026-10-21).

Generates a video via a paid POST endpoint, returning a job ID and settlement status for async delivery

## Facts

- Endpoint: POST https://api.bakhour.ca/media/video/generate?utm_source=zero.xyz
- Price: $0.8/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/profitcollector-video-generation-api-43d43457
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M-b60BUWZt-E1k7HowFe_

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 profitcollector-video-generation-api-43d43457 -d '<json body>'
```

Example prompt: Generate a short video of a sunset over the ocean with calm waves — I need it for a background on my landing page.

## When to prefer this

Choose this endpoint when you need to programmatically generate video content in an automated or agent workflow and are willing to pay per-call in USDC via the x402 payment protocol. It is best suited for async batch video generation tasks where a job ID can be tracked for completion. Not ideal for real-time or synchronous video needs.

## Known failure modes

- Payment not settled — status remains 'awaiting_settlement' indefinitely if USDC payment fails
- Invalid or missing generation parameters — may return 400 or equivalent error
- Service unavailable — no job_id returned if the endpoint is down
- Timeout — async job may stall if supplier execution never starts (supplier_execution_started stays false)
- Insufficient funds — payment of 0.8 USDC not provided or rejected

## How this service works

Paid deterministic utilities for software agents and automated workflows.

## Output

Returns a JSON object with a job_id (32-character hex string), a status field (e.g. 'awaiting_settlement'), buyer_revenue_usd (float, cost of the call), and supplier_execution_started (boolean indicating whether video rendering has begun). The job is asynchronous — the agent must poll or wait for completion using the job_id.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "job_id": "0123456789abcdef0123456789abcdef",
  "status": "awaiting_settlement",
  "buyer_revenue_usd": 0.8,
  "supplier_execution_started": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/profitcollector-video-generation-api-43d43457/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakhour.ca](https://www.zero.xyz/host/api.bakhour.ca/llms.txt)
