dsc__ShowImageWatermarkWithImageByAddress
Extracts an embedded image watermark from a supported image stored in Huawei Cloud OBS and saves the extracted watermark image to a specified OBS location.
Instructions
[DSC] 对指定存储地址信息(目前支持华为云OBS)的已嵌入图片暗水印的图片提取图片暗水印,提取出的水印图片将存放在用户指定的位置(目前支持华为云OBS),支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_watermark": "<image_watermark>",
"project_id": "<project_id>",
"region_id": "<region_id>",
"src_file": "<src_file>"
},
"name": "dsc__ShowImageWatermarkWithImageByAddress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src_file | Yes | 待提取图片暗水印的图片地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 | |
| region_id | Yes | 项目所在region的id,如:xx-xx-1。 | |
| project_id | Yes | 项目ID | |
| image_watermark | Yes | 提取出来的水印图片存放地址,格式要求同src_file。 |