Giphy
获取你所有的动图
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 摄影
简介
Giphy API 提供 GIF——搜索、热门、贴纸和按 ID 查询——支撑无数聊天和社交集成。认证是免费 API 密钥(无效密钥返回 401,已实测)。
快速开始
热门(替换 YOUR_KEY):
curl "https://api.giphy.com/v1/gifs/trending?api_key=YOUR_KEY&limit=3"
{
"data": [
{
"id": "abc123",
"title": "happy dance GIF",
"images": { "original": { "url": "https://media.giphy.com/media/abc123/giphy.gif" }, "fixed_width": { "url": "https://media.giphy.com/media/abc123/200w.gif" } }
}
]
}
搜索:
curl "https://api.giphy.com/v1/gifs/search?api_key=YOUR_KEY&q=cats&limit=5"
贴纸:
curl "https://api.giphy.com/v1/stickers/trending?api_key=YOUR_KEY&limit=3"
认证方式
- 在 developers.giphy.com 注册 → 创建应用 → API 密钥。
- 通过
api_key查询参数携带(无效密钥 → 401,已实测)。
速率限制与注意事项
- 免费层:10,000 次请求/天(每密钥,看文档);多数应用无需付费。
- 端点:
/v1/gifs/search、/v1/gifs/trending、/v1/gifs/{id}、/v1/stickers/...。 - 每个 GIF 的
images有多种版本(original、fixed_width、preview)——按需选择尺寸。 - 对客户端使用友好(CORS)。
常见问题
Giphy 免费吗? 免费层:10,000 次/天;更多需要付费。
如何获取密钥? developers.giphy.com → 创建应用。
版本是什么? 多种尺寸:original、fixed_width、preview 等。
摄影 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Bruzu Image generation with query string | API Key | Yes | Yes | ↗ |
| CheetahO Photo optimization and resize | API Key | Yes | Unknown | ↗ |
| Dagpi Image manipulation and processing | API Key | Yes | Unknown | ↗ |
| Duply Generate, Edit, Scale and Manage Images and Videos Smarter & Faster | API Key | Yes | Yes | ↗ |
| DynaPictures Generate Hundreds of Personalized Images in Minutes | API Key | Yes | Yes | ↗ |