Skip to content

API

Filter Generator API Endpoints

Obtain Preview Images and UUIDs

You have the possibility to retrieve all informations regarding your via Filter Generator created AI-Filters with this API-Endpoint:

https://api.phantaisia.com/docs#/get%20informations/get_custom_filters_v1_custom_filters_get

You will receive a structure like this:

{
  "faceswap_txt2img": [
    {
      "id": "<UUID>",
      "label": "<filter_name>",
      "preview_image": "<blob_storage_link>",
      "filter_type": "face_swap",
      "prompt": "<prompt>"
    },
    {
      "id": "<UUID>",
      "label": "<filter_name>",,
      "preview_image": "<blob_storage_link>",
      "filter_type": "face_swap",
      "prompt": "<prompt>"
    }
  ],
  "faceswap_img2img": [{
      "id": "<UUID>",
      "label": "<filter_name>",
      "preview_image": "<blob_storage_link>",
      "filter_type": "face_swap",
      "prompt": "<prompt>"
    }
  ],
  "multiswap": [
    {
      "id": "<UUID>",
      "label": "<filter_name>",
      "preview_image": "<blob_storage_link>",
      "filter_type": "multi_swap_stylized",
      "prompt": "<prompt>"
    },
    {
      "id": "<UUID>",
      "label": "<filter_name>",
      "preview_image": "<blob_storage_link>",
      "filter_type": "multi_swap_realistic",
      "prompt": "<prompt>"
    }
  ]
}

From here you can integrate the filters into your System with the UUIDs and preview_images.