360 Secure SkillHub
360 安全技能中心

Volcengine Ai Entry Ark

面向火山方舟(ARK)模型调用的入门 Skill:收集 ARK_API_KEY、接入点 ID、任务类型与生成参数,给出 curl 请求模板、任务类型到专用 Skill 的路由指引,以及 401/404/429/5xx 常见错误排障步骤。本身不含各任务的专用实现,也不含密钥管理机制。

cinience
cinience
热度 68.62
最近更新 2026-05-11 16:23:40
分类:开发依赖:代码执行 / 第三方 API / 内部调用大模型应用场景: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