{"uid":"cap_BSLgwd__Pm9FM8i2iBQvR","slug":"pocket-network-image-transform-911b9964","name":"Pocket Network Image Transform","description":"Inspect, analyze or transform a public HTTPS image: metadata, resize, crop, rotate, convert, compress, color and filter adjustments, masks, composition, text annotation and tile packages. POST /v1/image with image_url, operation and params. Transforms answer a temporary HTTPS URL to the result, kept one hour, never image bytes. Pay per request in USDC; no account, no API key.","url":"https://agent.pocket.network/v1/image-transform?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","description":"The operation's parameters, e.g. {width, height, fit, format} for resize. Operations that need none take {}."},"image_url":{"type":"string","maxLength":8192,"description":"The public HTTPS image to read."},"operation":{"enum":["adaptive_threshold","add_background","animation_info","apply_mask","auto_orient","blur","brightness","colorspace","compare","composite","compress","contact_sheet","contrast","convert","convolve","crop","deepzoom","detect_format","difference","dilate","dominant_color","draw_circle","draw_line","draw_rect","draw_text","edge_detect","emboss","entropy","erode","extract_alpha","extract_channel","extract_frame","extract_page","flatten","flip","gamma","grayscale","grid","hist_equalize","histogram","hue","inspect","invert","join","laplacian","local_equalize","median","merge_channels","metadata","morphology","normalize","optimize","overlay","pad","page_info","pdf_to_image","pixel_sample","pyramid","rank_filter","resize","rotate","saturation","sharpen","smartcrop","stats","strip_metadata","threshold","thumbnail","tile","tint","trim","watermark"],"type":"string","description":"What to do with the image (default inspect)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_29zwY_QRKIUVqZQihcjJV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transforms a public HTTPS image via operations including resize, crop, rotate, convert, compress, filter, watermark, metadata extraction, and more, returning a temporary URL to the result.","exampleAgentPrompt":"Take this image at https://example.com/photo.jpg, resize it to 800x600 pixels with a cover fit, and convert it to WebP format — give me the download link when it's ready.","exampleUseCases":[{"title":"Resize product image for e-commerce","prompt":"I need to resize this product photo at https://myshop.com/images/product123.jpg to 400x400 pixels with a contain fit and convert it to WebP — can you do that and give me the resulting URL?"},{"title":"Extract metadata from uploaded photo","prompt":"Can you pull the metadata from this image — https://cdn.example.com/upload/shot.jpg — I want to know its dimensions, format, color space, and any embedded EXIF info."},{"title":"Watermark images before publishing","prompt":"Add the text 'Confidential 2024' as a watermark to this image at https://assets.mysite.com/report-cover.png and send me the link to the watermarked version."}],"resultDescription":"A temporary HTTPS URL (valid for one hour) pointing to the transformed or analyzed image result. For metadata and inspection operations, the response includes structured JSON data such as dimensions, format, color space, and EXIF fields rather than a new image URL.","failureModes":["Image URL is not publicly accessible or returns a non-200 status — request fails with an error","Unsupported image format for the requested operation — operation-specific error returned","Invalid or missing operation parameters — validation error with description","Result URL expires after one hour — client must re-request if needed","Image too large or complex for the operation — timeout or size-limit error","USDC payment not confirmed — request rejected before processing"],"whenToPreferThis":"Choose this endpoint when you need server-side image transformation or analysis on a public image URL without setting up an account or API key, and are comfortable paying per-request in USDC. It is ideal for agents that need a broad suite of operations (50+ operations from resize to PDF conversion to deep zoom tiles) in a single API, with no infrastructure to manage. Prefer alternatives if you need to process private/local images, require persistent storage of results beyond one hour, or need bulk batch processing at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:41:49.542Z","isFirstParty":false,"canonicalSlug":"pocket-network-image-transform-911b9964"}