Embed watermark
curl --request POST \
--url https://yys-sqr-render-bsbe.onrender.com/api/embed \
--header 'Content-Type: application/json' \
--data '
{
"image": "<string>",
"message": "<string>"
}
'import requests
url = "https://yys-sqr-render-bsbe.onrender.com/api/embed"
payload = {
"image": "<string>",
"message": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({image: '<string>', message: '<string>'})
};
fetch('https://yys-sqr-render-bsbe.onrender.com/api/embed', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"watermarked_image": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"error": "Not found"
}Watermarking
Embed watermark
Embed an invisible watermark message into an image. The message can be up to 5 characters. Returns the watermarked image as base64.
POST
/
api
/
embed
Embed watermark
curl --request POST \
--url https://yys-sqr-render-bsbe.onrender.com/api/embed \
--header 'Content-Type: application/json' \
--data '
{
"image": "<string>",
"message": "<string>"
}
'import requests
url = "https://yys-sqr-render-bsbe.onrender.com/api/embed"
payload = {
"image": "<string>",
"message": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({image: '<string>', message: '<string>'})
};
fetch('https://yys-sqr-render-bsbe.onrender.com/api/embed', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"watermarked_image": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"error": "Not found"
}
