360 Secure SkillHub
360 安全技能中心

Addis Assistant

该技能封装 Addis Assistant API 的两个能力:用 scripts/stt.py 将音频文件(目前仅支持阿姆哈拉语 am)转成文本,用 scripts/translate.py 在源语言与目标语言之间翻译文本。两者均为 POST 请求,需要调用方提供 x-api-key,参考 references/api_spec.md 的接口说明与 curl 示例。

dagmawibabi
dagmawibabi
热度 92.56
最近更新 2026-05-18 11:55:42
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:翻译 / 文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add addis-assistant-stt
Metadata
name
addis-assistant
description
Provides Speech-to-Text (STT) and text Translation using the Addis Assistant API (api.addisassistant.com). Use when the user needs to convert an audio file to text (specifically Amharic), or translate text between languages (e.g., Amharic to English). Requires 'x-api-key'.

Addis Assistant

Overview

This skill enables the use of the Addis Assistant API for both Speech-to-Text (STT) and text Translation.

Using This Skill

This skill provides two primary functions:

  1. Speech-to-Text (STT): Convert an audio file (e.g., Amharic) into text.
  2. Translation: Translate text from a source language to a target language.

Authentication

Both functions require an x-api-key. This key should be provided as an argument to the respective scripts.

STT Function

  • Endpoint: api.addisassistant.com/api/v2/stt
  • Method: POST
  • Parameters:
    • audio: Path to the audio file (e.g., "@/path/to/file")
    • request_data: JSON string with "language_code": "am" (Amharic is the default and only supported language for now).

Translation Function

  • Endpoint: api.addisassistant.com/api/v1/translate
  • Method: POST
  • Parameters:
    • text: The text to be translated.
    • source_language: The language of the input text (e.g., "am").
    • target_language: The language to translate the text into (e.g., "en").

Resources

This skill includes scripts/ for direct execution and references/ for API details.

scripts/

  • stt.py: Python script for Speech-to-Text.
  • translate.py: Python script for text Translation.

references/

  • api_spec.md: Detailed API specifications and curl examples.