360 Secure SkillHub
360 安全技能中心

Volcengine Ai Entry Ark

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

分类:开发
cinience
cinience
热度 46.88
最近更新 2026-05-11 16:23:40

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cinience/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