---
title: 文本生成-通义法睿-API黄页|万维易源ShowAPI
canonical_url: "https://www.showapi.com/playground/aliyun/bailian/tywx-ai-tools"
last_updated: "2026-09-23T08:39:18.834Z"
meta:
  description: 阿里云通义法睿大模型提供高效文本生成服务，支持法律咨询与文书生成，助力企业智能化升级。
  keywords: 阿里云大模型，通义法睿，法律咨询AI，文书生成工具，百炼大模型
  "og:description": 阿里云通义法睿大模型提供高效文本生成服务，支持法律咨询与文书生成，助力企业智能化升级。
  "og:title": 文本生成-通义法睿-API黄页|万维易源ShowAPI
---

*

*

*

# **通义法睿**

[阿里云-大模型服务平台百炼](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%2F2778998.html&renderType=iframe) [**应用示例](https://www.showapi.com/aiapp/aliyun/bailian/tywx-ai-tools.html)

**1.4w

2025-04-11更新

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

通义法睿API提供了文本和图像处理功能，包括文本排序、意图理解、图像生成和编辑等。它支持多种模型和工具包，如OpenAI兼容接口和LangChain，适用于开发复杂的AI应用。

**基础配置**

**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，例如：Bearer d1\*\*2a

选择接入点：

**POST**

**

**Run

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

Run: Ctrl+

↵

接入点描述：通义法睿大模型用于生成文本内容，支持法律咨询、文书生成等场景。

**请求参数**

**input.messages\[0].content****\***

内容

**input.messages\[0].role****\***

角色

**model****\***

指定用于对话的通义法睿大模型名称，目前可选择farui-plus

**parameters.result\_format****\***

输出格式，可选值为text或message

**返回结果**

当前为示例返回

**

返回体

返回头

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

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

**拷贝Curl语句