Gateway configuration
MIYAIP / OpenAI-compatible
- 01 Base URL
- https://ai.miyaip.online:3000
- 02 API key / SK
- sk-••••••••••••••••
- 03 Model
- gpt-5
POST https://ai.miyaip.online:3000/v1/chat/completionsOpenAI-compatible access
Move an OpenAI-compatible chat client to MIYAIP with three settings: Base URL, SK, and model. Access is available to MIYA users with a successful paid order.
Gateway configuration
POST https://ai.miyaip.online:3000/v1/chat/completionsCore capabilities
Configure an existing OpenAI-compatible client, choose from the models shown in your dashboard, and keep the SK lifecycle under your control.
OPENAI / CHAT
Point an OpenAI-compatible Chat Completions client at the MIYAIP gateway while keeping the familiar message structure.
MODEL / LIST
Use a model name returned in your dashboard. The current signed-in list is always the source of truth.
SK / LIFECYCLE
Generate or regenerate your gateway SK from the signed-in console after eligibility is confirmed.
TEST / CHAT
Validate a model and prompt in the MIYAIP Playground before moving the configuration into your own client.
Access workflow
The signed-in console confirms eligibility and provides the values needed by your client.
Successful paid order requiredThe gateway is available once your account has at least one successful paid order.
Open Enterprise AI Model Gateway in the dashboard and generate a personal SK for your own clients.
Enter the displayed Base URL, your SK, and a model name from the current dashboard list.
Call the Chat Completions endpoint or validate the same setup in AI Playground.
Integration
Use the same Chat Completions payload structure from cURL or Python, replacing the placeholder with your own SK.
The examples use gpt-5 for illustration. Always use a model name from the current list in your signed-in dashboard.
curl -X POST https://ai.miyaip.online:3000/v1/chat/completions \
-H "Authorization: Bearer sk-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5",
"messages": [
{"role": "user", "content": "Hello from MIYAIP"}
]
}'Key safety
This public page never loads account data. Generate, view, and rotate credentials only in the signed-in console.
A regenerated SK takes effect immediately. Update every client that still uses the old credential.
Do not publish the SK or place it in URLs, client-side source, logs, analytics, or public repositories.
This page covers the OpenAI-compatible Chat Completions interface only. Use the dashboard as the source of truth for models and access status.
FAQ
Test before you ship
Use your eligible account and current SK to test a prompt before configuring another client.