x402basequality 0.45

Generate images via OpenAI through a pay-per-request x402 agent on Base.

Price
0.1 AUSD / call
Protocol
x402
Verified
no

What it does

This Questflow-hosted x402 endpoint wraps an OpenAI image-generation agent behind a micropayment wall on the Base network. Callers send a POST request with a text prompt in the `input` field and, after satisfying the x402 payment challenge (paid in USDC on Base), receive a generated image or image-related response from the agent.

The endpoint follows the x402 protocol: an unauthenticated request returns HTTP 402 with a JSON challenge specifying the payment asset (USDC at `0x8335…2913` on Base), the maximum amount required (0.10 USDC, given 6-decimal precision), the payee address, and a timeout of up to 1200 seconds. Once the `X-PAYMENT` header is supplied with a valid payment proof, the agent processes the prompt and returns a string response.

Documentation beyond the x402 challenge itself is sparse. Questflow's public site focuses on its "AI Clone" trading-agent platform rather than this specific image-generation endpoint. No OpenAPI spec, usage examples, rate limits, or detailed output format documentation were found. The output schema in the challenge indicates a simple `{"response": "..."}` JSON object, but it is unclear whether the response contains a URL to the generated image, base64-encoded data, or something else.

Capabilities

image-generationopenai-integrationx402-paymentusdc-basetext-to-imageagent-endpoint

Use cases

  • Generate images from text prompts with per-request USDC micropayments
  • Integrate AI image generation into agent workflows without API key management
  • On-demand creative asset generation paid via Base L2

Fit

Best for

  • Developers wanting pay-per-use image generation without OpenAI API keys
  • Agent-to-agent workflows needing on-chain-settled image creation
  • Prototyping image generation behind a crypto-native paywall

Not for

  • High-volume batch image generation (per-request payment overhead)
  • Users who need detailed control over image model parameters (size, style, etc.)
  • Applications requiring deterministic or documented output formats

Quick start

curl -X POST https://api.questflow.ai/x402/agent/qrn:agent:687df6abb234010b7d3318ae \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <payment-proof>" \
  -d '{"input": "A futuristic city skyline at sunset"}'

Example

Request

{
  "input": "A futuristic city skyline at sunset"
}

Response

{
  "response": "<image URL or data returned by the agent>"
}

Endpoint

Transporthttp
Protocolx402
Pay to0x3A89B1DFFb9Dd597987451DB76C8E82486677D3b
CurrencyAUSD

Quality

0.45/ 1.00

The endpoint is live (402 challenge confirmed) with a clear input/output schema, but documentation is minimal—no OpenAPI spec, no usage examples, no details on the image output format, and no rate-limit or capability information beyond the challenge itself.

Warnings

  • No API documentation or OpenAPI spec found; /docs returns 404
  • Output format unclear—schema says response is a string but does not specify whether it is a URL, base64 data, or markdown
  • No information on which OpenAI image model is used or what parameters are supported
  • Questflow's main site focuses on trading clones; this image endpoint appears to be a secondary offering with limited public documentation

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 19:03:36Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-22

Agent access