1. 快速开始
RezeAI
  • 快速开始
    • Product Introduction
    • BaseUrl
    • Generate calling code quickly using AI
    • Plugin Configuration Guide
    • Large Model Support and Channel Capability Description
    • Claude code error code explanation
  • 开发工具接入
    • OpenClaw
    • Claude Code
    • OpenCode
    • Codex
    • Gemini CLI
  • 接口说明
    • Models
      • List models
        • Native OpenAI format
        • Native Gemini format
    • Images
      • Native Gemini format
        • OpenAI chat format
        • Gemini native format
      • Native OpenAI format
        • Generate image
        • Edit image
    • Chat
      • Native OpenAI format
        • Responses format
      • Native Claude format
    • Audio
      • Native OpenAI format
        • Audio transcription
        • Audio translation
        • Text-to-speech
      • Native Gemini format
    • Wanxiang 2.7 Images
      • Wanxiang 2.7 text-to-image (sync)
      • Wanxiang 2.7 image edit (async polling)
    • GeminiVeo
      • Gemini Veo
        • Create video task
        • Create video task (/video/generations)
      • Task query
        • Query video task
        • Query video task (/video/generations)
        • Proxy-download the video of a completed task
    • Seedance Asset Library
      • Asset groups
        • ModelArk asset Universal OpenAPI (official Query style)
        • Create asset group
        • List asset groups
        • Get asset group details
        • Update asset group
        • Delete asset group
      • Assets
        • Create asset (upload URL)
        • List assets
        • Get asset details
        • Update asset
        • Delete asset
      • Live person verification
        • Create live person H5 verification session
        • Query live person verification result
    • Sora
      • Sora 2
        • Remix video
    • Kling
      • Text-to-video
        • Kling text-to-video
      • Image-to-video
        • Kling image-to-video
      • Task query
        • Query text-to-video task
        • Query image-to-video task
    • Jimeng
      • Jimeng official API
        • Jimeng official submit/query (distinguished by Action)
    • Embeddings
      • Native OpenAI format
      • Native Gemini format
    • Completions
      • Native OpenAI format
    • Realtime
      • Native OpenAI format
    • Rerank
      • Document reranking
    • Moderations
      • Native OpenAI format
    • 数据模型
      • Schemas
        • ModelsResponse
        • ToolCall
        • GeminiModelsResponse
        • ChatCompletionResponse
        • CompletionRequest
        • CompletionResponse
        • ResponsesResponse
        • ClaudeRequest
        • ClaudeMessage
        • ClaudeResponse
        • EmbeddingResponse
        • ImageResponse
        • AudioTranscriptionResponse
        • RerankResponse
        • ModerationRequest
        • ModerationResponse
        • GeminiRequest
        • GeminiResponse
      • Model
      • Usage
      • SoraVideoTaskCreated
      • KlingErrorResponse
      • JimengVideoTaskCreated
      • HailuoVideoTaskCreated
      • ViduVideoTaskCreated
      • GeminiVeoVideoTaskCreated
      • VertexVeoVideoTaskCreated
      • HappyHorseMediaItem
      • MediaItem
      • KlingTaskCreated
      • HappyHorseVideoTaskCreated
      • Message
      • SoraErrorResponse
      • KlingVideoTaskStatus
      • JimengErrorResponse
      • HailuoErrorResponse
      • ViduErrorResponse
      • ListFilterBase
      • GeminiVeoErrorResponse
      • VertexVeoErrorResponse
      • WanVideoTaskCreated
      • HappyHorseVideoTaskStatus
      • ArkListFilterBase
      • MessageContent
      • JimengOfficialSubmitRequest
      • ErrorResponse
      • ListAssetGroupsRequest
      • HappyHorseErrorResponse
      • SeedanceErrorResponse
      • Tool
      • ImageGenerationResponse
      • WanImageGenerationResponse
      • ListAssetsRequest
      • WanErrorResponse
      • GetAssetRequest
      • GetAssetGroupRequest
      • ChatCompletionRequest
      • UpdateAssetGroupRequest
      • UpdateAssetRequest
      • DeleteAssetRequest
      • ResponseFormat
      • DeleteAssetGroupRequest
      • ResponsesRequest
      • GatewayError
      • ArkGatewayError
      • EmbeddingRequest
      • SpeechRequest
      • RerankRequest
      • VideoRequest
      • VideoResponse
      • VideoTaskResponse
      • VideoTaskMetadata
      • VideoTaskError
      • OpenAIVideoError
      • HappyHorseVideoRequest
      • SeedanceVideoRequest
      • ProjectName
      • WanVideoRequest
      • ArkProjectName
      • SoraVideoRequest
      • KlingVideoRequest
      • JimengVideoRequest
      • HailuoVideoRequest
      • ViduVideoRequest
      • GeminiVeoVideoRequest
      • VertexVeoVideoRequest
      • CreateAssetGroupRequest
      • Wan27ImageRequest
      • SeedanceMetadata
      • VideoTaskCreated
      • CreateAssetRequest
      • Wan27ImageEditRequest
      • SeedanceVideoTaskCreated
      • SoraVideoTaskStatus
      • JimengVideoTaskStatus
      • HailuoVideoTaskStatus
      • ViduVideoTaskStatus
      • GeminiVeoVideoTaskStatus
      • VertexVeoVideoTaskStatus
      • VideoTaskStatus
      • SeedanceVideoTaskStatus
      • WanVideoTaskStatus
      • ListAssetsFilter
      • ArkListAssetsFilter
      • JimengOfficialGetResultRequest
      • CreateVisualValidateSessionRequest
      • GetVisualValidateResultRequest
      • UpstreamResultEnvelope
      • ArkUpstreamResultEnvelope
  1. 快速开始

Plugin Configuration Guide

Plugin Configuration Guides#

Complete RezeAI Configuration Guide#

Complete Tutorial on AI Model Integration and Third-Party Tool Configuration
Includes installation tutorial, environment configuration, VS Code plugin configuration, and FAQs

Claude Code for CLI#

Tool Introduction#

Claude Code is a command-line AI programming assistant developed by Anthropic. It's arguably the best programming assistant currently available, allowing you to collaborate directly with Claude in the terminal.

System Requirements#

Node.js 18+
macOS, Linux, or Windows (WSL)

Installation Steps#

1.
Install Node.js: Ensure Node.js version >= 18.0
2.
Install Git (Required for Windows, skip if macOS)
3.
Install Claude Code:
4.
Verify Installation:

Environment Variable Configuration#

Obtaining Necessary Configuration Information
| Configuration Item | Description | How to Obtain |
| --- | --- | --- |
| ANTHROPIC_AUTH_TOKEN | API Authentication Token | Adds a token to the console to obtain an API Key starting with sk- |
| ANTHROPIC_BASE_URL | API Service Address |By default, use https://api.rezeai.com or obtain other addresses via the console|
Linux/macOS:
Windows:

# Enter the project directory

cd your project folder address

# Configure environment variables in Windows PowerShell

$env:ANTHROPIC_AUTH_TOKEN = "Enter your SK key here"

$env:ANTHROPIC_BASE_URL = "https://api.rezeai.com"

# Configure environment variables in Windows cmd

set ANTHROPIC_AUTH_TOKEN=Enter your SK key here

set ANTHROPIC_BASE_URL=https://api.rezeai.com

# Launch Claude Code
claude

Claude Code for VS Code#

1. Install the Plugin#

Besides the CLI, Claude Code also has a VS Code extension version. You can now install Claude Code with one click from the VS Code Extension Marketplace.
image.png
You can also use the Claude Code CLI directly in VS Code. Compared to the CLI, the extension version is easier to install and provides a visual GUI panel, which is more user-friendly for those who don't like using the terminal.
image.png
image.png

2. First-time Use#

After installation, click the logo in the editing area to open the Claude Code dialog panel. The first time you open it, you will be prompted to log in. If you have already activated the official service, you can log in directly. If not, you can follow the steps below to skip the login and access our third-party model service.
image.png

3. Custom API#

First, create a text document, rename it to config.json, and place it in the following path:
Mac ~/.claude/config.json
Windows C:\Users\Administrator.claude\config.json
Then open it with Notepad, write the following content, and save it:
image.png
After making the changes, press Ctrl+S to save. Reopen the Claude Code plugin, and you can use Claude Code normally.

4. Customizing the Use of Third-Party Models#

Claude Code model switching in VS Code differs from CLI. Enabling automatic execution permission mode before switching models can prevent Claude Code from prompting you for confirmation before performing various operations.

Enable auto-execution permissions:

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/623970/image-preview)

Enter other models:

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/623971/image-preview)

### Frequently Asked Questions

**Q: "Invalid API Key · Please run /login" message? **

A: Environment variables are not working. Please check the variable names:

- Check if `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_BASE_URL` are set correctly.

- If using permanent configuration, have you restarted the terminal?

**Q: Displaying "offline" status?**

A: Claude Code determines network status by connecting to Google, which does not affect normal use.

**Q: Requests always show "fetch failed"?**

A: This may be due to network conditions. Using a proxy tool is recommended.

**Q: How to handle API errors?**

A: This may be due to an unstable forwarding proxy. Recommendations:

- Ctrl+C to terminate the conversation and exit Claude Code.

- Rerun the configuration command.

- If the problem persists, please try again later.

### Precautions

- Please keep your API token safe to avoid loss due to leakage.

---

# N8N Workflow Using Relay API Tutorial

N8N is an open-source workflow automation tool that supports AI node integration and can build complex automated processes. **1. Open the n8n official website https://n8n.io/, log in, and click "Start Using" in the upper right corner.**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625983/image-preview)

**2. Create a new workflow.**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625984/image-preview)

**3. Choose a suitable trigger method.**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625985/image-preview)

**4. Add a workflow AI.** **Module**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625989/image-preview)

**5. Select OpenaAI**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625991/image-preview)

**6. Chat must be selected under TEXT ACTIONS: Message a model**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625993/image-preview)

**7. Start configuring the relay** API**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625994/image-preview)

The API key is generated and obtained on the API token page.

Enter our intermediary address in the Base URL field: https://api.rezeai.com/v1 **(Note: This is different from the API address's Base URL; it includes /v1)**

Click save to save.

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625995/image-preview)

**8. After clicking save, the following message indicates a successful connection.**

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625996/image-preview)

**9. I'll configure this module simply and click Execute.** Step 1: Run the test.

![image.png](https://api.apifox.com/api/v1/projects/7239197/resources/625998/image-preview)

**Successful response**
修改于 2026-08-04 13:20:29
上一页
Generate calling code quickly using AI
下一页
Large Model Support and Channel Capability Description
Built with