docs
APIs
HDRI Extraction

HDRI Extraction


POST https://sdk.beeble.ai/v1/extract-hdri

Extract HDRI from an image.
It typically delivers the best performance when used with portrait images.

Request

Authentication


Requests are authenticated with an API key. You need x-api-key header of your request.
Example: x-api-key: YOUR_API_KEY

Body

source_image
string($binary)
The source image to extract hdri lighting.
Please upload the file as a part of the form data. Supported formats include .jpg, .png, and .webp. Images up to 2048x2048 resolution are accepted; images with higher resolution will be downscaled accordingly.

Response

Body

OK
200
Returns HDRI. (image/x-exr)

Example Usage

For those who are not familiar with using API, we recommend using Postman (opens in a new tab).


curl --request POST \
  --url https://sdk.beeble.ai/v1/extract-hdri \
  --header 'x-api-key: YOUR_API_KEY' \
  --form source_image=@original.jpg \
  -o result.exr # Remove if the image is broken; error will show.

Examples of input and output


Original Image
source_image
Result Image
result (.exr)

Support

Any question? Contact us at info@beeble.ai or join our Discord channel (opens in a new tab).

Last updated on