创建任务
<pre><code class="language-text">去重原创</code></pre>
<h4>接口URL</h4>
<p>> /api/v1/ai/imagetext/dedup/create</p>
<h4>请求方式</h4>
<p>> POST</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>
</tbody>
</table>
<h4>请求Body参数</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<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>params</td>
<td>-</td>
<td>string</td>
<td>是</td>
<td>数据集</td>
</tr>
</tbody>
</table>
<h4>params参数说明</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>images</td>
<td>["xxxx.png","aaaa.jpeg"]</td>
<td>array</td>
<td>是</td>
<td>图片数组</td>
</tr>
<tr>
<td>upscale</td>
<td>0</td>
<td>int</td>
<td>否</td>
<td>变清晰1:是 0:否</td>
</tr>
<tr>
<td>outpainting</td>
<td>0</td>
<td>int</td>
<td>否</td>
<td>扩图1:是 0:否</td>
</tr>
<tr>
<td>packageId</td>
<td>188B64F2-9D27-425B-ABF5-A1B0EE1BBBCB</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>任务id</td>
<td></td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;taskId&quot;: &quot;&quot;
}</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
&quot;code&quot;: 1001,
&quot;reason&quot;: &quot;请求参数错误&quot;,
&quot;extInfo&quot;: null
}</code></pre>