Skip to main content
gemini-3.1-flash-image-preview-c is Google’s image generation model, available through Starrise AI via the native Gemini API. It supports text-to-image generation and image editing with reference images.

Key Capabilities

  • Text-to-image — Generate images from text descriptions
  • Image editing — Pass a reference image via inline_data combined with text instructions for editing
  • Aspect ratio control1:1, 4:3, 3:4, 16:9, 9:16
  • Resolution control512 (512px), 1K (~1024px), 2K (~2048px), 4K (~4096px, by longest side)
  • Multimodal output — Return both image and text description via responseModalities: ["TEXT", "IMAGE"]

Text-to-Image Example

Image Editing Example (with Reference Image)

Pass both a text instruction and an inline_data reference image in the same parts array.

Parameters

API Reference

View the interactive API Playground for gemini-3.1-flash-image-preview-c.