avouch

Picture Lock API.

Send a talking clip, get a finished vertical video back. The same key also gives you stock search, opening lines, the edit brain, motion graphics, voiceovers and photo slideshows.

Start

Copy your key in Picture Lock under Settings, Connect your AI. It starts with pl_live_. Send it on every call as Authorization: Bearer <key>. A new key stops the old one.

BASE=https://api.getpicturelock.com/api/pl/v1
KEY=pl_live_your_key_here

Every key has a hard spend limit, counted before each call starts. The cost shown is what a call costs us, never a price. See what a video costs, with no key:

curl $BASE/cost
# {"ok":true,"cost_cents":1.0,"limit_cents":500.0,"note":"What one finished video costs us to make: never a price. ..."}

GET /api/pl/v1/limit

Your key's spend limit and what is used. POST the same path with {"limit_cents":50} to lower it. A call that would pass the limit is refused with 402, and a call that fails on our side is given back.

curl $BASE/limit -H "Authorization: Bearer $KEY"
# {"limit_cents":500,"spent_cents":1,"cost_cents":1}

Make a video

POST /api/pl/v1/videos

Send an MP4 or MOV with a voice in it, up to 120 seconds. We write the captions, cut the dead air, open on the strongest line and render 1080x1920. Optional: finish (default, captions or addictive), webhook_url, and an Idempotency-Key header so a retry never makes a second video.

curl -X POST $BASE/videos -H "Authorization: Bearer $KEY" \
  -F clip=@talking-clip.mp4 \
  -F finish=default \
  -F webhook_url=https://your.app/hooks/picturelock
# 202 {"ok":true,"id":"05fd17354f8430e2","status":"queued","cost_cents":1.0,"spent_cents":1.0,"limit_cents":500.0,"status_url":".../videos/05fd17354f8430e2"}

GET /api/pl/v1/videos/{id}

Poll the video, or wait for the webhook. We POST the same JSON to your webhook_url once it is done or failed, signed with X-PL-Timestamp and X-PL-Signature: sha256=<hex>, which is the HMAC-SHA256 of timestamp + "." + body keyed with sha256("plv1-webhook:" + key) as hex. The address must be public https.

curl $BASE/videos/05fd17354f8430e2 -H "Authorization: Bearer $KEY"
# {"status":"working","step":"Making the video",...}
# {"status":"done","video_url":"https://.../api/pl/f/.../clip-05fd1735/....mp4","seconds":28.4,"watermark":true,...}
# {"status":"failed","error":{"message":"That clip has no voice we could write captions from. Send a talking clip."}}

The toolbox

Each call below takes the same key, counts against the same spend limit, answers JSON, and says why in detail when it refuses. Every answer carries cost_cents, spent_cents and limit_cents. Our cost per call: stock, hooks and plan 0; graphic and voice 0.2 cent; slideshow 1 cent. Hourly caps per account: stock 60, hooks 240, plan 240, graphic 60, voice 60, slideshow 30. Files come back as links with no key in them.

J='Content-Type: application/json'; AUTH="Authorization: Bearer $KEY"

POST /api/pl/v1/stock

Search free stock clips and photos by words (Wikimedia Commons, each with its own licence: CC0, public domain or CC BY). Show the credit wherever you use one that has it. kind is all, video or image; limit is 1 to 20.

curl -X POST $BASE/stock -H "$AUTH" -H "$J" -d '{"query":"coffee cup","limit":2}'
# {"results":[{"kind":"video","url":"https://upload.wikimedia.org/...webm","preview":"https://upload.wikimedia.org/...jpg","seconds":20,"license":"CC BY 4.0","credit":"Coffee by Ann (CC BY 4.0) — https://commons.wikimedia.org/wiki/File:..."},{"kind":"image",...}],"ok":true,"cost_cents":0}

POST /api/pl/v1/hooks

Opening lines that work now, from the what's-working library, best match first. Send topic (or transcript, or niche) and limit (1 to 30). Part of Pro: a free key gets 402.

curl -X POST $BASE/hooks -H "$AUTH" -H "$J" -d '{"topic":"a fitness app for home workouts","limit":3}'
# {"hooks":[{"hook":"POV: you want [the expensive result] without the [the costly equipment]","why":"...","how":"...","pattern":{"name":"Household object swaps for pricey fitness gear","niche":"Fitness","accounts":4,"lift":8.0}}],"built":"2026-12-05","note":"Fill the [square brackets] with your own true words; never promise a result."}

POST /api/pl/v1/plan

The edit brain: how we would edit it. Send transcript text, or pages with times, or the slug of one of your films, plus an optional finish. You get the plan and the editor's own ops to send on.

curl -X POST $BASE/plan -H "$AUTH" -H "$J" -d '{"pages":[{"start":0.2,"end":2.0,"text":"I tried every budgeting app"},{"start":3.4,"end":5.0,"text":"and this one saved me 400 dollars"}]}'
# {"plan":{"hook":"And this one saved me 400 dollars","captions":{"color":"yellow","size":"big"},"cuts":[[2.17,3.23]],"motion_beats":[{"at":3.4,"punch":1.12,"until":5.0},{"at":3.4,"graphic":"number","text":"400"}],"music":{"mood":"upbeat"}},"ops":[...]}

GET /api/pl/v1/techniques

The names the brain and the editor use: skills, finishes, graphics, voices and ops.

curl $BASE/techniques -H "$AUTH"
# {"ok":true,"skills":[{"name":"...","says":"..."}],"finishes":["default","captions","addictive"],"graphics":["title","number","lower-third",...],"voices":["bm_george",...],"ops":[...]}

POST /api/pl/v1/graphic

One motion graphic to lay over video. name is title, number (counts up, text needs a digit), lower-third, label, underline, pop, kinetic or end-card (add brand, the app name; text is the call to action). format is webm (transparent) or mp4; seconds is 1 to 6.

curl -X POST $BASE/graphic -H "$AUTH" -H "$J" -d '{"name":"number","text":"$400"}'
# {"url":"https://.../api/pl/f/.../api-tools/....webm","seconds":2.4,"move":"counter","format":"webm","name":"number","ok":true,"cost_cents":0.2}

POST /api/pl/v1/voice

A voiceover: text (or lines, up to 12 of 220 letters) becomes one mp3 plus caption pages timed to the voice. voice is bm_george (default), bf_emma, am_michael, af_heart, bm_lewis or auto.

curl -X POST $BASE/voice -H "$AUTH" -H "$J" -d '{"text":"Three apps I would delete today. Number one will surprise you.","voice":"bm_george"}'
# {"url":".../voice.mp3","seconds":4.56,"engine":"kokoro","pages":[{"s":0.03,"e":0.889,"text":"Three apps I"},...],"voice":"bm_george","ok":true,"cost_cents":0.2}

POST /api/pl/v1/slideshow

A finished photo slideshow as PNGs and an mp4. Send your own slides (each kind, title, body, photo; a template sets the outline), or just a topic and we write them. size is 1080x1920 or 1080x1350. Your own photos go in as multipart files photos or https links in photos, up to 10; stock fills the rest. Counts once per slideshow like an editor export, and is on only where the server has slideshows switched on.

curl https://api.getpicturelock.com/api/pl/slides/templates      # no key: each template's outline
curl -X POST $BASE/slideshow -H "$AUTH" -H "$J" -d '{"template":"one-per-slide","slides":[{"kind":"cover","title":"3 budgeting habits that stuck","photo":"coffee cup on desk"},{"title":"Check it every Sunday"}]}'
# {"images":[".../slide-01.png",...],"mp4":".../slideshow.mp4","hook":"3 budgeting habits that stuck","watermark":false,"ok":true,"cost_cents":1}

Errors

Every refusal is JSON with plain words in detail.

CodeWhat it means
400Something to fix in the call: a missing field, a clip with no voice, or a webhook that is not a public address.
401That key isn't a Picture Lock account. Copy it again from Settings, Connect your AI.
402The spend limit is reached, the plan's allowance is used, or the call is part of Pro.
429Too many calls this hour. Wait a while.
503We're making a lot right now, or this tool isn't on yet. Nothing was charged.
© 2026 Avouch · Privacy · Docs