replicate_image-gen_nano-banana-pro $0.37625 per call
google/nano-banana-pro. Generate or edit one image with Gemini 3 Pro Image (Nano Banana Pro) at 1K, 2K or 4K through Replicate's official model. (Replicate · Image generation) Async task: answers 202 with a job id; poll GET /v1/jobs/<id>. Price depends on the options ($0.1875 to $0.37625); refunded if the task fails. Prepaid credits only.
For AI agents: call replicate_image-gen_nano-banana-pro
POST https://toll402.dev/v1/p/replicate.image-gen.nano-banana-pro
{
"input": {
"prompt": "A clean editorial illustration of a paper airplane.",
"resolution": "1K",
"aspect_ratio": "1:1",
"output_format": "jpg"
}
}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 clean editorial illustration of a paper airplane."
]
},
"resolution": {
"type": "string",
"enum": [
"1K",
"2K",
"4K"
],
"default": "2K",
"examples": [
"1K"
]
},
"aspect_ratio": {
"type": "string",
"description": "match_input_image needs image_input; text-only requests should name a ratio.",
"enum": [
"match_input_image",
"1:1",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"9:16",
"16:9",
"21:9"
],
"default": "match_input_image",
"examples": [
"1:1"
]
},
"image_input": {
"type": "array",
"description": "Public image URLs to edit or reference. Each URL must answer a plain GET with the raw image bytes and an image/* content-type (signed cloud-storage or CDN links work; file-page hosts such as tmpfiles.org return HTML and the task fails). `tr"
},
"output_format": {
"type": "string",
"enum": [
"jpg",
"png"
],
"default": "jpg",
"examples": [
"jpg"
]
},
"safety_filter_level": {
"type": "string",
"enum": [
"block_low_and_above",
"block_medium_and_above",
"block_only_high"
],
"default": "block_only_high"
}
},
"required": [
"prompt"
]
}
},
"additionalProperties": true,
"required": [
"input"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}