{"uid":"cap_am9IGTFvKCOh6WzTxJ9Dy","slug":"writerslogic-print-resolution-estimator-bbb2da96","name":"WritersLogic Print Resolution Estimator","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/print-estimate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"unit":{"enum":["in","mm","cm"],"type":"string","description":"Unit for print size, bleed and margin (default in)."},"bleed":{"type":"number","maximum":10000,"minimum":0,"description":"Bleed added on each side of the trim, in unit (default 0)."},"margin":{"type":"number","maximum":10000,"minimum":0,"description":"Safe margin inside the trim on each side, in unit (default 0)."},"widthPx":{"type":"integer","maximum":1000000,"minimum":1,"description":"Image width in pixels."},"channels":{"type":"integer","maximum":8,"minimum":1,"description":"Channels per pixel for the raw size (default 3)."},"heightPx":{"type":"integer","maximum":1000000,"minimum":1,"description":"Image height in pixels."},"targetPpi":{"type":"number","maximum":100000,"minimum":1,"description":"The resolution you require, in pixels per inch."},"printWidth":{"type":"number","maximum":100000,"minimum":0.001,"description":"Trim width in unit."},"printHeight":{"type":"number","maximum":100000,"minimum":0.001,"description":"Trim height in unit."},"ppiTolerance":{"type":"number","maximum":1000,"minimum":0,"description":"Accepted ppi difference for claimedEffectivePpi (default 0.5)."},"bitsPerChannel":{"enum":[1,8,16,32],"type":"integer","description":"Bits per channel (default 8)."},"claimedRawBytes":{"type":"integer","maximum":9000000000000000,"minimum":0,"description":"An uncompressed byte count you assert."},"claimedEffectivePpi":{"type":"number","maximum":10000000,"minimum":0,"description":"An effective ppi you assert; checked against the computed value."}}},"responseSchema":{"type":"json"},"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_TBORvZAXDMJy6lYrH85RG","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":"Calculates effective PPI, print feasibility, required pixel counts, maximum print size, safe area, and uncompressed bitmap size for a given image and print specification","exampleAgentPrompt":"Can you check if my 4500×6000 pixel image is good enough to print at 12×18 inches with a 0.125 inch bleed on each side targeting 300 PPI? I need to know the effective PPI, whether it meets the target, and the uncompressed file size assuming 3 channels at 8 bits.","exampleUseCases":[{"title":"Print-on-demand product feasibility check","prompt":"I have a 3000×3000 pixel image and want to put it on a 10×10 inch square print product with 0.125 inch bleed all around — does it hit 300 PPI over the full bleed area, and what's the largest it could safely go?"},{"title":"Photo book layout resolution validation","prompt":"My photo is 5472×3648 pixels and the layout calls for a 7.5×5 inch spread with a 3mm bleed and 5mm safe margin — what's the effective PPI including bleed, does it clear 240 PPI, and how many pixels would I actually need to hit exactly 300 PPI at that size?"},{"title":"Poster pixel requirement planning","prompt":"I'm designing a 24×36 inch poster and need at least 150 PPI — how many pixels wide and tall does my image need to be, and what will the uncompressed 4-channel 16-bit bitmap size be?"}],"resultDescription":"Returns effective PPI over the trim-plus-bleed area, a boolean indicating whether it meets the target PPI, the pixel count required to reach the target PPI at the given print size, the largest print dimensions achievable at the target PPI, the safe area dimensions (trim minus margins), and the exact uncompressed bitmap size in bytes. If claimedEffectivePpi or claimedRawBytes are supplied, it also returns verification results for those claims.","failureModes":["Missing required fields (widthPx, heightPx, printWidth, printHeight) returns a 400 validation error","Values exceeding maximum limits (e.g. widthPx > 1,000,000) are rejected","Invalid unit enum value causes schema rejection","bleed or margin values that exceed half the print dimension may produce zero or negative safe area","Network or service unavailability returns 5xx","Payment not provided or insufficient funds returns 402"],"whenToPreferThis":"Use this endpoint when you need exact, unit-correct print resolution calculations for print-on-demand, prepress, or layout workflows. It is ideal when you need to verify bleed-adjusted PPI, compute required pixel counts for a specific print size and target PPI, or find the maximum printable size from existing pixel dimensions. Prefer this over manual calculation when units are mixed (inches, mm, cm) or when you need to verify claimed byte counts or PPI values programmatically. It does not handle compressed file size estimation, ICC color management, or printer-specific RIP limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:39:43.611Z","isFirstParty":false,"canonicalSlug":"writerslogic-print-resolution-estimator-bbb2da96"}