crop_image
Crop images to specific dimensions by defining left, top, right, and bottom pixel boundaries. Ideal for precise image editing or extracting sections from a larger image source.
Instructions
裁剪图片
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bottom | Yes | 裁剪区域下边界坐标(像素) | |
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 | |
left | Yes | 裁剪区域左边界坐标(像素) | |
right | Yes | 裁剪区域右边界坐标(像素) | |
top | Yes | 裁剪区域上边界坐标(像素) |