{"name":"x402 Video API","description":"Animated explainer films to order, up to two minutes: script, storyboard, illustration, animation, voice-over, captions, music and edit. Pay per film in USDC.","how_it_works":["1. POST https://x402.onchainexpat.com/api/x402-video/explainer/plan ($0.50) with a prompt. You get the script and storyboard back.","2. Read it. Optionally reword scenes with `edits`.","3. POST https://x402.onchainexpat.com/api/x402-video/explainer/render/<30|60|120> with the film_id. You get a status link.","4. Poll the status link (free). In 20 to 40 minutes it lists the files: 1080p, 720p, a 9:16 vertical cut, a poster and captions."],"endpoints":[{"path":"/api/x402-video/styles","method":"GET","price":"free","description":"Styles, lengths, prices, voices, example films"},{"path":"/api/x402-video/explainer/plan","method":"POST","price":"$0.50","description":"Script and storyboard from a prompt","body":{"prompt":"what the film explains, with the facts it may state (required)","length":"30, 60 or 120 (default 60)","style":"see /styles (default paper_cutout)","audience":"optional","must_say":"optional","must_not_say":"optional"}},{"path":"/api/x402-video/explainer/render/30","method":"POST","price":"$19.00","description":"Make the 30-second film from a plan","body":{"film_id":"from the plan call (required)","voice":"optional, see /styles","edits":"optional rewording"}},{"path":"/api/x402-video/explainer/render/60","method":"POST","price":"$35.00","description":"Make the 60-second film from a plan","body":{"film_id":"from the plan call (required)","voice":"optional, see /styles","edits":"optional rewording"}},{"path":"/api/x402-video/explainer/render/120","method":"POST","price":"$59.00","description":"Make the 120-second film from a plan","body":{"film_id":"from the plan call (required)","voice":"optional, see /styles","edits":"optional rewording"}},{"path":"/api/x402-video/explainer/status/{film_id}","method":"GET","price":"free","description":"Progress, then the finished files"}],"limits":["Pictures never contain words or logos; every word on screen is typeset afterwards, so it is spelled right.","The film states only what the prompt gives it. It does not research your product.","No real people's likenesses, no sexual content, nothing deceptive. A brief that breaks these is refused, and the $0.50 plan fee is still charged.","One film is made at a time. If a film cannot be made, the payment is refunded."],"examples":[{"title":"Explainer films on request (25 seconds, paper cut-out)","url":"https://x402.onchainexpat.com/static/films/sample-30s/film-1080p.mp4","note":"Made by this endpoint from one prompt, unedited."},{"title":"Padel Maps for clubs (74 seconds, paper cut-out)","url":"https://padelmaps.org/static/videos/clubhelper-v1.mp4","note":"Made by hand with the same method this endpoint automates."}]}