import { CheckCircle2, Eye, KeyRound, PlugZap, ShieldCheck } from "lucide-react"; import { wallMuseApi } from "@wallmuse/api-client"; import { AppShell } from "../../../components/app-shell"; export default async function ApiKeysPage() { const keys = await wallMuseApi.listApiKeys(); return (

User API Key

绑定自己的模型 API Key。

前端只提交到本站 API。Key 的加密保存、连通性测试和调用日志由后端接口处理。

保存到账户
服务端加密保存,前端不读取明文。
设为默认生成模型
生成页默认选择此供应商和模型。

已保存 Key

只展示 masked key,不暴露完整密钥。

{keys.map((key) => (
{key.provider} {key.status}
{key.baseUrl} {key.model} · {key.maskedKey}
{key.isDefault ? "Default" : "Optional"} {new Date(key.updatedAt).toLocaleString()}
))}
); }