@magic-ai-tools/ai-api-gateway-client 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -218,7 +218,7 @@ import type {
218
218
 
219
219
  ```bash
220
220
  npm run build
221
- npm login
221
+ #npm login # or set accessToken
222
222
  npm config set //registry.npmjs.org/:_authToken npm_xxxxxxxxxxxxxxxxxxxxxxxx
223
223
  npm publish --access public
224
224
 
package/dist/index.d.ts CHANGED
@@ -67,45 +67,45 @@ export interface AiApiGatewayClient {
67
67
  faceSwap(params: FaceSwapParams): Promise<ApiResponse<TaskResponse>>;
68
68
  /**
69
69
  * Generate an image using CogView-3-Flash model
70
- * 智谱 AI 快速图像生成
70
+ * Fast image generation with good quality
71
71
  */
72
72
  cogview3Flash(params: Cogview3FlashParams): Promise<ApiResponse<TaskResponse>>;
73
73
  /**
74
74
  * Generate an image using Z-Image-Turbo model
75
- * KIE AI 高质量图像生成
75
+ * High-quality fast image generation
76
76
  */
77
77
  zImageTurbo(params: ZImageTurboParams): Promise<ApiResponse<TaskResponse>>;
78
78
  /**
79
79
  * Generate an image using Flux-2-Pro model
80
- * KIE AI 专业级图像生成,支持 text-to-image image-to-image
81
- * 如果提供 urls 参数,则使用 image-to-image 模式
80
+ * Professional image generation with text-to-image and image-to-image support
81
+ * Provide urls parameter to use image-to-image mode
82
82
  */
83
83
  flux2Pro(params: Flux2ProParams): Promise<ApiResponse<TaskResponse>>;
84
84
  /**
85
85
  * Generate an image using Seedream-v4.5 model
86
- * KIE AI 高质量图像生成,支持 text-to-image edit
87
- * 如果提供 urls 参数,则使用 edit 模式
86
+ * High-quality image generation with text-to-image and edit support
87
+ * Provide urls parameter to use edit mode
88
88
  */
89
89
  seedream45(params: Seedream45Params): Promise<ApiResponse<TaskResponse>>;
90
90
  /**
91
91
  * Generate an image using Grok-2-Image model
92
- * KIE AI Grok Imagine 图像生成
92
+ * Advanced image generation with Grok
93
93
  */
94
94
  grok2Image(params: Grok2ImageParams): Promise<ApiResponse<TaskResponse>>;
95
95
  /**
96
96
  * Generate an image using Qwen-Image model
97
- * KIE AI Qwen 文生图,支持多种尺寸和高级参数
97
+ * Text-to-image generation with multiple sizes and advanced parameters
98
98
  */
99
99
  qwenImage(params: QwenImageParams): Promise<ApiResponse<TaskResponse>>;
100
100
  /**
101
101
  * Edit an image using Qwen-Image-Edit model
102
- * Replicate Qwen 图像编辑,支持多图编辑和精确控制
102
+ * Image editing with multi-image support and precise control
103
103
  */
104
104
  qwenImageEdit(params: QwenImageEditParams): Promise<ApiResponse<TaskResponse>>;
105
105
  /**
106
106
  * Generate or edit an image using Ideogram V3 model
107
- * KIE AI Ideogram V3,支持 text-to-image edit 模式
108
- * 如果提供 imageUrl maskUrl,则使用 edit 模式进行图像编辑
107
+ * Supports text-to-image and edit modes
108
+ * Provide imageUrl and maskUrl to use edit mode for image editing
109
109
  */
110
110
  ideogramV3(params: IdeogramV3Params): Promise<ApiResponse<TaskResponse>>;
111
111
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic-ai-tools/ai-api-gateway-client",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "TypeScript client SDK for AI API Gateway",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",