generate_favicons
Generate a full favicon package from a text prompt or existing image. Creates PNG sizes, a web manifest, and optional README, then writes files or a ZIP bundle.
Instructions
Generate a full favicon package from a prompt or an existing image. Creates PNG sizes, a web manifest, and optional README, then writes files and/or a ZIP bundle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use when generating the master icon from a prompt. | gemini-3-pro-image-preview |
| prompt | No | Text description for generating a master icon (square). Required if imagePath is not provided. | |
| appName | No | Manifest app name. Default: My App. | |
| imagePath | No | Path to an existing master icon image. If provided, prompt is optional. | |
| outputDir | No | Directory to write individual favicon files. | |
| shortName | No | Manifest short name. Default: App. | |
| outputPath | No | File path to save the favicon ZIP package. | |
| themeColor | No | Manifest theme color. Default: #ffffff. | |
| includeReadme | No | Include README.md in the package. | |
| backgroundColor | No | Manifest background color. Default: #ffffff. | |
| returnZipBase64 | No | When true and outputPath is not provided, return the ZIP as base64 text. |