Change the text in an image
replace_textChange or remove text in a photo or screenshot and keep the same font, colour and background. Give each line to change as { from, to }: "from" is the text as it appears in the image, "to" the new text (empty to remove it). Up to 20 lines per image; 1 credit per image. The image is scanned first; if a "from" is not found, nothing is charged and the error lists the lines that were read. IDs, certificates, receipts, invoices and bank documents are refused. Waits up to 50 seconds; if still editing, call get_edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | Optional: where the text is when it appears more than once, e.g. "the line at the bottom". | |
| locale | No | Language of the person asking (for our statistics only). Default en. | |
| image_url | No | Public https URL of the image (PNG or JPG). | |
| image_base64 | No | The image as base64, with or without a data: prefix. Use when there is no URL. | |
| replacements | Yes | ||
| wait_seconds | No | How long to wait for the result before returning, 0 to 50 seconds. |