← 返回 Skills 市场
534422530

Model Center

作者 534422530 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
39
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install model-center
功能描述
Unified interface to 42+ NVIDIA NIM API models — LLM chat, vision, embeddings, image generation, with price comparison and model recommendation.
使用说明 (SKILL.md)

NVIDIA AI Model Center

A Python skill that provides a unified interface to 42+ NVIDIA NIM API models — LLM chat, vision analysis, text embeddings, image generation, and more.

Quick Start

from model_center import ModelCenter

center = ModelCenter()

# List all models
models = center.list_models()
print("Available categories:", list(models.keys()))

# Get model info
info = center.get_model_info('nemotron-3-super-8b')
print(f"Model: {info['name']}, Provider: {info['provider']}")

# Compare pricing
comparisons = center.compare_pricing(['nemotron-3-super-8b', 'llama-3.1-70b-instruct'])
for c in comparisons:
    print(f"{c['name']}: ${c['input_price']}/M in, ${c['output_price']}/M out")

# Get recommendations
rec = center.recommend_model('code generation', 'low', False)
print(f"Recommended: {rec}")

# Estimate cost
cost = center.estimate_cost('nemotron-3-super-8b', 1000, 500)
print(f"Estimated cost: ${cost['total_cost']}")

# Chat with a model (requires NVIDIA_API_KEY env var)
# response = center.chat_completion(
#     model='nemotron-3-super-8b',
#     messages=[{'role': 'user', 'content': 'Hello'}],
#     temperature=0.7,
#     max_tokens=100
# )

Setup

  1. Get an API key from build.nvidia.com
  2. Set the NVIDIA_API_KEY environment variable:
    $env:NVIDIA_API_KEY = "nvapi-..."
    
  3. Install dependency: pip install requests
  4. Import and use ModelCenter or NVIDIAAPIClient from model_center.py

API

ModelCenter

Method Description
list_models(category) List all models or by category
get_model_info(model_id) Get detailed model information
compare_pricing(model_ids) Compare pricing across models
recommend_model(use_case, budget, need_vision) AI-powered model recommendation
estimate_cost(model, input_tokens, output_tokens) Estimate API call cost
chat_completion(model, messages, ...) Chat completion API call
generate_image(model, prompt, ...) Image generation API call
get_embedding(model, input_text) Embedding API call
chat(model, message, system_prompt) Simple chat interface

Categories

  • llm: Chat completion models (Nemotron, Llama, Mixtral, etc.)
  • vision: Image understanding models
  • embedding: Text embedding models
  • image: Image generation models
  • moderation: Content moderation models

Source

The implementation lives in model_center.py (548 lines) in this skill directory.

安全使用建议
Install only if you are comfortable sending prompts, image prompts, and embedding text to NVIDIA's API. Do not use it with secrets, private documents, regulated data, or confidential business material unless your NVIDIA account and data-handling terms allow that use.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The reported chat, image-generation, and embedding requests fit the stated model-provider purpose and use NVIDIA endpoints for hosted inference.
Instruction Scope
SkillSpector found no in-method consent prompt before sending user inputs externally; that is a privacy disclosure gap, but the behavior is aligned with an API-provider skill rather than hidden or unrelated.
Install Mechanism
No evidence provided of deceptive installation, unsafe automatic execution, or package-install behavior beyond the expected skill/API client functionality.
Credentials
Use of a NVIDIA API key and network calls is proportionate for this purpose, but prompts, documents, and embedding text may contain sensitive data and will be processed by a third party.
Persistence & Privilege
The supplied evidence does not show persistence, privilege escalation, background workers, local credential harvesting, destructive actions, or broad local indexing.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install model-center
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /model-center 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fix: Playground-v2.5 model ID leading space bug; Add: API key missing warning; Docs: add pricing staleness note and CLI guard comment
v1.0.0
Initial release: unified interface for 42+ NVIDIA NIM API models with chat, vision, embeddings, and image generation
元数据
Slug model-center
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Model Center 是什么?

Unified interface to 42+ NVIDIA NIM API models — LLM chat, vision, embeddings, image generation, with price comparison and model recommendation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。

如何安装 Model Center?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install model-center」即可一键安装,无需额外配置。

Model Center 是免费的吗?

是的,Model Center 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Model Center 支持哪些平台?

Model Center 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Model Center?

由 534422530(@534422530)开发并维护,当前版本 v1.0.1。

💬 留言讨论