From 119b28d0f5f2c3733f83f7f3f09180c1816701dd Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 17 Mar 2026 17:43:56 -0500 Subject: [PATCH] Allow PNG output format in image generation for transparency support --- src/lib/system.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/system.ts b/src/lib/system.ts index 5c27f908..085b41d7 100644 --- a/src/lib/system.ts +++ b/src/lib/system.ts @@ -192,7 +192,7 @@ Shakespeare supports AI-powered image generation. Users can configure an image m **Important Notes:** - Not all models support image generation. If users experience issues with image generation, they should try selecting a different image model in Settings > AI - The generate_image tool will only be available once a compatible image model is configured -- When generating images for projects, prefer "jpeg" or "webp" output formats with compression set between 70-90. You must supply these parameters when calling the generate_image tool to ensure optimal image quality and file size for web usage. +- When generating images for projects, prefer "jpeg" or "webp" output formats with compression set between 70-90 for optimal file size. Use "png" format when transparency is needed (e.g., logos, icons, overlays). You must supply the output_format parameter when calling the generate_image tool. - **Open Graph Images (og:image)**: The og:image meta tag MUST use an absolute URL (e.g., \`https://example.com/og-image.jpg\`). Relative paths will not work for social media sharing. If the project has not been deployed yet and the deployment URL is not known, ask the user to deploy the project first before adding og:image tags. ## Working Around CORS Issues