Lovable: GPT Image 2 and GPT Image 1 Mini via AI Connector

Lovable

Lovable's built-in AI connector now supports two new OpenAI image models: GPT Image 2 (openai/gpt-image-2) and GPT Image 1 Mini (openai/gpt-image-1-mini). Developers can use these models to build image generation and editing workflows β€” including product mockups, marketing visuals, thumbnails, and creative assets β€” directly inside their Lovable apps, without managing provider API keys.


Lovable's built-in AI connector has been expanded with support for two new OpenAI image generation models, enabling developers to build sophisticated image creation and editing workflows directly within their Lovable applications.

New Models Available

GPT Image 2 (openai/gpt-image-2)

GPT Image 2 is OpenAI's latest image generation model, featuring built-in reasoning capabilities that allow it to better understand complex prompts and visual requirements. Key improvements include significantly enhanced text rendering β€” a historically weak point in AI image generation β€” making it well-suited for creating marketing materials, product labels, and other visuals that include readable text.

GPT Image 1 Mini (openai/gpt-image-1-mini)

GPT Image 1 Mini is a cost-efficient variant optimized for applications that need to generate images at scale without incurring the full cost of the larger model. It delivers solid image quality at a fraction of the cost, making it appropriate for high-volume use cases like thumbnail generation, placeholder images, and bulk asset creation.

No API Key Management

Both models are accessible through Lovable's existing AI connector infrastructure, meaning developers do not need to separately manage OpenAI API keys or handle provider authentication. Lovable abstracts away the provider layer, allowing developers to focus on building their applications.

Use Cases

  • Product mockups: Generate photorealistic product images from descriptions, without professional photography.
  • Marketing assets: Create on-brand visuals for campaigns, ads, and social media content.
  • E-commerce visuals: Generate product thumbnails, lifestyle shots, and category images at scale.
  • Photo editing workflows: Use the models' inpainting and editing capabilities to modify existing images programmatically.
  • Creative assets: Generate illustrations, icons, and decorative elements for web and mobile apps.

The new models are available immediately to all Lovable users through the existing AI connector interface.