DataEyesAI
home
home
  1. AI Models API
  • ​​Quick Start
    • Overview
    • Authorization
    • Online Debugging
    • Integration Guide
  • API Reference​​
    • Error Codes
    • HTTP Notes
  • Search / Reader Product
    • Web Reader API​​
      • Web Reader API
      • Web Reader API(HK)
    • Web Search API​​
      • Modal Card API
        • Weather
          • All City ID
          • Weather Query API
      • Web Search API
      • Video Search api
      • Trending Search API
    • Document OCR Parsing API
      • fiel upload
      • URL Parsing
  • AI Models API
    • Base Url
    • Configuration Guide for Various Plugins
    • System interface
      • Query account information
    • List models
      • Models
    • OpenAI format (supports major original models)
      • Chat (Response)
        • Create Network Search
        • Create Model Response GPT-5 Enable Thinking
        • Create Function Call
        • Create Model Response
        • Create Model Response (Streaming Return)
        • Create Model Response (Control Thinking Length)
      • ChatGPT Interface
        • Audio
          • Audio to text gpt-4o-transcribe
          • GPT-4o-audio
          • Audio to text whisper-1
          • Audio to text gpt-4o-transcribe
          • Create voice gpt-4o-mini-tts
        • Chat
          • Create chat-based image recognition (non-streaming)
          • Create chat-based image recognition (streaming)
          • Create chat-based image recognition (streaming) best64
          • Official N test
          • Create structured output
          • Control the effort level of the inference model
          • Create chat function call
          • deepseek-ocr recognition
          • Create chat completion (non-stream)
        • Completions
          • ChatGPT automatic completion
          • Create completion
      • Image
        • Edit image
        • Create chat completion (streaming)
        • Create chat completion (qwen-mt-turbo)
        • Create chat completion with deepseek v3.1 level of reasoning (streaming)
      • Audio
        • Speech recognition
        • Speech synthesis
        • Official Function Calling invocation
        • Create chat-generated images (non-streaming)
      • Embedding
        • Text embeddings
    • Anthropic format
      • Chat
      • Chat(prompt cache)
      • Streaming response
      • Chat (deep reasoning)
      • Tool invocation (function call)
      • Analyze image
    • Google Gemini interface
      • Native format
        • Text-to-image + control over aspect ratio + clarity
        • Generate image
        • Text generation
        • Text generation - stream
        • Text generation + reasoning - stream
        • Image generation
        • Formatted output
        • Function call
        • Document understanding
        • URL context [native format]
        • Code execution
        • Video understanding
        • URL context
        • Video understanding - url [native format]
        • Imagen 4
        • Audio understanding
        • Embeddings
        • Chat
        • Edit image
      • Image-to-image Base64 request method
        • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity
        • Image editing
        • Single image gemini-3-pro-image-preview, controlling aspect ratio and clarity.
        • Image generation( gemini-2.5-flash-image)
        • Image generation gemini-2.5-flash-image, controlling aspect ratio.
        • Image understanding
      • Image-to-image URL request returns URL request format OpenAI
        • Single image generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
        • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
        • Image understanding
    • NanoBanana
      • OpenAI request
        • Edit image
        • OpenAI image format
      • Gemini request
        • Generate image
        • Edit image
    • Midjourney format
      • Task query interface
      • Upload image
      • Get seed (Seed)
      • Submit Imagine task
      • Query tasks based on ID list
      • FaceSwap
      • Execute Action operation
      • /mj/submit/blend
      • Submit Describe task
      • Submit Modal
      • Refresh link
      • Edit image
      • Query task status by task ID
      • Get the seed of the task image
    • Doubao - Video Generation
      • Text-to-video example
      • Image-to-video example
      • Query a single task
    • Doubao - Painting
      • doubao-seededit-3-0-i2i-250628
      • doubao-seedream-4-0-250828 - text-to-image
      • doubao-seedream-4-0-250828 - image-to-image
      • doubao-seedream-4-0-250828 - multi-image generation
    • Rerank Reordering Model
      • Rerank
    • Text-to-Music Suno
      • Task Submission
        • Generate Song (Inspiration Mode)
        • Generate Song (Custom Mode)
        • Generate Song (Continuation Mode)
        • Generate Song (Singer Style)
        • Generate Song (Secondary Creation from Uploaded Song)
        • Generate Song (Song Stitching)
        • Generate Lyrics
        • Song Stitching
      • Query Interface
        • Batch Retrieve Tasks
        • Query Single Task
    • Video Model
      • Veo-Video Generation
        • OpenAI Video Format (Recommended)
          • OpenAI Creates Video with Images
          • OpenAI Query Task
          • OpenAI Download Video
      • Sora-Video Generation
        • OpenAI Official Video Format (Recommended)
          • sora-2/sora-2-pro
            • OpenAI Query Task
            • OpenAI Download Video
            • OpenAI Creates Video with Images
            • OpenAI Creates Video (with Character)
            • OpenAI Edit Video
        • Chat Format
          • Create Video
          • Create video + image
          • Continuously modify and generate video
      • Kling -Video Generation
        • Text-to-video
        • Image-to-video
        • Query task (free)
      • Wan -Video Generation
        • Create video with image Wan
        • Query video
      • MiniMax -Video Generation
        • Text-to-video generation task
        • Image-to-video task
        • Query video generation task status
        • Video download
      • Vidu -Video Generation
        • Generates video
        • Query
  • ​​FAQ​​
    • Data Updates
  • Change Log​​
home
home
  1. AI Models API

Configuration Guide for Various Plugins

Complete Guide to DataEyesAI Configuration#

Complete Tutorial for AI Model Integration and Third-Party Tool Configuration
Includes installation guide, environment configuration, VS Code plugin setup, and frequently asked questions
Account registration benefits
New users receive a $1 trial credit upon registration
Use the latest domestic and international models at low prices
Registration link

Claude Code for CLI#

Tool introduction#

Claude Code is a command-line AI programming assistant launched by Anthropic. It can be considered the most user-friendly programming assistant currently available, allowing you to collaborate with Claude directly in the terminal for programming tasks.

System requirements#

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

Installation steps#

1.
**Install Node.js: Ensure Node.js version is >= 18.0
2.
Install Git (Required for Windows installation, can be skipped for Mac)
3.
Install Claude Code:
4.
Verify installation:

Environment variable configuration#

Obtain necessary configuration information
Configuration itemsDescriptionAcquisition method
ANTHROPIC_AUTH_TOKENAPI keyAdd a token in the console to obtain an API key starting with sk-
ANTHROPIC_BASE_URLAPI service addressUse by defaulthttps://cloud.dataeyes.aiOr obtain other addresses from the console
Linux/macOS:
Windows:
# Enter the project directory
cd Your project folder address

# windows PowerShell Configure environment variables
$env:ANTHROPIC_AUTH_TOKEN = "Enter your key starting with SK here"
$env:ANTHROPIC_BASE_URL = "https://cloud.dataeyes.ai"

# windows cmd Configure environment variables
set ANTHROPIC_AUTH_TOKEN=Enter your key starting with SK here
set ANTHROPIC_BASE_URL=https://cloud.dataeyes.ai

# Start Claude Code
claude

Claude Code for VS Code#

1.Install the plugin#

In addition to the CLI, Claude Code also has a VS Code extension version. You can now install Claude Code with one click in the VS Code extension marketplace.
image.png
You can also use the Claude Code CLI directly in VS Code. The extension version is simpler to install compared to the CLI and includes a visual GUI panel, making it more user-friendly for those who prefer not to use the terminal.
image.png
image.png

2.First-time use#

After installation, click on the edit area logo to open the Claude Code dialogue 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 also follow the steps below to skip login and access our third-party model service.
image.png

3.Custom API#

First, create a text document, change the file name to 'config. json', and place it in the following path:
Mac ~/.claude/config.json
Windows C:\Users\Administrator.claude\config.json
Then use Notepad to open and write the following content to save directly::
Return to the VS Code extension store page, click on the Claude Code plugin settings, find the [Edit in settings. json] (URL) link to jump to the JSON configuration file editing page.
image.png
image.png
Insert the API configuration command line into the code of the environment variable configuration file.
image.png
After completing the modifications, press Ctrl+S to save and reopen the Claude Code plugin to use Claude Code normally.

4.Customize the use of third-party models#

There are also differences between Claude Code model switching and CLI in VS Code. Before switching models, turn on the automatic execution permission mode to avoid Claude Code pop ups asking you to confirm before performing various operations.
image.png
Enable automatic execution permission:
image.png
Fill in other models:
image.png

Frequently Asked Questions#

Q:Prompt"Invalid API Key · Please run /login"?
A:The environment variable is not effective, please check the variable name:
Check if 'ANTHROPIC_SUTH_TOKEN' and 'ANTHROPIC_SASE-URL' are set correctly`
If permanent configuration is used, has the terminal been restarted
Q:Display 'offline' status?
A:Claude Code checks the network status by connecting to Google and does not affect normal use.
Q:Request always displays "fetch failed"?
A:It may be due to the network environment, it is recommended to use proxy tools.
Q:How to handle API errors?
A:It may be caused by unstable forwarding agents. It is recommended to
Ctrl+C terminates the conversation and exits Claude Code
Re run the configuration command
If the problem persists, please try again later

Precautions#

Please keep your API token safe to avoid any loss caused by leakage

N8N Workflow Tutorial: Using a Proxy/Relay API#

N8N is an open-source workflow automation tool that supports AI node integration and can be used to build complex automated workflows.
1.Open the n8n official website: https://n8n.io/ Log in and click "Get Started" in the upper right corner.
image.png
2.Create a new workflow.
image.png
3.Choose an appropriate trigger method.
image.png
4.Add an AI workflow module.
image.png
5.Select OpenAI.
image.png
6.For the chat, you must select "Message a Model" under "TEXT ACTIONS".
image.png
7.Start configuring the proxy/relay API.
image.png
The API Key can be generated and obtained from the API Token page.
Base URL Fill in our proxy/relay address. https://cloud.dataeyes.ai/v1 (Note: This is different from the API address Base URL — it has an extra /v1 appended.)
Click "Save" to save.
image.png
8.After clicking Save, the following prompt appears, indicating a successful connection.
image.png
9.I'll simply configure this module and click "Execute Step" to perform a test run.
image.png
Successful response.
Previous
Base Url
Next
Query account information