360 Secure SkillHub
360 安全技能中心

Volcengine Ai Entry Ark

核心功能是将通用ARK模型请求路由至对应任务技能,提供可运行的API调用模板,支持认证配置、端点设置指导及401/404等常见故障排查。适用于用户初次使用ARK、需要调用模板、端点配置、模型路由或遇到访问故障时,需输入ARK_API_KEY等参数,输出路由指引、模板或排查方案。

cinience
cinience
热度 68.69
最近更新 2026-05-11 16:23:40
分类:开发依赖:纯提示词应用场景:API 集成 / 调试排错 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add volcengine-ai-entry-ark
Metadata
name
volcengine-ai-entry-ark
description
Entry skill for Volcengine ARK model invocation and routing. Use when users ask to start with ARK, need request templates, endpoint setup, model routing, or authentication troubleshooting.

volcengine-ai-entry-ark

Route generic ARK model requests to the right task-specific skill and provide a minimal runnable starting point.

Inputs to Collect

  • ARK_API_KEY
  • Model endpoint ID (for example: ep-xxxx)
  • Task type (chat, summarization, coding, translation)
  • Optional generation params (temperature, max_tokens, top_p)

Minimal request template

curl https://ark.cn-beijing.volces.com/api/v3/chat/completions \
  -H "Authorization: Bearer $ARK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ep-xxxx",
    "messages": [
      {"role":"system","content":"You are a helpful assistant."},
      {"role":"user","content":"Hello"}
    ],
    "temperature": 0.2
  }'

Troubleshooting Checklist

  • 401: verify ARK_API_KEY and key scope
  • 404: verify endpoint region/domain and endpoint ID
  • 429: reduce request rate and add retries with backoff
  • 5xx: retry with jitter and keep request logs for support

References

  • references/sources.md