Aliyun Bailian | 阿里云百炼 icon

Aliyun Bailian | 阿里云百炼

Access Alibaba Cloud Aliyun Bailian video generation, editing, and task APIs.

File → Upload | 上传文件

AI-generated

Summary

Upload a file to Aliyun Bailian using either binary data from an input field or a Base64-encoded string.

Inputs

  • workspaceId — Optional workspace ID for regions or accounts that require it.
  • binaryData (required) — Boolean to choose whether to use file content from the input binary field.
  • binaryPropertyName (required) — Name of the input binary field containing the file content, used when binaryData is true.
  • fileContent (required) — Base64-encoded file content string, used when binaryData is false.
  • fileName — Filename sent to the API. If using binary data and left empty, uses the binary input's filename.
  • fileDescription — Optional description of the file.
  • mimeType — Optional MIME type override for the file, e.g., 'image/png' or 'application/pdf'.

Output shape

a response object with uploaded file details as returned by the Aliyun Bailian API

Outputs the result of the file upload operation for each input item. If multiple items are processed, the output includes a corresponding array of results. Errors during upload are thrown and wrapped accordingly.

Links

Discussion