You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switched blog image generation to self-hosted Gemini API (remove Lovable gateway usage) and updated code to fetch/generate header images directly from internal CMS providers, uploading to Supabase storage and storing public URLs. This replaces Lovable API key usage with internal Gemini key-based integration.
X-Lovable-Edit-ID: edt-98f1bf2d-6f6e-4a42-89a8-7f4095144ac8
Co-authored-by: magnusfroste <38864257+magnusfroste@users.noreply.github.com>
messages: [{role: 'user',content: `Generate a professional, modern blog header image for an article titled "${title}" about "${topic}". The image should be visually striking, landscape oriented, suitable as a blog featured image. No text in the image.`}],
1424
-
modalities: ['image','text'],
1425
-
}),
1426
-
});
1418
+
constimgPrompt=`Generate a professional, modern blog header image for an article titled "${title}" about "${topic}". The image should be visually striking, landscape oriented, suitable as a blog featured image. No text in the image.`;
0 commit comments