adobedocs / photoshop-api-docs Goto Github PK
View Code? Open in Web Editor NEWAdobe Photoshop API
Home Page: https://adobedocs.github.io/photoshop-api-docs/
License: MIT License
Adobe Photoshop API
Home Page: https://adobedocs.github.io/photoshop-api-docs/
License: MIT License
I am looking to use Photoshop's content-aware fill within the API. I assume this behavior would be under the "edit objects" part of the docs, but I am not sure the what's the proper syntax when trying to use that function. Does anyone know how to use this Photoshop function in the API?
The Photo API needs an access token in the scope="system,openid,AdobeID,creative_sdk"
Invalid scopes but I was able to generate an access token using just 'openid,AdobeID,creative_sdk'
using scopes=system,openid,AdobeID,creative_sdk
I am getting the below error when trying the API with PSD files larger than 100 MB, but for smaller files, it is working perfectly.
{
"input": "files/xyz.psd",
"status": "failed",
"created": "2020-10-06T06:59:01.852Z",
"modified": "2020-10-06T06:59:11.854Z",
"errors": {
"code": 500,
"title": "PIE has thrown an exception",
"type": "InternalServiceError"
}
}
Is there any size limitation?
The documentation indicates that the default font size unit for text layers is in point: fontSize | float | in points. So, i'm expecting to retreive the value in points
But, from what I see in my tests, the values returned are in pixels not in points.
Retreive any JSON manifest from the API and have a look at the layer text characterStyle fontSize
Is there a way to know the current unit? and/or to specify it when calling the API to get the manifest?
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
Replace content in smartobject after that i can see the resault on image uploaded to s3 presign url
Cant see the result on presign url
step1:
request replace content:
curl --location --request POST 'https://image.adobe.io/pie/psdService/smartObject' \ --header 'Authorization: Bearer <REDACTED>' \ --header 'x-api-key: <REDACTED>' \ --header 'Content-Type: application/json' \ --data-raw '{ "inputs": [ { "href": "https://assets.boostflow.com/phub/16000522145f5edbf62342e.psd", "storage": "external" } ], "options": { "layers": [ { "name": "print", "input": { "href": "https://img.boostflowcdn.com/phub/[email protected]", "storage": "external" } } ] }, "outputs": [ { "storage": "external", "href": "https://s3.amazonaws.com/assets-dev.boostflow.com/phub/adobe/1615225486437418dbe9.psd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUAOPEXUFUULWPPYA%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T174446Z&X-Amz-Expires=2160000&X-Amz-SignedHeaders=content-encoding%3Bcontent-type%3Bhost%3Bx-amz-acl&X-Amz-Signature=bf22590591feb5632a596b6e4243c5b3ce016a148012a05372e2a465ce6eda90", "type": "vnd.adobe.photoshop" } ] }'
step2:
check status:
https://image.adobe.io/pie/psdService/status/9fcd6642-50e1-4eaf-aa32-6871eb5cbcc1
step3:
check result:
{ "jobId": "9fcd6642-50e1-4eaf-aa32-6871eb5cbcc1", "outputs": [ { "input": "https://assets.boostflow.com/phub/16000522145f5edbf62342e.psd", "status": "succeeded", "created": "2021-03-08T17:45:01.888Z", "modified": "2021-03-08T17:45:04.098Z", "_links": { "renditions": [ { "href": "https://s3.amazonaws.com/assets-dev.boostflow.com/phub/adobe/1615225486437418dbe9.psd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUAOPEXUFUULWPPYA%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T174446Z&X-Amz-Expires=2160000&X-Amz-SignedHeaders=content-encoding%3Bcontent-type%3Bhost%3Bx-amz-acl&X-Amz-Signature=bf22590591feb5632a596b6e4243c5b3ce016a148012a05372e2a465ce6eda90", "storage": "external", "type": "vnd.adobe.photoshop" } ] } } ], "_links": { "self": { "href": "https://image.adobe.io/pie/psdService/status/9fcd6642-50e1-4eaf-aa32-6871eb5cbcc1" } } }
step 4:
access to presign url:
https://s3.amazonaws.com/assets-dev.boostflow.com/phub/adobe/1615225486437418dbe9.psd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUAOPEXUFUULWPPYA%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T174446Z&X-Amz-Expires=2160000&X-Amz-SignedHeaders=content-encoding%3Bcontent-type%3Bhost%3Bx-amz-acl&X-Amz-Signature=bf22590591feb5632a596b6e4243c5b3ce016a148012a05372e2a465ce6eda90
but nothing uploaded to this url.
bucket-owner-full-control
or public-read-write
LRc provide here the open api specs, Ps has one?
Hello, the api support the use of displacement maps on Smart Object?
I would like to download a rendition created with the API, but it isn't clear how I would do that.
I would like to download a rendition of a layer with the API but it isn't clear how to do that either.
Trying to create a new integration via https://console.adobe.io/integrations and when I select Photoshop as the Adobe Service I wish to integrate with both OAuth integration and Service Account integration options are disabled and so I cannot proceed to continue with the next step. What am I missing here?
Supporting Persian Or Arabic texts
unfortunately api doesn't support Middle Eastern languages
I expect the Request table properties to align with the example code.
The Request table uses size
while all the examples use width
.
View the docs at: photoshop-api-docs/api_docs/index.html#api-Renditions-create_renditions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.