FrameIT API Documentation

FrameIT transforms any image into a 3D object to display it in Augmented Reality on mobile devices. FrameIT incorporates a variety of frame styles and colors, giving users the opportunity to ensure that not only the size and style of an artwork, but also its framing, harmonize with their interior.

API DEMO

Explore two practical implementations on our Demo page:

  • Online Store

  • Art Gallery

You can access the demonstrations here.

PARAMETERS OF THE FrameIT API

To get your API key, please contact us.

Base URL of the API: https://www.frameit.ar/api/frameit

Endpoint : /

Description : Adds a frame to an image.

HTTP Method : POST

Request Parameters:

PARAMETER

DESCRIPTION

VALUES (can be extended upon request)

File

Image file to be processed

Supported formats: JPG, PNG, BMP

File

ImageUrl

URL of the image to be processed

Supported formats: JPG, PNG, BMP

ImageUrl

Unit

Unit of measurement for dimensions

cm (centimeters), in (inches)

ImageWidth

Desired Width excluding frame, in AR

Any positive number.

Decimals are supported, but fractions are not.

ImageHeight

Desired Height excluding frame, in AR

(Optional)

Any positive number.

Decimals are supported, but fractions are not.

MatWidth

Width of the mat

(Optional)

0: ignored (no mat)

Any positive number.

Decimals are supported, but fractions are not.

SupportType

Type of support

Canvas, Dibond, Photo, Plexiglass, Poster, Transparent

FrameType

Type of frame

None, Thin_Wood, Large_Wood, Thin_Floater, Floater, Aluminum

FrameColor

Color of the frame (Optional)

Black, White, Natural_Oak, Gold, Silver, Copper

Available associations (frame type & color)

  • Thin_Wood: available with Black, White, Natural_Oak

  • Large_Wood: available with Gold

  • Thin_Floater: available with Black, White, Natural_Oak

  • Floater: available with Black, White, Natural_Oak

  • Aluminum: available with Black, White, Gold, Silver, Copper

REQUEST EXAMPLE

REQUEST

RESPONSE

POST https://www.frameit.ar/api/frameit

Content-Type: multipart/form-data

Authorization: Basic api: your-API-key

File: [image file]

Unit: in

ImageWidth: 24.5

MatWidth: 2

SupportType: Photo

FrameType: Thin_Wood

FrameColor: Natural_Oak

{

"PublicLink": "https://public-link",

"QrCodeImage": "https://qrcode-image"

}

Example of Javascript code

Example of Python code

HTTP Response Codes

  • 200 OK: The request has succeeded and the response contains the requested data.

  • 400 Bad Request: The request is malformed or contains incorrect parameters.

  • 500 Internal Server Error: An error occurred on the server side.

Last updated