Skip to main content
POST
上传文件
Upload an image, video, or audio reference and get a public url you can pass into create-task requests.

Auth

Request

multipart/form-data with field name file.

Response fields

Example

Success response:

Authorizations

Authorization
string
header
required

控制台创建的 API Key,格式:Bearer sk_xxx

Body

multipart/form-data
file
file
required

Response

200 - application/json

上传成功

code
integer
Example:

20000

msg
string
data
object
Last modified on October 15, 2026