---
title: 创建Batch任务-OpenAI兼容-Batch-API黄页|万维易源ShowAPI
canonical_url: "https://www.showapi.com/playground/aliyun/bailian/openai-batch"
last_updated: "2026-09-21T16:37:45.330Z"
meta:
  description: 阿里云大模型服务平台百炼提供OpenAI兼容的Batch任务创建功能，支持文件批量提交与异步执行，高效处理海量任务需求。
  keywords: 阿里云大模型，百炼Batch任务，OpenAI兼容API，异步批量处理，大模型服务平台
  "og:description": 阿里云大模型服务平台百炼提供OpenAI兼容的Batch任务创建功能，支持文件批量提交与异步执行，高效处理海量任务需求。
  "og:title": 创建Batch任务-OpenAI兼容-Batch-API黄页|万维易源ShowAPI
---

*

*

*

# **OpenAI兼容-Batch**

[阿里云-大模型服务平台百炼](https://www.showapi.com/playground/aliyun/bailian)** 产品首页 [**API文档](https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2842025.html) [**应用示例](https://www.showapi.com/aiapp/aliyun/bailian/openai-batch.html)

**1.2w

2025-04-11更新

**204 [提交收录](https://www.showapi.com/island/feedback-page?submitrequire=true) [反馈问题](https://www.showapi.com/island/feedback-page?apiurl=/playground/aliyun/bailian/openai-batch) [ 创建我的API](https://www.showapi.com/playground)

OpenAI兼容-Batch API 是一个强大的批量处理工具，支持多种AI模型和应用场景，包括对话、图像生成、语音合成等。通过该API，用户可以高效地处理大量数据，提升工作效率。

**基础配置**

**Token****\*****[去获取Token](https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2712195.html&renderType=iframe)

用于鉴权的API Key

选择接入点：

**POST**

**

**Run

**接入点文档：**[查看](https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2842025.html&renderType=iframe)

Run: Ctrl+

↵

接入点描述：用于创建Batch任务，支持以文件方式批量提交任务并异步执行。

**请求参数**

**completion\_window****\***

等待时间，支持最短等待时间24h，最长等待时间336h，仅支持整数。

**endpoint****\***

访问路径，需和输入文件中的url字段保持一致。

**input\_file\_id****\***

用于指定文件ID、OSS文件URL或OSS文件资源标识符，作为Batch任务的输入文件。

**metadata.ds\_description**

任务描述。

**metadata.ds\_name**

任务名称。

**返回结果**

当前为示例返回

**

返回体

返回头

**使用其他软件测试API**

您可以拷贝Curl语句，直接导入Postman进行测试

**拷贝Curl语句