@runapi.ai/seedance 0.3.1 → 0.3.2
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
|
type SeedanceModel = 'seedance-1.5-pro' | 'seedance-2.0' | 'seedance-2.0-fast' | 'seedance-2.5' | 'seedance-2-mini' | 'seedance-v1-pro' | 'seedance-v1-pro-fast';
|
|
@@ -178,7 +178,7 @@ interface GenerationV1ProFastParams extends GenerationCommonParams, SafetyChecke
|
|
|
178
178
|
}
|
|
179
179
|
/** Discriminated union of all generation parameter variants */
|
|
180
180
|
type TextToVideoParams = Generation15ProParams | Generation2TextParams | Generation2FrameParams | Generation2ReferenceParams | Generation25TextParams | Generation25FrameParams | Generation25ReferenceParams | GenerationV1ProParams | GenerationV1ProFastParams;
|
|
181
|
-
interface TaskCreateResponse
|
|
181
|
+
interface TaskCreateResponse {
|
|
182
182
|
id: string;
|
|
183
183
|
}
|
|
184
184
|
interface VideoMetadata {
|
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
|
type SeedanceModel = 'seedance-1.5-pro' | 'seedance-2.0' | 'seedance-2.0-fast' | 'seedance-2.5' | 'seedance-2-mini' | 'seedance-v1-pro' | 'seedance-v1-pro-fast';
|
|
@@ -178,7 +178,7 @@ interface GenerationV1ProFastParams extends GenerationCommonParams, SafetyChecke
|
|
|
178
178
|
}
|
|
179
179
|
/** Discriminated union of all generation parameter variants */
|
|
180
180
|
type TextToVideoParams = Generation15ProParams | Generation2TextParams | Generation2FrameParams | Generation2ReferenceParams | Generation25TextParams | Generation25FrameParams | Generation25ReferenceParams | GenerationV1ProParams | GenerationV1ProFastParams;
|
|
181
|
-
interface TaskCreateResponse
|
|
181
|
+
interface TaskCreateResponse {
|
|
182
182
|
id: string;
|
|
183
183
|
}
|
|
184
184
|
interface VideoMetadata {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"runapi": {
|
|
4
4
|
"slug": "seedance"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.2",
|
|
7
7
|
"description": "RunAPI Seedance SDK for text-to-video 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",
|