{"uid":"cap_xpn5ZrXtedYaKRR8XwIW9","slug":"liveportrait-studio-animate-portrait-from-video-480740ff","name":"LivePortrait Studio - Animate Portrait from Video","description":"LivePortrait Animation Generation","url":"https://x402-live-portrait.vercel.app/api/generate-x402","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"flag_do_crop":{"enum":["true","false"],"type":"string","description":"Auto-crop face region"},"source_image":{"type":"string","description":"Source image file (JPEG/PNG, max 10MB)"},"driving_video":{"type":"string","description":"Driving video file (MP4, max 50MB)"},"flag_relative":{"enum":["true","false"],"type":"string","description":"Use relative motion transfer"},"flag_pasteback":{"enum":["true","false"],"type":"string","description":"Paste result back to original"}}},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["contentType","contentDisposition"],"properties":{"contentType":{"type":"string","const":"video/mp4","description":"Response is a video/mp4 binary stream"},"contentDisposition":{"type":"string","description":"Attachment filename for download"}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qq0YJG7cgqiV3pmXUeChQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Animates a static portrait image by transferring motion from a driving video, producing an animated MP4 output","exampleAgentPrompt":"Take this headshot photo of me (portrait.jpg) and animate it using the driving video (reference_motion.mp4) — auto-crop the face, use relative motion transfer, and paste the result back onto the original background.","exampleUseCases":null,"resultDescription":"A binary MP4 video stream of the animated portrait, with content-type video/mp4 and a content-disposition header specifying the download filename.","failureModes":["Source image exceeds 10MB limit — returns error","Driving video exceeds 50MB limit — returns error","Unsupported file format for source image or driving video","No face detected in source image when face crop is enabled","Payment not provided or insufficient — x402 payment required error","Malformed request body or missing required fields"],"whenToPreferThis":"Choose this endpoint when you need to animate a static portrait image by transferring motion from a reference video, especially for talking head animations, creative portrait effects, or face reenactment tasks. Best suited for per-image animation with fine-grained control over cropping and paste-back behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:50:57.205Z","isFirstParty":false}