ClavueClavue
AI platform · IDE · agents · models

模型

产品模型 ID 是 IDE、Chat、CLI/TUI 与 API 的稳定契约。请使用 /models 上的 ID,而非原始上游名。

目录(概览)

实时卡片、定价锚定与评测见 /models。

  • auto / clavue / clavue-2.1 / clavue-2.1-fast — 宣传窗 1M,执行预算 32K(上游跳之前压缩)
  • clavue-2.1-pro — 长程多 agent · 执行预算 1M
  • clavue-2.1-rev — 评审 / PR / 验收 · 执行预算 1M
  • clavue-2.1-search — 托管联网搜索专用
  • clavue-img — 官方文生图
  • clavue-music — 官方歌曲 · POST /v1/audio/speech · 默认 30 秒
  • clavue-tts — 官方播报 · POST /v1/audio/speech · 预设声

最佳实践(2026-08-21)

除非用户点了难题,否则关思考。不要 temperature=0。工具必须非流式。歌曲默认 30 秒 — 不要对引擎一次发 180。播报走 clavue-tts,不要打 clavue-music。

  • 量 / 扩写 / 工具 → auto 或 clavue-2.1-fast
  • 开发 / 写稿 → clavue-2.1(宣传窗 1M,执行预算 32K)
  • 思考:不传或 enable_thinking=false;难题才 effort=medium
  • 工具:stream=false,5–12 个,回传 tool_calls + role=tool
  • 歌曲:model=clavue-music,旗舰送满词+caption、30s/seed 11;一句话 hop 并联扩写;不要一次发 180
  • 播报:model=clavue-tts,voice=Uncle_Fu 或 Vivian,不克隆
  • 图像:model=clavue-img,不要传 steps/guidance

推荐设置

直接复制。不传时 API 也会锁采样。不要 temperature=0。除非用户点了难题,否则关思考。

  • 日常 / 扩写 / 工具:auto 或 clavue-2.1-fast · 0.7 / 0.8 / presence 1.5 · 关思考
  • 写稿 / 编码:clavue-2.1 · 同一套 Instruct 设置 · 宣传窗 1M,执行预算 32K
  • 仅难题:effort=medium · 思考采样 1.0 / 0.95 · max_tokens ≥ 2048
  • 工具:stream=false,tool_choice=auto,5–12 个
  • 歌曲:见 /docs/music-generation — 30 秒、seed 11、voice="30"
  • 播报:见 /docs/tts — clavue-tts,Uncle_Fu / Vivian
  • 图像:只传 prompt + aspect_ratio — 不要 steps/guidance
{
  "model": "auto",
  "temperature": 0.7,
  "top_p": 0.8,
  "presence_penalty": 1.5,
  "max_tokens": 1024,
  "chat_template_kwargs": { "enable_thinking": false },
  "messages": [
    { "role": "system", "content": "Only output the result. No preamble." },
    { "role": "user", "content": "Classify as song, image, or chat. JSON only: {\"kind\":\"...\"}\nUser: morning pine light, a quiet female song, 30 seconds" }
  ]
}

提示词演示

一次只做一类。caption 和歌词分两次扩写(创作控制器)。做歌时把过门禁的输出交给 POST /v1/audio/speech 的 clavue-music — 不要把用户一句话当 input。新闻口播走 clavue-tts 预设声。

# 1) Volume rewrite — caption (model: auto or clavue-2.1-fast)
system:
You are a song caption engineer. Expand the user's intent into an English Structured Caption.
Output only three headings: Global Metadata / Vocal Details / Arrangement.
250–450 words. No song title, no lyrics, no explanation.

user:
Duration: 30 seconds. Acoustic pop. Soft female, close-mic, no belting.
Theme: pine needles at a morning window, a quiet street.
No full drum kit, no celebrity names.

# 2) Writing / coding (model: clavue-2.1)
user:
Fix this function and explain the bug:
function median(a){a.sort();return a[a.length/2]}

# 3) Hard problem only — add effort=medium
user:
Compare two approaches for joining 90s + 90s audio on a chorus boundary. Give one recommendation and the command that verifies duration.

# 4) Image rewrite then /v1/images/generations (model: auto → clavue-img)
system:
Write a 60–120 word English director prompt: subject, wardrobe, scene, lens, light, one style. No masterpiece/8k, no negative list.

user:
半身人像,85mm,窗光,没有水印,竖构图。

如何选型

量大用 auto 或 clavue-2.1-fast。写稿和编码用 clavue-2.1。pro / rev / search / img / music 是专用车道。

在哪里设置模型

各表面使用同一套产品模型 ID 字符串。在 UI 中选择或在 API 请求里传入 — 不要粘贴原始上游名。

  • 网页 Chat / chat.clavue.com — 输入区顶栏模型选择器
  • imux Agent Chat — 提供商 Official Clavue → 每个会话标签的模型下拉
  • Clavue TUI — clavue 内 /model 或会话设置
  • API / SDK — chat/completions 中 "model": "clavue-2.1"(或 auto、clavue-2.1-fast、clavue-img 等)

Fast 与 premium 池

会员跟踪两个池。Fast SKU(auto、*-fast)走 fast 池;旗舰、pro、rev、search、图像走 premium。一个池用尽不一定清空另一个 — 见 账户 → 用量。

下一步