数字人列表
<pre><code class="language-text">数字人-数字人列表</code></pre>
<h4>接口URL</h4>
<p>> /api/v1/ai/avatar/infos</p>
<h4>请求方式</h4>
<p>> GET</p>
<h4>请求Query参数</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>cv</td>
<td>1.1.0</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>cp</td>
<td>a</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>ci</td>
<td>999999</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>token</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>登录令牌</td>
</tr>
<tr>
<td>uid</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>用户标识</td>
</tr>
<tr>
<td>deviceId</td>
<td>-</td>
<td>string</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>cursor</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
</tbody>
</table>
<h4>返回参数说明</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>list</td>
<td>-</td>
<td>array</td>
<td>-</td>
<td>数据集</td>
</tr>
<tr>
<td>cursor</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>-</td>
</tr>
</tbody>
</table>
<h4>list 数据集</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>speakerId</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>标识</td>
</tr>
<tr>
<td>speakerName</td>
<td>--</td>
<td>string</td>
<td>-</td>
<td>名称</td>
</tr>
<tr>
<td>width</td>
<td>1080</td>
<td>int</td>
<td>-</td>
<td>图片宽度</td>
</tr>
<tr>
<td>height</td>
<td>1920</td>
<td>int</td>
<td>-</td>
<td>图片高度</td>
</tr>
<tr>
<td>speakerUrl</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>人物图片</td>
</tr>
<tr>
<td>headx</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>头像x坐标</td>
</tr>
<tr>
<td>heady</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>头像y坐标</td>
</tr>
<tr>
<td>headr</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>头像半径</td>
</tr>
<tr>
<td>headUrl</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>头像地址</td>
</tr>
<tr>
<td>headWidth</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>头像高度</td>
</tr>
<tr>
<td>headHeight</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>头像高度</td>
</tr>
<tr>
<td>demoUrl</td>
<td>--</td>
<td>string</td>
<td>-</td>
<td>音频demo</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;list&quot;: [
{
&quot;speakerId&quot;: &quot;1644252493754011648&quot;,
&quot;speakerName&quot;: &quot;元仪&quot;,
&quot;width&quot;: 1080,
&quot;height&quot;: 1920,
&quot;speakerUrl&quot;: &quot;https://mobvoi-digitalhuman-public.weta365.com/d5b92b1b2c184011b7b36a6f2b54ce79.png&quot;,
&quot;headx&quot;: 348,
&quot;heady&quot;: 309,
&quot;headr&quot;: 160,
&quot;headUrl&quot;: &quot;https://mobvoi-digitalhuman-public.weta365.com/e7e1255f62ff4aeea33cc53b3de64e99.png&quot;,
&quot;headWidth&quot;: 420,
&quot;headHeight&quot;: 420,
&quot;demoUrl&quot;: &quot;https://mobvoi-speech-public.mobvoi.com/mobvoi-tts/speaker_audios/1b83a65e-28c0-40bd-a363-6a98ee546691.wav&quot;
},
],
&quot;cursor&quot;:&quot;&quot;
}</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
&quot;code&quot;: 1001,
&quot;reason&quot;: &quot;请求参数错误&quot;,
&quot;extInfo&quot;: null
}</code></pre>