@runapi.ai/seedream 0.3.0 → 0.3.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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TaskResponse, AsyncTaskStatus,
|
|
1
|
+
import { TaskResponse, AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
|
|
2
2
|
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';
|
|
3
3
|
|
|
4
4
|
/** Union of all Seedream model identifiers across text-to-image and edit endpoints. */
|
|
@@ -95,7 +95,7 @@ interface DecomposeLayersParams {
|
|
|
95
95
|
output_format?: OutputFormat;
|
|
96
96
|
callback_url?: string;
|
|
97
97
|
}
|
|
98
|
-
interface TaskCreateResponse
|
|
98
|
+
interface TaskCreateResponse {
|
|
99
99
|
id: string;
|
|
100
100
|
}
|
|
101
101
|
/** A generated image with its CDN URL. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TaskResponse, AsyncTaskStatus,
|
|
1
|
+
import { TaskResponse, AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
|
|
2
2
|
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';
|
|
3
3
|
|
|
4
4
|
/** Union of all Seedream model identifiers across text-to-image and edit endpoints. */
|
|
@@ -95,7 +95,7 @@ interface DecomposeLayersParams {
|
|
|
95
95
|
output_format?: OutputFormat;
|
|
96
96
|
callback_url?: string;
|
|
97
97
|
}
|
|
98
|
-
interface TaskCreateResponse
|
|
98
|
+
interface TaskCreateResponse {
|
|
99
99
|
id: string;
|
|
100
100
|
}
|
|
101
101
|
/** A generated image with its CDN URL. */
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"runapi": {
|
|
4
4
|
"slug": "seedream"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.1",
|
|
7
7
|
"description": "RunAPI Seedream SDK for text-to-image and edit-image workflows in JavaScript, Python, Ruby, Go, Java, and PHP",
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
9
|
"module": "./dist/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"clean": "rm -rf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@runapi.ai/core": "^0.4.
|
|
34
|
+
"@runapi.ai/core": "^0.4.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^20.0.0",
|