@apicity/alibaba 0.14.0 → 0.14.1
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 +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -205,7 +205,7 @@ Cost tier: <code>expensive</code>
|
|
|
205
205
|
[Upstream docs ↗](https://help.aliyun.com/zh/model-studio)
|
|
206
206
|
|
|
207
207
|
```typescript
|
|
208
|
-
const res = await alibaba.compatibleMode.v1.models(
|
|
208
|
+
const res = await alibaba.get.compatibleMode.v1.models();
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
@@ -222,7 +222,7 @@ Cost tier: <code>expensive</code>
|
|
|
222
222
|
[Upstream docs ↗](https://help.aliyun.com/zh/model-studio)
|
|
223
223
|
|
|
224
224
|
```typescript
|
|
225
|
-
const res = await alibaba.compatibleMode.v1.chat.completions({ /* ... */ });
|
|
225
|
+
const res = await alibaba.post.compatibleMode.v1.chat.completions({ /* ... */ });
|
|
226
226
|
```
|
|
227
227
|
|
|
228
228
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
@@ -239,7 +239,7 @@ Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
|
239
239
|
Cost tier: <code>expensive</code>
|
|
240
240
|
|
|
241
241
|
```typescript
|
|
242
|
-
const res = await alibaba.api.v1.services.aigc.imageGeneration.generation({ /* ... */ });
|
|
242
|
+
const res = await alibaba.post.api.v1.services.aigc.imageGeneration.generation({ /* ... */ });
|
|
243
243
|
```
|
|
244
244
|
|
|
245
245
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
@@ -256,7 +256,7 @@ Cost tier: <code>expensive</code>
|
|
|
256
256
|
[Upstream docs ↗](https://www.alibabacloud.com/help/en/model-studio/qwen-image-edit)
|
|
257
257
|
|
|
258
258
|
```typescript
|
|
259
|
-
const res = await alibaba.api.v1.services.aigc.multimodalGeneration.generation({ /* ... */ });
|
|
259
|
+
const res = await alibaba.post.api.v1.services.aigc.multimodalGeneration.generation({ /* ... */ });
|
|
260
260
|
```
|
|
261
261
|
|
|
262
262
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
@@ -273,7 +273,7 @@ Cost tier: <code>expensive</code>
|
|
|
273
273
|
[Upstream docs ↗](https://help.aliyun.com/zh/model-studio)
|
|
274
274
|
|
|
275
275
|
```typescript
|
|
276
|
-
const res = await alibaba.api.v1.services.aigc.videoGeneration.videoSynthesis({ /* ... */ });
|
|
276
|
+
const res = await alibaba.post.api.v1.services.aigc.videoGeneration.videoSynthesis({ /* ... */ });
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
@@ -292,7 +292,7 @@ Cost tier: <code>expensive</code>
|
|
|
292
292
|
[Upstream docs ↗](https://help.aliyun.com/zh/model-studio)
|
|
293
293
|
|
|
294
294
|
```typescript
|
|
295
|
-
const res = await alibaba.api.v1.tasks({ /* ... */ });
|
|
295
|
+
const res = await alibaba.get.api.v1.tasks({ /* ... */ });
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|
|
@@ -311,7 +311,7 @@ Cost tier: <code>expensive</code>
|
|
|
311
311
|
[Upstream docs ↗](https://help.aliyun.com/zh/model-studio)
|
|
312
312
|
|
|
313
313
|
```typescript
|
|
314
|
-
const res = await alibaba.api.v1.uploads({ /* ... */ });
|
|
314
|
+
const res = await alibaba.get.api.v1.uploads({ /* ... */ });
|
|
315
315
|
```
|
|
316
316
|
|
|
317
317
|
Source: [`packages/provider/alibaba/src/alibaba.ts`](src/alibaba.ts)
|