Online • Cloudflare Edge GPU

ApiTuTa Master AI Gateway

Cổng kết nối AI toàn cầu • Tốc độ cao • 0% chặn vùng • Tương thích chuẩn OpenAI

💬 Thử Nghiệm Chat AI

Kết quả chat sẽ hiển thị ở đây...

🎨 Thử Nghiệm Vẽ Ảnh (FLUX AI)

Trạng thái vẽ ảnh...
AI Generated Image

📡 Danh Sách Endpoints Chuẩn

GET /v1/models Danh sách tất cả model AI
POST /v1/chat/completions Chat chuẩn OpenAI (Streaming & Non-streaming)
POST /v1/images/generations Tạo ảnh FLUX 1 Schnell (1024x1024)
POST /banana/gen Endpoint vẽ nhanh cho Banana Drawer
GET /banana.js Script nhúng Floating Drawer vào mọi website

🐍 Hướng Dẫn Dùng Với Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://apituta.pages.dev/v1",
    api_key="ApiTuTa"  # Chấp nhận mọi key
)

# 1. Chat Completion
response = client.chat.completions.create(
    model="ApiTuTa",  # hoặc "ApiTuTa-pro", "ApiTuTa-fast"
    messages=[{"role": "user", "content": "Xin chào!"}]
)
print(response.choices[0].message.content)

# 2. Tạo ảnh FLUX
img_res = client.images.generate(
    prompt="A futuristic flying car in sunset",
    model="flux-1-schnell"
)
print("Link ảnh base64:", img_res.data[0].url[:50] + "...")