GEMINI LABJP
NANOLITE — Nano Banana 2 Lite is now available as the fastest, most cost-efficient Gemini Image modelOMNIFLASH — Gemini Omni Flash comes to the API in public preview for building custom, dynamic video workflowsAGENTS — Managed Agents arrives in the Gemini API, running autonomous agents in secure Google-hosted Linux sandboxesFILESEARCH — File Search now supports multimodal search via gemini-embedding-2, with media_id for visual citationsWEBHOOKS — Event-driven Webhooks replace polling for the Batch API and long-running operationsDEPRECATE — Older image generation models are deprecated and shut down on Aug 17, so plan your migrationNANOLITE — Nano Banana 2 Lite is now available as the fastest, most cost-efficient Gemini Image modelOMNIFLASH — Gemini Omni Flash comes to the API in public preview for building custom, dynamic video workflowsAGENTS — Managed Agents arrives in the Gemini API, running autonomous agents in secure Google-hosted Linux sandboxesFILESEARCH — File Search now supports multimodal search via gemini-embedding-2, with media_id for visual citationsWEBHOOKS — Event-driven Webhooks replace polling for the Batch API and long-running operationsDEPRECATE — Older image generation models are deprecated and shut down on Aug 17, so plan your migration
TAG

data normalization

1 articles
Back to all tags
Related:
Gemini API1structured output1responseSchema1batch processing1
Gemini API/2026-07-13Advanced

When an Optional Field Comes Back Three Ways: Null, Empty String, and Missing Key in Gemini Structured Output

Optional fields in Gemini structured output drift between null, empty string, and a missing key, and downstream code breaks in three different ways. Here is how I collapse all three into one shape using nullable in responseSchema and a post-output normalization gate, with numbers from a nightly batch.