Gemini Omni Python SDK
Official Python SDK for Gemini Omni — the next-generation unified multimodal AI video generation and conversational video editing platform.
🎬 Online Studio & Generator: Experience the full web interface at https://gemini-omni.dev.
✨ Features
- Text-to-Video & Image-to-Video: Native support for multimodal video prompts.
- Cinematic Quality: 720p, 1080p, and 4K output formats with selectable aspect ratios (
16:9,9:16,1:1). - Character Consistency: Preserve subject identity and style using reference images.
- Zero Dependencies: Lightweight SDK using pure Python standard libraries.
- Full Type Hinting: Comprehensive typing support for IDE autocomplete.
📦 Installation
pip install gemini-omni-client
🚀 Quick Start
1. Generate Video from Text Prompt
from gemini_omni import GeminiOmniClient
client = GeminiOmniClient()
# Submit a cinematic video generation task
task = client.generate_video(
prompt="Cinematic tracking shot of a futuristic neon cyber-city at dusk, high-definition reflections in rainwater, 4K resolution",
aspect_ratio="16:9",
resolution="1080p",
)
print(f"Task successfully submitted! Task ID: {task.get('taskId')}")
2. Check Generation Status
task_status = client.get_task(task_id="YOUR_TASK_ID")
print("Status:", task_status.get("status"))
if task_status.get("videoUrl"):
print("Video Output URL:", task_status.get("videoUrl"))
🔗 Official Links & Resources
- Official Web Platform: https://gemini-omni.dev
- Prompt Library: https://gemini-omni.dev/prompts
- Model Specs & Benchmark: https://gemini-omni.dev/gemini-omni-1-1-flash
- Source Code & Issues: https://github.com/lidong-tools/website-gemini-omni-dev
📄 License
MIT © Gemini Omni
Metadata
Release files for gemini-omni-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gemini_omni_client-1.0.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gemini_omni_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / gemini_omni_client-1.0.0.tar.gz
| Download URL | gemini_omni_client-1.0.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae88e772349c1b1399116388a26e86402eb3d21d2b1dbc8bad94a716f35f66ff
|
|
BLAKE2b-256 checksum How to use checksums |
384d5da92029eedaa204f8b16099e8ad8ef2c766555fc4a408725b9817701316
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.3
|
Release files / gemini_omni_client-1.0.0-py3-none-any.whl
| Download URL | gemini_omni_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e599f4dab16f82fca9fcc4c31248a726592d61dc04de26f0f8e46ccc7ad4079e
|
|
BLAKE2b-256 checksum How to use checksums |
8bf760851740dc95840a889fd03e5af0bfbb2e0dbe27ea8ccff4175138659c75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.3
|