generate_meme
Create custom meme images locally by describing the background and adding top and bottom text with an optional overlay. The tool automatically selects the best AI engine for your hardware.
Instructions
Generate a meme illustration locally. Automatically selects the best engine.
Apple Silicon: FLUX.2-klein via mflux (MLX acceleration)
NVIDIA GPU: FLUX.2-schnell via diffusers (CUDA)
Windows AMD/Intel: FLUX.2-schnell via diffusers (DirectML)
CPU fallback: Ollama vision model
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the meme base background | |
| seed | No | Random seed for deterministic generation. Defaults to -1 (random). | |
| width | No | Output image width. Defaults to 512. | |
| height | No | Output image height. Defaults to 512. | |
| overlay_image_path | No | Absolute path to a transparent PNG (e.g. your PFP cutout) to layer on top. | |
| top_text | No | Memetic text to draw at the top (impact font with stroke). | |
| bottom_text | No | Memetic text to draw at the bottom (impact font with stroke). | |
| font_style | No | Font family to use for meme text (e.g., 'Impact', 'Arial'). | Impact |
| format_type | No | The layout format for the meme (e.g., 'meme', 'demotivational'). | meme |
| visual_style | No | The artistic style of the generated background (e.g., 'Default', 'Photorealistic'). | Default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |