将 PixaryAI 集成到你的应用的完整参考文档。
/api/openapi/v1/pixary-1-5-i2v使用 Pixary 1.5-i2v 生成衣物去除视频。
Authorization: Bearer apk_xxxxxxxxxxxxxxxxxxxxxxxx| 参数 | 必填 | 可选值 | 说明 |
|---|---|---|---|
imageUrl | ✓ | - | 图片地址,须为公网图片地址。支持常规图片格式:JPEG、JPG、PNG、WEBP。 |
model | ✓ | womanty / dance / touchbreast | Pixary 1.5-i2v 模型类型 |
duration | ✓ | 5s / 8s | 视频时长。model 为 womanty 时只能为 5s;为 dance / touchbreast 时只能为 8s。 |
{
"imageUrl": "https://example.com/input.png",
"model": "dance",
"duration": "8s"
}{
"code": 200,
"msg": "OK",
"data": "1900000000000000001"
}curl -X POST https://api.pixaryai.com/api/openapi/v1/pixary-1-5-i2v \
-H "Authorization: Bearer apk_xxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"imageUrl": "https://example.com/input.png","model": "dance","duration": "8s"}'| 状态码 | 含义 |
|---|---|
200 | 成功 |
50101 | API Key 缺失或格式非法 |
50102 | API Key 已禁用 |
50103 | API Key 已过期 |
50104 | 超出速率限制 |
50105 | 余额不足 |
50106 | 图片地址不可公网访问或非合法图片地址 |
50107 | OpenAPI 参数错误 |
50108 | 任务不存在或无权限访问 |
500 | 服务器内部错误 |
PixaryAI 提供无限制的 AI 内容创作,满足您在照片、GIF 或视频方面的所有需求。