generative-ai-js icon indicating copy to clipboard operation
generative-ai-js copied to clipboard

Add watermark support for imagen

Open junyanxu opened this issue 1 year ago • 1 comments

Add watermark support to imagen

Example curl:

curl https://generativelanguage.googleapis.com/v1beta/models/image-verification-001:predict?key=$API_KEY -H 'Content-Type: application/json' -X POST -d '{ "instances":[ { "image": {"bytesBase64Encoded": <RAW_IMAGE_BYTES>}} ], "parameters": {"watermarkVerification": true} }'

junyanxu avatar Oct 31 '24 16:10 junyanxu

Reference to: #276 #285 are we merging this soon?

tonycoco avatar Feb 13 '25 16:02 tonycoco