{"_id":"@adobe/adobe-photoshop-api-sdk","_rev":"22-8491b745a5eb86eca7e6e11e76b8dc54","name":"@adobe/adobe-photoshop-api-sdk","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@adobe/adobe-photoshop-api-sdk","version":"1.1.0","author":"","license":"MIT","_id":"@adobe/adobe-photoshop-api-sdk@1.1.0","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"homepage":"https://github.com/adobe/adobe-photoshop-api-sdk#readme","bugs":{"url":"https://github.com/adobe/adobe-photoshop-api-sdk/issues"},"dist":{"shasum":"399b58bcf027063706f31e40a07915c92d7943b9","tarball":"https://registry.npmjs.org/@adobe/adobe-photoshop-api-sdk/-/adobe-photoshop-api-sdk-1.1.0.tgz","fileCount":53,"integrity":"sha512-dITERCRE2qRgRQxK69skajB3gs9x8jadpZ9JMW0EZFFhXbKBDBvhsVxHjFg55vACkTTRaaCZ3iAnEzqa6lT1mw==","signatures":[{"sig":"MEUCIAJcJPLx05ulvAFtQ+drufOb6Nr0/nYaCXiCzpP7Q4tlAiEApqo6aC3Jz+YA8q0Ok/gJZiJZ4r7JB4TxUt1T0czv6zU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34011471},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"74e511df8d071bd70def081ed705ca57d2c013c8","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"eslint","releaseRules":[{"release":false,"subject":"*"},{"release":"minor","subject":"FEATURE-RELEASE:*"},{"release":"patch","subject":"BUGFIX-RELEASE:*"},{"release":"major","subject":"BREAKING-RELEASE:*"}]}],["@semantic-release/release-notes-generator",{"preset":"eslint"}],["@semantic-release/npm"],["@semantic-release/git",{"assets":["package.json","package-lock.json"],"preset":"eslint","message":" [ci skip] no-release: version number update"}],["@semantic-release/github"]],"branches":["main"]},"scripts":{"test":"echo \"Error: no test specified\" && exit 0","start":"node server.js","semantic-release":"semantic-release"},"_npmUser":{},"repository":{"url":"git+https://github.com/adobe/adobe-photoshop-api-sdk.git","type":"git"},"_npmVersion":"7.24.2","description":"Adobe Photoshop API SDK","directories":{},"_nodeVersion":"14.18.3","dependencies":{"aws-sdk":"^2.1313.0","express":"^4.18.2","@adobe/jwt-auth":"^2.0.0","@aws-sdk/client-s3":"^3.235.0","@adobe/aio-lib-photoshop-api":"^1.1.0","@aws-sdk/client-cognito-identity":"^3.235.0","@aws-sdk/credential-provider-cognito-identity":"^3.235.0"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.82.1","webpack-cli":"^5.1.1","babel-loader":"^9.1.2","path-browserify":"^1.0.1","semantic-release":"^17.4.7","@babel/preset-env":"^7.21.5","@semantic-release/git":"^9.0.1","conventional-changelog-eslint":"^3.0.9"},"_npmOperationalInternal":{"tmp":"tmp/adobe-photoshop-api-sdk_1.1.0_1686098120154_0.9231426452634264","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@adobe/adobe-photoshop-api-sdk","version":"1.1.1","author":{"name":"Adobe Inc."},"license":"MIT","_id":"@adobe/adobe-photoshop-api-sdk@1.1.1","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"homepage":"https://github.com/adobe/adobe-photoshop-api-sdk#readme","bugs":{"url":"https://github.com/adobe/adobe-photoshop-api-sdk/issues"},"dist":{"shasum":"8e3f83b30891082a05936e2286bf4ba75208b928","tarball":"https://registry.npmjs.org/@adobe/adobe-photoshop-api-sdk/-/adobe-photoshop-api-sdk-1.1.1.tgz","fileCount":53,"integrity":"sha512-Mb4S3sal0TtQorc9CzOu0wJUryJgjGu4jp0lwskBrym4CHLu++P8CrVS+D/uTlZ3dLheSUOwb1rD+dDMZ3umlw==","signatures":[{"sig":"MEUCIQDXJ4lxtOPWxhXnnkTtKHpX8Wg8/DqCGEkFJOg0ogRxtwIgEpsyhVl70ytN8+EmXgbIjWEBbTy7AMlrc5YFvW7St7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34011530},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"ac4b946d0e6bb81b034599655b1b603379e2b4b5","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"eslint","releaseRules":[{"release":false,"subject":"*"},{"release":"minor","subject":"FEATURE-RELEASE:*"},{"release":"patch","subject":"BUGFIX-RELEASE:*"},{"release":"major","subject":"BREAKING-RELEASE:*"}]}],["@semantic-release/release-notes-generator",{"preset":"eslint"}],["@semantic-release/npm"],["@semantic-release/git",{"assets":["package.json","package-lock.json"],"preset":"eslint","message":" [ci skip] no-release: version number update"}],["@semantic-release/github"]],"branches":["main"]},"scripts":{"test":"echo \"Error: no test specified\" && exit 0","start":"node server.js","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/adobe-photoshop-api-sdk.git","type":"git"},"_npmVersion":"7.24.2","description":"Adobe Photoshop API SDK","directories":{},"_nodeVersion":"14.18.3","dependencies":{"aws-sdk":"^2.1313.0","express":"^4.18.2","@adobe/jwt-auth":"^2.0.0","@aws-sdk/client-s3":"^3.235.0","@adobe/aio-lib-photoshop-api":"^1.1.0","@aws-sdk/client-cognito-identity":"^3.235.0","@aws-sdk/credential-provider-cognito-identity":"^3.235.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.82.1","webpack-cli":"^5.1.1","babel-loader":"^9.1.2","path-browserify":"^1.0.1","semantic-release":"^17.4.7","@babel/preset-env":"^7.21.5","@semantic-release/git":"^9.0.1","conventional-changelog-eslint":"^3.0.9"},"_npmOperationalInternal":{"tmp":"tmp/adobe-photoshop-api-sdk_1.1.1_1686174734611_0.5743346218026775","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-06-07T00:35:20.153Z","modified":"2026-10-01T01:31:46.819Z","1.1.0":"2023-06-07T00:35:20.698Z","1.1.1":"2023-06-07T21:52:15.080Z"},"bugs":{"url":"https://github.com/adobe/adobe-photoshop-api-sdk/issues"},"author":{"name":"Adobe Inc."},"license":"MIT","homepage":"https://github.com/adobe/adobe-photoshop-api-sdk#readme","repository":{"url":"git+https://github.com/adobe/adobe-photoshop-api-sdk.git","type":"git"},"description":"Adobe Photoshop API SDK","maintainers":[{"email":"mabecker@adobe.com","name":"marbec"},{"email":"tripod@bocanegra.ch","name":"tripod"},{"email":"garthdb@gmail.com","name":"garthdb"},{"email":"lazdnet@gmail.com","name":"lazd"},{"email":"grp-opensourceoffice@adobe.com","name":"adobe-admin"},{"email":"patrickfulton@gmail.com","name":"patrickfulton"},{"email":"lars@trieloff.net","name":"trieloff"},{"email":"krisnye@gmail.com","name":"krisnye"},{"email":"dcpfsdk@adobe.com","name":"dcpfsdk"},{"email":"natebaldwindesign@gmail.com","name":"natebaldwin"},{"email":"devongovett@gmail.com","name":"devongovett"},{"email":"danniintheus@gmail.com","name":"aspro83"},{"email":"symanovi@adobe.com","name":"symanovi"},{"email":"dominique.pfister@gmail.com","name":"dpfister"},{"email":"sg@adobe.com","name":"stefan-guggisberg"},{"email":"npm@rofe.com","name":"rofe"},{"email":"kptdobe@gmail.com","name":"kptdobe"},{"email":"halls@adobe.com","name":"adobehalls"},{"email":"bradjohn@adobe.com","name":"fullcolorcoder"},{"email":"djaeggi@adobe.com","name":"djaeggi"},{"email":"dylandepass@gmail.com","name":"dylandepass"},{"email":"mhaack@adobe.com","name":"mhaack"},{"email":"amol@adobe.com","name":"amol-anand"},{"email":"stopp@adobe.com","name":"stopp-adobe"},{"email":"namarora@adobe.com","name":"namarora"},{"email":"doten@adobe.com","name":"doten"},{"email":"schmidt@adobe.com","name":"duh_schmidt"},{"email":"astha.bhargava23@gmail.com","name":"asthabh23"},{"email":"aljoseph@adobe.com","name":"aljoseph"},{"email":"zouhir.dahbi@outlook.com","name":"zdahbi"},{"email":"tuicu@adobe.com","name":"tuicu"},{"email":"fmeschbe@adobe.com","name":"fmeschbe"}],"readme":"# Adobe Photoshop API SDK Beta\n\n## To Get Started\n\nYou’ll need to have: \n\n1. Access to Photoshop API credentials. If you don't already have any you can create them by signing up [here](https://developer.adobe.com/photoshop/api/signup/?ref=signup).\n   1. Enter your project name and click on “Create credentials” and keep an eye out for the `config.zip` that will automatically download.\n   ![](docs/configzip.jpg)\n1. Access to AWS\n   1. If you don't already have an AWS account you can create one [here](https://docs.aws.amazon.com/rekognition/latest/dg/setting-up.html).\n   1. Once your account is created create an S3 bucket by going [here](https://s3.console.aws.amazon.com/s3/buckets).\n   1. Click on “Create bucket” and name your bucket. \n\n#### Create AWS access key\n\n1. If you do not have an AWS access key already you will need to create one by going to [AWS IAM console](https://us-east-1.console.aws.amazon.com/iamv2/home?region=us-west-2#/users).\n1. Click on your user name. ![](docs/aws_users.png)\n1. Click on \"Security credentials\" ![](docs/security_credentials.png)\n1. Scroll down the page and click on \"Create access key\" ![](docs/create_access_key.png)\n1. Select \"Command Line Interface\" and click \"Next\" ![](docs/CLI_next.png) \n1. Enter a name for your access key and click on “Create access key” ![](docs/set_description.png) \n1. Copy and paste the “Secret access key” and store it in a safe place. You will need it in the next step.\n  _We recommend downloading the .csv file and storing it in a safe location as the Secret will not be accessible after you leave the screen_ \n\n#### Set up AWS CLI\n\n 1. Install [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) \n 1. Configure AWS CLI by running the following command in your terminal `aws configure`\n 1. If you already have an aws profile you would need to run `aws configure [--profile profile-name]`  \n 1. You will need to enter the following information\n 1. Add your AWS access key \n 1. AWS Secret access key \n 1. Default region (choose a region closest to you for faster processing) \n 1. Default output format: NONE\n 1. Test AWS CLI: Run the following command `aws s3 ls` to verify everything is configured correctly. The command should return a list of your available buckets. \n\n#### Download this project\n\n1. Open your terminal\n1. Run `git clone https://github.com/adobe/adobe-photoshop-api-sdk` to download the SDK.\n1. Change directory into `adobe-photoshop-api-sdk`\n1. Run `npm install` to install node modules\n1. Unzip the  _config.zip_ file that downloaded at the start and save `private.key` as `config/private.key` in this project\n1. Open `config/adobe-template.js`, fill in the information, and save `config/adobe.js`\n   1. Everything you need to fill out the template can be found in your [console](https://developer.adobe.com/console/projects)\n1. Open `config/aws-template.js`, fill in the information, and save `config/aws.js`\n   1. See README to find where to get those information.\n\n```\n// Adobe Photoshop API Configuration\n// https://developer.adobe.com/console/projects -> project -> Service Account (JWT)\nconst adobeConfig = {\n  clientId: \"\",\n  clientSecret: \"\",\n  technicalAccountId: \"\",\n  orgId: \"\",\n  metaScopes: [\"ent_ccas_sdk\"],\n};\n```\n\n```\n// AWS Configuration\n// https://aws.amazon.com/console/\nconst awsConfig = {\n  region: \"\", // us-east-1\n  bucketName: \"\" // aws s3 bucket name\n}\n```\n\n## Sample Script\n\n#### Run a sample script (src/sample/psapi/...)\n\n1. Run a sample\n\n```\nnode src/sample/psapi/01_createCutout.js\n```\n\n2. Find your output file in your S3 storage, output directory (ex: s3://<awsConfig.bucketName>/output/...)\n\n#### Run a sample scrip for a batch job (src/sample/batch_script/...)\n\n1. Store multiple JPEG files in your S3 storage (ex: s3://<awsConfig.bucketName>/input/...) or modify input/output directories in the sample script.\n```\n// -------------------------------------------------\n// Enter your parameters\n// -------------------------------------------------\nconst inputDir = 'input/' //your input directory in S3 bucket (ex: s3://<awsConfig.bucketName>/input)\nconst outputDir = 'output' //your output directory in S3 bucket (ex: s3://<awsConfig.bucketName>/input/output)\n\nconst listObjectsInputRequest = { //URI Request Parameters\n  // Add more request as you like.  see https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html for more details\n  Bucket: awsConfig.bucketName, //Bucket name to list.\n  Prefix: inputDir, // Keys that begin with the indicated prefix.\n  MaxKeys: 5 // Sets the maximum number of keys returned in the response. By default the action returns up to 1,000 key names.\n};\n// -------------------------------------------------\n```\n2. Run a sample\n\n```\nnode src/sample/batch_job/01_createCutout_batch.js\n```\n\n3. Find your output files in your S3 storage, output directory (ex: s3://<awsConfig.bucketName>/input/output/...)\n\n- You can also use AWS CLI to sync files from your S3 storage into your local machine (ex: `aws s3 sync s3://<awsConfig.bucketName>/input/output/ /Users/<username>/Desktop/output/`)\n\n## Links\n\n- [Photoshop API documentation](https://developer.adobe.com/photoshop/photoshop-api-docs/api/)\n- [Demo](https://developer.adobe.com/photoshop/api/demo/)\n- [Curl command examples](https://developer.adobe.com/photoshop/photoshop-api-docs/code-sample/)\n- [Create a credential](https://developer.adobe.com/photoshop/api/signup/?ref=signup)\n- [Supported Features](https://developer.adobe.com/photoshop/photoshop-api-docs/features/)\n- [Submit a ticket for support or feedback](https://psd-services.zendesk.com/hc/en-us/requests/new)\n","readmeFilename":"README.md"}