DataEyesAI
Official SiteConsoleDocs HomeGetting StartedDeveloper ToolsAI Models API
Terms & Policies
Official SiteConsoleDocs HomeGetting StartedDeveloper ToolsAI Models API
Terms & Policies
  1. AI Models API
  • API Overview
  • Chat Completions
  • Responses
  • Messages (Claude)
  • Gemini (generateContent)
  • Embeddings
  • Image Models
    • Images
    • Gemini Image Generation
    • Grok Imagine Image
  • Midjourney format
    • Midjourney API Reference
    • 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
  • Video Model
    • FLUX Video Generation (flux-3-video)
    • Grok Video Generation
      • 00-Overview
      • 01-Text-to-Video
      • 02-Image-to-Video
      • 03-Reference-to-Video
      • 04-Video-Editing
      • 05-Video-Extension
    • Seedance Video Generation
      • 00-Overview
      • 01-Create-Video-Generation-Task
      • 02-Query-Video-Generation-Task
      • 03-Query-Video-Generation-Task-List
      • 04-Cancel-or-Delete-Task
      • Seedance Private Asset Library API Documentation
    • MiniMax-H3 Video Generation
      • 00-Overview
      • 01-Create-Video-Generation
      • 02-Create-Video-Regeneration
      • 03-Create-H3-Context-IR
      • 04-Query-Task
      • 05-List-Tasks
      • 06-Cancel-or-Delete-Task
    • Hailuo Video Generation
      • 00-Overview
      • 01-Text-to-Video-T2V
      • 02-Image-to-Video-I2V
      • 03-First-Last-Frame-FL2V
      • 04-Subject-Reference-S2V
      • 05-Query-Task-Status
      • 06-Video-Download
      • 99-Appendix-Camera-Movement-and-Webhooks
    • Jimeng Video Generation
      • 00-Overview
      • 01-3.0-Pro-Video-Generation
      • 02-720P-Text-to-Video
      • 03-720P-Image-to-Video-First-Frame
      • 04-720P-Image-to-Video-Start-End-Frame
      • 05-720P-Image-to-Video-Camera
      • 06-1080P-Text-to-Video
      • 07-1080P-Image-to-Video-First-Frame
      • 08-1080P-Image-to-Video-Start-End-Frame
      • 09-Error-Codes
    • Kling AI Video Generation
      • 00-Overview
      • 01-Text-to-Video
      • 02-Image-to-Video
      • 03-Omni-Video
      • 04-Multi-Image-to-Video
      • 05-Motion-Control
      • 06-Multi-Elements
      • 07-Video-Extension
      • 08-Lip-Sync
      • 09-Avatar
      • 10-Text-to-Audio
      • 11-Video-to-Audio
      • 12-TTS
      • 13-Custom-Voices
      • 14-Image-Recognition
      • 15-Element-Management
      • 16-Video-Effects
      • 17-Kling-4.0-Video-Generation
    • Vidu Video Generation
      • 00-Overview
      • 01-Text-to-Video
      • 02-Image-to-Video
      • 03-Reference-to-Video
      • 04-Start-End-Frame
      • 05-Multi-Frame
      • 06-Scene-Template
      • 07-Template-Story
      • 08-Query-Tasks
    • HappyHorse
      • HappyHorse Text-to-Video
      • HappyHorse Image-to-Video (First Frame)
      • HappyHorse Reference-to-Video
      • HappyHorse Video Editing
    • Wan Video Generation
      • 00-Overview.md
      • 01-Text-to-Video
      • 02-Image-to-Video
      • 03-Reference-to-Video
      • 04-Video-Editing
      • 05-First-Last-Frame-to-Video
      • 06-Motion-Transfer-and-Character-Swap
      • 07-Digital-Human-Video
      • 08-VACE-Video-Editing
      • 09-Query-Task
  • Audio API
    • Audio API
    • Gemini TTS API
    • Google DeepMind Lyria API
    • Elevenlabs Speech to Text API Reference
  1. AI Models API

API Overview

All model APIs share one Base URL and one Model API key:
https://studio.dataeyes.ai
For authentication, see API Keys and Authentication. For how to set the Base URL in each SDK, see Base URL and SDKs.

Text and multimodal#

ProtocolMethod and pathDescription
OpenAI Chat CompletionsPOST /v1/chat/completionsGeneral-purpose chat endpoint, supported by almost all text models. View docs
OpenAI ResponsesPOST /v1/responsesRecommended for GPT models and Codex. View docs
Anthropic MessagesPOST /v1/messagesNative protocol for the Claude series and glm-5.1. View docs
Gemini nativePOST /v1beta/models/{model}:generateContent
POST /v1beta/models/{model}:streamGenerateContent
Native protocol for the Gemini series. View docs
EmbeddingsPOST /v1/embeddingsText embeddings. View docs
ModelsGET /v1/modelsLists the models available to the current key. View docs
Which protocols does a model support?
Open the model's details in the Model Hub. The "API endpoints" section lists every protocol and path the model supports.

Images#

CapabilityMethod and pathModels (examples)
Text-to-image / image-to-imagePOST /v1/images/generationsGPT Image, Seedream, FLUX, Grok Imagine. View docs
Image editingPOST /v1/images/editsGPT Image, FLUX
Gemini imagesPOST /v1beta/models/{model}:generateContentGemini image models (Nano Banana). View docs
MidjourneyPOST /mj/submit/imagine, etc.mj_imagine, etc. View docs

Video (asynchronous tasks)#

Video generation takes time, so every video API is asynchronous: submit a task, poll its status, then download the result.
SeriesSubmit taskQuery task
SeedancePOST /seedance/api/v3/contents/generations/tasksGET /seedance/api/v3/contents/generations/tasks/{id}
KlingPOST /kling/text-to-video/{model}, etc.GET /kling/tasks?task_ids={task_id}
ViduPOST /vidu/ent/v2/text2video, etc.GET /vidu/ent/v2/tasks?task_ids={task_id}
Wan / HappyHorsePOST /ali/api/v1/services/aigc/video-generation/video-synthesisGET /ali/api/v1/tasks/{task_id}
MiniMax H3POST /hailuo/v2/video_generationGET /hailuo/v2/query/video_generation/{task_id}
Grok Imagine VideoPOST /grok/v1/videos/generationsGET /grok/v1/videos/{request_id}
FLUX (flux-3-video)POST /flux/v1/flux-3-videoGET /flux/v1/get_result?id={id}. View docs
For parameters, examples, and pricing of each series, see Video generation APIs.
General workflow
1.
Call the "submit task" endpoint to get a task ID.
2.
Call the "query task" endpoint every 5–10 seconds until the status is success or failure.
3.
On success, download the video from the URL in the result. Video URLs usually expire, so save the file promptly.

General notes#

Streaming: For text endpoints, set "stream": true in the request body. Responses are returned as SSE.
Billing: Only successful requests are billed. Unit prices are shown in the Model Hub; per-request charges are listed in Usage Logs.
Errors: For the error format and common error codes, see Error Codes.
Next
Chat Completions