×
全部 > AI技术 > AI编程 > AI代码生成 > 将Markdown文档转换为HTML格式

将Markdown文档转换为HTML格式

通义千问2.5-Coder-32B(阿里云百炼)

```html <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>项目文档:用户中心 API</title> </head> <body> <h1>项目文档:用户中心 API</h1> <p>欢迎使用 <strong>用户中心 API</strong> 文档。本文档包含以下内容:</p> <h2>✨ 功能概览</h2> <ul> <li>用户注册与登录</li> <li>用户信息管理</li> <li>权限控制与角色管理</li> </ul> <h2>🧩 接口示例</h2> <h3>🔑 登录接口</h3> <p><strong>URL</strong>:POST /api/v1/login</p> <h4>参数说明:</h4> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>必填</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>username</td> <td>string</td> <td>是</td> <td>用户名</td> </tr> <tr> <td>password</td> <td>string</td> <td>是</td> <td>密码(明文)</td> </tr> </tbody> </table> <h4>返回示例:</h4> <pre><code>{&#10; &quot;token&quot;: &quot;abc123xyz&quot;,&#10; &quot;expiresIn&quot;: 3600&#10;}</code></pre> </body> </html> ```

DeepSeek V3(Deepseek)

```html <!DOCTYPE html> <html> <head> <title>项目文档:用户中心 API</title> </head> <body> <h1>项目文档:用户中心 API</h1> <p>欢迎使用 <strong>用户中心 API</strong> 文档。本文档包含以下内容:</p> <h2>✨ 功能概览</h2> <ul> <li>用户注册与登录</li> <li>用户信息管理</li> <li>权限控制与角色管理</li> </ul> <h2>🧩 接口示例</h2> <h3>🔐 登录接口</h3> <p><strong>URL</strong>:<code>POST /api/v1/login</code></p> <h4>参数说明:</h4> <table border="1"> <tr> <th>参数名</th> <th>类型</th> <th>必填</th> <th>说明</th> </tr> <tr> <td>username</td> <td>string</td> <td>是</td> <td>用户名</td> </tr> <tr> <td>password</td> <td>string</td> <td>是</td> <td>密码(明文)</td> </tr> </table> <h4>返回示例:</h4> <pre><code>{ "token": "abc123xyz", "expiresIn": 3600 }</code></pre> </body> </html> ```

gpt-4o(OpenAI)

```html <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>项目文档:用户中心 API</title> </head> <body> <h1>项目文档:用户中心 API</h1> <p>欢迎使用 <strong>用户中心 API</strong> 文档。本文档包含以下内容:</p> <h2>✨ 功能概览</h2> <ul> <li>用户注册与登录</li> <li>用户信息管理</li> <li>权限控制与角色管理</li> </ul> <h2>🧩 接口示例</h2> <h3>🔐 登录接口</h3> <p><strong>URL</strong>:<code>POST /api/v1/login</code></p> <p><strong>参数说明</strong>:</p> <table border="1"> <thead> <tr> <th>参数名</th> <th>类型</th> <th>必填</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>username</td> <td>string</td> <td>是</td> <td>用户名</td> </tr> <tr> <td>password</td> <td>string</td> <td>是</td> <td>密码(明文)</td> </tr> </tbody> </table> <p><strong>返回示例</strong>:</p> <pre> <code>{ "token": "abc123xyz", "expiresIn": 3600 } </code> </pre> </body> </html> ```

claude3.5 sonnet 20241022(Anthropic)

```html <h1>项目文档:用户中心 API</h1> <p>欢迎使用 <strong>用户中心 API</strong> 文档。本文档包含以下内容:</p> <h2>✨ 功能概览</h2> <ul> <li>用户注册与登录</li> <li>用户信息管理</li> <li>权限控制与角色管理</li> </ul> <h2>🧩 接口示例</h2> <h3>🔐 登录接口</h3> <p><strong>URL</strong>:<code>POST /api/v1/login</code></p> <p><strong>参数说明</strong>:</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>必填</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>username</td> <td>string</td> <td>是</td> <td>用户名</td> </tr> <tr> <td>password</td> <td>string</td> <td>是</td> <td>密码(明文)</td> </tr> </tbody> </table> <p><strong>返回示例</strong>:</p> <pre><code>{ "token": "abc123xyz", "expiresIn": 3600 }</code></pre> ```

模型名称 模型提供商 响应总时长(s) 生成 token 数 首 token 延迟(s) 生成速率(tokens/s)
12.53
443
内容最多
0.52
延迟最小
35.35
18.5
378
2.77
20.44
6.07
响应最快
436
1.52
71.83
速度最快
12.22
0
2.66
0
AI文本生成
38家服务商提供服务
AI深度推理
11家服务商提供服务
AI代码生成
11家服务商提供服务
AI数学模型
10家服务商提供服务