MakeItSay

v1.0.3
com.makeitsay/makeitsay Checked 4 days ago Published 8 days ago

Change the words in a screenshot or photo and keep the original font and layout.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

replace_text Change the text in an image

Change 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. Edits usually take about a minute; waits up to 50 seconds, and if still editing, call get_edit with wait_seconds 30.

ParameterTypeDescription
replacements *arrayList of text changes to apply as { from, to } pairs (1 to 20 items).
hintstringOptional: where the text is when it appears more than once, e.g. "the line at the bottom".
image_base64stringThe image as base64, with or without a data: prefix. Use when there is no URL.
image_urlstringPublic https URL of the image (PNG or JPG).
localestringLanguage of the person asking (for our statistics only). Default en.
wait_secondsintegerHow long to wait for the result before returning, 0 to 50 seconds.

scan_text Read the text in an image

Read every line of text in an image with its position (0 to 1000 from the top left). Free, but counts toward the scan limit. Use it to find the exact "from" text for replace_text.

ParameterTypeDescription
image_base64stringThe image as base64, with or without a data: prefix. Use when there is no URL.
image_urlstringPublic https URL of the image (PNG or JPG).

get_edit Get an edit

Status of an edit (pass wait_seconds up to 50 to wait until ready). When ready, result_url downloads the edited PNG for one hour. Free.

ParameterTypeDescription
edit_id *stringThe id returned by replace_text.
wait_secondsintegerHow long to wait for the result before returning, 0 to 50 seconds.

get_credits Credits left

Credits available on this MakeItSay account. One credit edits one image.