{"uid":"cap_6g6xstmw0oDx2uayKaXqo","slug":"aile-ai-video-generation-c70a8577","name":"Aile AI Video Generation","description":"Rent trusted AI models priced per token; lend idle subscriptions and API keys. A live, metered market that settles every call in USDC on Solana.","url":"https://api.aile.sh/v1/videos?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["model","prompt"],"properties":{"size":{"type":"string","description":"e.g. `1280x720`."},"model":{"type":"string","description":"`<provider>/<model>`, e.g. `openrouter/google/veo-3.1-lite`. GET /v1/models?output_modalities=video lists what is servable, with prices."},"prompt":{"type":"string"},"seconds":{"type":"string","description":"The clip length, from the model's own list. THE PRICE IS PER SECOND."},"input_reference":{"type":"object","description":"A first frame, where the model takes one."}}},"responseSchema":{"id":"video_…","object":"video","status":"queued","seconds":"8","polling_url":"https://api.aile.sh/v1/videos/video_…"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.16","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.16/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.16","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.16","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T29Og3X3rx12FU678g23x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.16","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a video clip from a text prompt using a specified AI video model, routed through Aile's metered AI model exchange and settled in USDC on Solana.","exampleAgentPrompt":"Using Aile's video exchange with the openrouter/google/veo-3.1-lite model, generate a 8-second 1280x720 video of a golden retriever running through a sunlit meadow with wildflowers.","exampleUseCases":[{"title":"Social media promo video clip","prompt":"Generate a 6-second 1280x720 video clip of a barista pouring latte art in a cozy coffee shop, using the openrouter/google/veo-3.1-lite model — I want it for an Instagram reel."},{"title":"Product ad scene generation","prompt":"Create an 8-second video using Aile's video API with the Google Veo model showing a sleek pair of running shoes on a track at sunrise, 1920x1080 resolution."},{"title":"Animated scene from still image","prompt":"Use Aile to generate a 5-second video clip starting from this product photo as the first frame, with the prompt 'the sneaker slowly rotates revealing all angles', using openrouter/google/veo-3.1-lite at 1280x720."}],"resultDescription":"Returns a JSON object with a video job ID (e.g. video_…), object type 'video', initial status 'queued', the requested clip duration in seconds, and a polling URL to check job progress and retrieve the finished video once rendering completes.","failureModes":["Invalid or unsupported model identifier returns an error — use GET /v1/models?output_modalities=video to list valid models","Prompt or resolution outside model constraints may be rejected","Insufficient USDC balance causes payment failure and request rejection","Long clip durations increase cost significantly since price is per second","Job may stay in 'queued' status for an extended time during high load — must poll the polling_url for completion","Unsupported size parameter for the chosen model returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need programmatic text-to-video generation with per-second pricing transparency, want access to premium models like Google Veo without managing direct API credentials, and are operating in an agent workflow that can handle asynchronous job polling. Prefer it over direct model APIs when you want USDC-settled metered billing on Solana or want to switch between multiple video model providers through a single unified interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T04:29:33.488Z","isFirstParty":false,"canonicalSlug":"aile-ai-video-generation-c70a8577"}