{"uid":"cap_j8zV78zjmlQjwgH1AsyKx","slug":"delx-commerce-photo-colorization-api-871215d9","name":"Delx Commerce Photo Colorization API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/colorize-photo?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image_base64":{"type":"string","maxLength":349550,"minLength":1,"description":"One opaque base64 PNG, JPEG, or WebP up to 256 KiB. Alpha and model fields are rejected."}}},"responseSchema":{"type":"json","example":{"image_url":"https://api.delx.ai/api/v1/generated-colorizations/example.png","sale_price_usdc":0.01}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DxXCfoTEVPEihZ2v9YDrB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Colorizes a black-and-white or desaturated photo by accepting a base64-encoded image and returning a URL to the colorized result, billed at $0.01 USDC per call via x402.","exampleAgentPrompt":"Can you colorize this black-and-white photo for me? Here's the image as a base64 PNG — I want it to look realistic with natural colors added.","exampleUseCases":[{"title":"Restore old family portraits","prompt":"I have a scanned grayscale photo of my grandparents from the 1940s encoded in base64 — can you colorize it so it looks like a realistic color photograph?"},{"title":"Colorize historical archive images","prompt":"I'm working on a history project and need to colorize these black-and-white archival images. Here's one as a base64 JPEG — please add realistic color to it."},{"title":"Enhance monochrome product mockups","prompt":"I've got a grayscale mockup image in base64 format that I'd like converted into a color version — can you colorize it for me?"}],"resultDescription":"A JSON object containing a publicly accessible URL pointing to the colorized image (image_url) hosted on Delx's servers, and the confirmed sale price in USDC (sale_price_usdc, typically 0.01). The colorized image is a color-rendered version of the submitted grayscale or black-and-white photo.","failureModes":["Image exceeds 256 KiB (maxLength 349550 base64 chars) — request rejected","Image contains alpha channel — rejected by API","Invalid base64 encoding — parse error","Unsupported image format (not PNG, JPEG, or WebP) — rejected","Payment failure or insufficient USDC balance — 402 payment required error","Colorization model failure — server error returned"],"whenToPreferThis":"Choose this endpoint when you need a simple, no-signup, pay-per-use photo colorization API that bills exactly $0.01 USDC per call via x402 on Base or Solana. Ideal for AI agents that need verifiable, micropayment-gated image transformation without subscriptions or API keys. Best for single image colorization of PNG, JPEG, or WebP files under 256 KiB.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.560Z","isFirstParty":false,"canonicalSlug":"delx-commerce-photo-colorization-api-871215d9"}