> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dify

## Large Language Model

## Standard Usage (Using OpenAI Models)

Clique your username no top right corner of the webpage to enter the settings interface.\
Selecione OpenAI no model provider section and abra settings.

<img src="https://mintcdn.com/aihubmix/axGkcFk0FkcdXl5v/public/en/dify1.png?fit=max&auto=format&n=axGkcFk0FkcdXl5v&q=85&s=d38eb891e59295d93881f9e6e8b696e9" alt="Image" width="1563" height="845" data-path="public/en/dify1.png" />

* Insira o [Key from our site](https://aihubmix.com/token) in a chave de API field.
* Insira o following no API Base field:

```
https://aihubmix.com
```

<img src="https://mintcdn.com/aihubmix/axGkcFk0FkcdXl5v/public/en/dify2.png?fit=max&auto=format&n=axGkcFk0FkcdXl5v&q=85&s=9295204c907fae0b9c21a426b9f4dcc4" alt="Image" width="863" height="672" data-path="public/en/dify2.png" />

## Using Non-OpenAI Models

Não model provider dropdown, find OpenAI-API-compatible and clique to add a model.\\

<img src="https://mintcdn.com/aihubmix/axGkcFk0FkcdXl5v/public/en/dify3.png?fit=max&auto=format&n=axGkcFk0FkcdXl5v&q=85&s=28778694787da4938d8218ebabf396cb" alt="Image" width="1242" height="761" data-path="public/en/dify3.png" />

* Abra o website's backend settings page and find the model list.
* Copy the name of the model you want to use (p. ex., gemini-pro or claude-3-opus-20240229).
* Insira o [Key from our site](https://aihubmix.com/token) in a chave de API field.
* Insira o following no API endpoint URL field:

```
https://aihubmix.com/v1
```

<img src="https://mintcdn.com/aihubmix/axGkcFk0FkcdXl5v/public/en/dify4.png?fit=max&auto=format&n=axGkcFk0FkcdXl5v&q=85&s=557629dbf2be7198ba187482fa40c993" alt="Image" width="770" height="713" data-path="public/en/dify4.png" />

## Image Generation Models

The platform currently suporta o seguinte image generation models:

* **Nano Banana Pro**
* **GPT-Image**
* **Google Imagen 4 Series**
* **Flux Kontext**

### How to Use

#### 1. Instale o Plugin

Search for and instale o plugin: [**AIHubMix Image**](https://marketplace.dify.ai/plugins/langgenius/aihubmix-image?source=https%253A%252F%252Fcloud.dify.ai\&language=en-US\&theme=system)

<img src="https://mintcdn.com/aihubmix/zBBgpoc-r31yJiFP/public/en/dify5.png?fit=max&auto=format&n=zBBgpoc-r31yJiFP&q=85&s=0de07f5453373edd75c0e0563f95415b" alt="image" width="2718" height="1158" data-path="public/en/dify5.png" />

#### 2. Configure o AIHUBMIX chave de API

Enter your **chave de API** no plugin configuration page.

<img src="https://mintcdn.com/aihubmix/zBBgpoc-r31yJiFP/public/en/dify6.png?fit=max&auto=format&n=zBBgpoc-r31yJiFP&q=85&s=7b7f935bc6fc274e580214c2b4b81e48" alt="image" width="2924" height="1542" data-path="public/en/dify6.png" />

#### 3. Add a Node

Go to: **Workspace → Add Node → Tools → aihubmix-image**, then selecione the model you want to use.

<img src="https://mintcdn.com/aihubmix/zBBgpoc-r31yJiFP/public/en/dify7.png?fit=max&auto=format&n=zBBgpoc-r31yJiFP&q=85&s=122e30eee67e83e9b5a7b66335757a63" alt="image" width="2902" height="1652" data-path="public/en/dify7.png" />

#### 4. Model Configuration

Adjust the parameters based on your use case (p. ex., prompt, resolution, aspect ratio, etc.).

#### 5. Run the Workflow

After the configuration is complete, run the workflow to call the **AIHUBMIX Image Generation API** and generate images.

<Tip>
  The API returns images in **URL** and **Base64** formats. Please convert the format based on your use case.
</Tip>

***

Última atualização: 2026-06-01
