Generate cohesive images for one page
generate_page_imageReads a web page and generates two thematically matching images (landscape and portrait) without text or recognizable faces, using a local image generation model.
Instructions
Reads a single web page, extracts its theme/content, and generates two cohesive images representing it (16:9 landscape and 9:16 portrait) via a local Draw Things instance (Flux Schnell, must be running with its API server enabled on http://127.0.0.1:7860 — no cloud dependency, no API key), saved into a folder named after the page title. The prompt forbids text and human faces, and two local offline detectors (OpenCV YuNet for faces, EAST for text) verify each result, retrying with a new seed up to 3 times if either is detected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page to read | |
| outDir | No | Base directory under which the page's folder will be created (defaults to ~/Desktop/MCP/output) | |
| styleHint | No | Optional visual style guidance, e.g. 'minimalist flat illustration' or 'moody photography' |