{"uid":"cap_UFJGE7Nj9sguW6hdzNTLv","slug":"vextorium-image-convert-63abcb69","name":"Vextorium Image Convert","description":"558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/image-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"high":{"type":"integer"},"width":{"type":"integer"},"format":{"enum":["webp","jpeg","png"],"type":"string"},"quality":{"type":"integer","description":"10-100 (default 82)"},"base64_img":{"type":"string"}}},"responseSchema":{"type":"json","example":{"high":158,"width":300,"base64":"UklGRvAUAABXRUJQVlA4IOQUAADwWACdASosAZ4APmEwlEckIyIhI5YaWIAMCWVu3rlmUJFxcErf0X4AyZuAB4nHSX8wH6yfrH7s39o9UX4ge4B/Wv8V6xH+Z9hv9sfYJ/U70uf3G+Dv+1/7P9wvgJ/ZP/760D1G7U/8D9WPr3+H/Mf138n/6LzeOTf9b+VXuX/Ffr7+U/tX7gflf81f6TwV+Cf956gX4//J/8H+af999NP6T97rlXmBeoPyn/Wf4/93PMx/p/Qv6j/578yPoA/j39E/0v5u/3r4d/yvgYfe…","format":"webp","data_uri":"data:image/webp;base64,UklGRvAUAABXRUJQVlA4IOQUAADwWACdASosAZ4APmEwlEckIyIhI5YaWIAMCWVu3rlmUJFxcErf0X4AyZuAB4nHSX8wH6yfrH7s39o9UX4ge4B/Wv8V6xH+Z9hv9sfYJ/U70uf3G+Dv+1/7P9wvgJ/ZP/760D1G7U/8D9WPr3+H/Mf138n/6LzeOTf9b+VXuX/Ffr7+U/tX7gflf81f6TwV+Cf956gX4//J/8H+af999NP6T97rlXmBeoPyn/Wf4/93PMx/p/Qv6j/578yPo…","savings_pct":96.8,"bytes_result":5368,"bytes_original":166630,"without_metadata":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R1N09AtRGNskLpVohh3R_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts and compresses images (URL or base64) to WebP, JPEG, or PNG with quality and dimension control, returning base64 and data URI output","exampleAgentPrompt":"Convert this image at https://example.com/photo.jpg to WebP format at quality 85 and width 600, and give me back the base64 and data URI.","exampleUseCases":[{"title":"Optimize product images for web","prompt":"Take this product image at https://myshop.com/images/product.png and convert it to WebP at quality 80 with a width of 800 pixels — I need the data URI to embed it on the page."},{"title":"Compress large photo before upload","prompt":"I have a base64-encoded JPEG that's really large. Can you convert it to WebP at quality 70 and tell me how many bytes I saved and what percentage reduction that is?"},{"title":"Convert image to PNG for app thumbnail","prompt":"Convert the image at https://cdn.example.com/banner.jpg to PNG format at quality 90 with a width of 300 pixels and return it as a base64 string."}],"resultDescription":"Returns a JSON object containing the converted image as a base64 string and data URI, the output format, width and height dimensions, original byte size, result byte size, and the percentage of file size savings achieved.","failureModes":["Invalid or unreachable image URL returns an error","Unsupported image format in source may cause processing failure","Quality value outside 10-100 range may be rejected or clamped","Malformed base64 input results in a decode error","Missing required body fields (type, method, bodyType, body) causes validation error","Very large images may time out or exceed processing limits"],"whenToPreferThis":"Choose this endpoint when you need server-side image format conversion (to WebP, JPEG, or PNG) with compression and optional resizing, especially when you want to receive the result as base64/data URI without storing a file. Ideal for pipelines that need to reduce image file size before embedding in web pages or APIs, and when paying per-call via USDC x402 is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:27:01.140Z","isFirstParty":false,"canonicalSlug":"vextorium-image-convert-63abcb69"}