@adobe/firefly-apis
Advanced tools
{ | ||
"name": "@adobe/firefly-apis", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Adobe", | ||
@@ -5,0 +5,0 @@ "license": "Copyright (c) 2024 Adobe Inc", |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -31,2 +31,3 @@ * | ||
import type { GenerateSimilarImagesResponse } from "./models/GenerateSimilarImagesResponse"; | ||
import type { GenerateVideoRequestV3 } from "./models/GenerateVideoRequestV3"; | ||
import type { UploadResponse } from "./models/UploadResponse"; | ||
@@ -53,2 +54,19 @@ /** | ||
/** | ||
* Generate video from text | ||
* Generate a video using a text prompt. | ||
* @param requestBody The request body for the video generation. Any of these listed properties can be individually omitted/empty, but some kind of parameter data is required. | ||
* @param additionalParams Additional parameters to send with the request | ||
* @param additionalParams.xModelVersion Specify the Firefly model version to use for the video generation. | ||
* @param options Additional options to send any additional data or cancel the request | ||
* @returns any Successful Response | ||
* @throws {ApiError} | ||
*/ | ||
generateVideoV3(requestBody: GenerateVideoRequestV3, additionalParams?: { | ||
xModelVersion: "video1_standard"; | ||
}, options?: ApiOptions): Promise<ApiResponse<{ | ||
jobId: string; | ||
statusUrl: string; | ||
cancelUrl: string; | ||
}>>; | ||
/** | ||
* Upload API | ||
@@ -55,0 +73,0 @@ * @param requestBody Upload source image or mask image of types PNG/JPEG/WEBP for Image-to-Image operations, such as fill, expand. This api returns an identifier that is used to refer to uploaded content. |
@@ -86,2 +86,42 @@ "use strict"; | ||
/** | ||
* Generate video from text | ||
* Generate a video using a text prompt. | ||
* @param requestBody The request body for the video generation. Any of these listed properties can be individually omitted/empty, but some kind of parameter data is required. | ||
* @param additionalParams Additional parameters to send with the request | ||
* @param additionalParams.xModelVersion Specify the Firefly model version to use for the video generation. | ||
* @param options Additional options to send any additional data or cancel the request | ||
* @returns any Successful Response | ||
* @throws {ApiError} | ||
*/ | ||
generateVideoV3(requestBody, additionalParams = { | ||
xModelVersion: "video1_standard" | ||
}, options) { | ||
return this._httpRequest.request({ | ||
method: "POST", | ||
url: "/v3/videos/generate", | ||
headers: { | ||
"x-model-version": additionalParams.xModelVersion | ||
}, | ||
body: requestBody, | ||
mediaType: "application/json", | ||
errors: { | ||
400: `Bad Request`, | ||
403: `Forbidden`, | ||
404: `Not Found`, | ||
408: `Request Timeout`, | ||
409: `Conflict`, | ||
410: `Gone`, | ||
415: `Unsupported Media Type`, | ||
422: `Unprocessable Entity`, | ||
429: `Too Many Requests`, | ||
451: `Unavailable For Legal Reasons`, | ||
499: `Additional Response`, | ||
500: `Internal Server Error`, | ||
501: `Not Implemented`, | ||
503: `Service Unavailable` | ||
}, | ||
signal: options === null || options === void 0 ? void 0 : options.signal | ||
}); | ||
} | ||
/** | ||
* Upload API | ||
@@ -88,0 +128,0 @@ * @param requestBody Upload source image or mask image of types PNG/JPEG/WEBP for Image-to-Image operations, such as fill, expand. This api returns an identifier that is used to refer to uploaded content. |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -24,3 +24,8 @@ * | ||
export type { ApiError } from "./models/ApiError"; | ||
export type { AsyncResponseV3 } from "./models/AsyncResponseV3"; | ||
export type { AsyncResult } from "./models/AsyncResult"; | ||
export type { BaseInputImage } from "./models/BaseInputImage"; | ||
export { CameraMotion } from "./models/CameraMotion"; | ||
export type { ClinetoSize } from "./models/ClinetoSize"; | ||
export type { ClipRange } from "./models/ClipRange"; | ||
export { ContentClass } from "./models/ContentClass"; | ||
@@ -39,3 +44,6 @@ export { ErrorCode } from "./models/ErrorCode"; | ||
export type { GenerateSimilarImagesResponse } from "./models/GenerateSimilarImagesResponse"; | ||
export type { GenerateVideoRequestV3 } from "./models/GenerateVideoRequestV3"; | ||
export type { ImageConditionV3 } from "./models/ImageConditionV3"; | ||
export type { InputImage } from "./models/InputImage"; | ||
export type { InputImageV3 } from "./models/InputImageV3"; | ||
export type { ObjectCompositeInputImage } from "./models/ObjectCompositeInputImage"; | ||
@@ -46,4 +54,8 @@ export type { OutputImage } from "./models/OutputImage"; | ||
export type { PlacementInset } from "./models/PlacementInset"; | ||
export type { PlacementStart } from "./models/PlacementStart"; | ||
export type { PublicBinaryInput } from "./models/PublicBinaryInput"; | ||
export type { PublicBinaryInputV3 } from "./models/PublicBinaryInputV3"; | ||
export type { PublicBinaryOutput } from "./models/PublicBinaryOutput"; | ||
export { ShotAngle } from "./models/ShotAngle"; | ||
export { ShotSize } from "./models/ShotSize"; | ||
export type { Size } from "./models/Size"; | ||
@@ -57,1 +69,8 @@ export type { StructureImageReference } from "./models/StructureImageReference"; | ||
export type { ValidationErrorMessage } from "./models/ValidationErrorMessage"; | ||
export type { VideoApiError } from "./models/VideoApiError"; | ||
export type { VideoOutput } from "./models/VideoOutput"; | ||
export type { VideoPlacement } from "./models/VideoPlacement"; | ||
export { VideoPromptStyle } from "./models/VideoPromptStyle"; | ||
export type { VideoResult } from "./models/VideoResult"; | ||
export type { VideoSettingsV3 } from "./models/VideoSettingsV3"; | ||
export type { VideoValidationErrorMessage } from "./models/VideoValidationErrorMessage"; |
@@ -6,3 +6,3 @@ "use strict"; | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -21,3 +21,3 @@ * | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ErrorCode = exports.ContentClass = exports.AlignmentVertical = exports.AlignmentHorizontal = exports.FireflyClient = void 0; | ||
exports.VideoPromptStyle = exports.ShotSize = exports.ShotAngle = exports.ErrorCode = exports.ContentClass = exports.CameraMotion = exports.AlignmentVertical = exports.AlignmentHorizontal = exports.FireflyClient = void 0; | ||
var Firefly_1 = require("./Firefly"); | ||
@@ -29,2 +29,4 @@ Object.defineProperty(exports, "FireflyClient", { enumerable: true, get: function () { return Firefly_1.FireflyClient; } }); | ||
Object.defineProperty(exports, "AlignmentVertical", { enumerable: true, get: function () { return AlignmentVertical_1.AlignmentVertical; } }); | ||
var CameraMotion_1 = require("./models/CameraMotion"); | ||
Object.defineProperty(exports, "CameraMotion", { enumerable: true, get: function () { return CameraMotion_1.CameraMotion; } }); | ||
var ContentClass_1 = require("./models/ContentClass"); | ||
@@ -34,1 +36,7 @@ Object.defineProperty(exports, "ContentClass", { enumerable: true, get: function () { return ContentClass_1.ContentClass; } }); | ||
Object.defineProperty(exports, "ErrorCode", { enumerable: true, get: function () { return ErrorCode_1.ErrorCode; } }); | ||
var ShotAngle_1 = require("./models/ShotAngle"); | ||
Object.defineProperty(exports, "ShotAngle", { enumerable: true, get: function () { return ShotAngle_1.ShotAngle; } }); | ||
var ShotSize_1 = require("./models/ShotSize"); | ||
Object.defineProperty(exports, "ShotSize", { enumerable: true, get: function () { return ShotSize_1.ShotSize; } }); | ||
var VideoPromptStyle_1 = require("./models/VideoPromptStyle"); | ||
Object.defineProperty(exports, "VideoPromptStyle", { enumerable: true, get: function () { return VideoPromptStyle_1.VideoPromptStyle; } }); |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /************************************************************************* | ||
* | ||
* Copyright 2024 Adobe | ||
* Copyright 2025 Adobe | ||
* All Rights Reserved. | ||
@@ -8,0 +8,0 @@ * |
{ | ||
"name": "@adobe/firefly-apis", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Adobe", | ||
@@ -22,4 +22,4 @@ "license": "Copyright (c) 2024 Adobe Inc", | ||
"dependencies": { | ||
"@adobe/firefly-services-common-apis": "2.0.0", | ||
"@adobe/firefly-services-sdk-core": "2.0.0" | ||
"@adobe/firefly-services-sdk-core": "2.0.0", | ||
"@adobe/firefly-services-common-apis": "2.0.0" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
243250
33.56%112
51.35%5302
37.22%0
-100%