PPAI · API Atlas / 接口图鉴

An atlas/of endpoints.

一套把对话、图像与视频生成统一在 OpenAI 兼容 形态下的接口集合。 收录自 docs.ppapi.vip, 按主题与厂商重排,便于阅读、复制与调试。

Base URL
https://api.ppaicode.com
Auth
Bearer {API_KEY}
Format
application/json
Source
docs.ppapi.vip
接口总数
分类
模型族

// QUICKSTART三步上路

所有接口共用同一个 base URL api.ppaicode.com。在请求头放入 Authorization: Bearer sk-…,多数端点完全兼容 OpenAI SDK——把 base_url 换掉就能立刻使用 GPT、Gemini、Veo、Sora、Nano-banana、Kimi、Deepseek、Grok。

# 1) export your key
export OPENAI_API_KEY="sk-xxxxxxxxxxxx"

# 2) call any model — same endpoint shape
curl https://api.ppaicode.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4.1","messages":[{"role":"user","content":"hello"}]}'