OPEN AI 极速开发平台

开放OPEN AI 平台接口文档


获取token

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>生成对应接口授权token</li> </ul> <h5>请求URL</h5> <ul> <li><a href="http://api-openai.dtgarden.com/user/token">http://api-openai.dtgarden.com/user/token</a>` </li> </ul> <h5>请求方式</h5> <ul> <li>get</li> </ul> <h5>请求Query参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">appId</td> <td style="text-align: left;">是</td> <td>string</td> <td>开发者账号应用ID</td> </tr> <tr> <td style="text-align: left;">secret</td> <td style="text-align: left;">是</td> <td>是</td> <td>MD5加密验签 看接口说明</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ &amp;quot;success&amp;quot;: true, &amp;quot;code&amp;quot;: &amp;quot;OK&amp;quot;, &amp;quot;message&amp;quot;: &amp;quot;成功&amp;quot;, &amp;quot;timestamp&amp;quot;: &amp;quot;2023-05-28 10:44:35&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;expiration&amp;quot;: 544864, &amp;quot;token&amp;quot;: &amp;quot;4f810efe800f9264f001818c54790235&amp;quot; } } </code></pre>

页面列表

ITEM_HTML