Photolab.me

Try Demo

About API

Photolab.me API is a powerful tool that allows developers to easily integrate a suite of advanced image processing features into their applications. With this API, users can transform their photos into stunning works of art, apply various filters, enhance colors, adjust brightness and contrast, and perform many other image manipulations with just a few lines of code.



Result

Details

1. Apply PhotoLab Effect - Version 1

This endpoint is used to apply a specific PhotoLab effect to an image using a combo ID.

  • Endpoint: https://api.magicapi.dev/api/v1/capix/photolab/photolab/v1/

  • Method: POST

  • Request Headers:

    • Content-Type: application/json

    • x-magicapi-key: API_TOKEN

  • Request Body:

    {
      "image_url": "URL_OF_IMAGE",
      "combo_id": "COMBO_ID"
    }

Parameters:

  • image_url: URL of the image to which the effect will be applied.

  • combo_id: ID of the specific PhotoLab effect to apply.

2. Apply PhotoLab Effect - Version 2

Similar to Version 1, this endpoint allows users to apply a specific PhotoLab effect to an image using a combo ID.

  • Endpoint: https://api.magicapi.dev/api/v1/capix/photolab/photolab/v2/

  • Method: POST

  • Request Headers:

    • Content-Type: application/json

    • x-magicapi-key: API_TOKEN

  • Request Body:

    {
      "image_url": "URL_OF_IMAGE",
      "combo_id": "COMBO_ID"
    }

Parameters:

  • image_url: URL of the image to which the effect will be applied.

  • combo_id: ID of the specific PhotoLab effect to apply.

3. Get PhotoLab Result

This endpoint retrieves the result of a PhotoLab editing request based on the provided request ID.

  • Endpoint: https://api.magicapi.dev/api/v1/capix/photolab/result/

  • Method: POST

  • Request Headers:

    • Content-Type: application/json

    • x-magicapi-key: API_TOKEN

  • Request Body:

    {
      "request_id": "REQUEST_ID"
    }

Parameters:

  • request_id: ID of the PhotoLab editing request for which the result is requested.

Code snippets

V1 with watermark

curl -X 'POST' \
  -H 'Content-Type: application/json' \
  -H 'x-magicapi-key: API_KEY' \
  -d '{
    "image_url": "https://storage.ws.pho.to/s2/7aa4876bc1f50bc92fc54cb3c326181ac5bbf5ef_m.jpeg",
    "combo_id": "23131838"
}' \
  'https://api.magicapi.dev/api/v1/capix/photolab/photolab/v1/'

V2 without watermark

curl -X 'POST' \
  -H 'Content-Type: application/json' \
  -H 'x-magicapi-key: API_KEY' \
  -d '{
    "image_url": "https://storage.ws.pho.to/s2/7aa4876bc1f50bc92fc54cb3c326181ac5bbf5ef_m.jpeg",
    "combo_id": "23131838"
}' \
  'https://api.magicapi.dev/api/v1/capix/photolab/photolab/v2/'

Result

curl -X 'POST' \
  -H 'Content-Type: application/json' \
  -H 'x-magicapi-key: API_KEY' \
  -d '{
    "request_id": REQUEST_ID
}' \
  'https://api.magicapi.dev/api/v1/capix/photolab/result/'

Trending Combos

Original
Result
Combo id

37890916

38097826

38105326

37978636

37983184

Combo IDs

When interacting with the PhotoLab API, one of the fundamental steps is identifying and choosing a suitable combo ID. These combo IDs serve as unique identifiers for specific image editing combinations. To locate these IDs, you'll need to navigate to the PhotoLab website at https://photolab.me/.

Upon reaching the PhotoLab website, you'll encounter a plethora of image filters and editing options available for exploration. Each filter or editing combination is associated with a distinct combo ID. To illustrate, let's consider the example of visiting the page https://photolab.me/d/31153495.

As you land on this page, you'll notice various filters, effects, and editing tools showcased, each contributing to a unique visual outcome. Among these elements, the combo ID is prominently displayed as 31153495. This alphanumeric code serves as the key to accessing and applying the specific editing combination represented on this page.


Last updated