generate_placeholder_image
Placeholder Image — Generate a placeholder image at any dimension with custom background colour and label text. [category: generate]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Label text. Defaults to '<width> × <height>'. | |
| width | No | Pixels wide. >4096 clamps to 4096; 0/omitted = 640. The default label text shows the FINAL clamped size. | |
| format | No | Sets the response MIME (png/jpg/jpeg/webp). Unrecognized values get mislabeled as PNG — stick to the enum. | png |
| height | No | Pixels tall. >4096 clamps to 4096; 0/omitted = 480. | |
| bgColor | No | Background hex color, with or without '#'. Field name is 'bgColor' — not 'bg_color'. | 3B82F6 |
| fgColor | No | Label text hex color. Field name is 'fgColor' — not 'text_color'. | FFFFFF |