Pixlr는 타사 개발자가 Pixlr의 강력한 편집 기능을 자체 애플리케이션에 통합하여 창의적인 도구와 솔루션으로 구성된 역동적인 생태계를 조성할 수 있도록 API를 제공합니다.
Integrating Pixlr Applications server-side allows you to interact with Pixlr's powerful image editing capabilities by using simple HTTP methods.
This integration method involves passing an JWT token to the Pixlr Application of your choice.
When the user saves the edited image, the Pixlr Application will save the image back to the server using a simple HTTP POST request.
Make sure you have an API key and secret.
An API key and secret can be created under the Developer tab in My Account.
Make sure you can generate a JWT token.
Generate your token with the following payload.
Be ready to receive a POST with a form encoded with multipart/form-data on the endpoint you defined in saveUrl.
The POST will only contain one field called file, which is the file the user has saved.
To have the Pixlr Application open in a preferred language, you can append the language code to the base url.
Like so: https://pixlr.com/jp/editor/?token=eyJhbGc...gYAUKKg
Allowed language codes are
Language | Code |
---|---|
English | us |
Bahasa Indonesia | id |
Bahasa Melayu | ml |
Čeština | cz |
Dansk | dk |
Deutsch | de |
Español | es |
Filipino | ph |
Français | fr |
Hrvatski | hr |
Italiano | it |
Nederlands | nl |
Norsk | no |
Polski | pl |
Português | pt |
Português (Brasileiro) | br |
Romanian | ro |
Србија | rs |
Русский | ru |
Suomi | fi |
Svenska | se |
Türkçe | tr |
Tiếng Việt | vn |
ไทย | th |
Ελληνικά | gr |
한국어 | kr |
日本語 | jp |
中文 | cn |
繁體中文 | tw |