数字人作品列表
<pre><code class="language-text">数字人-作品列表</code></pre>
<h4>接口URL</h4>
<p>> /api/v1/ai/avatar/works/index</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>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>taskId</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>任务标识</td>
</tr>
<tr>
<td>cover</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>封面</td>
</tr>
<tr>
<td>url</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>视频地址</td>
</tr>
<tr>
<td>name</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>名称</td>
</tr>
<tr>
<td>status</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>0生成中,1生成成功,2生成失败</td>
</tr>
<tr>
<td>duration</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>视频时长,单位:秒</td>
</tr>
<tr>
<td>updatedAt</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>更新时间</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;list&quot;: [
{
&quot;taskId&quot;:&quot;&quot;,
&quot;cover&quot;:&quot;&quot;,
&quot;url&quot;:&quot;&quot;,
&quot;name&quot;:&quot;&quot;,
&quot;status&quot;:0,
&quot;duration&quot;: 0,
&quot;updatedAt&quot;:&quot;&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>