socialcard
收藏SocialCard API 数据集概述
基本信息
- 数据集名称: socialcard
- 类别: Media
- 提供者: Van Moose
- API基础URL: https://socialcard.vanmoose.cc
- 当前版本: 1.0.1
功能描述
一个用于生成美观的社交媒体预览卡片和Open Graph图像的强大API。适用于为网站、博客和应用程序创建可共享的内容预览、链接缩略图和社交媒体卡片。支持自定义标题、描述、图像和品牌元素。
适用场景
- 营销团队自动化生成社交分享图像
- SaaS平台生成动态OG图像
- 内容发布者创建一致的链接预览
- 开发者构建社交调度工具
不适用场景
- 完整的图形设计(仅生成卡片式图像)
- 视频缩略图(生成静态图像)
认证方式
所有端点都需要通过X-RapidAPI-Key请求头进行RapidAPI认证。
端点详情
POST /v1/generate
生成社交媒体卡片图像。
请求体示例: json { "title": "How to Build a SaaS Product", "description": "A complete guide to launching and scaling your first SaaS business.", "template": "default", "branding": { "logo": "https://example.com/logo.png", "siteName": "Example Blog", "color": "#4F46E5" } }
响应示例: json { "success": true, "image": { "url": "https://socialcard.vanmoose.cc/images/abc123.png", "width": 1200, "height": 630, "format": "png", "expiresAt": "2026-02-10T10:30:00Z" }, "meta": { "og": { "og:image": "https://socialcard.vanmoose.cc/images/abc123.png", "og:image:width": "1200", "og:image:height": "630", "og:image:type": "image/png" }, "twitter": { "twitter:card": "summary_large_image", "twitter:image": "https://socialcard.vanmoose.cc/images/abc123.png" } } }
POST /v1/generate (with author)
生成包含作者信息的卡片。
请求体示例: json { "title": "The Future of API Development", "description": "Why APIs are becoming the backbone of modern software.", "template": "blog", "author": { "name": "Jane Smith", "avatar": "https://example.com/jane.jpg", "title": "CTO at Example" }, "branding": { "logo": "https://example.com/logo.png", "siteName": "Example Blog", "color": "#10B981" }, "publishedAt": "2026-02-03" }
GET /v1/templates
列出可用模板。
响应示例: json { "success": true, "templates": [ { "id": "default", "name": "Default", "description": "Clean, minimal card with title and description", "preview": "https://socialcard.vanmoose.cc/templates/default.png" }, { "id": "blog", "name": "Blog Post", "description": "Card with author info and publish date", "preview": "https://socialcard.vanmoose.cc/templates/blog.png" }, { "id": "product", "name": "Product", "description": "Card with product image and CTA", "preview": "https://socialcard.vanmoose.cc/templates/product.png" }, { "id": "event", "name": "Event", "description": "Card with date, time, and location", "preview": "https://socialcard.vanmoose.cc/templates/event.png" }, { "id": "quote", "name": "Quote", "description": "Card with large quote and attribution", "preview": "https://socialcard.vanmoose.cc/templates/quote.png" } ] }
POST /v1/bulk
批量生成多张卡片(仅限PRO+计划)。
批量限制:
| 计划 | 最大卡片数 |
|---|---|
| Free | — |
| Pro | 25 |
| Ultra | 50 |
| Mega | 100 |
GET /v1/health
API健康检查。
错误响应
- 400 - 验证错误: 请求参数无效
- 403 - 未授权: API凭证无效或缺失
- 429 - 超出速率限制: 超出请求频率限制
数据隐私
- 生成的图像缓存7天后删除
- 除图像生成外,不存储任何请求数据
- 不记录或保留任何个人身份信息(PII)
定价计划
| 计划 | 价格 | 月度配额 | 速率限制 | 超额费用 |
|---|---|---|---|---|
| Free | $0.00 | 200次/月 | 5次/分钟 | 硬性限制 |
| Pro | $9.99 | 10,000次/月 | 30次/分钟 | $0.001/次 |
| Ultra ⭐ | $49.99 | 100,000次/月 | 150次/分钟 | $0.0005/次 |
| Mega | $199.00 | 1,000,000次/月 | 500次/分钟 | $0.00025/次 |
使用案例
- 自动化博客文章OG图像
- 动态产品分享卡片
- 活动推广图形
- 社交媒体调度工具
- CMS链接预览集成
支持
如有问题或功能请求,请联系:info@vanmoose.cc




