Seedance text-to-video generation via micropayments — 4–12s clips up to 1080p, $0.33–$0.99 per generation.
What it does
This endpoint generates videos from text prompts using the Seedance model, hosted on StableStudio. It is a POST-only MPP endpoint at `https://stablestudio.dev/api/generate/seedance/t2v` that accepts a text prompt and returns an asynchronous job. Payment is per-generation via USDC on Base (x402) or pathUSD on Tempo L2 (MPP with method "tempo", intent "charge"). Pricing is dynamic, ranging from $0.33 to $0.99 depending on resolution and duration. Generation takes approximately 1 minute.
The request body accepts a `prompt` (required, up to 2000 chars), `duration` (4–12 seconds), `resolution` (480p, 720p, or 1080p), `aspect_ratio` (16:9, 9:16, 4:3, 3:4, 1:1, 21:9), `generate_audio` (boolean for audio synthesis), `camera_fixed` (boolean to lock camera), and an optional `seed` for reproducibility. On successful payment, the endpoint returns a `jobId` with status "pending". You then poll `GET /api/jobs/{jobId}` with a SIGN-IN-WITH-X wallet signature header until the job completes, at which point the response includes a `videoUrl` and `thumbnailUrl`. Recommended polling interval is every 10 seconds with a 10-minute timeout.
StableStudio also offers a faster variant at `/api/generate/seedance-fast/t2v` ($0.04–$0.12, ~40s) and an image-to-video variant at `/api/generate/seedance/i2v` that takes a source image. No API keys are required — authentication and payment are handled entirely through on-chain wallet signatures. An MCP server is available via `npx -y agentcash@latest`.
Capabilities
Use cases
- —Generate short video clips from text descriptions for social media content
- —Create marketing or product demo videos from written prompts
- —Prototype video concepts before committing to full production
- —Automated video content pipelines triggered by AI agents
- —Generate video assets with optional synchronized audio
Fit
Best for
- —Agents or apps needing on-demand text-to-video without API key management
- —Pay-per-use video generation with no subscription commitment
- —Generating 4–12 second clips at up to 1080p resolution
- —Crypto-native workflows settling in USDC or pathUSD
Not for
- —Long-form video generation (max 12 seconds per clip)
- —Users without a crypto wallet for payment (no card/fiat option documented for this endpoint)
- —Real-time or low-latency video needs (~1 minute generation time)
Quick start
# 1. POST without payment to get 402 challenge
curl -X POST https://stablestudio.dev/api/generate/seedance/t2v \
-H 'Content-Type: application/json' \
-d '{"prompt": "A cat walking through a neon-lit alley at night", "duration": "5", "resolution": "720p", "aspect_ratio": "16:9"}'
# Returns 402 with PAYMENT-REQUIRED header (base64 JSON)
# 2. Decode challenge, sign USDC payment, re-POST with PAYMENT-SIGNATURE header
# 3. Poll GET /api/jobs/{jobId} with SIGN-IN-WITH-X header until completeExample
Request
{
"prompt": "A cat walking through a neon-lit alley at night",
"duration": "5",
"resolution": "720p",
"aspect_ratio": "16:9",
"camera_fixed": false,
"generate_audio": false
}Response
{
"type": "seedance-t2v",
"jobId": "abc123-def456",
"status": "pending",
"success": true
}Endpoint
Quality
Full OpenAPI 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), so liveness is inferred from the complete OpenAPI spec and the broader StableStudio platform being live (root returns 200). Slight deduction for not capturing an actual 402 challenge on POST.
Warnings
- —Probe returned 405 because HEAD/GET were used on a POST-only endpoint; the endpoint is likely live but a direct POST 402 challenge was not captured
- —No dedicated docs page exists (/docs returns 404); all documentation is embedded in the OpenAPI spec's x-guidance field
Citations
- —Seedance t2v costs $0.33–$0.99 per generation and takes ~1 minutehttps://stablestudio.dev/api/openapi.json
- —Seedance t2v accepts duration 4–12s, resolution 480p/720p/1080p, aspect ratios 16:9/9:16/4:3/3:4/1:1/21:9https://stablestudio.dev/api/openapi.json
- —Payment is via USDC on Base (x402) or pathUSD on Tempo L2 (MPP method tempo, intent charge)https://stablestudio.dev/api/openapi.json
- —MCP server available via npx -y agentcash@latesthttps://stablestudio.dev/agents.txt
- —Seedance-fast variant costs $0.04–$0.12 and takes ~40shttps://stablestudio.dev/api/openapi.json
- —Job polling uses SIGN-IN-WITH-X header with CAIP-122 wallet signature; poll every 10s with 10min timeout for videohttps://stablestudio.dev/api/openapi.json