replicate_image-gen_flux-schnell $0.015 per call

black-forest-labs/flux-schnell. Generate up to four images quickly from a text prompt with the official FLUX Schnell model. (Replicate · Image generation) Async task: answers 202 with a job id; poll GET /v1/jobs/<id>. Price depends on the options ($0.00375 to $0.015); refunded if the task fails. Prepaid credits only.

For AI agents: call replicate_image-gen_flux-schnell
POST https://toll402.dev/v1/p/replicate.image-gen.flux-schnell
{
 "input": {
  "prompt": "A small red kite above a calm beach.",
  "num_outputs": 1,
  "aspect_ratio": "1:1",
  "output_format": "webp"
 }
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "prompt": {
     "type": "string",
     "examples": [
      "A small red kite above a calm beach."
     ]
    },
    "num_outputs": {
     "type": "integer",
     "default": 1,
     "examples": [
      1
     ]
    },
    "aspect_ratio": {
     "type": "string",
     "default": "1:1",
     "examples": [
      "1:1"
     ]
    },
    "output_format": {
     "type": "string",
     "default": "webp",
     "examples": [
      "webp"
     ]
    }
   },
   "required": [
    "prompt"
   ]
  }
 },
 "additionalProperties": true,
 "required": [
  "input"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI