AI / Google Antigravity Gemini Fundamentals Interview Questions
What are the Gemini API's multimodal input capabilities?
Gemini models are natively multimodal - they can accept and reason across text, images, video, audio, and documents (PDFs) in a single request. This is a fundamental design characteristic, not a bolt-on feature.
| Modality | Supported formats | Notes |
|---|---|---|
| Text | Plain text, markdown | Always supported |
| Images | JPEG, PNG, WEBP, HEIC, HEIF | Up to ~3,600 per request (model-dependent) |
| Video | MP4, MOV, AVI, WMOV, MPEG, WebM, FLV | Up to 1 hour of video in context |
| Audio | MP3, WAV, FLAC, AAC, OGG, OPUS, WebM | Transcription, analysis, audio Q&A |
| application/pdf | Documents with text + embedded images | |
| Structured data | application/json, text/csv | Data files for analysis |
from google import genai from pathlib import Path client = genai.Client() # Upload a file via the Files API (for large files) my_video = client.files.upload(file=Path("presentation.mp4")) # Multimodal request: video + text question interaction = client.interactions.create( model="gemini-3.5-flash", input=[ {"type": "text", "text": "Summarise the key points from this video."}, {"type": "video", "uri": my_video.uri, "mime_type": "video/mp4"} ] ) print(interaction.output_text) # Image inline (base64 for small images, Files API for large): import base64 image_data = base64.b64encode(Path("diagram.png").read_bytes()).decode() interaction = client.interactions.create( model="gemini-3.5-flash", input=[ {"type": "text", "text": "Explain this architecture diagram."}, {"type": "image", "data": image_data, "mime_type": "image/png"} ] )
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
