gemini-omni-flash-api
यह क्या करती है
यह tool text या images से video बनाता है, और मौजूदा videos को edit भी करता है। यह किसी video को अलग style में बदल सकता है या एक image से animation बना सकता है।
कब इस्तेमाल करें
- ✓एक विवरण से छोटा video बनाना।
- ✓एक image को animated video में बदलना।
- ✓छोटे video का style बदलना।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/gemini-omni-flash-api/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एनीमे style में चाय पीती हुई बिल्ली का video बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप वह video बताते हैं जो चाहिए, या base के रूप में image/video देते हैं। tool आपके निर्देशों के आधार पर एक खास model से video बनाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Gemini Omni Flash Skill
When to Use
Use this skill when you need use this skill for generative video editing, text-to-video, image-referenced video generation, and first-frame-to-video transition animations using the official google-genai SDK. Includes workflows for pre-processing/optimizing high-resolution or long source videos with ffmpeg,...
This skill uses the Gemini Omni Flash model (gemini-omni-flash-preview) to perform text to video generation, image to video generation and video editing.
[!WARNING] Important Regional Restrictions: Uploading videos to use for video edits is NOT available in the EEA, Switzerland, the United Kingdom, and some US states. If a video-to-video edit completes quickly with empty outputs (
total_output_tokens: 0or no video content), it is likely due to this restriction.
Core capabilities
- Video editing and refinement: Editing existing videos (maximum duration 10 seconds), applying stylistic changes, or performing inpainting/outpainting.
- Text to video: Generating videos from a text prompt.
- First-frame to video: Generating videos from a single input image.
- Image-referenced generation: Using style, character, or object references from images to guide video generation.
Workflow
Analyze request: Determine the target task (e.g., first-frame-to-video, reference-guided editing) and identify any input media assets.
Run SDK scripts:
- Directly run the appropriate utility (
scripts/video/generate_video.pyorscripts/upload_file.py). - Configure settings like
--aspect-ratio(e.g.16:9,9:16) and--duration(any integer between3and10seconds, e.g.3,5,10).
- Directly run the appropriate utility (
Retrieve and process output: Outputs are saved to the local filesystem (e.g.
media/). Report back the completed media path to the user.
Reference Documentation
- Interactions API: All operations and state management for the Gemini Omni Flash model (
gemini-omni-flash-preview) are handled via the Interactions API. - Files API: Input media files (such as reference images and videos) must be uploaded via the Files API first before being referenced in generations. The uploaded file URI and MIME type are then included in the
interactions.createinput parts array. - Interactions API Skill Reference: Platform-wide guidelines, current model specifications, and SDK usage rules for the Interactions API.
Dependencies and Prerequisites
- Python SDK (
google-genai): Requiresgoogle-genai >= 2.10.0(Python) to support the newinteractionsclient attribute. Install or upgrade using:pip install -U google-genai - Python Runtime: Requires Python >= 3.10 (for compatibility with modern
google-genaiSDK types and methods). - ffmpeg & ffprobe:
prep_video.py,inspect_video.py, andgenerate_video.py(when stripping audio via--strip-audio) requireffmpegandffprobebinaries installed and available in your systemPATH.
Available scripts
Use the following Python scripts to upload media with the Files API, prepare input videos with ffmpeg, and generate video outputs using the Interactions API.
upload_file.py: Uploads local media (images and videos) to the Files API and polls until
ACTIVE. If uploading a video larger than 25MB, it prints an informative warning/tip highlighting that Gemini Omni Flash is optimized for editing 10s videos at 720p/24fps, and recommends pre-processing withprep_video.pyfirst to speed up the upload../scripts/upload_file.py path/to/image.pnggenerate_video.py: Performs end-to-end video generation and downloads the output video. It detects and uploads local media references (images or videos) before calling the Interactions API. Large video assets (>25MB) will trigger informative pre-processing recommendations without blocking the upload.
Text to video:
./scripts/video/generate_video.py "A close-up of a cat drinking tea" --output media/cat_tea.mp4Image to video (first frame and reference):
…
अक्सर पूछे जाने वाले सवाल
क्या मैं लंबे videos edit कर सकता हूं?
यह tool 10 सेकंड तक के videos के लिए optimized है।
क्या मैं दुनिया में कहीं से भी videos इस्तेमाल कर सकता हूं?
कुछ regions (जैसे EU, UK और कुछ US states) में editing के लिए videos upload नहीं किए जा सकते। अगर video output खाली है, तो इस पाबंदी की वजह हो सकती है।
क्या मुझे कुछ install करना होगा?
हां, आपके पास Python installed होना चाहिए और ffmpeg जैसे कुछ tools भी होने चाहिए।
जानकारी
लेखक का मूल विवरण
Use this skill for generative video editing, text-to-video, image-referenced video generation, and first-frame-to-video transition animations using the official google-genai SDK.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4710
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
taste-application
280kयह आपके एजेंट को किसी खास style में videos बनाने में मदद करता है। यह किसी reference video की editing rhythm कॉपी कर सकता है, नए scenes बना सकता है, colors ठीक कर सकता है, और सब कुछ दूसरे footage के साथ जोड़कर edit कर सकता है।
taste-distillation
280kयह आपके एजेंट को videos का विश्लेषण करके style pack बनाने देता है। इसमें colors, cutting rhythm और visual elements शामिल होते हैं, जिन्हें नई videos में उसी look के साथ दोबारा इस्तेमाल किया जा सकता है।
ui-demo
280kयह आपके एजेंट से साफ-सुथरे UI demo videos रिकॉर्ड करवाता है। tutorials बनाने या यह दिखाने के लिए उपयोगी है कि web app कैसे काम करता है।