{"openapi":"3.1.0","info":{"title":"TollNode","description":"Pay-per-call data and AI nodes for agents. Charged only when a call succeeds.","version":"1.0.0","x-guidance":"TollNode sells data and AI nodes per call over x402 (USDC on Base). No account or API key. POST JSON to /api/v1/nodes/<slug>. An unpaid call returns 402 with the exact price; pay and retry with the PAYMENT-SIGNATURE header (V1 X-PAYMENT also accepted). TollNode verifies your payment, runs the node, and settles only if the node returns a usable result. Failed or empty calls are never charged. Image and audio nodes return permanent TollNode file URLs. Catalog: /llms.txt, /openapi.json, /.well-known/x402.","contact":{"name":"TollNode","url":"https://tollnode.com","email":"hello@tollnode.com"}},"servers":[{"url":"https://tollnode.com"}],"tags":[{"name":"V1"}],"paths":{"/api/v1/nodes/web-search":{"post":{"operationId":"v1_nodes_web-search","summary":"Google web search results. Run one Google search and get the first page of organic results as JSON: title, URL, description and position, plus related queries. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":300,"pattern":"^[^\\n\\r]+$","description":"One search query (single line)"},"countryCode":{"type":"string","pattern":"^[a-z]{2}$","description":"Optional two-letter country code, lowercase, e.g. us, gb, de"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"hasNextPage":{"type":"boolean"},"searchQuery":{"type":"object","properties":{"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"term":{"type":"string"},"countryCode":{"type":"string"},"resultsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":{}},"peopleAlsoAsk":{"type":"array","items":{"type":"object","properties":{"answer":{"type":"string"},"question":{"type":"string"}},"additionalProperties":{}}},"organicResults":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":{"type":"string"}},"additionalProperties":{}}},"relatedQueries":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"}},"additionalProperties":{}}}},"additionalProperties":{}}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/vin-decode":{"post":{"operationId":"v1_nodes_vin-decode","summary":"VIN decoder. Validate a 17-character VIN and return make, model, year, plant and body details plus an ISO 3779 breakdown. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"vin":{"type":"string","minLength":17,"maxLength":17,"description":"17-character VIN"}},"required":["vin"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"vin":{"type":"string"},"local":{"type":"object","properties":{"vds":{"type":"string"},"wmi":{"type":"string"},"country":{"type":"string"},"plantCode":{"type":"string"},"checkDigit":{"type":"string"},"countryCode":{"type":"string"},"manufacturer":{"type":"string"},"sequentialNumber":{"type":"string"}},"additionalProperties":{}},"nhtsa":{"type":"object","properties":{"make":{"type":"string"},"model":{"type":"string"},"bodyClass":{"type":"string"},"errorCode":{"type":"string"},"errorText":{"type":"string"},"modelYear":{"type":"string"},"vehicleType":{"type":"string"},"plantCountry":{"type":"string"}},"additionalProperties":{}},"cached":{"type":"boolean"},"validation":{"type":"object","properties":{"valid":{"type":"boolean"}},"additionalProperties":{}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/image-flash":{"post":{"operationId":"v1_nodes_image-flash","summary":"Fast text-to-image. Turn a text prompt into one 1-megapixel image in about two seconds. Returns a WebP image URL. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What the image should show"},"aspect_ratio":{"type":"string","enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"description":"Optional, default 1:1"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/remove-background":{"post":{"operationId":"v1_nodes_remove-background","summary":"Background removal. Cut the subject out of any image and get a clean transparent PNG. Hair and soft edges kept. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.026"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image":{"type":"string","pattern":"^https:\\/\\/","description":"Image URL (https)"}},"required":["image"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/image-edit-instant":{"post":{"operationId":"v1_nodes_image-edit-instant","summary":"Instant image editing. Edit one or more images with a plain-language instruction in about a second: swap backgrounds, relight, combine subjects. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Images to edit (https URLs)"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"description":"Aspect ratio, default match_input_image"}},"required":["images","prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/recraft-v4":{"post":{"operationId":"v1_nodes_recraft-v4","summary":"Recraft V4 design images. Image generation with a designer's eye: clean compositions, brand-friendly styles, one flat price. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.055"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"size":{"type":"string","enum":["1024x1024","1536x768","768x1536","1280x832","832x1280","1216x896","896x1216","1344x768","768x1344"]},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/image-instant":{"post":{"operationId":"v1_nodes_image-instant","summary":"Instant text-to-image. A sharp image from a text prompt in under a second. The cheapest way for an agent to make a picture. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Optional seed for repeatable results"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"description":"Aspect ratio, default 1:1"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/video-wan-2-2":{"post":{"operationId":"v1_nodes_video-wan-2-2","summary":"Wan 2.2 image-to-video. Animate a still image into a 5-second video clip with Wan 2.2: fast and cheap, at 480p or 720p. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.069","max":"0.15"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"image":{"type":"string","pattern":"^https:\\/\\/","description":"Starting image (https URL)"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"resolution":{"type":"string","enum":["480p","720p"],"description":"Sets the price. Default 480p"}},"required":["image","prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"videos":{"type":"array","items":{"type":"string"}},"aiGenerated":{"type":"boolean"}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/seedream-5-lite":{"post":{"operationId":"v1_nodes_seedream-5-lite","summary":"Seedream 5 Lite image generation. ByteDance's image model with built-in reasoning and example-based editing, at 2K or 3K, one flat price. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.049"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"size":{"type":"string","enum":["2K","3K"],"description":"Same price for both. Default 2K"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"image_input":{"maxItems":6,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","4:3","3:4","16:9","9:16","3:2","2:3","21:9"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["png","jpeg"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/z-image-turbo":{"post":{"operationId":"v1_nodes_z-image-turbo","summary":"Z-Image Turbo fast images. A super-fast 6B text-to-image model with excellent photorealism and text, at 1 megapixel for a fraction of a cent. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"negative_prompt":{"type":"string","maxLength":1000}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/restore-photo":{"post":{"operationId":"v1_nodes_restore-photo","summary":"Old photo restoration. Repair scratched, faded or damaged photos: removes damage, sharpens and restores natural colour. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.055"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image":{"type":"string","pattern":"^https:\\/\\/","description":"Photo to restore (https URL)"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["image"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/nano-banana-pro":{"post":{"operationId":"v1_nodes_nano-banana-pro","summary":"Nano Banana Pro image generation. Google's highest-quality image model: studio-grade detail, accurate text and multi-image composition, at 1K, 2K or 4K. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.204","max":"0.406"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"resolution":{"type":"string","enum":["1K","2K","4K"],"description":"Sets the price (1K and 2K cost the same). Default 2K"},"image_input":{"maxItems":8,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/music-song":{"post":{"operationId":"v1_nodes_music-song","summary":"Song generation with vocals. A full song with vocals from your lyrics and a style description. One flat price per song. Returns an MP3. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.042"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"style":{"type":"string","minLength":3,"maxLength":300,"description":"Genre, mood, instruments, vocal style"},"lyrics":{"type":"string","minLength":10,"maxLength":600,"description":"Song lyrics; use [verse] and [chorus] tags"}},"required":["style","lyrics"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"audio":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/flux-1-1-pro":{"post":{"operationId":"v1_nodes_flux-1-1-pro","summary":"FLUX 1.1 Pro image generation. Black Forest Labs' workhorse pro model: excellent image quality, prompt adherence and variety, fast. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.055"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"aspect_ratio":{"type":"string","enum":["1:1","16:9","3:2","2:3","4:5","5:4","9:16","3:4","4:3"],"description":"Aspect ratio, default 1:1"},"output_format":{"type":"string","enum":["webp","jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/flux-3-image":{"post":{"operationId":"v1_nodes_flux-3-image","summary":"FLUX 3 image generation and editing. Black Forest Labs' latest image model: generate from a prompt or edit with up to 10 reference images, from 768px to 4K. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.029","max":"0.411"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"images":{"maxItems":10,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"resolution":{"type":"string","enum":["768sq","1k","1.5k","2k","4k"],"description":"Sets the price. Default 1k"},"aspect_ratio":{"type":"string","enum":["auto","21:9","2:1","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16"],"description":"Aspect ratio, default auto"},"output_format":{"type":"string","enum":["webp","jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/elevenlabs-v3-speech":{"post":{"operationId":"v1_nodes_elevenlabs-v3-speech","summary":"ElevenLabs v3 expressive speech. ElevenLabs' most expressive voices for narration and characters. Up to 1,000 characters per call, one flat price. Returns an MP3. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.136"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":1000,"description":"Up to 1,000 characters"},"speed":{"type":"number","minimum":0.7,"maximum":1.2},"voice":{"type":"string","enum":["Rachel","Drew","Clyde","Paul","Aria","Domi","Dave","Roger","Fin","Sarah","James","Jane","Juniper","Arabella","Hope","Bradford","Reginald","Austin","Kuon","Blondie","Priyanka","Alexandra","Monika","Mark","Grimblewood"]},"language_code":{"type":"string","pattern":"^[a-z]{2}$","description":"Two-letter language code, default en"}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"audio":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/flux-dev":{"post":{"operationId":"v1_nodes_flux-dev","summary":"FLUX Dev image generation. The popular 12B open-weight FLUX model: strong quality at a low price, with optional image-to-image. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.035"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"image":{"type":"string","pattern":"^https:\\/\\/","description":"Optional source image for image-to-image"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"guidance":{"type":"number","minimum":0,"maximum":10},"aspect_ratio":{"type":"string","enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"description":"Aspect ratio, default 1:1"},"output_format":{"type":"string","enum":["webp","jpg","png"]},"prompt_strength":{"type":"number","minimum":0,"maximum":1,"description":"How far to move from the source image"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/upscale-crisp":{"post":{"operationId":"v1_nodes_upscale-crisp","summary":"Crisp image upscaler. Upscale an image while sharpening edges and fine detail, without the plastic look. One flat price. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image":{"type":"string","pattern":"^https:\\/\\/","description":"Image URL (https)"}},"required":["image"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/flux-kontext-max":{"post":{"operationId":"v1_nodes_flux-kontext-max","summary":"FLUX Kontext Max image editing. The premium Kontext editor: maximum quality text-guided edits and the best typography of the FLUX family. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.109"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"input_image":{"type":"string","pattern":"^https:\\/\\/","description":"Image to edit (https URL); omit to generate"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","21:9","9:21"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/gpt-image-2":{"post":{"operationId":"v1_nodes_gpt-image-2","summary":"GPT Image 2 generation and editing. OpenAI's image model with close instruction following, sharp text rendering and detailed edits from reference images. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.018","max":"0.174"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"quality":{"type":"string","enum":["low","medium","high"],"description":"Sets the price. Default medium"},"background":{"type":"string","enum":["auto","opaque"]},"aspect_ratio":{"type":"string","enum":["1:1","3:2","2:3","4:3","3:4","16:9","9:16"],"description":"Aspect ratio, default 1:1"},"input_images":{"maxItems":6,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"output_format":{"type":"string","enum":["png","jpeg","webp"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/speech-realtime":{"post":{"operationId":"v1_nodes_speech-realtime","summary":"Realtime text-to-speech. Natural speech in 15+ languages with low latency. Up to 1,000 characters per call, one flat price. Returns an MP3 (or WAV/OGG/FLAC). Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.035"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":1000,"description":"Up to 1,000 characters"},"voice":{"type":"string","maxLength":40,"description":"Voice name, default Ashley"},"language":{"type":"string","enum":["auto","en","zh","ja","ko","ru","it","es","pt","fr","de","pl","nl","hi","he","ar"]},"audio_format":{"type":"string","enum":["mp3","wav","ogg_opus","flac"]}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"audio":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/nano-banana-2-1":{"post":{"operationId":"v1_nodes_nano-banana-2-1","summary":"Nano Banana 2.1 image generation. Google's fast image model: crisp text in images, multi-image editing and up to 4K output. Pass reference images to edit. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.047","max":"0.155"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"resolution":{"type":"string","enum":["1K","2K","4K"],"description":"Output resolution; sets the price. Default 1K"},"image_input":{"maxItems":8,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/seedream-4-5":{"post":{"operationId":"v1_nodes_seedream-4-5","summary":"Seedream 4.5 image generation. ByteDance's upgraded image model with stronger spatial understanding and world knowledge, at 2K or 4K for one price. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.055"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"size":{"type":"string","enum":["2K","4K"],"description":"Same price for both. Default 2K"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"image_input":{"maxItems":6,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","4:3","3:4","4:5","5:4","16:9","9:16","3:2","2:3","21:9","9:21"],"description":"Aspect ratio, default match_input_image"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/flux-kontext-pro":{"post":{"operationId":"v1_nodes_flux-kontext-pro","summary":"FLUX Kontext Pro image editing. Edit an image with a text instruction while keeping the subject consistent. One flat price per edit. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.055"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"input_image":{"type":"string","pattern":"^https:\\/\\/","description":"Image to edit (https URL)"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["prompt","input_image"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/video-p-video":{"post":{"operationId":"v1_nodes_video-p-video","summary":"P-Video text-to-video. Fast 5-second videos with sound from a text prompt or a starting image, at 720p or 1080p. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.136","max":"0.271"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"image":{"type":"string","pattern":"^https:\\/\\/","description":"Optional starting image (https URL)"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"resolution":{"type":"string","enum":["720p","1080p"],"description":"Sets the price. Default 720p"},"aspect_ratio":{"type":"string","enum":["16:9","9:16","4:3","3:4","3:2","2:3","1:1"],"description":"Aspect ratio, default 16:9"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"videos":{"type":"array","items":{"type":"string"}},"aiGenerated":{"type":"boolean"}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/gpt-image-1-5":{"post":{"operationId":"v1_nodes_gpt-image-1-5","summary":"GPT Image 1.5 generation and editing. OpenAI's GPT Image 1.5: better instruction following, transparent backgrounds and edits from reference images. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.019","max":"0.185"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"quality":{"type":"string","enum":["low","medium","high"],"description":"Sets the price. Default medium"},"background":{"type":"string","enum":["auto","transparent","opaque"]},"aspect_ratio":{"type":"string","enum":["1:1","3:2","2:3"],"description":"Aspect ratio, default 1:1"},"input_images":{"maxItems":6,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"output_format":{"type":"string","enum":["png","jpeg","webp"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/ideogram-v3-turbo":{"post":{"operationId":"v1_nodes_ideogram-v3-turbo","summary":"Ideogram v3 Turbo. The fastest, cheapest Ideogram v3: stunning realism, creative designs and reliable text in images. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.042"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":0,"maximum":2147483647},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"style_type":{"type":"string","enum":["Auto","General","Realistic","Design"]},"aspect_ratio":{"type":"string","enum":["1:3","3:1","1:2","2:1","9:16","16:9","10:16","16:10","2:3","3:2","3:4","4:3","4:5","5:4","1:1"],"description":"Aspect ratio, default 1:1"},"magic_prompt":{"type":"string","enum":["Auto","On","Off"],"description":"Let the model expand your prompt"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/flux-1-1-pro-ultra":{"post":{"operationId":"v1_nodes_flux-1-1-pro-ultra","summary":"FLUX 1.1 Pro Ultra 4MP images. Up to 4-megapixel images with FLUX 1.1 Pro Ultra, plus a raw mode for natural, less processed photography. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.082"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"raw":{"type":"boolean","description":"Natural, less processed look"},"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"aspect_ratio":{"type":"string","enum":["21:9","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16","9:21"],"description":"Aspect ratio, default 1:1"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/ideogram-4-5":{"post":{"operationId":"v1_nodes_ideogram-4-5","summary":"Ideogram 4.5 text-to-image. Ideogram's newest model, known for precise typography and layouts. Text-to-image; pick low, medium or high quality. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.042","max":"0.136"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":0,"maximum":2147483647},"size":{"type":"string","enum":["1024x1024","1280x896","896x1280","1344x768","768x1344","1536x640","640x1536"]},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"quality":{"type":"string","enum":["low","medium","high"],"description":"Sets the price. Default medium"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/upscale-fast":{"post":{"operationId":"v1_nodes_upscale-fast","summary":"Fast 2x / 4x upscaler. The classic fast upscaler: enlarge an image 2x or 4x, with optional face enhancement. The cheapest way to add resolution. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image":{"type":"string","pattern":"^https:\\/\\/","description":"Image URL (https)"},"scale":{"anyOf":[{"type":"number","const":2},{"type":"number","const":4}],"description":"Upscale factor, default 4"},"face_enhance":{"type":"boolean","description":"Improve faces, default false"}},"required":["image"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/video-seedance-1-lite":{"post":{"operationId":"v1_nodes_video-seedance-1-lite","summary":"Seedance 1 Lite text-to-video. ByteDance's Seedance Lite: 5-second videos from text or an image, with cinematic camera moves, at 480p or 720p. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.123","max":"0.244"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"image":{"type":"string","pattern":"^https:\\/\\/","description":"Optional starting image (https URL)"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"resolution":{"type":"string","enum":["480p","720p"],"description":"Sets the price. Default 480p"},"aspect_ratio":{"type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","9:21"],"description":"Aspect ratio, default 16:9"},"camera_fixed":{"type":"boolean","description":"Keep the camera still"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"videos":{"type":"array","items":{"type":"string"}},"aiGenerated":{"type":"boolean"}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/grok-imagine-image":{"post":{"operationId":"v1_nodes_grok-imagine-image","summary":"Grok Imagine image generation. xAI's image model: vivid, photorealistic images and edits from a prompt, at a low flat price. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.028"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image":{"type":"string","pattern":"^https:\\/\\/","description":"Optional image to edit (https URL)"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","2:1","1:2"],"description":"Aspect ratio, default 1:1"}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/qwen-image-edit-plus":{"post":{"operationId":"v1_nodes_qwen-image-edit-plus","summary":"Qwen Image Edit Plus. Multi-image editing from Alibaba's Qwen: combine people, products and scenes, or change text in images precisely. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.042"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Images to edit or combine (https URLs)"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","16:9","9:16","4:3","3:4"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["webp","jpg","png"]}},"required":["images","prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/speech-qwen3":{"post":{"operationId":"v1_nodes_speech-qwen3","summary":"Qwen3 text-to-speech. Nine natural voices in 10 languages, steerable with a plain-language style instruction (tone, pace, emotion). Up to 1,000 characters per call. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.028"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":1000,"description":"Up to 1,000 characters"},"style":{"type":"string","maxLength":300,"description":"How to say it, e.g. 'warm and calm, slightly slower'"},"voice":{"type":"string","enum":["Aiden","Dylan","Eric","Ono_anna","Ryan","Serena","Sohee","Uncle_fu","Vivian"]},"language":{"type":"string","enum":["auto","Chinese","English","Japanese","Korean","French","German","Italian","Spanish","Portuguese","Russian"]}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"audio":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/nodes/nano-banana":{"post":{"operationId":"v1_nodes_nano-banana","summary":"Nano Banana image generation and editing. The original Nano Banana from Google: fast generation and conversational editing that keeps faces and products consistent. Charged only when the call succeeds.","tags":["V1"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.054"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"What to create or change"},"image_input":{"maxItems":8,"type":"array","items":{"type":"string","pattern":"^https:\\/\\/"},"description":"Reference or source image URLs (https), optional"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"description":"Aspect ratio, default match_input_image"},"output_format":{"type":"string","enum":["jpg","png"]}},"required":["prompt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}}}}},"402":{"description":"Payment Required"}}}}}}