Skip to main content
Glama

generate_blog_image

Create AI-generated images for blog posts and social media platforms using platform-specific presets including Ghost, Medium, Instagram, Twitter, LinkedIn, and YouTube.

Instructions

Generate images for blog posts and social media using AI.

Available formats:

  • ghost-banner: Ghost Blog Banner (1200x675)

  • ghost-feature: Ghost Feature Image (HD) (2000x1125)

  • medium-ghost-spooky: Medium Ghost Spooky (2560x1440)

  • medium-banner: Medium Banner (1400x788)

  • substack-header: Substack Header (1456x816)

  • wordpress-featured: WordPress Featured (1200x675)

  • instagram-post: Instagram Post (1080x1080)

  • instagram-story: Instagram Story (1080x1920)

  • instagram-landscape: Instagram Landscape (1080x608)

  • twitter-post: Twitter/X Post (1200x675)

  • twitter-header: Twitter/X Header (1500x500)

  • linkedin-post: LinkedIn Post (1200x628)

  • linkedin-banner: LinkedIn Banner (1584x396)

  • facebook-post: Facebook Post (1200x630)

  • facebook-cover: Facebook Cover (820x312)

  • youtube-thumbnail: YouTube Thumbnail (1280x720)

  • youtube-banner: YouTube Banner (2560x1440)

  • square: Square (1024x1024)

  • square-hd: Square HD (2048x2048)

  • landscape: Landscape (1920x1080)

  • landscape-4k: Landscape 4K (3840x2160)

  • portrait: Portrait (1080x1920)

Examples:

  • Generate a Ghost blog banner: { "prompt": "A serene mountain landscape at sunset", "format": "ghost-banner" }

  • High quality Instagram post: { "prompt": "Minimalist coffee cup on marble", "format": "instagram-post", "quality": "high" }

  • YouTube thumbnail with title: { "prompt": "Exciting tech reveal", "format": "youtube-thumbnail", "title": "New iPhone 17 Review" }

IMPORTANT: Always specify an outputPath to save the image to a meaningful location. If omitted, images are saved to a generated-images/ directory in the current working directory with a timestamped filename.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the image to generate
formatNoPlatform preset: ghost-banner, ghost-feature, medium-ghost-spooky, medium-banner, substack-header, wordpress-featured, instagram-post, instagram-story, instagram-landscape, twitter-post, twitter-header, linkedin-post, linkedin-banner, facebook-post, facebook-cover, youtube-thumbnail, youtube-banner, square, square-hd, landscape, landscape-4k, portraitghost-banner
qualityNoQuality levelstandard
styleNoOptional style hint (e.g., 'photorealistic', 'illustration')
titleNoOptional blog post title for context
outputPathNoOptional path to save the image file
providerNoImage generation providergemini

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/12-days-of-shipmas-2025/day-1-image-generation-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server