{"category":"image","endpoint":"https://setget.net/v1/tools/image-text-overlay","examples":[{"input":{"image":"sample.jpg","text":"Hello world"},"title":"Centred text"},{"input":{"image":"sample.jpg","outline":"#000000","position":"bottom","size":28,"text":"Top line\nSecond line"},"title":"Two outlined lines at the bottom"},{"input":{"box":"#000000cc","color":"#ffffff","image":"sample.png","size":48,"text":"SALE","x":20,"y":20},"title":"On a dark box at a fixed spot"}],"input_schema":{"additionalProperties":false,"properties":{"box":{"description":"Colour of a filled box behind the text, for example #00000080 for half-transparent black. Leave empty for none.","examples":["#00000080"],"maxLength":30,"type":"string"},"color":{"default":"#ffffff","description":"Colour of the text. Add two more hex digits for see-through text, such as #ffffff80. A hex colour such as #ff8800, or a name such as white or black.","examples":["#ffffff"],"type":"string"},"image":{"description":"The image to write on.","format":"setget-file","type":"string","x-accept":["image"]},"outline":{"description":"Colour of a thin outline around the letters, which keeps text readable on busy pictures. Leave empty for none.","examples":["#000000"],"maxLength":30,"type":"string"},"position":{"default":"center","description":"Where to put the text when x or y is not given.","enum":["top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"],"type":"string"},"size":{"default":32,"description":"Height of the text in pixels.","maximum":1000,"minimum":6,"type":"integer"},"text":{"description":"The text to draw. Use line breaks (or \\n) for several lines. Latin, Greek or Cyrillic letters, digits and punctuation.","examples":["Hello world"],"maxLength":1000,"type":"string"},"x":{"description":"Left edge of the text, in pixels from the left of the image. Leave empty to use position.","examples":[20],"minimum":0,"type":"integer"},"y":{"description":"Top edge of the text, in pixels from the top of the image. Leave empty to use position.","examples":[20],"minimum":0,"type":"integer"}},"required":["image","text"],"type":"object"},"keywords":["add text","caption","label","meme","title","write on image","annotate","text on photo","overlay"],"related":["image-watermark","image-redact","image-pad"],"slug":"image-text-overlay","summary":"Write text on an image at a position you choose, with size, colour, an outline or a background box. Multi-line.","tier":"job","timeout_seconds":120,"title":"Add text to an image","url":"https://setget.net/tools/image-text-overlay"}
