generate_image
Create blog cover images with Google Gemini AI, automatically convert to WebP format, upload to CDN, and return optimized image URLs for web use.
Instructions
Generate an image using Google Gemini AI, convert to WebP format, upload to Qiniu CDN, and return the CDN URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The text prompt describing the image to generate | |
| slug | Yes | The slug identifier for the filename (will be prefixed with date) | |
| path | No | Upload directory path on CDN (default: 'aigc/image') | aigc/image |