{"uid":"cap_TCxs0kbYOv4idWJ0sNDQj","slug":"compress-codreanu-casa-video-transcoder-start-job-f031c7eb","name":"compress.codreanu.casa Video Transcoder – Start Job","description":"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.","url":"https://compress.codreanu.casa/v1/jobs/start","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2.16","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$2.16/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2.16","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2.16","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Yg7fjqcH2Jh1qTxLFi1XC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2.16","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Triggers a paid HEVC or H.264 video transcode job after upload, billing per minute of video duration via x402 USDC payment on Base.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Shrink large event recording","prompt":"I just uploaded a 2-hour conference recording and got job ID abc123 — please start the transcode now so it gets compressed to a smaller MP4 using the nvenc GPU profile, and cover the USDC cost."},{"title":"Podcast video file size reduction","prompt":"I've uploaded a 30-minute interview video and the job is ready with ID xyz789 — kick off the x264 compression so the file is small enough to email, and handle the payment."},{"title":"Automated media pipeline compression","prompt":"Our pipeline just uploaded a batch of training videos; the latest job ID is job-456 — trigger the x265 CPU transcode so we get compressed copies, and pay the per-minute fee automatically."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:53:25.346Z","isFirstParty":false}