{"uid":"cap_miUPRKEgP7_P-mChcJpML","slug":"klymax402-image-resize-api-c32ce6fe","name":"klymax402 Image Resize API","description":"One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.","url":"https://klymax402.com/api/image-resize/api/resize","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL of the image to resize"},"width":{"type":"number","description":"Target width in pixels (maintains aspect ratio if height is omitted)"},"format":{"type":"string","description":"Output format: 'png', 'jpeg', or 'webp' (default: png)"},"height":{"type":"number","description":"Target height in pixels (maintains aspect ratio if width is omitted)"}}},"responseSchema":{"type":"json","example":{"width":1,"base64":"example","format":"example","height":1,"mimeType":"example","compressionRatio":1,"resizedSizeBytes":1,"originalSizeBytes":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm___OzGNTwhBoDGtzg8gce1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a remote image by URL and returns it resized to specified dimensions in PNG, JPEG, or WebP format as a base64-encoded response.","exampleAgentPrompt":"Can you resize the image at https://example.com/photo.jpg to 800 pixels wide and 600 pixels tall and give it back as a WebP?","exampleUseCases":[{"title":"Thumbnail generation for product catalog","prompt":"Take this product image at https://mystore.com/images/product123.jpg and resize it to 200 pixels wide, keeping the height proportional, and return it as a JPEG thumbnail."},{"title":"WebP conversion for web performance","prompt":"I need to convert this PNG image at https://myblog.com/hero.png into a WebP at 1200 pixels wide by 630 pixels tall so it loads faster on my site."},{"title":"Avatar image resizing for user profiles","prompt":"Resize the image at https://cdn.example.com/user-upload.png to 150 by 150 pixels in PNG format so I can use it as a profile avatar."}],"resultDescription":"Returns a JSON object containing the resized image as a base64-encoded string, the output width and height in pixels, the MIME type, the output format, original size in bytes, resized size in bytes, and a compression ratio.","failureModes":["Invalid or unreachable image URL returns an error","Unsupported image format at source URL may fail","Requested width or height of 0 or negative values may cause errors","Network timeout if the source image URL is slow to respond","Unsupported output format string (not png, jpeg, or webp) may return an error"],"whenToPreferThis":"Choose this endpoint when you need to resize a remotely hosted image by URL, optionally converting its format, and receive the result as a base64-encoded payload — especially useful in agent workflows where storing intermediate files is inconvenient and a direct in-memory image response is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:47:05.083Z","isFirstParty":false}