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"}]}
Authorization: Bearer <API_KEY>
{"image_url":"https://example.com/poster.png","replacements":[{"from":"WINTER EDIT","to":"SPRING EDIT"}]}
Developer Resources
- API Keys & Webhook Console — Create up to 5 API keys, inspect remaining edit/OCR balances, and rotate your webhook signing secret.
- API Quickstart & Reference — Endpoints, matching rules, queue limits, and webhook signature verification.
- OpenAPI 3.1 Specification (YAML) — Machine-readable contract for SDK generation and AI tooling.