@adobe/firefly-apis
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@adobe/firefly-apis

Version Downloads/week

Description

This repository is home to the Firefly Services SDK for JavaScript, designed for Node.js and web environments. It features libraries for various Firefly services, including product libraries for accessing specific product services like Firefly, Lightroom, and Photoshop, and a common library for shared functionalities.

@adobe/firefly-apis specifically is the Firefly package for accessing the Firefly product services.

You can refer to Firefly Services Homepage for getting started guides, details about adding these packages to your project and code samples.

Table below shows details on various API service endpoints and the corresponding SDK APIs

SDK to API Reference Mapping

Firefly API Endpoint SDK API Name Description
/v2/images/generate generateImages Generate images based on a prompt with optional reference image to match style.
/v1/images/expand expandImage Expand an image to a new size/aspect ratio Note: This suppports only images with 3 Channels (RGB), not recommended to use PNGs.
/v1/images/fill fillImage Fill the masked area of an image with an optional prompt.
/v2/storage/image upload Upload any content, such as images, videos, or documents. This api provides an opaque ID for referencing the uploaded content in other firefly apis.

Package Sidebar

Install

npm i @adobe/firefly-apis

Weekly Downloads

14

Version

1.1.0

License

Copyright (c) 2024 Adobe Inc

Unpacked Size

93.5 kB

Total Files

45

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe