Skip to content
Fourohtwo

Clip a YouTube video

www.trezalabs.com/api/x402/clip

Clip a YouTube video: send a link, get its most shareable 30 to 60 second moment back as a captioned clip, cut on the speaker in 9:16 (or 4:5, 1:1, 16:9), with a title and caption to post it with. Priced by the source's length, from $0.04 (about $0.45 for an hour), up to 2 hours. No account or API key: the payment is the only credential.

SolanaAnswering
POSThttps://www.trezalabs.com/api/x402/clip

Uptime100% of 3 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://www.trezalabs.com/api/x402/clip" \
  -d '{"url":"https://www.youtube.com/watch?v=KtTXyBJ2N30","aspectRatio":"9:16"}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "url": "https://www.youtube.com/watch?v=KtTXyBJ2N30",
  "aspectRatio": "9:16"
}

More from TrezaProvider status