API Endpoints
Multi-format REST API endpoints for chat, responses, image, video, embeddings, and related workflows through one host.
Core Endpoint Paths
Browse endpoints by capability and combine any path with the selected host.
Core Generation
Chat Completions and Responses endpoints for text generation, streaming, and tool use.
/v1/chat/completions/v1/responsesMedia Generation
Image generation, image editing, and video submission endpoints for content workflows.
/v1/images/generations/v1/images/edits/v1/videosExtended Protocols
Embeddings, Messages, and generateContent protocol endpoints for extended integration needs.
/v1/embeddings/v1/messages/v1beta/models/{model}:generateContentEndpoint Hosts
Choose the endpoint that best fits your network and latency requirements.
ELB optimized ¡ China ¡ Multi-server cluster ¡ High-performance optimized ¡ Non-streaming timeout: 120s
API Methods
Complete reference of supported API endpoints grouped by capability.
Generate conversational text completions with context and tool use support.
Stateless API responses with flexible output formatting.
Generate high-dimensional vector embeddings for semantic search and RAG.
Create images from text prompts.
Edit existing images with text instructions or mask-based inpainting.
Submit video generation jobs for text-to-video and image-to-video workflows.
Send messages through the Messages protocol with tool use and streaming support.
Generate content through the generateContent protocol format.
Click any endpoint to copy full URL with host
Quick Start
Make your first API call in under a minute. Copy the example, add your key, and go.
import requests
response = requests.post(
"https://api.wisgate.cn/v1/chat/completions",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"model": "deepseek-r1",
"messages": [
{"role": "user", "content": "äŊ åĨŊīŧ"}
],
},
)
print(response.json())Ready to Build?
Get your API key and start integrating in minutes. No credit card required for free models.