{"uid":"cap_NxCN20TQdVe84Tk_Ln-np","slug":"batch-image-resize-api-lab-paidapis-net-b18f6983","name":"Batch Image Resize API (lab.paidapis.net)","description":"Batch task-runner: run up to 5 image-resize jobs in one paid call (?jobs=<JSON array of {url,width,height}>). Priced as the sum of each job's real output-megapixel cost — one payment covers N heterogeneous units of work instead of paying per call for each.","url":"https://lab.paidapis.net/api/batch-resize","method":"GET","headers":{},"bodySchema":{"type":"object","required":["jobs"],"properties":{"jobs":{"type":"string","description":"JSON array (max 5) of {\"url\",\"width\",\"height\"} objects."}}},"responseSchema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object"}},"totalJobs":{"type":"integer"},"failedCount":{"type":"integer"},"processedAt":{"type":"string"},"succeededCount":{"type":"integer"}}},"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_UkcnVYWJNLMerznWEW1p_","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":"Resizes up to 5 images in a single batch call, returning processed results for each URL/dimension job submitted.","exampleAgentPrompt":"Can you resize these 3 images for me in one go? Use https://example.com/photo1.jpg at 800x600, https://example.com/photo2.jpg at 400x300, and https://example.com/photo3.jpg at 1920x1080.","exampleUseCases":[{"title":"Thumbnail generation for product catalog","prompt":"I need to resize these 5 product image URLs to 300x300 thumbnails all at once: https://shop.com/img1.jpg, https://shop.com/img2.jpg, https://shop.com/img3.jpg, https://shop.com/img4.jpg, https://shop.com/img5.jpg — can you batch them in a single call?"},{"title":"Social media image preparation","prompt":"Resize these 3 images for different social platforms: https://cdn.me/portrait.jpg to 1080x1080, https://cdn.me/banner.jpg to 1200x630, and https://cdn.me/story.jpg to 1080x1920 — all in one batch please."},{"title":"Blog post image optimization","prompt":"Can you resize these two blog images at once? https://myblog.com/header.png should be 1280x720 and https://myblog.com/sidebar.jpg should be 200x200."}],"resultDescription":"Returns a JSON object containing an array of per-job results (success or failure details for each image), total number of jobs submitted, count of succeeded jobs, count of failed jobs, and a timestamp of when processing occurred.","failureModes":["Submitting more than 5 jobs in a single call will likely be rejected or truncated","Invalid or unreachable image URLs in the jobs array will result in individual job failures reflected in failedCount","Malformed JSON in the jobs string field causes a validation error","Images that are too large or in unsupported formats may fail silently per job","Payment failure via x402 protocol results in a 402 response before processing begins"],"whenToPreferThis":"Choose this endpoint when you need to resize multiple images (up to 5) in a single API call rather than making separate resize requests. It is ideal for batch workflows where you want to minimize round trips and handle partial failures gracefully via per-job result tracking. Prefer this over single-image resize endpoints when processing small batches of images with varied dimensions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:56.926Z","isFirstParty":false}