Introduction

This documentation aims to provide all the information you need to work with our API.

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_API_TOKEN}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking API token.

Endpoints

Get all system options.

GET
https://getreica.com
/api/v1/system/options
requires authentication

This endpoint returns a list of options or a specific system options.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

Body Parameters

Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/system/options" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
Example response:
{
    "data": {
        "option": "localization",
        "value": "9"
    }
}

POST api/v1/rerun/{image}

POST
https://getreica.com
/api/v1/rerun/{image}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

image
string
required
Example:
occaecati
Example request:
curl --request POST \
    "https://getreica.com/api/v1/rerun/occaecati" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"

Folders

APIs for managing folders

Get all user folders.

GET
https://getreica.com
/api/v1/user/folders
requires authentication

This endpoint returns a list of all folders along with their related information for the authenticated user.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/user/folders" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
    "data": [
        {
            "id": "01jp37tq2m0mg2903pns5t6y3m",
            "name": "aut",
            "type": "photo",
            "user_id": 109,
            "parent_id": null,
            "created_at": "2025-03-11T18:35:17.000000Z",
            "updated_at": "2025-03-11T18:35:17.000000Z"
        },
        {
            "id": "01jp37tq2yyhqrg44gb9fb0th0",
            "name": "provident",
            "type": "background_removal",
            "user_id": 326,
            "parent_id": null,
            "created_at": "2025-03-11T18:35:17.000000Z",
            "updated_at": "2025-03-11T18:35:17.000000Z"
        }
    ]
}

Get all folders.

GET
https://getreica.com
/api/v1/folders
requires authentication

This endpoint returns a list of all folders along with their related information.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/folders" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
    "data": [
        {
            "id": "01jp37tq3r1e115ba1rb8wjrnh",
            "name": "qui",
            "type": "background_removal",
            "user_id": 791,
            "parent_id": null,
            "created_at": "2025-03-11T18:35:17.000000Z",
            "updated_at": "2025-03-11T18:35:17.000000Z"
        },
        {
            "id": "01jp37tq3yfcf9bx5z7n1dr5zy",
            "name": "qui",
            "type": "background_removal",
            "user_id": 112,
            "parent_id": null,
            "created_at": "2025-03-11T18:35:17.000000Z",
            "updated_at": "2025-03-11T18:35:17.000000Z"
        }
    ]
}

Create a new folder.

POST
https://getreica.com
/api/v1/folders
requires authentication

This endpoint allows the authenticated user to create a new folder.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/folders" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"name\": \"commodi\",
    \"type\": \"quis\"
}"
Example response:
{
    "data": {
        "id": "01jp37tq4cwgkx2enx4wvxj72x",
        "name": "suscipit",
        "type": "background_removal",
        "user_id": 202,
        "parent_id": null,
        "created_at": "2025-03-11T18:35:17.000000Z",
        "updated_at": "2025-03-11T18:35:17.000000Z"
    }
}

Display the specified folder by ID.

GET
https://getreica.com
/api/v1/folders/{id}
requires authentication

This endpoint returns the details of a specific folder for the authenticated user.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

id
string
required

The ID of the folder.

Example:
01hp4t1y3e0amzvsymm85y137r
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/folders/01hp4t1y3e0amzvsymm85y137r" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
    "data": {
        "id": "01jp37tq4xe45n06s1mzwqkwpy",
        "name": "fuga",
        "type": "model",
        "user_id": 60,
        "parent_id": null,
        "created_at": "2025-03-11T18:35:17.000000Z",
        "updated_at": "2025-03-11T18:35:17.000000Z"
    }
}

Delete the specified folder by ID.

DELETE
https://getreica.com
/api/v1/folders/{id}
requires authentication

This endpoint allows the authenticated user to delete a specific folder.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

id
string
required

The ID of the folder.

Example:
01hp4t1y3e0amzvsymm85y137r
Example request:
curl --request DELETE \
    "https://getreica.com/api/v1/folders/01hp4t1y3e0amzvsymm85y137r" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"

Create a new child folder inside an existing folder.

POST
https://getreica.com
/api/v1/child/folder
requires authentication

This endpoint allows the authenticated user to create a new child folder within an existing parent folder.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/child/folder" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"folder_id\": \"voluptas\",
    \"name\": \"exercitationem\"
}"
Example response:
{
    "data": {
        "id": "01jp37tqda7476zgrv9fbcwwnh",
        "name": "voluptas",
        "type": "background_removal",
        "user_id": 258,
        "parent_id": null,
        "created_at": "2025-03-11T18:35:17.000000Z",
        "updated_at": "2025-03-11T18:35:17.000000Z"
    }
}

Add a new image to a folder.

POST
https://getreica.com
/api/v1/child/image
requires authentication

This endpoint allows the authenticated user to add a new image to a specified folder.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/child/image" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"folder_id\": \"sit\",
    \"name\": \"neque\",
    \"url\": \"http:\\/\\/www.ohara.biz\\/quos-error-blanditiis-assumenda\"
}"
Example response:
{
    "data": {
        "id": "01jp37tqezjxgkgrnk37e7h2by",
        "name": "tenetur",
        "url": "https://via.placeholder.com/640x480.png/00ffdd?text=exercitationem",
        "image_size": null,
        "user_id": 833,
        "request_id": "01jp37tqex3pn3gqer9wqjqvbg",
        "created_at": "2025-03-11T18:35:17.000000Z",
        "updated_at": "2025-03-11T18:35:17.000000Z"
    }
}

Images

APIs for managing images

Get all images.

GET
https://getreica.com
/api/v1/images
requires authentication

This endpoint returns a list of images for the authenticated user.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/images" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
    "data": [
        {
            "id": "01jp37tq6s6eqc07sqbbf8gyhs",
            "name": "aspernatur",
            "url": "https://via.placeholder.com/640x480.png/00bb77?text=dolor",
            "image_size": null,
            "user_id": 825,
            "request_id": "01jp37tq6phqhm6mwps9qp8b8r",
            "created_at": "2025-03-11T18:35:17.000000Z",
            "updated_at": "2025-03-11T18:35:17.000000Z"
        },
        {
            "id": "01jp37tq7kg905ngst73dh0j3n",
            "name": "cum",
            "url": "https://via.placeholder.com/640x480.png/00bbff?text=recusandae",
            "image_size": null,
            "user_id": 827,
            "request_id": "01jp37tq7h97w0kxgp53q0931s",
            "created_at": "2025-03-11T18:35:17.000000Z",
            "updated_at": "2025-03-11T18:35:17.000000Z"
        }
    ]
}

Get a specific image by ID.

GET
https://getreica.com
/api/v1/images/{id}
requires authentication

This endpoint returns the details of a specific image for the authenticated user.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

id
string
required

The ID of the image.

Example:
01ht2jhq6w8rqdr4j49dqndvbf
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/images/01ht2jhq6w8rqdr4j49dqndvbf" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
    "data": {
        "id": "01jp37tq8k5gwa8ney0cxfr2hg",
        "name": "perferendis",
        "url": "https://via.placeholder.com/640x480.png/0000aa?text=debitis",
        "image_size": null,
        "user_id": 829,
        "request_id": "01jp37tq8h32977h9rehn5kn96",
        "created_at": "2025-03-11T18:35:17.000000Z",
        "updated_at": "2025-03-11T18:35:17.000000Z"
    }
}

Update a specific image by ID.

PUT
https://getreica.com
/api/v1/images/{id}
requires authentication

This endpoint allows the authenticated user to update the name of a specific image.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

URL Parameters

id
string
required

The ID of the image.

Example:
01ht2jhq6w8rqdr4j49dqndvbf

Body Parameters

Example request:
curl --request PUT \
    "https://getreica.com/api/v1/images/01ht2jhq6w8rqdr4j49dqndvbf" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"name\": \"velit\"
}"
Example response:
{
    "data": {
        "id": "01jp37tq9mcbv94tzbac4qcpxe",
        "name": "aut",
        "url": "https://via.placeholder.com/640x480.png/00ff66?text=facilis",
        "image_size": null,
        "user_id": 831,
        "request_id": "01jp37tq9k2dd6xgtqshe8k9cb",
        "created_at": "2025-03-11T18:35:17.000000Z",
        "updated_at": "2025-03-11T18:35:17.000000Z"
    }
}

Delete a specific image by ID.

DELETE
https://getreica.com
/api/v1/images/{image}
requires authentication

This endpoint allows the authenticated user to delete a specific image.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

image
string
required

The image.

Example:
01ht2jhq6w8rqdr4j49dqndvbf
Example request:
curl --request DELETE \
    "https://getreica.com/api/v1/images/01ht2jhq6w8rqdr4j49dqndvbf" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"

GET api/v1/download/{image_id}/{format}

GET
https://getreica.com
/api/v1/download/{image_id}/{format}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

image_id
string
required

The ID of the image.

Example:
01ht2jhq6w8rqdr4j49dqndvbf
format
string
required
Example:
ducimus
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/download/01ht2jhq6w8rqdr4j49dqndvbf/ducimus" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    location
                                                            : https://getreica.com/login
                                                                                                                    content-type
                                                            : text/html; charset=utf-8
                                                                                                                    vary
                                                            : Origin
                                                                                                                    set-cookie
                                                            : XSRF-TOKEN=eyJpdiI6InVmNnRxVjZ1NFZHMzVvZldwSFVIWVE9PSIsInZhbHVlIjoiNXhKUHJheUxPWnFlTnN6Tk1ocEo3WmJHWmdBV2Z3dVlWWG43NHAxSmF5ZHZndTFHeEhFSHc5RnpaSHRqaGR2azFJeWRSK2FuVzBUUHU2Q2R4bDhmUlRJVGRZR2YzeG1vdmk5bFFPaUZMMmowOHhBMDVZQythUjJFWVRaSmN2VkkiLCJtYWMiOiI3MzQ3ZjU1ZjgxM2IyM2Q2MDE2MWQzZTI3MmRhMjk4NzQ3MTg1NGU2YmQxODYzOGZlYjRkYjJjZmM3MDI5MDgzIiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; samesite=lax; reica_session=eyJpdiI6IllUYVpxZHpKcU81aHQzUW5CaElIWEE9PSIsInZhbHVlIjoiT2Q3UTBXa1E1aHBDTDQ2SWIzNzhkb2dCZVlJWjRYMXp3Wm8yZS9QcjlGRzFKTlF0QUZVMTdJVlltbkQ4bm5oU3R6dnJGQXEzWktjc01tcGJEakZtK0xpZDFSMWlpL1Z4NGtiZE5NZ2ZMM1NRMHN0R3puNnJNRGQrQS9jcHBZT3kiLCJtYWMiOiIyZWI0Mjk3NDVkMzI0NzQ4MzVmNDQ0Y2FmOTViNjQ1OWUyNTUwNzg5YzQ4MGQzMzRiN2JkY2UzNjk0ZDhkYTgxIiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; httponly; samesite=lax; 1pOMNyIrOOcKvBUwsvw2kAcTp4pRX3e9Pb5dxjqQ=eyJpdiI6IittR21Tc2xIaXRDRkpDMVB2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9oM2hDRDN5bEFwVTdZa3pMQUMrNmJySW12RlNUZkU1dElaK2dOVE5FV2QwNjhCRXlrTXhPTzU1SGtBY2R2dVlMSzdRYjlCc05wYlQ0MVZUZTg3Y1ZCVnFsR3duT0ZMVERwUUdvWXN4RmNaN2tCTEhNblptblBlanVTZEhsT1pBdFMzZkRjSmI2ZGxLNDA4S01kWThwVUVhOGNXUnE0akYrSjN3bFVHUGh2MFp3eExmc0V6QktPaGxVTTB2WWJpRnAzcXZ2YzhsdC85UHNiNUt0M2F3Mkh4YW1iUm14VjRyUXZmNzRQWllVZnZOcklLZE42MVFKc0EwWGU0MWRpQ2F4TVJHcVZKL2tQb1FtL05yUE1Xcjl4VmV2Rm9oUHNKd20zUXVxWUFaVzRmcWhvMDlENWNDVUYxQ0x1aVRDOWtwblhLa2o2dTJWZEtQUXI2cEZMQTk5dXZ2RnovTXhleENKby93QVltRjFMRDFHUnBYNFdKWDRSYmRLK1JKUDFFTENrRGFLYmlMekFSMGRnOWZ1eXZFS2pGWUNHdm1JS1lVTkNUVmlTOHVFR2RQUVk5SnFuU2VucHBvZFpYKzFNTStHTjNDZ1hyMEROU0JPT3BsT1IvR1Z6UWM5NFlrMUo3K1dBU2pTeXlQOENnZDdQMUhEWE1XQjJrSE8zT2c5NWNDZFNGREc0a2thU1lXaHB4emJVOTQwaTlzRXpYd3BpM0tUc1ZoZS9URmxOR2xqNEtxMFRjcDJFYjAvSGNld2hCNUdvQkZlRFFBaz0iLCJtYWMiOiJjODQ4Y2E2YTU5YjM2YzI4YWY2YmE2NWJhZjI2MzNiYzE4NjdjMzVjYmIyMGFlNjBhMDViMmVmYjg3MGFlZDhkIiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; httponly; samesite=lax
                                                         
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='https://getreica.com/login'" />

        <title>Redirecting to https://getreica.com/login</title>
    </head>
    <body>
        Redirecting to <a href="https://getreica.com/login">https://getreica.com/login</a>.
    </body>
</html>

Notifications

APIs for managing notifications

Returns all unread notifications

GET
https://getreica.com
/api/v1/notifications/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/notifications/all" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    location
                                                            : https://getreica.com/login
                                                                                                                    content-type
                                                            : text/html; charset=utf-8
                                                                                                                    vary
                                                            : Origin
                                                                                                                    set-cookie
                                                            : XSRF-TOKEN=eyJpdiI6IkJleldqMW1MdyszNDBySEUwMGxaQVE9PSIsInZhbHVlIjoiQU9xTEFIV0psTVdCMmU5YjFldFh4dXFkWDJRTWFpcHk4M1BDUlhPeW5DM2NXUHFHNVJvYUZpTEVvaDduSUI1U0JNTjdFaUwrRmJKaHFkbUNPYW5weThxeUxxRi9uMUJ3ai9HemgxQkc5bHRoeGZTb1V3V0lLUkZZZjRUL2VDamIiLCJtYWMiOiI0YmNlNTJiNzRhZGJjN2ViZmE4MGUzYzM5MDcyZjg5MWFkNDQyZDBlZTcwMTIxZDQ0NTFhZjExNDE0MzUxMGIwIiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; samesite=lax; reica_session=eyJpdiI6IkNiblQzSkI4T1N1cm9GaWN2Q1hleGc9PSIsInZhbHVlIjoiaXRIRTdrVGtjdGN0dDlWcTFvbkxNZ09HbVRoZXJsQngyd2tqYjMwZFZOdXVuQXhXV2ptYXJGRHduQVJ0RmF6ZGtVOGpNRnFiaFdKYThQTGVLeXIvL09RdjFMNVJWNzRkS2l0eE8xWEx6V1pSMHdFMUNkSnVRZkorblJSVjZBZm0iLCJtYWMiOiIzODlkNTczNmRhNTAzMGE1MDM4MDg2OWMzYjdjZDkwNWQ5ZGQ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idGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; httponly; samesite=lax
                                                         
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='https://getreica.com/login'" />

        <title>Redirecting to https://getreica.com/login</title>
    </head>
    <body>
        Redirecting to <a href="https://getreica.com/login">https://getreica.com/login</a>.
    </body>
</html>

Mark one notification as read

GET
https://getreica.com
/api/v1/notifications/mark-as-read/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}

URL Parameters

id
string
required

The ID of the mark as read.

Example:
vel
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/notifications/mark-as-read/vel" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    location
                                                            : https://getreica.com/login
                                                                                                                    content-type
                                                            : text/html; charset=utf-8
                                                                                                                    vary
                                                            : Origin
                                                                                                                    set-cookie
                                                            : XSRF-TOKEN=eyJpdiI6IjZwc1d1alcwWTlpTCtCK2ZneUFsYnc9PSIsInZhbHVlIjoiKzliYVlESFUrU2JiNTRTd2JYTGhXNUxoTmN4bUxEVTVXYW81NXFpYkFRclplalh5SFllTmpkL2R4TENUYWRyUG1SY2hnVEJJL2pydXc1TlM5MWFCRkV3Q3Rabks0Y3NoN1NpODJuVUtHcWtxNFdRTjFVZ0Vjb2xRZHVxbngxTXkiLCJtYWMiOiI2MjI0YzdmYTYzMDRjNzg0ZWM1MjBjZTkxN2VhOWM3MTM3YjI5MjY0NjVlYmJlNGFlZDZmNjNhOTI4N2Q1YjdhIiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; samesite=lax; reica_session=eyJpdiI6Im9Ta094U2Jvb0pvNU9aaUpZSGh6Snc9PSIsInZhbHVlIjoiWGNIQ0lUbzJUN00xZFAxeXl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GRLeXdwbTkvcHFvSjgvSlEydWNUL0ZXdmQrV2RVd29LejFFUGcrVUJyaElsSmVDYzhXL2I0M0FORERXenUyZ09OIiwibWFjIjoiMjMwYmQzNzliYTY3YmI3NGNhNzA2NWY3NjIzMjkwMmRlMzllMDZkYjI0MTYxMzE0ODE4MTVjNTRlZjU0MWYzYyIsInRhZyI6IiJ9; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; httponly; samesite=lax
                                                         
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='https://getreica.com/login'" />

        <title>Redirecting to https://getreica.com/login</title>
    </head>
    <body>
        Redirecting to <a href="https://getreica.com/login">https://getreica.com/login</a>.
    </body>
</html>

Mark all notifications as read

GET
https://getreica.com
/api/v1/notifications/mark-all-as-read
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/notifications/mark-all-as-read" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    location
                                                            : https://getreica.com/login
                                                                                                                    content-type
                                                            : text/html; charset=utf-8
                                                                                                                    vary
                                                            : Origin
                                                                                                                    set-cookie
                                                            : XSRF-TOKEN=eyJpdiI6ImZVYk1ZcTBYYno1bmQrQmU4Mk9HV0E9PSIsInZhbHVlIjoiaXU1czNUNVN3S2k4d0drSUtGMFJiRGxSZWoxM1lqSk5oL0t3VVVuUWI5OC9sTzNqK0RRd0QrY1dJMFhNTEVxZmpma1BzRnNyUTRrYlBnVWVjYitXTWxNakpORngvSkNpaUtoTnp3eDJKelZmM3RBdHNDVzFBSlFYYWErRzZVamUiLCJtYWMiOiI3ZWEzZTMxZGNiNjUzMjhjMWQ0MWFkMTg2MzFlNWU2ODM4NTE1OGVlOGJmZDQ5Yzc3ODliNGQ1NmRjOGY0NGU5IiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; samesite=lax; reica_session=eyJpdiI6IjNGUjlDZjU4MW5mWTlZZ3lFdk1DelE9PSIsInZhbHVlIjoiQm80UjFvTFIwOHBMT1hzMGcwSHJrSjJrWEhHWDFWaDJTV3cwbzdRVHk5bWd0SnhSTHFDbTY3QzdHK29yUjdQWUtXdDR5WURLN2oyR3VGMVJZSnltSzdUU2Y2ODhWNUxBcmNsZlh6OFVJeFhvQU5XclVZVTNJWEI0THBCbXYyZGoiLCJtYWMiOiJlYWU0YjBjNmI2YTdlNmRjZjgzNTJjMTdhM2U4NWEyMGJiYTRjNmVmYTc1ZDZhMzU2YjkzN2FkM2RiMTI1NTE1IiwidGFnIjoiIn0%3D; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; httponly; samesite=lax; 1pOMNyIrOOcKvBUwsvw2kAcTp4pRX3e9Pb5dxjqQ=eyJpdiI6ImttYzlqZlFHTU5pYkdnRit2Yys5ZVE9PSIsInZhbHVlIjoiWkdnTzRwbVJpZ25IM1lzcTZ6R2NFeXk2cEtndFJpWEY3M2VoL0U1VHdlbnpWU3RoOVNISHdETnVhQjk0aGoxL0xKVldJVE9MZTJzUUY5QlNSWmFRbzZuQ000N25nSDBna2xIa0tFT1QvdjB4Y1hENTl4T0phMGIvcUh1a3hVL0t6Ky92TE4xb2E0d1d6RFNtRUNpRVhtdU5iWk1WU2I4UTh4WEYrSTQ0Z0FDMlYwQmxCZVcrcWNUYUxUZkRHakk5UFNaWjQ2Ymo5d2pDL0hGUHBLQWhlUjhiRjF6enUvdzFEZWo0SnN0QitIQloyR2x6T2FBR1d5UU4wQWhWUmovRy9rdGlkREVXYjVtY3VPbEcxdFpEV3hscVJ0enNyTWxhNlFzZ0hHZTJ0bHhFWlA2TUxOMXd6a2tEbnJ3VFVaUXpnMm1qT0c5d1pwdlU0dm04M1VsdFliTlRWVlhaMUgx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E91ZHY1dlQwTlhkMEpJSUR0SVVoKzNVdXJ4NE1EbUpuRklleHpidk0xRmZjbzVYd2g5Wm44L2ViOVczZnNpb1hpQ2tpb2NNV3hHYmlKWVd4bkhXUjBwclJnYVNLRFVRYVpPUlFXNEJmT1YzbDREVHU5SnFyVCt4emd5UlE1c1pDVlhuNHFEUFFrczlkbjRoaU13c0t2c2ZvVDB5QUwxUnphUHRxMUplWmNDRnBubkZ3U3lHOFR1bVphIiwibWFjIjoiZWY5NGZiN2E2ODY0NjM3MDJkYzg5ZjQ3MDdmZTQzMzc2NTRkOWMwOGI0MzRkMDRjM2I5MTU0OGRjZjk4NzVhZSIsInRhZyI6IiJ9; expires=Tue, 18 Mar 2025 18:35:17 GMT; Max-Age=604800; path=/; domain=getreica.com; secure; httponly; samesite=lax
                                                         
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='https://getreica.com/login'" />

        <title>Redirecting to https://getreica.com/login</title>
    </head>
    <body>
        Redirecting to <a href="https://getreica.com/login">https://getreica.com/login</a>.
    </body>
</html>

Workflows

APIs for managing workflows

Background removal

POST
https://getreica.com
/api/v1/workflow/background_remover
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/background_remover" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"bg_template\": \"01hqnjhg6e7yw80002fyzc4bv4\",
    \"product\": \"01hb6da7tds27dec2aw7depd9h\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Resize

POST
https://getreica.com
/api/v1/workflow/resize
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/resize" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"channel\": \"instagram\",
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Virtual try on

POST
https://getreica.com
/api/v1/workflow/vto
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/vto" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"cloth_image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"virtual_option_id\": \"01hv6xgwqvx3w7v9b27h30p06m\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

MissingHead

POST
https://getreica.com
/api/v1/workflow/missinghead
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/missinghead" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"localization\": \"01hxtwp6w9nzy01z4m5k1r7ey9\",
    \"gender\": \"man\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\",
    \"face_expression\": \"smile\",
    \"bg_gradient\": \"#000000\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Localization

POST
https://getreica.com
/api/v1/workflow/localization
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/localization" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"object\": \"01hxtwp6w9nzy01z4m5k1r7ey9\",
    \"age\": 15,
    \"gender\": \"man\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Background marketplace

POST
https://getreica.com
/api/v1/workflow/backgroundmarketplace
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/backgroundmarketplace" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"object\": \"#F6F7F8\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Zoomout

POST
https://getreica.com
/api/v1/workflow/outpainting
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/outpainting" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"top\": 256,
    \"right\": 512,
    \"bottom\": 256,
    \"left\": 512,
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Copycat

POST
https://getreica.com
/api/v1/workflow/copycat
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/copycat" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"strength\": 1.6,
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Upscale

POST
https://getreica.com
/api/v1/workflow/upscale
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/upscale" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"scale\": \"2\",
    \"image\": \"\\\"data:image\\/jpg;base64,\\/9j\\/4QC8RXhpZg...\\\"\",
    \"image_url\": \"https:\\/\\/genshoot.s3.eu-west-2.amazonaws.com\\/resize\\/2a845b77-b211-4b86-987b-5144ed65d474_out-524.png\"
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Generate

POST
https://getreica.com
/api/v1/workflow/generate
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://getreica.com/api/v1/workflow/generate" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}" \
    --header "Content-Type: application/json" \
    --data "{
    \"options\": [
        \"hair-style-1\",
        \"general-21\",
        \"accessories-2\"
    ]
}"
Example response:
{
    "data": {
        "name": "01j7ethy1jj4sx017640jsqx4g 10-09-2024",
        "user_id": 15,
        "url": "https://stage.getreica.com/storage/placeholder.gif",
        "request_id": "01j7ethy1jj4sx017640jsqx4g",
        "id": "01j7ethy1wa323ee3b9a4865mm",
        "updated_at": "2024-09-10T20:38:44.000000Z",
        "created_at": "2024-09-10T20:38:44.000000Z"
    }
}
{
    "data": null,
    "message": "You do not have enough credit to complete this action, Get more credits <a class='underline' href='https://stage.getreica.com/pricing'>here</a>"
}
{
    "data": null,
    "message": "We are sorry but this endpoint is currently disabled, try later or contact us"
}

Workflows Options

APIs for getting the necessary options to run the workflows

Background Removal options

GET
https://getreica.com
/api/v1/workflow/options/background_templates
requires authentication

Fetches and caches the background removal options.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/workflow/options/background_templates" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
{
       "name": "Modern table 1",
       "id": "01hqn06m95vaftssq1fjrbn0v4",
       "background": "backgrounds/iFvbaQtWvIRrDs3KTNkEGJChAeOXSL4pAyDOaYxI.png",
       "background_url": "https://genshoot.s3.eu-west-2.amazonaws.com/backgrounds/iFvbaQtWvIRrDs3KTNkEGJChAeOXSL4pAyDOaYxI.png"
   },
   {
       "name": "Glass Table 1",
       "id": "01hqnhc10k5dxtjaveyqr0prtm",
       "background": "backgrounds/shhlm9CdHCPpqCILVwUKwvTUdN3cZYtYJ3W2wSxQ.png",
       "background_url": "https://genshoot.s3.eu-west-2.amazonaws.com/backgrounds/shhlm9CdHCPpqCILVwUKwvTUdN3cZYtYJ3W2wSxQ.png"
   },
}

Products options

GET
https://getreica.com
/api/v1/workflow/options/objects
requires authentication

Fetches and caches the genshoot product options.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/workflow/options/objects" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
 {
   "name": "bag",
   "id": "01haa0xwstpnc73ck95n4zbe6b",
   "translated_label": ""
},
{
   "name": "jacket",
   "id": "01haa0ymdb1b07xqxzdybcea5m",
   "translated_label": ""
},
}

Virtual Try-On options

GET
https://getreica.com
/api/v1/workflow/options/vto
requires authentication

Fetches and caches the virtual try-on options.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/workflow/options/vto" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
 {
   "type": "Upper body",
   "gender": "woman",
   "thumbnail": "thumbnails/cxilxvfuBfiCLNx8T8IF06aIznN2gnDMHHtA7CoC.png",
   "id": "01hv1zjxv72v0tbtmzt738fn26",
   "thumbnail_url": "https://genshoot.s3.eu-west-2.amazonaws.com/thumbnails/cxilxvfuBfiCLNx8T8IF06aIznN2gnDMHHtA7CoC.png"
},
{
   "type": "Upper body",
   "gender": "woman",
   "thumbnail": "thumbnails/yLVtMbg76WOrmkpdazQchSVAK6DFIsEFIfhoD6vk.png",
   "id": "01hv7g9gq9nxzgjnxx8axegx6n",
   "thumbnail_url": "https://genshoot.s3.eu-west-2.amazonaws.com/thumbnails/yLVtMbg76WOrmkpdazQchSVAK6DFIsEFIfhoD6vk.png"
},
}

Localization options

GET
https://getreica.com
/api/v1/workflow/options/localization
requires authentication

Fetches and caches the localization options.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/workflow/options/localization" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
	{
	"value": "Italian",
		"id": "01hxsnzfkyjdqrytmbfe4gccp2",
		"translated_label": ""
	},
	{
		"value": "Afghan",
		"id": "01hxtwp6w9nzy01z4m5k1r7ey3",
		"translated_label": ""
	}
}

Generate options

GET
https://getreica.com
/api/v1/workflow/options/generate
requires authentication

Return all the prompt generate options.

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Example request:
curl --request GET \
    --get "https://getreica.com/api/v1/workflow/options/generate" \
    --header "Authorization: Bearer {YOUR_API_TOKEN}"
Example response:
{
    "section": "Style of Photo",
    "features": [
        {
            "feature_name": "General",
            "options": {
                "General 1": {
                    "id": "01hgzf5ysqqkkgdkzjtfjm20kw",
                    "image": "https://genshoot.s3.eu-west-2.amazonaws.com/options/FFmYuZr1NPNKl7m2tTOyngKH5DNAJbOBpGctlXXy.png"
                }
            }
        }
    ]
}