Support the Openai Responses API multi-function interface, the following functions have been launched:

  • ✅ Text input:Text input
  • ✅ Image input:Image input
  • ✅ Streaming:Streaming
  • ✅ Functions:Functions
  • ✅ Web search:Web search
  • ✅ Computer Use:Computer Use
  • 🚧 Reasoning:Reasoning, under construction, requests using o3-mini will not respond

Usage (Python call):

Same as the official OpenAI call method, just replace api_key and base_url for forwarding. Mainland China can access directly.

client = OpenAI(
    api_key="AIHUBMIX_API_KEY", # Replace with the key you generated in AiHubMix
    base_url="https://aihubmix.com/v1"
)
from openai import OpenAI

client = OpenAI(
    api_key="AIHUBMIX_API_KEY", # Your Key "sk-***"
    base_url="https://aihubmix.com/v1"
)

response = client.responses.create(
  model="gpt-4o-mini",
  input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

Note: Computer use needs to be used with Playwright, refer to the official repository

Known details:

  • The call example is complex
  • Screenshots are many, time-consuming, and low success rate
  • May trigger CAPTCHA verification or Cloudflare real verification, may encounter infinite loop