Read This First

Core API gives you a unified API across top AI providers. With a single API key and one base URL, you can call models from OpenAI, Anthropic, Google, Stability, Runway, ElevenLabs, and more.

1. Getting started

1) Sign up and get your API key; 2) Set Authorization: Bearer YOUR_API_KEY and baseURL; 3) Make your first request using cURL or an SDK.

# Chat(OpenAI 兼容)
curl -X POST https://api.coreapi.com/v1/openai/chat/completions   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{
    "model": "gpt-4-turbo",
    "messages": [{"role":"user","content":"你好"}]
  }'

Account & billing

Use “Get API Key” in the navbar to create and manage keys. Keep keys server‑side and rotate regularly.

2. Models

Text: GPT‑4, Claude‑3, Gemini Pro

Images: DALL·E 3, Stable Diffusion XL

Video: Runway Gen‑3, Pika, Stable Video Diffusion

Audio & Music: ElevenLabs, Azure Speech, Resemble, Suno

3. Notes

  • Every request must include an Authorization header.
  • We mirror provider payloads where possible; differences are documented in the API Reference.
  • Use exponential backoff for 429/5xx errors.
  • Image/video jobs take longer; show loading indicators.
  • Plan concurrency and queues to avoid rate limits.

4. Next steps

• Read “Getting Started” for a step‑by‑step guide.

• See “Authentication” for key management and security.

• Explore “API Reference” for endpoints and payloads.

• Copy code from “SDKs / Examples”.

Mori API is an AI model aggregation platform that gives developers a single, unified API to access 50+ AI models across text, image, audio, and video — with transparent pricing, real‑time analytics, and enterprise‑grade reliability.

Copyright © 2024 CoreAPI Inc
All rights reserved