NVIDIA · 音频与音乐

Hermes Agent x Nemotron

创建转写任务后轮询状态,或通过回调接收完成通知。开启时间戳可获得逐词时间和说话人标签,也可选择目标语言进行翻译。

1 variants 起价 $0.00004 / 秒 可商用

Prerequisite: npx runapi mcp install

Prompt

Prompt 模型

任务匹配时使用 nemotron-3.5-transcribe:自动识别语种,支持逐词时间戳、说话人标签和语音翻译。

You have access to RunAPI task tools for Nemotron.

Available Nemotron models:
- nemotron-3.5-transcribe: 自动识别语种,支持逐词时间戳、说话人标签和语音翻译
  endpoints: /api/v1/nemotron/speech_to_text
  request fields: source_audio_url, model, timestamps

Use the model ID and endpoint that match the user's request.
Example prompt: 转写这段录音,并添加逐词时间戳和说话人标签。
/api/v1/nemotron/speech_to_text: Submit the task, poll for its status, then verify the completed output. POST /api/v1/nemotron/speech_to_text,并保存返回的 Task ID。
GET /api/v1/nemotron/speech_to_text/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。

公开版本与端点

模型 ID 端点 起步价格 模型目录
nemotron-3.5-transcribe
/api/v1/nemotron/speech_to_text
$0.00004 / 秒 模型详情

验证

轮询,直到 Task 进入终态

POST /api/v1/nemotron/speech_to_text,并保存返回的 Task ID。
GET /api/v1/nemotron/speech_to_text/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。

配置

指南端点: /api/v1/nemotron/speech_to_text

export RUNAPI_API_KEY=your_api_key

curl -X POST https://runapi.ai/api/v1/nemotron/speech_to_text \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "source_audio_url": "https://cdn.runapi.ai/public/samples/voice.mp3",
  "model": "nemotron-3.5-transcribe",
  "timestamps": false
}'
使用流程

三步开始使用

  1. 选择模型 ID

    选择公开模型 ID,并查看其端点与当前起步价格。

  2. 配置 RunAPI

    调用端点前设置 RUNAPI_API_KEY。

  3. 验证结果

    对于异步端点,轮询同一端点,直到 Task 进入终态。

使用 Hermes Agent + Nemotron 可以构建什么

  • 配音与旁白

    使用支持语音生成的模型,把脚本转成视频、课程和产品演示所需的语音。

  • 音乐与配乐

    使用支持音乐生成的模型,根据曲风、情绪和节奏的描述制作背景音乐和广告短曲。

  • 转写与音频处理

    使用支持音频输入的模型,转写录音,或清理、转换现有音频。

为什么通过 RunAPI + Hermes Agent 使用 Nemotron

  • 1 个变体,一个 API 密钥

    通过一个 RunAPI 连接选择可用的模型变体,无需更改现有集成。

  • 清晰的用量价格

    发送请求前查看目录中的当前价格,无需订阅或最低消费。

  • 自动化任务流程

    通过一致的任务流程提交任务、查询状态并收集异步结果,无需编写手动轮询代码。

Hermes Agent + Nemotron 常见问题

能同时翻译语音并请求时间戳吗?

翻译和时间戳是独立模式。timestamps 为 true 时不能传 target_language。

在哪里查看逐词时间戳和说话人标签?

timestamps 为 true 时,完成任务提供的 JSON 文件包含 words 和 diarization。请在 expires_at 前下载。

输入文件有什么限制?

提供可直接下载的音频或含音轨的视频,最长 60 分钟、最大 200 MB。

应该使用哪个模型 ID?

从版本表选择公开模型 ID。每个 ID 可使用的端点均显示在对应行。

本指南会配置聊天模型吗?

不会。该 Model Line 使用页面所示的端点流程,不会被描述为 Agent 聊天模型。

开始在 Hermes Agent 中使用 Nemotron

需要团队接入支持?

我们可以协助团队接入、完成系统集成并解答技术问题。

联系我们