將 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 或影片方面的所有需求。