{"uid":"cap_-zDeDHZnzxc89NsmA6x6-","slug":"agent402-video-generation-veo-3-1-lite-0b3ee13d","name":"Agent402 Video Generation (Veo 3.1 Lite)","description":"Generate a short video clip from a text prompt at a flat price per clip: a four-second 720p clip returned inline as base64 MP4, with the duration and resolution locked so the price never moves. Use it when an agent needs motion rather than a still, and needs to know the cost before it calls.","url":"https://agent402.tools/v1/videos/generations","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","description":"Text description of the clip (up to 2,000 chars)"},"aspect_ratio":{"enum":["16:9","9:16"],"type":"string","description":"16:9 (default, 1280x720) or 9:16 (720x1280)"}}},"responseSchema":{"type":"json","example":{"data":[{"b64_json":"AAAAIGZ0eXBpc29t…","media_type":"video/mp4","resolution":"720p","aspect_ratio":"16:9","duration_seconds":4}],"model":"google/veo-3.1-lite","usage":{"generation_seconds":40},"created":1750000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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":"$0.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0gJqEAknCuzvjzWaXNwuE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a short MP4 video clip from a text prompt using Google Veo 3.1 Lite, billed per call at $0.20 USDC via x402.","exampleAgentPrompt":"Generate a short video of a golden retriever running through a sunlit autumn forest, in landscape 16:9 format.","exampleUseCases":[{"title":"Social media reel from text idea","prompt":"Make me a vertical 9:16 video clip of a neon-lit city street at night with rain falling and people walking under umbrellas — I want to post it as a short reel."},{"title":"Product concept visualization","prompt":"Create a 16:9 video showing a sleek smartwatch rotating on a clean white background with soft studio lighting, so I can use it as a concept teaser."},{"title":"Animated scene for storytelling","prompt":"Generate a short video clip of an astronaut floating in space with Earth visible below, in widescreen 16:9 format, for a sci-fi short story I'm working on."}],"resultDescription":"Returns a JSON object containing an array with the generated video as a base64-encoded MP4 (b64_json), its media type (video/mp4), resolution (720p), aspect ratio, and duration in seconds (~4s). Also includes the model name (google/veo-3.1-lite), total generation time in seconds, and a Unix timestamp of creation.","failureModes":["Prompt exceeds 2,000 character limit — request rejected","Invalid aspect_ratio value outside '16:9' or '9:16' enum — validation error","Insufficient USDC balance or failed x402 payment — 402 Payment Required","Model generation timeout due to long processing times (~40s)","Content policy violation on prompt — generation refused"],"whenToPreferThis":"Choose this endpoint when you need on-demand, pay-per-call AI video generation with no API key or account signup, using only a crypto wallet for identity and payment. It is ideal for AI agents operating autonomously in agentic finance or x402 payment flows. Prefer it over subscription-based video APIs when you need low-commitment per-call billing in USDC, or when integrating into an agent stack already using the Agent402 tool suite.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:48:58.335Z","isFirstParty":false}