x402basequality 0.30

Generate images via Replicate Flux, paid per-request with USDC on Base via x402.

Price
0.1 AUSD / call
Protocol
x402
Verified
no

What it does

This x402-enabled endpoint on Questflow exposes a Replicate Flux image generation agent. You send a text prompt as a POST request with an x402 payment header, and the agent returns a generated image or image URL. Payment is made in USDC on the Base network, with a maximum cost of 0.1 USDC per request (100000 in raw units, assuming 6-decimal USDC). The endpoint has a maximum timeout of 1200 seconds (20 minutes), reflecting the potentially longer processing time for image generation.

The request schema is minimal: a single required `input` field of type string containing your prompt or message to the agent. The response is also a single `response` string field. No OpenAPI spec or detailed documentation is available beyond the x402 challenge metadata. Questflow is primarily an AI agent platform focused on onchain trading and prediction markets, but this particular agent wraps Replicate's Flux model for image generation.

Because there is no formal API documentation, no example outputs, and no detailed schema beyond the x402 challenge, the integration details are sparse. The endpoint is live and returns a valid x402 challenge, confirming it is operational. However, specifics about supported image sizes, formats, model parameters, or rate limits are not documented.

Capabilities

text-to-imagereplicate-fluxx402-paymentusdc-baseai-agent

Use cases

  • Generating images from text prompts with per-request crypto payment
  • Agent-to-agent workflows that need on-demand image creation
  • Integrating pay-per-use image generation into onchain applications
  • Prototyping visual content without subscription commitments

Fit

Best for

  • Developers wanting pay-per-request image generation without API keys or subscriptions
  • AI agents that need to autonomously generate images and can pay with USDC on Base
  • x402-native applications looking for image generation endpoints

Not for

  • High-volume batch image generation (no documented rate limits or bulk pricing)
  • Users who need fine-grained control over image parameters (resolution, aspect ratio, etc.)
  • Applications requiring non-crypto payment methods

Quick start

curl -X POST https://api.questflow.ai/x402/agent/qrn:agent:687df6a5b234010b7d33186d \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <x402-payment-header>" \
  -d '{"input": "A futuristic cityscape at sunset, cyberpunk style"}'

Example

Request

{
  "input": "A futuristic cityscape at sunset, cyberpunk style"
}

Response

{
  "response": "https://replicate.delivery/example/generated-image.png"
}

Endpoint

Transporthttp
Protocolx402
Pay to0xDF2615b1C13C2bE92a977cD2cb98B2A445fd22bE
CurrencyAUSD

Quality

0.30/ 1.00

The endpoint is live and returns a valid x402 challenge with basic input/output schema, but there is no OpenAPI spec, no documentation page, no example responses, and no details on image parameters or rate limits. The response format is inferred (likely a URL string) but not confirmed.

Warnings

  • No formal API documentation available; /docs, /api, /pricing, /README all return 404
  • Output format is inferred — the response string may be a URL or base64-encoded image, unconfirmed
  • No documented rate limits, image size options, or model configuration parameters
  • Example response is speculative based on typical Replicate Flux behavior

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 18:51:34Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-22

Agent access