{"uid":"cap_Xw-bWeN8E_1WBuzoyaF0y","slug":"adprompt-video-generation-api-b047cb7b","name":"AdPrompt Video Generation API","description":"Public x402 API for the full AdPrompt engine and bundle catalog. Paid endpoints return an x402 v2 402 challenge until a valid payment is supplied.","url":"https://x402.adprompt.io/v1/videos/generate","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","required":["ok","product_id","receipt_id","price_usd","job_id","polling_url","metadata"],"properties":{"ok":{"type":"boolean","const":true},"job_id":{"type":"string"},"metadata":{"type":"object","properties":{"creative":{"type":"object"},"request_id":{"type":"string"},"x402_version":{"type":"integer"},"business_context":{"type":"object"},"payments_enforced":{"type":"boolean"}},"additionalProperties":true},"price_usd":{"type":"number"},"product_id":{"type":"string"},"receipt_id":{"type":"string"},"polling_url":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j2UG5XKRmVRsqYmR5WsyZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a video asset on-demand for a given advertising or creative prompt, returning a job ID and polling URL for async retrieval, gated behind x402 micropayment.","exampleAgentPrompt":"Generate a short marketing video for my outdoor gear brand TrailPeak — the ad should highlight our new waterproof hiking boots, feel adventurous and energetic, and be formatted for Instagram Reels.","exampleUseCases":[{"title":"Social media ad video for product launch","prompt":"Create a promotional video for my skincare brand LumiGlow's new vitamin C serum — make it feel modern and aspirational, something that would work as a paid Instagram ad."},{"title":"Video ad for local business campaign","prompt":"Generate a short marketing video for my restaurant Copper & Rye — highlight our weekend brunch menu, keep it warm and inviting, and make it suitable for a Facebook ad."},{"title":"E-commerce product video generation","prompt":"Make me a short video ad for our new wireless earbuds — brand is SoundDrift, the vibe should be sleek and tech-forward, targeting a young adult audience on TikTok."}],"resultDescription":"Returns a JSON object with ok=true, a job_id for tracking the async video generation job, a polling_url to check completion status, a receipt_id confirming the x402 micropayment, product_id, price_usd, and a metadata bundle including creative details, request_id, x402_version, business_context, and payments_enforced flag.","failureModes":["402 Payment Required — no valid x402 payment supplied; must complete x402 v2 payment challenge before content is returned","Invalid or missing creative/business context fields causing 400 Bad Request","Job creation failure due to upstream video generation service unavailability (500)","Payment verification failure if USDC transaction is invalid or insufficient","Polling URL returns pending status indefinitely if video generation job stalls"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate short marketing or advertising videos from a creative prompt, especially within an automated agent workflow that can handle async job polling and x402 micropayment flows. It is particularly suited for agents orchestrating ad creative pipelines where video output is needed at $0.01 USDC per generation. Prefer this over generic video generation APIs when the use case is advertising or marketing creative tied to brand/business context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:36:12.431Z","isFirstParty":false}