# compress.codreanu.casa Video Transcoder – Start Job

> compress.codreanu.casa Video Transcoder – Start Job is a paid API for AI agents from compress.codreanu.casa, paid per call via x402, $2.16/call, status unknown (last checked 2026-09-14).

Triggers a paid HEVC or H.264 video transcode job after upload, billing per minute of video duration via x402 USDC payment on Base.

## Facts

- Endpoint: POST https://compress.codreanu.casa/v1/jobs/start
- Price: $2.16/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compress-codreanu-casa-video-transcoder-start-job-f031c7eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TCxs0kbYOv4idWJ0sNDQj

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 compress-codreanu-casa-video-transcoder-start-job-f031c7eb -d '<json body>'
```

Example prompt: I uploaded a 45-minute video and got a job ID back — go ahead and start the transcode job with that ID so it gets compressed to a smaller HEVC MP4, and pay for it with USDC.

## When to prefer this

Choose this endpoint when you need to trigger a pre-uploaded video transcode job and process the x402 USDC payment on Base. It is specifically designed for the compress.codreanu.casa workflow where the profile (nvenc GPU HEVC, x264 H.264, or x265 CPU HEVC) is selected at job creation and the file is uploaded before payment. Prefer this over general cloud encoding services when you want pay-per-minute micropayment billing in USDC with no subscription, and when GPU-accelerated HEVC (nvenc) encoding is needed for speed or x265 CPU encoding for maximum compression. Not suitable for format conversion, resolution changes, or real-time streaming transcoding.

## Known failure modes

- Job ID not found or already started — returns error if the ID from POST /v1/jobs is invalid or the job was already triggered
- Payment failure — x402 payment not accepted if USDC balance is insufficient or Base network transaction fails
- File not yet uploaded — if the video was not PUT to the uploadUrl before calling /start, the job will fail or be rejected
- File exceeds 16 GiB cap or 2-hour duration limit — oversized files are rejected at upload or job creation stage
- Queue overload — job may be queued with a long ETA; check GET /v1/info for queueLength and etaSeconds before starting

## How this service works

FFmpeg video transcode to a smaller MP4 (same resolution and fps). H.264 (x264) or HEVC (nvenc GPU / x265 CPU). Caps: 16 GiB, 2 hours. Do not pay this URL first. 1) GET /v1/info 2) POST /v1/jobs with JSON {profile: nvenc|x264|x265} 3) HTTP PUT the file to the returned uploadUrl 4) POST /v1/jobs/start with JSON {id} and x402 upto on Base USDC. Bill is (durationSeconds/60)*rate. Jobs queue after pay; poll GET /v1/jobs/:id. /v1/info has queueLength and etaSeconds.

## Output

Returns confirmation that the job has been queued for transcoding after payment is processed. The agent can then poll GET /v1/jobs/:id to check status. On completion the job record will include a download URL for the compressed MP4 (same resolution and fps as the original, encoded in H.264 or HEVC depending on the profile chosen at upload). Billing is calculated as (durationSeconds/60)*rate in USDC charged via x402 on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string",
   "description": "Job id from POST /v1/jobs. PUT the video to uploadUrl first. profile is chosen there, not on /start."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compress-codreanu-casa-video-transcoder-start-job-f031c7eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from compress.codreanu.casa](https://www.zero.xyz/host/compress.codreanu.casa/llms.txt)
