Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGNES_API_KEYYesYour Agnes API key for image/video generation. Can be set in MCP environment, system environment, or .env file, or overridden per-request by the api_key tool argument.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate or edit an image with agnes-image-2.5-flash. Always returns a URL (or base64).

中文触发:当用户说「agnes生图 / 生成图片 / 做张图 / 文生图 / 图生图 / 改图 / 多图合成」时调用此工具。 Trigger: agnes generate image / text-to-image / image-to-image / edit image.

Presets: size 1K(fast/cheap) / 2K(default, wallpaper 16:9=2624x1472) / 3K / 4K(max quality). ratio 16:9 default (wallpaper), 1:1 social, 9:16 vertical, 21:9 ultrawide. Pass images (public URL or Data URI) for image-to-image / multi-image compose; omit it for pure text-to-image. save_path is optional: when given, the result is also downloaded locally.

Examples:

  • 纯文生图:prompt="赛博朋克夜景壁纸", size="2K", ratio="16:9"

  • 带图改图:prompt="改成雨夜霓虹风格,保持构图", images=["https://.../a.png"]

create_videoA

Create an async agnes-video-2.5-flash task (RECOMMENDED). Returns video_id; poll with query_video.

中文触发:当用户说「生视频 / 生成视频 / 做个视频 / 图生视频 / 首尾帧 / 参考图视频」时优先调用此工具(异步默认,避免IDE超时)。 Trigger: agnes generate video (async) / text-to-video / image-to-video / keyframe.

mode text: pure text (no media). keyframe: first_frame and/or last_frame required. reference: images (<=5) and/or audios (<=3) required; use / in prompt. size is fixed 720P. seconds is a string "4".."12" (default "5").

Examples:

  • 纯文本生视频:prompt="未来城市街道", mode="text", seconds="5"

  • 首尾帧:prompt="街道由白天变为夜晚", mode="keyframe", first_frame="https://.../a.png"

query_videoA

Query an agnes-video-2.5-flash task. Returns status/progress and video_url when completed.

中文触发:视频创建后,用此工具按 video_id 轮询进度(配合 create_video 使用)。

generate_videoA

Create a video task and block-poll until completed/failed (compat; may hit client timeouts).

⚠️ 同步阻塞(易超时):开源推荐用 create_video + query_video;此工具仅为短视频兼容保留。 中文触发:仅当用户明确说「一步到位 / 直接等视频结果」时才用,否则用 create_video。 Trigger (compat): agnes generate video sync; prefer async create_video + query_video.

Same params as create_video plus poll_interval (default 2s) and timeout_seconds (default 600s). On timeout, reuse video_id with query_video.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/JasonOracle/agnes-2.5-flash-mcp'

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