تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

google-gemini-media

بواسطة xsir0

Image & Video Generation
3.0kالتنزيلات وفق ما يذكره clawskills.sh
5النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Use the Gemini API.

الوصف

ما الذي تفعله هذه المهارة

Consolidates six Gemini API capabilities into Node.js and REST templates: image generation and editing (Nano Banana), video generation (Veo 3.1), text-to-speech, and understanding workflows for images, video, and audio. Covers model selection, inline vs Files API input routing, and binary output handling for each capability.

Combining generation and understanding in a single API family removes the need to integrate separate services for image, video, audio, and TTS tasks.

متى تستخدمها

  • Generating and iteratively editing product images from text prompts
  • Creating podcast or audiobook narrations with controllable voice style and accent
  • Summarizing long videos with timestamped event extraction
  • Transcribing meeting audio and redelivering it as a polished narration
  • Validating AI-generated images by running them through vision understanding in the same pipeline

مثال على سير العمل

الإدخال

User asks: Generate a cinematic 8-second video of a cat astronaut on the moon and produce a narration script from it

الوكيل
  1. 1

    Call Veo 3.1 with the prompt and resolution config, receiving an async operation ID

  2. 2

    Poll the operation with exponential backoff until generation completes, then download the MP4

  3. 3

    Upload the video via the Files API to obtain a reusable file URI

  4. 4

    Call video understanding with a timestamped summary prompt to extract a storyboard

  5. 5

    Pass the storyboard text to Gemini TTS to generate a narration PCM audio file

الإخراج

An MP4 video file and a PCM audio narration summarizing the video's key scenes with timestamps

المتطلبات

  • GEMINI_API_KEY environment variable

التثبيت

clawhub install xsir0/google-gemini-media

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط