API keys
Manage keys, view request examples and test streamed replies.
Keys, quotas and model replies come from the upstream service. Sending a request may consume quota and credits.
Sign in to manage keys and view the model directory.
API documentation
These examples call the backend API directly. A new key supplies the current secret; closing it restores the placeholder.
- API base URL
https://soraapi.moemiku.com/api/v1
Use a Bearer key in the Authorization header. This key cannot sign in to the website or manage other keys.
curl -X POST "https://soraapi.moemiku.com/api/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "qwen/qwq-32b:free",
"messages": [
{
"role": "user",
"content": "What's your dream?"
}
],
"temperature": 0.7
}
JSONCommon errors
| 401 | The key is invalid, revoked or expired. |
|---|---|
| 429 | The key quota is exhausted. Requests are not resent automatically. |