MCP Tools
Media Tools
1 MCP tool for AI image generation. Generate images for article hero and inline media blocks using FLUX 1.1 Pro.
Images are generated using FLUX 1.1 Pro via Replicate and stored in Supabase Storage. Only works with media blocks (B-40 Hero Image or B-14 Inline Image).
aeo_generate_image
Generate an AI image for a media block using FLUX 1.1 Pro. Automatically determines dimensions based on block type (hero vs inline) unless overridden. Optionally accepts a reference image to guide style and composition.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
execution_id | string | Required | Pipeline execution ID the media block belongs to |
instance_id | string | Required | Media block instance ID (B-40 Hero Image or B-14 Inline Image) |
prompt_override | string | Optional | Custom prompt instead of the block's default prompt |
width | number | Optional | Image width in pixelsDefault: 1200 (hero) / 800 (inline) |
height | number | Optional | Image height in pixelsDefault: 630 (hero) / 450 (inline) |
reference_image_url | string | Optional | URL of a reference image to guide style and composition |
reference_strength | number | Optional | How strongly to follow the reference image (0 to 1)Default: 0.1 |
raw | boolean | Optional | Skip the photorealistic prefix and use the prompt as-is |
Hero Image Example
Response
Using Reference Images
Pass a reference_image_url to guide the generated image toward a specific style, brand palette, or composition. The reference_strength parameter controls the balance between creative freedom and fidelity to the reference - lower values give more creative latitude.
Inline Image with Reference
Response