SwapTxt SwapTxt
Developer Platform

Automate image text editing with OpenAPI 3.1.

Integrate SwapTxt OCR and typography-preserving text replacement into your e-commerce, CMS, or localization pipeline with signed webhooks and idempotent jobs.

Three endpoints to localize images at scale

Submit JPEG, PNG, or WebP images via public URL, base64, or multipart upload. SwapTxt detects text lines with 0–1000 bounding boxes, queues up to 10 concurrent jobs per account, and delivers Result A, Result B, and 4K Result C via polling or HMAC-SHA256 webhooks.

POST https://swaptxt.com/v1/edits
Authorization: Bearer <API_KEY>
{"image_url":"https://example.com/poster.png","replacements":[{"from":"WINTER EDIT","to":"SPRING EDIT"}]}

Developer Resources