Join our global community of Photoshop developers.
Recently active
Hi, Is there a way to both modify document (client.modifyDocument) and replace a smart object (client.replaceSmartObject) in one api call instead of two? Thanks
Hi All,I want to get the adjustment layer Kind value by using Photoshop SDK in C++.I have attached the screenshot which contains different adjustment layer Kind values.Please provide C++ code to get the adjustment layer kind values.Can anyone please help me with the above!
Hi All,I want to identify the linked layers by using Photoshop SDK in C++.Can anyone please help me with the above!
I am currently developing an external c++ command line app to parse a photoshop tif file .Using the file format (https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/)37724tImageSourceData . Begins with the null-terminated string " Adobe Photoshop Document Data Block ", (**PSB** " Adobe Photoshop Document Data V0002 "), followed by data of various types. See Photoshop TIFF.pdf for a list .I want to get the all layer and layer set details along with the blend mode , opacity , visibility etc.Also need to save the layer and layer mask images data as png or in binary.It's important that I stick with c++ & that this be an external application, so the Plugin SDK isn't much help here. I would really appreciate any thoughts/suggestions on the matter. Thanks all.
Using the following characterStyles, only font size is working, can't change color, underline, etc.:const options = {layers: [{edit: {},name: "test",text: {content: "Testing 123",orientation: "horizontal",characterStyles: [{underline:true,fontSize: 75,fontCaps: "allCaps",color: {blue: 300,green: 100,red: 63}}]}},]}
Hi,I created an Action JSON file which I use with the Photoshop API and send to this endpoint.https://image.adobe.io/pie/psdService/actionJSONHowever this object does not do anything (doesn't work):{ _obj: "javaScriptOptionsClass", height: { _unit: "pixelsUnit", _value: 1440.0 }, limit: false, message: "Fit Image action settings", width: { _unit: "pixelsUnit", _value: 1080.0 }, },How can I fit an image with the action JSON to certain dimensions? Everything normal works, I have tested different other actions which work but not this one. Thanks in advance!
Hi. I want to replace a color layer and an image layer on a psdt file with the API, is this possible? First resources showed me https://developer.adobe.com/photoshop/photoshop-api-docs/code-sample/#executing-an-actionjson but i'm not sure that I can use this on psdt files too
I have created plugin for Photoshop and want to use LimeLM TurboActiviate for licensing.Does anyone have experience with it? I found this page at their site:https://wyday.com/limelm/help/using-turboactivate-with-electron-nodejs/ But can not make this to work so far.If somone is willing to share code (of course only for this part not whole plugin) or give some advice? I would greatly appreciate it. Thank you.
Hi,I've been attempting to utilize the Photoshop API to execute certain actions but have encountered an obstacle related to storing the output.My intention is to use Dropbox for storing my outputs. However, I am encountering challenges when trying to run the actions.I have experimented with Photoshop actions files and actionJson, but unfortunately, I've encountered the same issue with both methods.Here is my request array:2 [ "headers" => [ "Authorization" => "my_auth" "x-api-key" => "my_key" ] "json" => [ "inputs" => [ 0 => [ "storage" => "external" "href" => "https://this_is_my_image_file_and_it_is_reachable.jpg" ] ] "options" => [ "actionJSON" => // My actions ] "outputs" => [ 0 => [ "storage" => "external" "href" => "https://content.dropboxapi.com/apitul/1/my_dropbox_temp_link" "type" => "image/jpeg" "embedColorProfile" =>
I want to use text endpoint with "from" and "to" options, but there are no options.I know there are in "pie/psdService/documentOperations" endpoint, but this can't edit without original font if there aren't preset-font.Do you know somehow to use like "from" "to" in text edit endpoint?
Hello, I have already programmed a Photoshop plugin and put it in the marketplace for free.Now I am working on my second plugin. This time I want to sell it.Now I am not sure if selling it as a subscription or for a fixed price works better.Therefore my question,may I publish the same plugin under different names to offer different payment methods?E.g..Name 1 : My-pluginname -->(for subscription model)Name 2 : My-pluginname Lifetime -->( for one time payment)both would get all updates, but the customer can choose if he prefers to pay subscription or one time paymentalso, how are your experiences with selling plugins. Is it worth it at all?
Does the input/output need to be a presigned url or can they be public (for the GET status of a job - API call)? The Documentation for General workflow (located here) says "The Photoshop API works with any public or signed url" but the programmer helping me says it needs to be presigned to work hoping someone could clarify. {"jobId": "f54e0fcb-260b-47c3-b520-de0d17dc2b67","outputs": [{"input": "presigned_GET_URL","status": "string","created": "string","modified": "string","_links": {}}],
Dear Community,As a fellow developer, I've recently ventured into using Photoshop for a project, and I must say it has proven to be an invaluable tool. Specifically, I've been impressed with its capabilities for background removal, applying shadows to subjects, and, most notably, the Generative Fill feature. This feature, driven by prompts, has the remarkable ability to generate highly realistic backgrounds for images.However, there is a significant limitation – the standard Photoshop API lacks an endpoint for the Generative Fill feature, rendering it impractical for commercial use. Therefore, I would like to reach out to individuals within Adobe or Adobe support to inquire about the potential release timeline for the Generative Fill endpoint within the Photoshop API.Your insights and assistance in this matter would be greatly appreciated.Warm regards,Vinay S.
Please provide a solution to our error: Error message: “The metascopes in the JWT are not a subset of the metascopes in the binding.. invalid_scope.” We're working to resolve an scope error that is thrown each time we provide credentials from the Adobe Developer Console. Credentials needed include Client ID, Client Secret, Technical account ID, and generated public/private keypair. We were given documentation ITAM documentation to resolve make the API connection although we're constantly received the same error. Even with all the necesarry requirements. Please assist, Thank you.
Hello. I have a PSD file consisting of several layer groups. I'm trying to use the Photoshop JavaScript API to extract these layer groups into separate PSD files. This is the relevant section of my code: const axios = require('axios'); ... let psdData = { "inputs": [{ "href": presignedUrl, "storage": "external" }], "options": <options> }, "outputs": [{ "storage": "external", "type": <PSD type>, "href": uploadURL }] } let config = { method: 'post', maxBodyLength: Infinity, url: '<PSD service URL>', headers: { 'Authorization': 'Bearer ' + aioToken, 'x-api-key': aioApiKey, headers }, data: JSON.stringify(psdData) }; let resp = await axios.request(config); The layer groups have predictable names, that could be hardcoded if needed (although this is not ideal).What should go into <options>, <PSD type> and <PSD service URL> to ach
I want to edit my text with Adobe api and set the text properties above image[Drop Shadow] → Angle 90° / Distance: 6px / Spread: 100% / Size: 7p[Boundary] → 5px / Outside / #009ffb
I've successfully made an API call to Execute Photoshop Actions From This API POST request (by providing an image and action file) which returns _links self href(something like this https://image.adobe.io/pie/psdService/status/a60eacae-8f38-42e1-93b1-70fd77e74a40) I was exspecting to get a url path (text) to the image or something that the actions were performed on, does anyone know how I get the results of what the actions did? Thank You!
I have OAuth Server-to-server setup for the Adobe Photoshop API. When I initialize the call to the endpoint https://image.adobe.io/pie/psdService/photoshopActions I get a 200 response (_links self href) with the job id at the end.{ "_links": { "self": { "href": "https://image.adobe.io/pie/psdService/status/b6b387d1-3368-447d-9fb6-5ee3c5539183" } }}The problem is when I paste this into another browser window I keep getting:{"error_code":"401013","message":"Oauth token is not valid"} In my photoshop developer console I see the quota used is also registering the calls made. If my the api call is being made and the response (200) is working as above why do I continue to get "Oauth token is not valid"?I'm using OAuth server-to-server The endpoint POST Im calling is the Execute Photoshop Actions.Any help would be greatly appreciated!
I am trying to use the photoshop API, I read the docs of the authorization and it says the way to connect with this api is the OAUTH token, but when created a project i dont show the option to conect it the Oauth, only the JWT, but when I tryed to use the POSTMAN with the JWT, it says that OAUTH token is not valid.Some know where I can find this oauth or if i am doing some thing wrong
Hi Photoshop Developers, It is with great excitement that we announce the release of the Photoshop API Action JSON endpoint to the public. The documentation for this feature is now live and can be found here. Similar to the Photoshop Actions endpoint, this api also allows you to apply a Photoshop Action to an image programmatically. However, there are a few key differences which give you added flexibility. Ability to modify the payload converting your static .atn file into a dynamic one. You don’t need to upload and store your .atn file as you do with the Photoshop Actions endpoint. The functionality actionJSON unlocks has long been requested and we are excited to see what you build with it!
Hi,My client - who intends to use the Photoshop API for his customers service, needs me to implement the current workflow :- Taking a photo and upload it to our server- Inserting it in a existing PSDs which already have layer effects- Execute the corresponding ATN- Get the result in PNG formatWe already know how to implement 95% of this workflow, but we don't find any info about the possibility to insert an image in a existing PSDs (stored in AWS S3)Do you have any informations about this ?Kind regardsGrégory
Hey everyone! I'm a big fan of using the API to programmatically apply multiple actions using a Actions JSON or .atn file to an image. However, I noticed that certain tasks inside an Action seem to not be executable. Are tasks that are part of the current beta version of Photoshop available when using the Actions API endpoint? Thanks everyone,Linus
Greetings! We've got a new article up on the blog you may like - an example of using the ActionJSON endpoint: https://blog.developer.adobe.com/new-to-the-photoshop-api-the-actionjson-api-69bdc4eb72f1 Enjoy.
Hi Developers, is it possible to read some document properties within the command of an action Json.For example, i need to know the actual width and height of the document after an automatic trim and i need to know the RGB color code of a pixel after applying the commanf "Average" Thank You Very MuchAndrea
Differences when modifying a smart object with the API and the desktop version of PhotoshopChanging a layer through the API does not change the linked layers.I edit a layer with a name:IMG HERE | right-click > edit contentsI've used two methods (Apply psd edits, Replace Smart Object), but I still can't insert the image inside the smart object so that all the linked layers are the same.I attach a screenshot from the desktop version PS and a screenshot of the results of the API:
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.