上传文件(参考图偏/参考视频/参考音频)只保存3小时
临时储存
上传文件(参考图偏/参考视频/参考音频)只保存3小时
POST
上传文件(参考图偏/参考视频/参考音频)只保存3小时
授权
在 Authorization 请求头中传入带 Bearer 头的 API 密钥,例如:Bearer xxxxxx 如何获取 API 密钥?
请求体
multipart/form-data
文件
响应
成功
The response is of type object.
最后修改于 2026年7月29日
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 新用户特惠!注册后赠送 200 算力值!
curl --request POST \
--url https://open251124.ai.jko.cc/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'const form = new FormData();
form.append('file', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://open251124.ai.jko.cc/upload', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://open251124.ai.jko.cc/upload"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text){
"status": 100,
"message": "操作成功",
"data": {
"full_url": "open251124.ai.jko.cc/1785314758_65f4ec.mp4"
}
}{}curl --request POST \
--url https://open251124.ai.jko.cc/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'const form = new FormData();
form.append('file', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://open251124.ai.jko.cc/upload', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://open251124.ai.jko.cc/upload"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text){
"status": 100,
"message": "操作成功",
"data": {
"full_url": "open251124.ai.jko.cc/1785314758_65f4ec.mp4"
}
}{}在 Authorization 请求头中传入带 Bearer 头的 API 密钥,例如:Bearer xxxxxx 如何获取 API 密钥?
文件
成功
The response is of type object.
