Veo 3.1 Fast video generation via micropayments — text-to-video and image-to-video, ~30s, $1–$2 per generation.
What it does
This endpoint provides access to Google's Veo 3.1 model in a "fast" configuration through StableStudio, a pay-per-generation AI media platform. It generates videos from text prompts at 720p or 1080p resolution in 16:9 or 9:16 aspect ratios, with durations of 4, 6, or 8 seconds. Typical generation time is approximately 30 seconds, and pricing ranges from $1.00 to $2.00 per generation depending on resolution and duration. Payment is settled in USDC on Base (via x402 or MPP/Tempo). No API keys or subscriptions are required.
Beyond pure text-to-video, the endpoint supports multiple image modes: first-frame (pass a single image to anchor the opening frame), reference (up to 3 reference images for style guidance), and interpolation (provide first and last frame images to animate between them). A negative prompt field lets you specify elements to exclude. The asynchronous job flow works in three steps: POST the generation request with a signed USDC payment, receive a jobId, then poll the job status endpoint (authenticated via SIGN-IN-WITH-X wallet signature) until the video URL is returned.
StableStudio exposes a full OpenAPI 3.1 spec and supports both x402 and MPP (Tempo method, charge intent) payment protocols. The veo-3.1-fast variant trades some quality for significantly faster turnaround (~30s vs 1–2 minutes for the standard veo-3.1 endpoint). Image uploads for i2v modes use a separate three-step upload flow via Vercel Blob at $0.01 per upload.
Capabilities
Use cases
- —Generate short video clips from text descriptions for social media content
- —Animate a static image into a video using first-frame mode
- —Create smooth transitions between two keyframes using interpolation mode
- —Produce quick video prototypes or storyboard animations from prompts
- —Generate portrait (9:16) or landscape (16:9) video assets programmatically
Fit
Best for
- —Agents or apps needing fast, on-demand video generation without subscriptions
- —Workflows requiring sub-minute turnaround for short AI-generated video clips
- —Developers integrating pay-per-call video generation via crypto micropayments
- —Image-to-video animation with style reference support
Not for
- —Long-form video generation (max 8 seconds per clip)
- —Users without a crypto wallet (USDC on Base required for payment)
- —High-volume batch processing where subscription pricing would be cheaper
Quick start
# 1. POST without payment to get 402 challenge
curl -X POST https://stablestudio.dev/api/generate/veo-3.1-fast/generate \
-H 'Content-Type: application/json' \
-d '{"prompt": "A golden retriever running on a beach at sunset", "durationSeconds": "4", "resolution": "720p", "aspectRatio": "16:9"}'
# Returns 402 with PAYMENT-REQUIRED header containing USDC amount
# 2. Sign USDC payment, re-POST with PAYMENT-SIGNATURE header
# 3. Poll GET /api/jobs/{jobId} with SIGN-IN-WITH-X headerExample
Request
{
"prompt": "A golden retriever running on a beach at sunset, cinematic lighting",
"imageMode": "none",
"resolution": "720p",
"aspectRatio": "16:9",
"negativePrompt": "blurry, low quality",
"durationSeconds": "4"
}Response
{
"type": "veo-3.1-fast",
"jobId": "abc123-def456-ghi789",
"status": "pending",
"success": true
}Endpoint
Quality
Full OpenAPI 3.1 schema with detailed input/output definitions, comprehensive x-guidance documentation, clear pricing, and well-documented payment flow. The endpoint returned 405 on HEAD/GET probes (expected since it's POST-only), but the OpenAPI spec and agents.txt confirm it is live. Minor deduction for no direct 402 challenge capture on this specific endpoint and no dedicated docs page.
Warnings
- —Probe returned 405 because HEAD/GET were used on a POST-only endpoint; this does not indicate the endpoint is down
- —No dedicated documentation page exists (/docs returns 404); all docs are embedded in the OpenAPI spec x-guidance field
- —Image-to-video modes require a separate paid upload flow ($0.01) before the generation call
Citations
- —Veo 3.1 Fast costs $1.00–$2.00 per generation with ~30s turnaroundhttps://stablestudio.dev
- —Supports durationSeconds of 4, 6, or 8 seconds at 720p or 1080p in 16:9 or 9:16https://stablestudio.dev
- —Payment is USDC on Base via x402 or MPP Tempo methodhttps://stablestudio.dev
- —Image modes include none, first-frame, reference (up to 3 images), and interpolationhttps://stablestudio.dev
- —StableStudio describes itself as AI image/video generation with micropayments, USDC on Basehttps://stablestudio.dev