{"openapi":"3.1.0","components":{"securitySchemes":{"PAYMENT-SIGNATURE":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"base64(JSON {x402Version:2, scheme:'exact', network:'eip155:8453', accepted:<accepts[0] as-is>, payload:{signature, authorization:{from,to,value,validAfter,validBefore,nonce}}, extensions?}) after EIP-3009 signing. primaryType TransferWithAuthorization, types [from address,to address,value uint256,validAfter uint256,validBefore uint256,nonce bytes32]; value/validAfter/validBefore are decimal strings (unix seconds / micro-units), from/to are 0x addresses, nonce is 0x+32 random bytes, signature is 65-byte r||s||v 0x hex."},"X-WALLET":{"type":"apiKey","in":"header","name":"X-WALLET","description":"0x address holding prepaid credit (no signature per call)."}},"responses":{"PaymentRequired":{"description":"402 with the x402 v2 challenge.","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"error":{"type":"string","description":"why the challenge was issued, e.g. payment_required / insufficient_credits / bad_payment_header"},"operator":{"type":"object","description":"seller identity, jurisdiction, terms and privacy links"},"error_detail":{"type":"object","description":"human-readable reason per error code, plus trial_used (whether this IP already spent its free call)"},"accepts":{"type":"array","items":{"$ref":"#/components/schemas/Accepts"}},"free_trial":{"type":"string"},"next_steps":{"type":"array","items":{"type":"string"}},"resource":{"description":"the paid resource (object, or URL string in v1 shape)","oneOf":[{"type":"object"},{"type":"string"}]},"priceUsdc":{"type":["string","number"]},"extensions":{"type":"object","description":"optional passthrough; echo back beside payload"}}}}}}},"schemas":{"Accepts":{"type":"object","required":["scheme","network","asset","amount","payTo","maxTimeoutSeconds"],"properties":{"scheme":{"const":"exact"},"network":{"const":"eip155:8453"},"asset":{"type":"string","description":"USDC contract"},"amount":{"type":"string","description":"USDC micro-units (6 decimals)"},"maxAmountRequired":{"type":"string","description":"same value as amount (v1 readers)"},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"},"mimeType":{"type":"string","description":"response content-type"},"extra":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"}}}}}}},"info":{"title":"imgfactory","version":"0.2.0","description":"80 deterministic image operations. Adult/NSFW-safe.","x-guidance":"POST multipart `file` — or raw image bytes, or JSON {url|base64|data} — to any /v1/ image path. GET /v1/convert/to-png (zero-input smoke call) is free once per IP per 24h (X-TRIAL: 1). After that an unpaid call returns 402 with accepts[] (x402 v2, USDC on Base, eip155:8453): sign it and resend with PAYMENT-SIGNATURE — no account or purchase needed. Optional prepaid credit: GET /v1/credits/trial?wallet=0x… (free 0.35 USDC once), POST /v1/credits/purchase?pack=5|20|50 or POST /v1/credits/deposit?tx=0x… after a plain USDC transfer; check GET /v1/credits/balance?wallet=0x…, then send only X-WALLET. Prices: GET /v1/pricing. Batch via POST /v1/jobs/submit (0.10 USDC per request, up to 20 files included; above 20 files 0.10 + 0.005 × (n − 20); max 100 files per request (0.50 USDC)), poll /v1/jobs/status, fetch GET /v1/jobs/download.","contact":{"email":"akina.ykst@gmail.com"}},"servers":[{"url":"https://imgfactory.serveousercontent.com"}],"paths":{"/v1/convert/to-png":{"post":{"operationId":"convert_to-png","summary":"Use when PNG convert: change any image to PNG, png converter, lossless, keep alpha, when an uploader wants PNG","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_to-png_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/to-jpg":{"post":{"operationId":"convert_to-jpg","summary":"Use when JPG convert: change any image to JPEG, jpg converter, photo to jpg, when a form only takes JPG.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_to-jpg_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/to-webp":{"post":{"operationId":"convert_to-webp","summary":"Use when WebP convert: png to webp, jpg to webp, webp converter, smaller web images, alpha kept.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/webp bytes","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_to-webp_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/to-avif":{"post":{"operationId":"convert_to-avif","summary":"Use when AVIF convert: convert to avif, avif encoder, next-gen compression, smallest files.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/avif bytes","content":{"image/avif":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_to-avif_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/w256":{"post":{"operationId":"resize_w256","summary":"Use when Resize image to 256px: shrink, downscale, small avatar, thumbnail size, long edge 256.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_w256_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/w512":{"post":{"operationId":"resize_w512","summary":"Use when Resize image to 512px: shrink image, downscale, thumbnails, dataset norm, long edge 512.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_w512_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/w768":{"post":{"operationId":"resize_w768","summary":"Use when Resize image to 768px: downscale image, shrink photo, CDN size, long edge 768.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_w768_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/w1024":{"post":{"operationId":"resize_w1024","summary":"Use when Resize image to 1024px: scale down image, shrink, preview size, long edge 1024.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_w1024_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/w1536":{"post":{"operationId":"resize_w1536","summary":"Use when Resize image to 1536px: downscale image, shrink, web hero size, long edge 1536.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_w1536_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/w2048":{"post":{"operationId":"resize_w2048","summary":"Use when Resize image to 2048px: downscale image, shrink, print-lite size, long edge 2048.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_w2048_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/fit/w512":{"post":{"operationId":"fit_w512","summary":"Use when Fit image inside 512x512: image size fit, contain without crop, thumbnail generator, banner preview.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"fit_w512_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/pad/w512":{"post":{"operationId":"pad_w512","summary":"Use when Pad image to square 512x512: pad to square, letterbox image, aspect ratio fix, LoRA bucket prep.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"pad_w512_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/fit/w1024":{"post":{"operationId":"fit_w1024","summary":"Use when Fit image inside 1024x1024: contain, image size fit, no crop, preview.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"fit_w1024_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/pad/w1024":{"post":{"operationId":"pad_w1024","summary":"Use when Pad image to square 1024x1024: pad to square, letterbox image, aspect ratio fix, dataset prep.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"pad_w1024_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/strip-exif":{"post":{"operationId":"clean_strip-exif","summary":"Use when Strip EXIF: remove exif, remove metadata, strip metadata, gps from photo, exif remover, ship a clean ","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_strip-exif_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/flatten-alpha":{"post":{"operationId":"clean_flatten-alpha","summary":"Use when Flatten alpha to JPEG: transparent background to white, flatten png, alpha channel removal, opaque on","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_flatten-alpha_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/icc-to-srgb":{"post":{"operationId":"clean_icc-to-srgb","summary":"Use when ICC profile fix: icc to srgb, srgb conversion, colors shift after processing, profile mismatch.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_icc-to-srgb_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/trim-border":{"post":{"operationId":"clean_trim-border","summary":"Use when Trim border: remove border, trim whitespace, remove white border, solid-color frame removal before OC","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_trim-border_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/rotate-auto":{"post":{"operationId":"clean_rotate-auto","summary":"Use when Rotate photo: auto orient, fix sideways photo, orientation fix, exif orientation, rotate image uprigh","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_rotate-auto_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/dpi-300":{"post":{"operationId":"clean_dpi-300","summary":"Use when Set 300 DPI metadata: dpi fix, print dpi, 300 dpi tag for printers and uploaders.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_dpi-300_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/dimensions":{"post":{"operationId":"analyze_dimensions","summary":"Use when Image dimensions: image size, width and height, aspect ratio, resolution check, image info.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_dimensions_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/sha256":{"post":{"operationId":"analyze_sha256","summary":"Use when Image sha256 hash: file hash, checksum, content address, dedupe key.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_sha256_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/phash":{"post":{"operationId":"analyze_phash","summary":"Use when Perceptual hash: phash, image hash, image dedupe, duplicate photos, near-duplicate detection.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_phash_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/corrupt":{"post":{"operationId":"analyze_corrupt","summary":"Use when Corrupt image check: is the file broken, truncated image, decode test, validate upload.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_corrupt_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/mono-ratio":{"post":{"operationId":"analyze_mono-ratio","summary":"Use when Mono ratio: grayscale share, black and white amount, scan detection.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_mono-ratio_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/blur":{"post":{"operationId":"analyze_blur","summary":"Use when Blur detection: blurry photo, image sharpness, focus score, motion blur, is it blurry.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_blur_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/palette":{"post":{"operationId":"analyze_palette","summary":"Use when Color palette: dominant color, dominant colors, color extraction, palette generator, k-means colors.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_palette_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/exif":{"post":{"operationId":"analyze_exif","summary":"Use when EXIF viewer: read exif, camera model, gps from photo, exif dump, metadata viewer, exif strip check.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_exif_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/watermark/text":{"post":{"operationId":"watermark_text","summary":"Use when Watermark text: add text watermark, copyright stamp, overlay text on image.","tags":["watermark"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"watermark_text_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["watermark"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/watermark/tiled":{"post":{"operationId":"watermark_tiled","summary":"Use when Tiled watermark: repeat watermark, diagonal tiled stamp, preview protection.","tags":["watermark"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"watermark_tiled_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["watermark"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/watermark/remove-white-border":{"post":{"operationId":"watermark_remove-white-border","summary":"Use when Remove white border: trim scanner white, border removal, cleanup before OCR.","tags":["watermark"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"watermark_remove-white-border_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["watermark"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/crop-center-256":{"post":{"operationId":"geometry_crop-center-256","summary":"Use when Crop image center 256x256: center crop, square crop, thumbnail crop.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_crop-center-256_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/crop-center-512":{"post":{"operationId":"geometry_crop-center-512","summary":"Use when Crop image center 512x512: center crop, square crop, avatar crop.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_crop-center-512_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/crop-center-1024":{"post":{"operationId":"geometry_crop-center-1024","summary":"Use when Crop image center 1024x1024: center crop, square crop, preview crop.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_crop-center-1024_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/flip-h":{"post":{"operationId":"geometry_flip-h","summary":"Use when Flip image horizontally: mirror image, flip h, left-right mirror.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_flip-h_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/flip-v":{"post":{"operationId":"geometry_flip-v","summary":"Use when Flip image vertically: mirror image, flip v, upside down.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_flip-v_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/sharpen":{"post":{"operationId":"geometry_sharpen","summary":"Use when Sharpen image: unsharp mask, add detail, sharpen photo, crisp edges.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_sharpen_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/posterize":{"post":{"operationId":"geometry_posterize","summary":"Use when Posterize image: reduce colors, flat art look, 4-level posterize.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_posterize_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/grayscale":{"post":{"operationId":"geometry_grayscale","summary":"Use when Grayscale image: convert to black and white, desaturate, grayscale photo.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_grayscale_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/nsfw":{"post":{"operationId":"analyze_nsfw","summary":"Use when you must know whether an image is NSFW before showing or posting it: returns skin_ratio, nsfw_score a","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_nsfw_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/nsfw/mosaic-full":{"post":{"operationId":"nsfw_mosaic-full","summary":"Use when Mosaic censor full: pixelate image, mosaic whole image, censor pixelate, NSFW blur all.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"nsfw_mosaic-full_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/nsfw/mosaic-box":{"post":{"operationId":"nsfw_mosaic-box","summary":"Use when Mosaic box censor: mosaic a region, bbox censor, pixelate area, NSFW mosaic box.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"nsfw_mosaic-box_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/nsfw/cover-bar":{"post":{"operationId":"nsfw_cover-bar","summary":"Use when Cover bar censor: black bar over a region, cover text, bar censor, NSFW cover.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"nsfw_cover-bar_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/jp/ogp-1200x630":{"post":{"operationId":"jp_ogp-1200x630","summary":"Use when Japanese OGP image: 1200x630 ogp, x card image, jp social preview, cover crop.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"jp_ogp-1200x630_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/jp/booth-header-1400x1000":{"post":{"operationId":"jp_booth-header-1400x1000","summary":"Use when BOOTH header 1400x1000: jp store header, booth shop header, webp cover crop.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/webp bytes","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"jp_booth-header-1400x1000_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/jp/square-1200":{"post":{"operationId":"jp_square-1200","summary":"Use when Square 1200x1200 webp: jp square post, instagram square, cover crop.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/webp bytes","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"jp_square-1200_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/jp/thumb-644x910":{"post":{"operationId":"jp_thumb-644x910","summary":"Use when Portrait thumbnail 644x910 jpeg: 同人 一覧 サムネ 縦長, jp listing thumb.","tags":["adult"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"jp_thumb-644x910_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["adult"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/contact-sheet":{"post":{"operationId":"thumbs_contact-sheet","summary":"Contact sheet: contact sheet generator, thumbnail grid, filmstrip overview of one image, 3x3 grid.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_contact-sheet_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/thumbnail":{"post":{"operationId":"thumbs_thumbnail","summary":"Thumbnail generator: generate thumbnail, make a thumb, small preview jpeg, 256px thumb.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_thumbnail_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/filter/pixelate":{"post":{"operationId":"filter_pixelate","summary":"Pixelate image: pixelate, pixel art downscale, blocky censor, 8-bit look.","tags":["filter"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"filter_pixelate_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["filter"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/fix-orientation":{"post":{"operationId":"clean_fix-orientation","summary":"Fix sideways photo: rotate photo upright, auto orient, orientation fix alias.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_fix-orientation_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/resize/resize-image":{"post":{"operationId":"resize_resize-image","summary":"Resize image: scale an image, downscale to 1024px long edge, image resizer.","tags":["resize"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"resize_resize-image_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["resize"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/remove-metadata":{"post":{"operationId":"clean_remove-metadata","summary":"Remove metadata: strip all EXIF and metadata, metadata remover, clean photo.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_remove-metadata_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/image-dimensions":{"post":{"operationId":"analyze_image-dimensions","summary":"Image dimensions: width height and aspect ratio of an image, image size reader.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_image-dimensions_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/duplicate-photos":{"post":{"operationId":"analyze_duplicate-photos","summary":"Duplicate photos: perceptual hash to find duplicate images, near-duplicate detector, image dedupe.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_duplicate-photos_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/dominant-color":{"post":{"operationId":"analyze_dominant-color","summary":"Dominant color: extract dominant colors from an image, color palette k-means, hex colors.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_dominant-color_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/image-to-webp":{"post":{"operationId":"convert_image-to-webp","summary":"Image to WebP: convert image to webp, png to webp, jpg to webp, smaller web images.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/webp bytes","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_image-to-webp_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/pad/pad-to-square":{"post":{"operationId":"pad_pad-to-square","summary":"Pad to square: letterbox an image to a square canvas without cropping.","tags":["pad"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"pad_pad-to-square_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["pad"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/thumbnail-generator":{"post":{"operationId":"thumbs_thumbnail-generator","summary":"Thumbnail generator: generate a thumbnail, make small preview jpeg.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_thumbnail-generator_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/og-image":{"post":{"operationId":"thumbs_og-image","summary":"OG image: open graph image 1200x630, social card image, twitter card preview png.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_og-image_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/youtube-thumbnail":{"post":{"operationId":"thumbs_youtube-thumbnail","summary":"YouTube thumbnail: 1280x720 thumbnail for youtube, video thumbnail png.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_youtube-thumbnail_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/avatar":{"post":{"operationId":"thumbs_avatar","summary":"Avatar maker: square avatar crop 400x400, profile picture, round-ready png.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_avatar_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/wordpress-thumbnail":{"post":{"operationId":"thumbs_wordpress-thumbnail","summary":"WordPress thumbnail: 300px post thumbnail png for wordpress media, featured image size.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_wordpress-thumbnail_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/favicon":{"post":{"operationId":"convert_favicon","summary":"Favicon maker: 64x64 png favicon from an image, site icon, apple touch icon base.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_favicon_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/screenshot-compress":{"post":{"operationId":"convert_screenshot-compress","summary":"Compress screenshot: shrink a screenshot to webp, lossless-ish size cut, lighter uploads.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/webp bytes","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_screenshot-compress_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/thumbs/product-photo":{"post":{"operationId":"thumbs_product-photo","summary":"Product photo thumbnail: square 800x800 catalog image crop for shops, listing photo.","tags":["thumbs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"thumbs_product-photo_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["thumbs"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/remove-background-white":{"post":{"operationId":"clean_remove-background-white","summary":"White background flatten: composite transparent image on white, flatten alpha to white for marketplaces.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_remove-background-white_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/heic-to-jpg":{"post":{"operationId":"convert_heic-to-jpg","summary":"HEIC to JPG: convert iPhone HEIC/HEIF photo to jpeg for web upload, heic converter.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/jpeg bytes","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_heic-to-jpg_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/crop-box":{"post":{"operationId":"clean_crop-box","summary":"Crop to box: crop an image to exact pixel box l,t,w,h, manual crop.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_crop-box_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/rotate90":{"post":{"operationId":"clean_rotate90","summary":"Rotate 90 degrees clockwise: rotate image 90, turn photo sideways.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_rotate90_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/rotate180":{"post":{"operationId":"clean_rotate180","summary":"Rotate 180 degrees: flip image upside down, rotate half turn.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_rotate180_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/clean/rotate270":{"post":{"operationId":"clean_rotate270","summary":"Rotate 270 degrees: rotate image 90 counterclockwise, turn photo left.","tags":["clean"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"clean_rotate270_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["clean"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/qr-scan":{"post":{"operationId":"analyze_qr-scan","summary":"QR code scan: decode QR codes and barcodes from an image, read qr, barcode reader.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_qr-scan_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/analyze/main-image":{"post":{"operationId":"analyze_main-image","summary":"Main image detect: extract og:image and twitter:image main photo URL from a page, page preview image.","tags":["analyze"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the HTML page to inspect"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"json result","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"analyze_main-image_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["analyze"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/image-to-pdf":{"post":{"operationId":"convert_image-to-pdf","summary":"Image to PDF: turn a jpg or png into a single-page PDF, image to pdf converter.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"application/pdf bytes","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_image-to-pdf_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/convert/pdf-to-png":{"post":{"operationId":"convert_pdf-to-png","summary":"PDF to PNG: render page 1 of a PDF as a png image, pdf page preview, pdf thumbnail.","tags":["convert"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"convert_pdf-to-png_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["convert"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/rounded-corners":{"post":{"operationId":"geometry_rounded-corners","summary":"Rounded corners: round the corners of an image, radius r, app icon shape, transparent png.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_rounded-corners_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/geometry/add-border":{"post":{"operationId":"geometry_add-border","summary":"Add border: add a solid frame around an image, white border w px, photo frame.","tags":["geometry"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"image bytes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"server-side fetch of the source image"},"base64":{"type":"string","description":"base64 image bytes"},"data":{"type":"string","description":"data: URL"}}}}}},"responses":{"200":{"description":"image/png bytes","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required (x402 v2). Body and PAYMENT-REQUIRED header both carry accepts[0]; sign it with EIP-3009 and resend the same body with header PAYMENT-SIGNATURE. Or send X-WALLET with prepaid credit.","$ref":"#/components/responses/PaymentRequired"},"422":{"description":"Unprocessable input; not charged (payment stays unsettled, prepaid credit is returned)"}}},"get":{"operationId":"geometry_add-border_smoke","summary":"Smoke test: same op, no body — runs on a bundled sample image while your free call lasts (200 + X-TRIAL: 1), otherwise 402.","tags":["geometry"],"responses":{"200":{"description":"real result for the bundled sample (free call)"},"402":{"description":"Payment Required for a real call","$ref":"#/components/responses/PaymentRequired"}}}},"/v1/pricing":{"get":{"operationId":"pricing","tags":["credits"],"summary":"Price list for every operation and the credit packs (free).","responses":{"200":{"description":"{\"usdc\":{op:price},\"packs\":{…}}"}},"security":[]}},"/v1/credits/trial":{"get":{"operationId":"credits_trial","tags":["credits"],"summary":"0.35 USDC free credit, once per wallet, no signature. Without ?wallet it returns a key recipe instead of 400.","description":"Real budget, not a demo: ~87 analyze calls, 18 NSFW mosaics or 3 batch jobs of 20 files. Claim, then resend the same body with X-WALLET.","parameters":[{"name":"wallet","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"granted with ?wallet, or {trial_url, how_to_get_a_wallet, then} without it"}},"security":[]}},"/v1/credits/balance":{"get":{"operationId":"credits_balance","tags":["credits"],"summary":"Prepaid credit balance of a wallet (free).","parameters":[{"name":"wallet","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"{\"wallet\",\"usdc\"}"}},"security":[]}},"/v1/credits/purchase":{"post":{"operationId":"credits_purchase","tags":["credits"],"summary":"Buy a prepaid credit pack over x402; credit goes to the signing wallet (credited_to).","x-payment-info":{"price":{"mode":"dynamic","currency":"USD","amount":"5","unit":"pack price: 5 | 20 | 50 USDC"},"protocols":[{"x402":{}}]},"parameters":[{"name":"pack","in":"query","required":false,"schema":{"type":"string","enum":["5","20","50"],"default":"5"}}],"responses":{"200":{"description":"{\"credited_to\",\"creditedUsdc\",\"balance\",\"tx\"}"},"402":{"description":"Payment Required"}}}},"/v1/credits/deposit":{"post":{"operationId":"credits_deposit","tags":["credits"],"summary":"Turn a plain USDC transfer to payTo (min 1 USDC, Base) into credit by its tx hash. No x402 client needed.","parameters":[{"name":"tx","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},{"name":"wallet","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"{\"wallet\",\"creditedUsdc\",\"balance\",\"tx\"}"},"400":{"description":"not a USDC transfer to payTo, reverted, or below 1 USDC"},"404":{"description":"tx not found yet"},"409":{"description":"tx already credited"}},"security":[]}},"/v1/jobs/download":{"get":{"operationId":"jobs_download","tags":["jobs"],"summary":"Download the zip of a batch job (free; results are deleted shortly after the first download).","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"zip","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"unknown job or no output yet"}},"security":[]}},"/v1/transfer/send":{"post":{"operationId":"transfer_send","summary":"Move USDC on Base to any address gaslessly via EIP-3009 (no ETH needed).","tags":["transfer"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","amount":"0.01..50"},"protocols":[{"x402":{}}]},"parameters":[{"name":"to","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"amount","in":"query","required":false,"schema":{"type":"number","minimum":0.01,"maximum":50,"default":1}}],"responses":{"200":{"description":"{\"success\":true,\"transaction\":\"0x…\"}"},"402":{"description":"Payment Required"},"422":{"description":"Bad address or amount"}}}},"/v1/jobs/submit":{"post":{"operationId":"jobs_submit","summary":"Batch up to 100 files in one paid job; poll /v1/jobs/status, download a zip.","tags":["jobs"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","amount":"0.10","unit":"0.10 USDC per request, up to 20 files included; above 20 files 0.10 + 0.005 × (n − 20); max 100 files per request (0.50 USDC)"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["op_id","files"],"properties":{"op_id":{"type":"string","description":"image operation id, e.g. resize/w512"},"params":{"type":"string","description":"optional params string, e.g. w=512"},"files":{"type":"array","description":"repeat the `files` field once per file (1-100)","items":{"type":"string","format":"binary"}}}}}}},"responses":{"200":{"description":"{\"jobId\":\"…\"}"},"402":{"description":"Payment Required"},"422":{"description":"Bad op or too many files"}}}},"/v1/jobs/status":{"post":{"operationId":"jobs_status","summary":"Poll a job by id (JSON {\"id\"} or ?id=).","tags":["jobs"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}}}}}},"responses":{"200":{"description":"job state"},"404":{"description":"unknown job"},"402":{"description":"Payment Required"}}}}}}