Summarize

通过API调用实现网页、文件、音视频等内容的智能摘要与多模态生成。

已扫描
适合谁
内容创作者、信息研究者
不适合谁
无网络环境用户、无需AI辅助的简单文档处理者
国内可用性
需网络配置。可能需要网络配置或第三方服务可访问。
安装难度
新手友好(★☆☆)。基于终端操作、依赖、API Key 和本地环境要求的初步判断。

安装与下载

openclaw skills install @quincygunter/smart-summarize

Skill 说明

命令、参数、文件名以原文为准

SkillBoss

一个 API 密钥,支持 50 多个来自不同服务商的模型(包括 Bedrock、OpenAI、Vertex、ElevenLabs、Replicate、Minimax 等)。可通过模型 ID 直接调用任意模型,或使用智能路由功能,自动选择最便宜或质量最高的选项来完成任务。

基础地址: https://api.heybossai.com/v1

认证方式: -H "Authorization: Bearer $SKILLBOSS_API_KEY"

列出所有模型

curl -s https://api.heybossai.com/v1/models \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY"

按类型筛选:

curl -s "https://api.heybossai.com/v1/models?types=image" \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY"

获取特定模型的完整文档:

curl -s "https://api.heybossai.com/v1/models?ids=mm/img,bedrock/claude-4-5-sonnet" \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY"

模型类型:chatimagevideottssttmusicsearchscraperemailstoragepptembedding

对话(Chat)

curl -s -X POST https://api.heybossai.com/v1/chat/completions \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bedrock/claude-4-5-sonnet",
    "messages": [{"role": "user", "content": "解释量子计算"}]
  }'
参数说明
model模型标识符,如 bedrock/claude-4-5-sonnetbedrock/claude-4-6-opusopenai/gpt-5vertex/gemini-2.5-flashdeepseek/deepseek-chat
messages包含 {role, content} 对象的数组
system可选的系统提示
temperature可选,取值范围 0.0–1.0
max_tokens可选,最大输出 token 数量

返回结果:choices[0].message.content

图像生成

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mm/img",
    "inputs": {"prompt": "群山上的日落"}
  }'

保存为文件:

URL=$(curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "mm/img", "inputs": {"prompt": "群山上的日落"}}' \
  | jq -r '.image_url // .result.image_url // .data[0]')
curl -sL "$URL" -o sunset.png
参数说明
model模型标识符,如 mm/imgreplicate/black-forest-labs/flux-2-proreplicate/black-forest-labs/flux-1.1-pro-ultravertex/gemini-2.5-flash-image-previewvertex/gemini-3-pro-image-preview
inputs.prompt描述图像的文本内容
inputs.size可选,例如 "1024*768"
inputs.aspect_ratio可选,例如 "16:9"

返回结果:image_urldata[0]generated_images[0]

视频生成

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mm/t2v",
    "inputs": {"prompt": "一只猫在玩毛线"}
  }'

图像转视频:

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mm/i2v",
    "inputs": {"prompt": "缓慢拉近镜头", "image": "https://example.com/photo.jpg"}
  }'
参数说明
modelmm/t2v(文本生成视频)、mm/i2v(图像生成视频)、vertex/veo-3-generate-preview
inputs.prompt文本描述
inputs.image图像 URL(用于 i2v)
inputs.duration可选,持续时间(秒)

返回结果:video_url

文本转语音(TTS)

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax/speech-01-turbo",
    "inputs": {"text": "你好世界", "voice_setting": {"voice_id": "male-qn-qingse", "speed": 1.0}}
  }'
参数说明
model模型标识符,如 minimax/speech-01-turboelevenlabs/eleven_multilingual_v2openai/tts-1
inputs.text要朗读的文本
inputs.voice语音名称(如 alloynovashimmer),适用于 OpenAI
inputs.voice_idElevenLabs 的语音 ID

返回结果:audio_url 或二进制音频数据

语音转文字(STT)

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/whisper-1",
    "inputs": {"audio_data": "BASE64_AUDIO", "filename": "recording.mp3"}
  }'

返回结果:text

音乐生成

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "replicate/elevenlabs/music",
    "inputs": {"prompt": "欢快的电子音乐", "duration": 30}
  }'
参数说明
model模型标识符,如 replicate/elevenlabs/musicreplicate/meta/musicgenreplicate/google/lyria-2
inputs.prompt音乐风格描述
inputs.duration持续时间(秒)

返回结果:audio_url

背景移除

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "replicate/remove-bg",
    "inputs": {"image": "https://example.com/photo.jpg"}
  }'

返回结果:image_urldata[0]

文档处理

curl -s -X POST https://api.heybossai.com/v1/run \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "reducto/parse",
    "inputs": {"document_url": "https://example.com/file.pdf"}
  }'
参数说明
modelreducto/parse(将 PDF/DOCX 转为 Markdown)、reducto/extract(结构化信息提取)
inputs.document_url文档的 URL 地址
inputs.instructions用于提取时指定结构化规则,如 {"schema": {...}}

网络搜索

---
name: Summarize
version: 1.0.0
description: 从文本中提取关键信息,生成简洁摘要。
summary: 快速生成内容摘要,适用于新闻、文章、报告等文本处理。
tags:
  - summarization
  - text-processing
  - AI
---

## 搜索

curl -s -X POST https://api.heybossai.com/v1/run \

-H "Authorization: Bearer $SKILLBOSS_API_KEY" \

-H "Content-Type: application/json" \

-d '{

"model": "linkup/search",

"inputs": {"query": "latest AI news", "depth": "standard", "outputType": "searchResults"}

}'

| 参数 | 描述 |
|------|------|
| `model` | `linkup/search`、`perplexity/sonar`、`firecrawl/scrape` |
| `inputs.query` | 搜索关键词 |
| `inputs.depth` | `standard`(标准)或 `deep`(深度) |
| `inputs.outputType` | `searchResults`(搜索结果)、`sourcedAnswer`(带来源的答案)、`structured`(结构化数据) |

## 邮件

curl -s -X POST https://api.heybossai.com/v1/run \

-H "Authorization: Bearer $SKILLBOSS_API_KEY" \

-H "Content-Type: application/json" \

-d '{

"model": "email/send",

"inputs": {"to": "user@example.com", "subject": "Hello", "html": "<p>Hi</p>"}

}'

## 短信验证码

发送 OTP:

curl -s -X POST https://api.heybossai.com/v1/run \

-H "Authorization: Bearer $SKILLBOSS_API_KEY" \

-H "Content-Type: application/json" \

-d '{

"model": "prelude/verify-send",

"inputs": {"target": {"type": "phone_number", "value": "+1234567890"}}

}'

验证 OTP:

curl -s -X POST https://api.heybossai.com/v1/run \

-H "Authorization: Bearer $SKILLBOSS_API_KEY" \

-H "Content-Type: application/json" \

-d '{

"model": "prelude/verify-check",

"inputs": {"target": {"type": "phone_number", "value": "+1234567890"}, "code": "123456"}

}'

## 智能模式(自动选择最佳模型)

列出任务类型:

curl -s -X POST https://api.heybossai.com/v1/pilot \

-H "Authorization: Bearer $SKILLBOSS_API_KEY" \

-H "Content-Type: application/json" \

-d '{"discover": true}'

执行任务:

curl -s -X POST https://api.heybossai.com/v1/pilot \

-H "Authorization: Bearer $SKILLBOSS_API_KEY" \

-H "Content-Type: application/json" \

-d '{

"type": "image",

"inputs": {"prompt": "A sunset over mountains"}

}'

## 可用模型(50+)

| 类别 | 模型 | 说明 |
|------|------|------|
| 对话 | 25+ 模型 — Claude、GPT、Gemini、DeepSeek、Qwen、HuggingFace | `chat-models.md` |
| 图像 | 9 模型 — Gemini、FLUX、图像放大、背景移除 | `image-models.md` |
| 视频 | 3 模型 — Veo、文本转视频、图像转视频 | `video-models.md` |
| 音频 | 11 模型 — 文本转语音(TTS)、语音转文字(STT)、音乐生成 | `audio-models.md` |
| 搜索与抓取 | 19 模型 — Perplexity、Firecrawl、ScrapingDog、CEO访谈等 | `search-models.md` |
| 工具类 | 11 模型 — 文档处理、邮件、短信、嵌入向量、演示文稿生成 | `tools-models.md` |

注意事项:
- 在 [https://www.skillboss.co](https://www.skillboss.co) 获取 `SKILLBOSS_API_KEY`
- 使用 models 接口可实时发现所有可用模型
- 使用智能模式(pilot)可自动为任意任务选择最优模型
Q
@quincygunter

已收录 1 个 Skill

相关推荐