> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.teeinblue.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Connecting to AI Model Services

| To use [GenAI effects](https://support.teeinblue.com/en/article/how-to-use-gen-ai-effect-feature-to-create-custom-image-effects-l8mqej/), you will need to sign up and pay for a 3rd-party AI model. All image generation credits are billed directly by the AI provider, rather than Teeinblue.


Currently, Teeinblue supports the following AI models:
* GPT model;
* Flux Kontext model;
* Gemini model.
---
# Connect GPT Model

* Navigate to https://platform.openai.com/api-keys and Sign Up or Log In
* Once you're logged in, click `+ Create a new secret key` button

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_dol6w9.png)

* Complete the API Key creation process

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_15225br.png)

* Once you're done, your API Key will be generated and displayed

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_jpzs6c.png)

* Copy and paste it into Teeinblue via **Extras > 3rd-party Services > Gen AI effects**

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_tjv4z3.png)

* Please go back to your OpenAI Platform, navigate to **Settings > Organization > General**, and verify your organization; or faster access via: <https://platform.openai.com/settings/organization/general>. In **Organization Settings**, please complete **Individual Verification** (**Business Verification** is only required if you want to access protected models and submit ChatGPT apps).

|| Currently, with Teeinblue GenAI Effect, you can use the API once you have completed Individual Verification. You can choose the verification level that best fits your needs.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/monosnap-image-2026-01-16-14-2_iunjzo.png)

| The API works independently of your account's subscription plan. To use it with Teeinblue, you’ll need to ensure your account has enough funds; otherwise, the feature won’t work.

||| Never share your API Key with anyone!
---
# Connect Flux Kontext Model

* Navigate to https://dashboard.bfl.ai/api/keys and Sign Up or Log In;
* Once you're logged in, click on the `+ Add Key` button

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_17gidzr.png)

* Complete the process to get your API Key

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_s9wj0u.png)

* Once you're done, click the **Copy** button to copy it

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_z1nyhy.png)

* Paste it into the app via **Extras > 3rd-party Services > Gen AI** **Effects**

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_1lmgh80.png)

| The API works independently of your account's subscription plan. To use it with Teeinblue, you’ll need to ensure your account has enough funds; otherwise, the feature won’t work.

||| Never share your API Key with anyone!
---
# Connect Gemini Model

* Navigate to https://aistudio.google.com/apikey and Sign Up or Log In;
* Once you're logged in, click on the `+ Create Key` button

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_5s4rvn.png)

* Complete the process to get your API Key
* Once your API key is created, continue by selecting `Set up billing` to configure the payment method.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_aiiylg.png)

* Once your API key’s payment method is set up, copy the key and paste it into Teeinblue via **Extras > 3rd-party Services > Gen AI** **effects**:

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_10fwlhy.png =1174xauto)

| The API works independently of your account's subscription plan. To use it with Teeinblue, you’ll need to ensure your account has enough funds; otherwise, the feature won’t work.

||| Never share your API Key with anyone!
---
# Automatic AI Model Switching

###### Permanent model retirement

When a provider retires a model, Teeinblue automatically moves affected accounts to a supported successor before the shutdown date. This permanently updates the saved model selection; it does not depend on the temporary backup setting below. Your API keys and other service settings stay unchanged.

After the switch, the store owner receives a confirmation email naming the previous and new models if the account has an API key for that provider. **Recheck your Artwork and prompts**, as a different model can produce different results.

###### Temporary outages: use a backup model

The **Auto-switch to a backup model during temporary outages** setting is **off by default**. It applies across GenAI providers at account level, including image effects, text-to-image, and multi-image generation.

1. Go to **Teeinblue Portal > Extras > 3rd-party Services > Gen AI Effects > Gen AI Effects Service**. Turn on **Auto-switch to a backup model during temporary outages**.

![](https://storage.crisp.chat/users/upload-1/plugin/-/4/f/9/3/4f9341b80ae70800/auto-switch-backup-model_7v8ts3.png)

|| With this setting on, images may be generated by a different model during an outage, so **the result can look noticeably different**. Turning it on accepts this change; the warning stays visible while it is on.

2. In **Teeinblue Portal > Extras > 3rd-party Services > Gen AI Effects > Gen AI Effects Service**, click **Save**.

When Teeinblue detects an ongoing provider outage, it temporarily uses an available backup model from the **same provider**. Your saved model selection stays unchanged, and no email is sent for this temporary switch. Teeinblue checks for recovery periodically and returns to the original model automatically; switching back can take up to **30 minutes after recovery**.

###### Keep in mind

* This setting does not fix invalid API keys, missing model access, insufficient credits, quota limits, or rate limits.
* Generation can still fail if the setting is off, no backup is available, or the backup also fails. There is no second backup.
* To disable it, go to **Teeinblue Portal > Extras > 3rd-party Services > Gen AI Effects > Gen AI Effects Service**, turn off **Auto-switch to a backup model during temporary outages**, then click **Save**.

---


# Choosing AI Models for Each Upload Photo Layer

| You can assign a different AI model to each Upload Photo Layer in your artwork. Since each model may produce different results, this gives you the flexibility to choose the one that works best for each layer.

Here are the steps to do so:

**Step 1:** Make sure you’ve connected the APIs for all the models you plan to use.

**Step 2**: Inside **Artwork Editor**, select which AI model to use for each Upload Photo Layer.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_1d9k73g.png)
| If you choose `Default settings` for specific Upload Photo option, Teeinblue will automatically use the default model you selected as belo&#x77;**:**

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_14ajmg6.png)