Source: https://web.archive.org/web/20260803052552/https://ai.google.dev/gemini-api/docs/generate-content/text-generation Last updated: 2026-07-30 UTC
The Gemini API can generate text output from text, images, video, and audio inputs.
Here's a basic example: