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

# Using with Dify

> Integrate Starrise AI models with Dify to quickly build workflows and agents.

## 1. Get Your API Key

Open the [Starrise AI Console](https://ai.alad.com/) and register an account (or log in if you already have one). After registering, go to **API Keys**, create a new API key, click to copy it, and save it for later use.

## 2. Using Starrise AI Language Models in Dify

### 2.1 Add Starrise AI as a Model Provider

In the top-right corner of the Dify homepage, select "Settings", then choose "Model Providers" in the top-left.

Add a model provider with an **OpenAI-compatible interface** and fill in the Starrise AI connection details:

* **Model Name**: Select a model from the Starrise AI platform (e.g. `gpt-4o`, `claude-opus-4-7`)
* **API Key**: Paste the API key created in the Starrise AI Console
* **API Endpoint URL**: `https://ai.alad.com/v1`

Click Save. Once validation succeeds, you will see the Starrise AI models in the model list and can use them in your applications.

### 2.2 Using Models Not in the Default List

* Open Dify "Settings" → "Model Providers"
* Add a model service platform compatible with the OpenAI interface
* Fill in the corresponding Model Name, API Key, and API Endpoint

## 3. Using Starrise AI Image Generation Models in Dify

Starrise AI's image generation models (e.g. `wan2.7-image-pro`) can also be used in Dify via the OpenAI-compatible interface, using the same configuration method as language models.
