AI SDK v5
Gemini Flash Image Edit
Generate and edit images using Gemini's gemini-2.5-flash-image-preview model. Create new images from text prompts or edit existing ones with natural language instructions. Images are exposed as files in the response with full editing capabilities.