Sign In

@runapi.ai/gpt-image-2

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runapi.ai/gpt-image-2 - npm Package Compare versions

Comparing version
0.2.7
to
0.2.8
+5
-3
dist/index.d.mts

@@ -1,2 +0,2 @@

import { AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
import { TaskResponse, AsyncTaskStatus, TaskBillingResponse, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';

@@ -48,5 +48,7 @@

/** Acknowledged task with its server-assigned ID. */
interface TaskCreateResponse {
interface TaskCreateResponse extends TaskBillingResponse {
id: string;
status: string;
/** True when this idempotency key reused the original task. */
task_replayed?: boolean;
}

@@ -61,3 +63,3 @@ /** A single generated image with its CDN URL. */

*/
interface TextToImageResponse {
interface TextToImageResponse extends TaskResponse {
id: string;

@@ -64,0 +66,0 @@ status: AsyncTaskStatus;

@@ -1,2 +0,2 @@

import { AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
import { TaskResponse, AsyncTaskStatus, TaskBillingResponse, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';

@@ -48,5 +48,7 @@

/** Acknowledged task with its server-assigned ID. */
interface TaskCreateResponse {
interface TaskCreateResponse extends TaskBillingResponse {
id: string;
status: string;
/** True when this idempotency key reused the original task. */
task_replayed?: boolean;
}

@@ -61,3 +63,3 @@ /** A single generated image with its CDN URL. */

*/
interface TextToImageResponse {
interface TextToImageResponse extends TaskResponse {
id: string;

@@ -64,0 +66,0 @@ status: AsyncTaskStatus;

@@ -6,4 +6,4 @@ {

},
"version": "0.2.7",
"description": "RunAPI GPT Image 2 SDK for text-to-image and image editing workflows in JavaScript, Python, Ruby, Go, and Java",
"version": "0.2.8",
"description": "RunAPI GPT Image 2 SDK for text-to-image and image editing workflows in JavaScript, Python, Ruby, Go, Java, and PHP",
"main": "./dist/index.js",

@@ -34,3 +34,3 @@ "module": "./dist/index.mjs",

"dependencies": {
"@runapi.ai/core": "^0.2.7"
"@runapi.ai/core": "^0.3.0"
},

@@ -37,0 +37,0 @@ "devDependencies": {