Allow PNG output format in image generation for transparency support

This commit is contained in:
Alex Gleason committed 2026-03-17 17:43:56 -05:00
1 parent 3741782c62
commit 119b28d0f5
1 file changed
+1 -1
+1 -1
View File
@@ -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