Watermark Image

POST /watermark/image

Request

Parameter Description Type Required Default
file Image file file yes
text Watermark text string yes
font Text font string no dancing_script
size Text size number no 16
color Text color string no #FFF
opacity Watermark opacity number no 50
position Watermark position string no bottom_left
margin Watermark margin number no 50

Font values

  • courgette
  • dancing_script
  • kalam

Position values

  • top_left
  • top_center
  • top_right
  • bottom_right
  • bottom_center
  • bottom_left
  • center

Response

Parameter Description Type
id File id String
name File name String
size File size String
url Download URL String

File id can be used to download the file using download API.

© 2018 LabStack. All Rights Reserved.