最大支持 1GB,文件将获得永久 TOS URI,可随时换取 7 天有效下载链接
支持 thread 分享、video-sharing 链接,无需登录即可提取无水印原始素材
| 名称 | 状态 | 视频 | 图片 | 音乐 | 失败 | 操作 |
|---|
| 名称 | 状态 | 视频额度 | 失败 | 最近失败 |
|---|
登录豆包网页版后,从浏览器开发者工具复制 www.doubao.com Cookie,并写入 config.json:
手动复制网页端 Cookie 到 config.json
基础地址:http://localhost:8765/v1
对话接口:POST /v1/chat/completions
模型列表:GET /v1/models
图片上传:POST /v1/images/upload
健康检查:GET /health
今日日志:GET /logs/today
账号列表:GET /accounts
Vision 图片识别:
messages: [{
role: "user",
content: [
{ type: "text", text: "描述图片" },
{ type: "image_url", image_url: { url: "https://..." } }
]
}]
支持 base64:url: "data:image/png;base64,..."
特殊模式模型:
Tool Calling (工具调用):
POST /v1/chat/completions
{
"model": "doubao-pro-chat",
"messages": [...],
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"description": "获取天气",
"parameters": {
"type": "object",
"properties": {
"city": {"type": "string", "description": "城市"}
},
"required": ["city"]
}
}
}]
}
文件中转站:
文件上传/下载:
🧹 去水印(无需登录):
# 图片去水印
curl "http://localhost:8765/v1/nomark/image?url=https://www.doubao.com/thread/xxx"
# 视频去水印
curl "http://localhost:8765/v1/nomark/video?url=https://www.doubao.com/thread/xxx"
Claude Code 对接:
OPENAI_API_BASE=http://localhost:8765/v1 OPENAI_API_KEY=sk-doubao claude
从豆包网站抓取当前账号下已有的对话,包含文本、图片和视频
将本系统的对话导出为JSON/JSONL文件
导入JSON/JSONL格式的对话文件
--