Quick Integration Guide
Complete API integration in three steps. Compatible with the OpenAI API format, migration takes only one line of code.
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.
Console URL:
https://ai.realcept.com/loginConfigure 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
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
Clients only need the endpoint, API Key, and the corresponding model name.
your-api-key with your own API Key.
Image generation uses the OpenAI-compatible image endpoint. Use gpt-image-2 as the image model.
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
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