Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OUTPUT_DIRNoDirectory for output videos~/gemini_omni_videos
GEMINI_API_KEYYesYour Google Gemini API key
MAX_BATCH_SIZENoMaximum batch size for batch generation
REQUEST_TIMEOUTNoTimeout for API requests
DEFAULT_DELIVERYNoDefault delivery method (uri or inline)
FILE_POLL_TIMEOUTNoPoll timeout for file operations
FILE_POLL_INTERVALNoPoll interval for file operations
DEFAULT_ASPECT_RATIONoDefault aspect ratio for videos
DEFAULT_DURATION_SECONDSNoDefault duration in seconds

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_videoA

Generate or edit MP4 videos with Gemini Omni Flash.

Capabilities:

  • text_to_video: prompt-only video with generated audio.

  • image_to_video: one reference image plus motion and camera direction.

  • reference_to_video: multiple reference images for subjects, style, or props.

  • edit: use previous_interaction_id or input_video_path to edit existing video.

Parameters:

  • prompt: Describe the scene, motion, camera movement, lighting, mood, and audio.

  • task: text_to_video, image_to_video, reference_to_video, or edit. If omitted, inferred.

  • aspect_ratio: 16:9 landscape or 9:16 portrait.

  • duration_seconds: Optional 3 to 10 second target. If the API rejects this preview field, retry without it.

  • reference_image_paths: Up to 6 local images. Use or tags in the prompt for control.

  • input_video_path: Local MP4 to upload and edit through the Files API.

  • delivery: uri is recommended for generated MP4 files; inline is supported for smaller payloads.

  • previous_interaction_id: Continue editing a prior generated video.

  • enhance_prompt: Optional, default false. For edits, simple prompts usually work better.

Prompt tips:

  • Ask for "single continuous shot" and "no scene cuts" when you want one scene.

  • Include explicit audio direction such as "gentle ambient room tone, no dialogue".

  • For edits, say "Keep everything else the same".

  • Timing cues like [0-3s], [3-6s], [6-10s] are supported.

Limitations:

  • Output is MP4, currently 720p at 24fps, SynthID-watermarked, and preview quality.

  • System instructions, temperature, top_p, stop sequences, negative_prompt, voice edits, YouTube sources, and multi-video reasoning are unsupported.

  • Uploaded-video editing is unavailable in some regions.

Returns JSON including video.path, interaction_id, task, aspect_ratio, delivery, size, and URI metadata. After success, open video.path with the native OS video viewer.

batch_generateA

Generate multiple Gemini Omni Flash videos in conservative parallel batches.

Use for storyboards, aspect-ratio comparisons, or reference-guided variations. Batch size defaults to configuration and is capped at 4 because video jobs are long. The JSON response includes per-prompt video.path, interaction_id, metadata, and errors.

Prompts

Interactive templates invoked by user choice

NameDescription
continuous_cinematic_sceneSingle-shot cinematic scene prompt for generate_video.
image_to_video_motionReference-image motion prompt for generate_video.
timed_sequenceTimed 10-second sequence prompt.
edit_instructionSimple video-edit prompt for previous_interaction_id workflows.
batch_storyboardStoryboard prompt list for batch_generate.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikships/gemini-omni-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server