{"uid":"cap_2QCrqs3eB_ddKu7OZ0DSb","slug":"agent402-tools-media-pipeline-cfa1d9da","name":"agent402.tools Media Pipeline","description":"Bundled execution of the Uploaded-media normalize workflow - The 'user uploaded a thing, normalize it before storing' workflow. Probe the file (image or audio/video) with media-info, decode any embedded barcodes/QRs, resize and thumbnail the image, convert it to a web-friendly format, and normalize audio loudness to broadcast standard. Six tools, one canonical normalize-on-upload pipeline that turns arbitrary user uploads into predictable storage artifacts.","url":"https://agent402.tools/api/skill/media-pipeline","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"uploadPath":{"type":"string","description":"the temp path or URL of the uploaded file (e.g. '/tmp/upload-abc123')"}}},"responseSchema":{"type":"json","example":{"args":{"uploadPath":"https://agent402.tools/fixtures/sample-image.png"},"pack":"media-pipeline","steps":[{"ok":true,"slug":"media-info","result":{}},{"ok":true,"slug":"barcode-decode","result":{}},{"ok":true,"slug":"image-resize","result":{}},{"ok":true,"slug":"image-thumbnail","result":{}},{"ok":true,"slug":"image-convert","result":{}},{"ok":true,"slug":"audio-normalize","result":{}}],"summary":"6/6 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-Pq3XlLuZuEh6d_pt6gXi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a bundled media normalization workflow on an uploaded file: probes metadata, decodes barcodes/QRs, resizes images, and generates thumbnails","exampleAgentPrompt":"I just uploaded a file to /tmp/upload-abc123 — can you run it through the full media normalization pipeline to probe its metadata, decode any barcodes or QR codes, resize it, and generate a thumbnail before I store it?","exampleUseCases":null,"resultDescription":"Returns normalized media data including probed file metadata (from media-info), any decoded barcode or QR code values found in the image, a resized version of the image, and a generated thumbnail — all ready for downstream storage or display.","failureModes":["File not found at the provided path — returns error if uploadPath points to a nonexistent or inaccessible location","Unsupported file type — may fail or return partial results if the file is not a recognized image or audio/video format","Corrupt or malformed file — media-info probe may fail on corrupted uploads","No barcode found — barcode/QR decoding returns empty result if none present (not an error)","Payment failure — x402 payment of $0.25 USDC not processed, request rejected"],"whenToPreferThis":"Use this endpoint when a user has just uploaded a file (image or audio/video) and you need a single bundled call to handle all normalization steps — metadata probing, barcode/QR decoding, resizing, and thumbnail generation — before persisting the file. Prefer this over individual specialized tools when you want a complete pipeline in one call at a flat per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:09:53.170Z","isFirstParty":false}