📖 API Integration Docs

Quick Integration Guide

Complete API integration in three steps. Compatible with the OpenAI API format, migration takes only one line of code.

1

Get an API Key

After creating an account, open the console to get your API Key. Keep it secure and do not share it with others.

2

Configure API Base URL

Set the API Base URL to the following address. It is fully compatible with the OpenAI API format:

https://ai.realcept.com/v1
3

Start Calling

Use your preferred SDK or direct HTTP requests to call the API endpoint:

import openai

client = openai.OpenAI(
    api_key="your-api-key",
    base_url="https://ai.realcept.com/v1"
)

response = client.chat.completions.create(
    model="gpt-5.4",
    messages=[{"role": "user", "content": "Hello"}]
)

Image Generation Integration

Image Generation Guide
Use one OpenAI-compatible endpoint to call image generation capabilities.
Clients only need the endpoint, API Key, and the corresponding model name.
Image Models
gpt-image-2
Tip: when calling, only replace your-api-key with your own API Key.
1Image Generation Example

Image generation uses the OpenAI-compatible image endpoint. Use gpt-image-2 as the image model.

POST /v1/images/generations
import requests

url = "https://ai.realcept.com/v1/images/generations"
headers = {
    "Authorization": "Bearer your-api-key",
    "Content-Type": "application/json"
}
payload = {
    "model": "gpt-image-2",
    "prompt": "An orange cat walking in heavy rain, realistic photography style, raindrops, puddle reflections",
    "size": "1024x1024",
    "n": 1,
    "response_format": "url"
}

response = requests.post(url, headers=headers, json=payload, timeout=360)
print(response.json())

Supported Model List

Minimax2.7
Minimax
GPT5.5
OpenAi
Gemini Pro
Google
GLM-5
Zhipu AI
DeepSeek
DeepSeek
Qwen
Qwen
gpt-image-2
Image Generation

FAQ

❓ How do I check balance and usage?

After logging into the console, you can view your balance, API call count, and cost details on the dashboard.

❓ Which payment methods are supported?

Multiple top-up methods are supported, including Alipay, WeChat Pay, and USDT. Balance is credited immediately after payment.

❓ What should I do if the API returns an error?

Additional information

Having trouble?

Additional information

Start Now