upload_image
Upload images to Qiniu CDN, convert them to WebP format, and return optimized CDN URLs for use in blogs or websites.
Instructions
Upload a local or remote image to Qiniu CDN, convert to WebP format, and return the CDN URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Local file path or HTTP/HTTPS URL of the image to upload | |
| slug | Yes | The slug identifier for the filename (will be prefixed with date) | |
| path | No | Upload directory path on CDN (default: 'images') | images |