Generate videos with OpenAI Sora 2 Pro via x402 micropayment on Base
What it does
This Questflow-hosted x402 endpoint provides access to OpenAI's Sora 2 Pro video generation model. It accepts a text prompt via a simple POST request and returns a generated video or video-related response. The endpoint supports text-to-video generation and video remix capabilities, payable per-request using USDC on the Base network.
The endpoint follows the x402 payment protocol: unauthenticated requests receive a 402 challenge specifying the payment terms. The maximum cost per request is 0.50 USDC (500000 in 6-decimal USDC units), and the maximum timeout is 1200 seconds (20 minutes), reflecting the compute-intensive nature of video generation. Payment is made to address 0xf00932D092EE5745cd1f944e17b89299A4E923A0 on Base.
The request schema is minimal — a single required `input` field of type string containing your prompt or message to the agent. The response returns a single `response` string field. Documentation beyond the x402 challenge itself is sparse; Questflow's main site focuses on their AI Clone trading platform rather than this specific video generation endpoint. No OpenAPI spec, usage examples, or detailed parameter documentation were found.
Capabilities
Use cases
- —Generate short videos from text descriptions for content creation
- —Remix or transform existing video concepts via text prompts
- —Prototype video content ideas without subscription commitments
- —Integrate AI video generation into agent workflows with micropayments
Fit
Best for
- —Developers wanting pay-per-use Sora 2 Pro access without an OpenAI subscription
- —AI agents that need programmatic video generation with x402 payment
- —Quick text-to-video prototyping with USDC micropayments on Base
Not for
- —High-volume video production requiring bulk pricing or SLAs
- —Users needing fine-grained video parameters (resolution, duration, frame rate controls not documented)
- —Anyone without a Base-compatible USDC wallet
Quick start
curl -X POST https://api.questflow.ai/x402/swarm/qrn:swarm:68e4e75ac6cf26284d555def \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_token>" \
-d '{"input": "A golden retriever running through a field of sunflowers at sunset"}'Example
Request
{
"input": "A golden retriever running through a field of sunflowers at sunset"
}Response
{
"response": "https://assets.questflow.ai/generated/video-abc123.mp4"
}Endpoint
Quality
The endpoint is live with a valid 402 challenge and a basic input/output schema, but documentation is extremely sparse. No OpenAPI spec, no usage examples, no detailed parameter docs, and no information about video output format, resolution, or duration. The example response is inferred and may not reflect actual output structure.
Warnings
- —No OpenAPI or dedicated API documentation found — schema inferred entirely from x402 challenge
- —Response format is unknown; the example response is speculative (could be a URL, base64, or status message)
- —Video generation timeout of 1200s suggests long-running requests; client must handle extended waits
- —Questflow's main site focuses on AI trading clones, not video generation — unclear how actively maintained this endpoint is
Citations
- —Endpoint returns 402 with x402 v1 challenge requiring USDC payment on Basehttps://api.questflow.ai/x402/swarm/qrn:swarm:68e4e75ac6cf26284d555def
- —Maximum amount required is 500000 (0.50 USDC) with maxTimeoutSeconds of 1200https://api.questflow.ai/x402/swarm/qrn:swarm:68e4e75ac6cf26284d555def
- —Description states support for text-to-video and video remix capabilitieshttps://api.questflow.ai/x402/swarm/qrn:swarm:68e4e75ac6cf26284d555def
- —Payment asset is USDC at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base networkhttps://api.questflow.ai/x402/swarm/qrn:swarm:68e4e75ac6cf26284d555def
- —Questflow main site focuses on AI Clone trading agents, not video generationhttps://api.questflow.ai