{"uid":"cap_pOjLCL0xzREHXkCRuUdHb","slug":"image-process-api-43ccf401","name":"image-process-api","description":"Image processing for AI agents","url":"https://remarkable-light-production-0cb8.up.railway.app/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"image":"base64...","format":"webp","size_bytes":45000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_66gND9yJk30T6U3AcFI2m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts and processes images via HTTP POST, returning the result as a base64-encoded image in a specified format (e.g. WebP)","exampleAgentPrompt":"Can you convert this image to WebP format and give me the base64-encoded result so I can embed it in my app?","exampleUseCases":[{"title":"Image format conversion for web delivery","prompt":"Take this JPEG I have and convert it to WebP format — I need the base64 output so I can serve it from my app without storing a file."},{"title":"Preprocessing images for AI pipeline","prompt":"Before I send this image to my vision model, can you process and re-encode it as a WebP so it's in a consistent format? Return the base64 string."},{"title":"Batch-ready image normalization in agent workflow","prompt":"I need to normalize this image into WebP and get back the base64 version and the file size — my workflow needs those to continue to the next step."}],"resultDescription":"A JSON object containing the processed image as a base64-encoded string, the output format (e.g. 'webp'), and the file size in bytes.","failureModes":["Missing or malformed 'input' object returns a validation error","Unsupported image format in body causes processing failure","bodyType mismatch (e.g. sending JSON when form-data expected) causes parse error","Payment not attached or insufficient USDC causes 402 Payment Required","Large images may time out or exceed size limits","Railway.app cold-start latency may cause occasional delays"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call image conversion service that outputs base64-encoded images and integrates with x402 micropayment flows — ideal for AI agent pipelines that need programmatic image format conversion without managing storage or credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:36:51.971Z","isFirstParty":false,"canonicalSlug":"image-process-api-43ccf401"}