sirv-ai-studio
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSirv AI Studio
Sirv AI Studio
IMPORTANT: Use MCP Tools When Available
重要提示:优先使用MCP工具
Before telling users to visit sirv.studio, CHECK if you have access to sirv-ai MCP tools. If tools like , , are available, USE THEM DIRECTLY to process images.
sirv_remove_backgroundsirv_upscalesirv_generate在引导用户访问sirv.studio之前,请先检查是否可以使用sirv-ai MCP工具。 如果有、、等工具,请直接使用它们来处理图像。
sirv_remove_backgroundsirv_upscalesirv_generateMCP Tool Quick Reference
MCP工具速查
| Task | MCP Tool | Key Parameters |
|---|---|---|
| Remove background | | |
| Replace background | | |
| Upscale image | | |
| Generate image | | |
| Lifestyle scene | | |
| Virtual try-on | | |
| Get alt text | | |
| Batch remove BG | | |
| Check credits | | none |
| 任务 | MCP工具 | 关键参数 |
|---|---|---|
| 移除背景 | | |
| 替换背景 | | |
| 图像放大 | | |
| 生成图像 | | |
| 生活场景合成 | | |
| 虚拟试穿 | | |
| 获取替代文本 | | |
| 批量移除背景 | | |
| 查看剩余额度 | | 无 |
If MCP Tools Are NOT Available
若MCP工具不可用
Help the user install the Sirv AI MCP server. Add to project or :
.mcp.json~/.claude.jsonjson
{
"mcpServers": {
"sirv-ai": {
"command": "npx",
"args": ["-y", "sirv-ai-mcp-server"],
"env": {
"SIRV_AI_BASE_URL": "https://www.sirv.studio"
}
}
}
}Then restart Claude Code. User will need to authorize with their Sirv AI Studio account on first use.
Only direct users to www.sirv.studio if they don't want to set up MCP.
帮助用户安装Sirv AI MCP服务器。在项目的或中添加以下内容:
.mcp.json~/.claude.jsonjson
{
"mcpServers": {
"sirv-ai": {
"command": "npx",
"args": ["-y", "sirv-ai-mcp-server"],
"env": {
"SIRV_AI_BASE_URL": "https://www.sirv.studio"
}
}
}
}然后重启Claude Code。用户首次使用时需要使用Sirv AI Studio账号授权。
仅当用户不想设置MCP时,才引导他们访问www.sirv.studio。
Web UI (Fallback)
Web界面(备选方案)
If MCP tools are not available, users can access Sirv AI Studio at www.sirv.studio:
- Upload image(s) via drag-drop or URL
- Select tool from sidebar
- Configure options
- Click Process
- Download or auto-upload to Sirv CDN
如果MCP工具不可用,用户可以访问www.sirv.studio使用Sirv AI Studio:
- 通过拖拽或URL上传图像
- 从侧边栏选择工具
- 配置选项
- 点击处理
- 下载或自动上传至Sirv CDN
Core Tools
核心工具
Background Processing
背景处理
| Tool | Credits | Use Case |
|---|---|---|
| Background Removal | 1-2 | Product cutouts, transparent PNG |
| Background Replace | 3-4 | New backgrounds via prompt or image |
| Object Removal | 3 | Remove unwanted elements with mask |
Background Removal Models:
- BiRefNet v1/v2: Fast, multiple presets (Light, Heavy, Portrait, Matting)
- Bria: Premium quality alternative
Background Replace Models:
- Bria: Text prompt or reference image
- FLUX Kontext: Advanced with consistency
- Nano Banana: Faster alternative
| 工具 | 消耗额度 | 使用场景 |
|---|---|---|
| 背景移除 | 1-2 | 产品抠图、透明PNG生成 |
| 背景替换 | 3-4 | 通过提示词或图像生成新背景 |
| 物体移除 | 3 | 使用蒙版移除不需要的元素 |
背景移除模型:
- BiRefNet v1/v2:快速处理,多种预设(轻度、重度、人像、抠图)
- Bria:高品质替代模型
背景替换模型:
- Bria:支持文本提示词或参考图像
- FLUX Kontext:高级一致性模型
- Nano Banana:快速替代模型
Image Enhancement
图像增强
| Tool | Credits | Use Case |
|---|---|---|
| Upscaling | 1-32 | Increase resolution up to 8x |
| FLUX 2 Edit | 3 | Natural language editing |
| Reve Fast Edit | 1 | Quick prompt-based edits |
Upscaling Models:
- ESRGAN: Fast, affordable (1-2 credits, up to 8x)
- Clarity: AI-enhanced with prompts (8+ credits)
- Topaz: Premium quality (8-136 credits)
| 工具 | 消耗额度 | 使用场景 |
|---|---|---|
| 图像放大 | 1-32 | 将分辨率提升至8倍 |
| FLUX 2编辑 | 3 | 自然语言编辑 |
| Reve快速编辑 | 1 | 基于提示词的快速编辑 |
图像放大模型:
- ESRGAN:快速、经济(1-2额度,最高8倍)
- Clarity:AI增强,支持提示词(8+额度)
- Topaz:高品质(8-136额度)
Image Generation
图像生成
| Tool | Credits | Use Case |
|---|---|---|
| FLUX 2 | 2 | High-quality text-to-image |
| Z-Image | 2 | Affordable alternative |
| Gemini Pro | 15-30 | Advanced generation |
| Seedream | 2 | Creative/artistic styles |
Supports: 1-4 images per generation, multiple aspect ratios, up to 2048x2048
| 工具 | 消耗额度 | 使用场景 |
|---|---|---|
| FLUX 2 | 2 | 高质量文本生成图像 |
| Z-Image | 2 | 经济实惠的替代选项 |
| Gemini Pro | 15-30 | 高级生成能力 |
| Seedream | 2 | 创意/艺术风格生成 |
支持:每次生成1-4张图像,多种宽高比,最高2048x2048分辨率
Product Tools
产品工具
| Tool | Credits | Use Case |
|---|---|---|
| Product Lifestyle | 3-15 | Product in lifestyle scenes |
| Virtual Try-On | 4 | Garment on person |
| Try-On Video | 11 | Animated try-on |
| Color Variants | 2+/color | Product in multiple colors |
| Alt Text | 1 | AI-generated descriptions |
| Product Description | 1 | Marketing copy (12+ languages) |
Lifestyle Scenes: 44 presets (kitchen, office, beach, etc.) or custom prompts
| 工具 | 消耗额度 | 使用场景 |
|---|---|---|
| 产品生活场景合成 | 3-15 | 将产品融入生活场景 |
| 虚拟试穿 | 4 | 服装在模特身上的试穿效果 |
| 试穿视频 | 11 | 动画试穿效果 |
| 颜色变体 | 2+/每种颜色 | 产品多色展示 |
| 替代文本 | 1 | AI生成描述文本 |
| 产品描述 | 1 | 营销文案(支持12+种语言) |
生活场景: 44种预设(厨房、办公室、海滩等)或自定义提示词
3D Generation
3D生成
| Tool | Credits | Use Case |
|---|---|---|
| Meshy v6 | 50 | Single image to 3D |
| Meshy v5 Multi | 25 | Multi-angle input |
| Seed3D/Trellis | 25-50 | Alternative models |
Output formats: GLB, OBJ, FBX, USDZ, Blend, STL with PBR textures
| 工具 | 消耗额度 | 使用场景 |
|---|---|---|
| Meshy v6 | 50 | 单图像转3D |
| Meshy v5 Multi | 25 | 多角度输入转3D |
| Seed3D/Trellis | 25-50 | 替代模型 |
输出格式: GLB、OBJ、FBX、USDZ、Blend、STL(带PBR纹理)
Video Tools
视频工具
| Tool | Credits | Use Case |
|---|---|---|
| LTX 2.0 | 6-24/sec | Up to 4K, 6-10 seconds |
| Kling 2.6 | 6-24/sec | 1080p with speech synthesis |
| Veo 3.1 | 6-24/sec | High quality generation |
| Captions | Variable | Multi-language transcription |
| 工具 | 消耗额度 | 使用场景 |
|---|---|---|
| LTX 2.0 | 6-24/每秒 | 最高4K,6-10秒时长 |
| Kling 2.6 | 6-24/每秒 | 1080p分辨率,支持语音合成 |
| Veo 3.1 | 6-24/每秒 | 高品质视频生成 |
| 字幕 | 可变 | 多语言转录 |
Free Tools
免费工具
- Depth Map: Generate depth data for 3D/AR effects
- Image Optimizer: 17 social media presets, resize/crop/convert
- Smart Crop: Intelligent cropping for platforms
- 深度图:生成3D/AR效果所需的深度数据
- 图像优化器:17种社交媒体预设,支持调整大小/裁剪/格式转换
- 智能裁剪:针对各平台的智能裁剪功能
Batch Processing
批量处理
Process multiple images simultaneously:
- Upload batch via drag-drop or URL import
- Configure shared settings
- Preview results before processing
- Download ZIP or auto-upload to Sirv
Available batch tools:
- Batch Background Removal
- Batch Upscale
- Batch Generate
- Batch Product Lifestyle
- Batch Background Replace
- Batch Alt Text
- Batch Image Translation
Limits by tier:
- Free: No batch
- Starter: 100 images
- Pro: 500 images
- Business: 1,500 images
- Volume+: Unlimited
同时处理多张图像:
- 通过拖拽或URL导入批量图像
- 配置共享设置
- 处理前预览结果
- 下载ZIP包或自动上传至Sirv
可用批量工具:
- 批量移除背景
- 批量放大
- 批量生成
- 批量产品生活场景合成
- 批量替换背景
- 批量生成替代文本
- 批量图像翻译
按套餐层级限制:
- 免费版:无批量功能
- 入门版:100张图像
- 专业版:500张图像
- 商业版:1500张图像
- 大容量版+:无限制
Workflow Builder (Orchestrator)
工作流构建器(编排器)
Visual DAG pipeline builder for multi-step operations:
Capabilities:
- Chain tools: Remove BG → Upscale → Lifestyle → Alt Text
- AI routing: Classify images → branch to different pipelines
- Quality loops: Review → Autofix → Final Review
- Multi-source: Combine images from different inputs
Example workflows:
- Amazon-Ready: Remove BG → Validate → Autofix → Alt text
- Fashion: Ghost mannequin → Remove BG → Shadow → Bundle
- Color Variants: Remove BG → Generate colors → Review
用于多步骤操作的可视化DAG管道构建器:
功能:
- 工具链式调用:移除背景 → 放大 → 生活场景合成 → 生成替代文本
- AI路由:分类图像 → 分支到不同管道
- 质量循环:审核 → 自动修复 → 最终审核
- 多源输入:合并来自不同来源的图像
示例工作流:
- 亚马逊合规:移除背景 → 验证 → 自动修复 → 生成替代文本
- 时尚行业:虚拟模特 → 移除背景 → 添加阴影 → 打包
- 颜色变体:移除背景 → 生成多色 → 审核
Credit System
额度系统
Pricing Tiers
定价套餐
| Tier | Price | Credits | Batch | History |
|---|---|---|---|---|
| Free | $0 | 15 | 0 | 7 days |
| Starter | $9/mo | 150 | 100 | 30 days |
| Pro | $29/mo | 600 | 500 | 90 days |
| Business | $79/mo | 1,800 | 1,500 | Unlimited |
| Volume+ | $199+/mo | 5K-250K | Unlimited | Unlimited |
| 套餐 | 价格 | 额度 | 批量处理 | 历史记录 |
|---|---|---|---|---|
| 免费版 | $0 | 15 | 0 | 7天 |
| 入门版 | $9/月 | 150 | 100 | 30天 |
| 专业版 | $29/月 | 600 | 500 | 90天 |
| 商业版 | $79/月 | 1800 | 1500 | 无限制 |
| 大容量版+ | $199+/月 | 5000-250000 | 无限制 | 无限制 |
Credit Packs (One-time)
额度包(一次性购买)
- 50 credits: $4.99
- 100 credits: $9.99
- 500 credits: $39.99
- 1,000 credits: $69.99
- 2,500 credits: $149.99
Bonus credits on top-ups: Free 0%, Starter 5%, Pro 10%, Business 15%, Volume+ 20%
- 50额度:$4.99
- 100额度:$9.99
- 500额度:$39.99
- 1000额度:$69.99
- 2500额度:$149.99
充值奖励额度:免费版0%,入门版5%,专业版10%,商业版15%,大容量版+20%
Sirv CDN Integration
Sirv CDN集成
Connect Sirv account for:
- Browse Sirv library in app
- Auto-upload processed images
- Per-tool upload destinations (e.g., )
/products/cutouts/ - Instant global CDN delivery
- Shopify integration sync
Sirv plan bonuses:
- Business: +50 credits
- Enterprise: +150 credits
连接Sirv账号可实现:
- 在应用中浏览Sirv资源库
- 自动上传处理后的图像
- 按工具设置上传目标路径(如)
/products/cutouts/ - 全球CDN即时分发
- Shopify集成同步
Sirv套餐额外福利:
- 商业版:+50额度
- 企业版:+150额度
Integrations
集成平台
| Platform | Use Case |
|---|---|
| Shopify | Browse products, auto-push results |
| Zapier | Trigger processing from workflows |
| n8n | Self-hosted automation |
| Claude/ChatGPT MCP | Natural language image editing |
| REST API | Custom integrations |
| 平台 | 使用场景 |
|---|---|
| Shopify | 浏览产品,自动推送处理结果 |
| Zapier | 从工作流触发处理任务 |
| n8n | 自托管自动化 |
| Claude/ChatGPT MCP | 自然语言图像处理 |
| REST API | 自定义集成 |
Quality Control
质量控制
Image Review Tool (1 credit):
- Checks against marketplace rules
- Validates: dimensions, background, watermarks, frame fill
- Presets: Amazon, eBay, Shopify, Walmart
Marketplace Optimizer:
- Upload → Select marketplaces → Get compliance scorecard
- One-click fixes for all issues
图像审核工具(1额度):
- 检查是否符合电商平台规则
- 验证:尺寸、背景、水印、画面填充率
- 预设:亚马逊、eBay、Shopify、沃尔玛
电商平台优化器:
- 上传 → 选择平台 → 获取合规评分卡
- 一键修复所有问题
File Formats
文件格式
Input: JPG, PNG, WebP, GIF, AVIF, HEIF, BMP, TIFF
Output: PNG, JPEG, WebP, GIF (images), MP4/WebM (video), GLB/OBJ/FBX/USDZ/STL (3D)
输入: JPG、PNG、WebP、GIF、AVIF、HEIF、BMP、TIFF
输出: PNG、JPEG、WebP、GIF(图像),MP4/WebM(视频),GLB/OBJ/FBX/USDZ/STL(3D)
Tips
使用技巧
- Eager upload: Files upload immediately on selection for faster processing
- Hash caching: Identical files skip re-upload
- Soft delete: Recover deleted assets from trash
- Mobile: Long-press for context menu actions
- Shortcuts: Use keyboard shortcuts in dashboard for power workflows
- 预上传:文件选中后立即上传,加快处理速度
- 哈希缓存:相同文件跳过重复上传
- 软删除:可从回收站恢复已删除资源
- 移动端:长按调出上下文菜单操作
- 快捷键:在仪表盘中使用快捷键提升工作效率
MCP Server Integration
MCP服务器集成
Sirv AI Studio provides an MCP (Model Context Protocol) server for AI assistants like Claude, enabling natural language image processing directly in conversations.
Sirv AI Studio提供MCP(Model Context Protocol)服务器,供Claude等AI助手使用,可在对话中直接通过自然语言处理图像。
Available MCP Tools
可用MCP工具
Background Processing
背景处理
| Tool | Parameters | Cost |
|---|---|---|
| | 1-2 |
| | 4 |
| | 3 |
Background Removal Models:
- - Fast processing
General Use (Light) - - Fast, higher resolution
General Use (Light 2K) - - Best quality (default)
General Use (Heavy) - - For hair/fur details
Matting - - Optimized for people
Portrait - - Adaptive
General Use (Dynamic)
Operating Resolutions: , ,
1024x10242048x20482304x2304| 工具 | 参数 | 消耗额度 |
|---|---|---|
| | 1-2 |
| | 4 |
| | 3 |
背景移除模型:
- - 快速处理
General Use (Light) - - 快速、高分辨率
General Use (Light 2K) - - 最佳质量(默认)
General Use (Heavy) - - 处理头发/毛发细节
Matting - - 人像优化
Portrait - - 自适应
General Use (Dynamic)
操作分辨率: , ,
1024x10242048x20482304x2304Image Enhancement
图像增强
| Tool | Parameters | Cost |
|---|---|---|
| | 2-3 |
| | 2-3 |
Upscale Models:
- - Fast, general purpose (default)
esrgan - - AI-enhanced with prompt guidance
clarity - - Premium quality
topaz
Image-to-Image Models:
- - Quick prompt-based edits (default)
reve-fast-edit - - High quality transformations
flux2-lora - - Product integration
qwen-integrate-product
| 工具 | 参数 | 消耗额度 |
|---|---|---|
| | 2-3 |
| | 2-3 |
放大模型:
- - 快速、通用(默认)
esrgan - - AI增强,支持提示词引导
clarity - - 高品质
topaz
图像转图像模型:
- - 基于提示词的快速编辑(默认)
reve-fast-edit - - 高质量转换
flux2-lora - - 产品集成
qwen-integrate-product
Image Generation
图像生成
| Tool | Parameters | Cost |
|---|---|---|
| | 2 |
Generation Models: (fast), (detailed), (photorealistic), (artistic)
zimageflux2geminiseedreamAspect Ratios: , , , , ,
1:116:99:164:33:421:9| 工具 | 参数 | 消耗额度 |
|---|---|---|
| | 2 |
生成模型: (快速), (细节丰富), (照片级真实), (艺术风格)
zimageflux2geminiseedream宽高比: , , , , ,
1:116:99:164:33:421:9Product & E-commerce
产品与电商
| Tool | Parameters | Cost |
|---|---|---|
| | 3-15 |
| | 4 |
| | 1 |
Placement Types: , (default), ,
originalautomaticmanual_placementmanual_paddingPositions: , , , , , , , , ,
bottom_centerbottom_leftbottom_rightupper_centerupper_leftupper_rightcenter_verticalcenter_horizontalleft_centerright_centerAlt Text Detail Levels: (brief), (standard), (comprehensive)
captiondetailed-captionmore-detailed-caption| 工具 | 参数 | 消耗额度 |
|---|---|---|
| | 3-15 |
| | 4 |
| | 1 |
放置类型: , (默认), ,
originalautomaticmanual_placementmanual_padding位置: , , , , , , , , ,
bottom_centerbottom_leftbottom_rightupper_centerupper_leftupper_rightcenter_verticalcenter_horizontalleft_centerright_center替代文本详细程度: (简洁), (标准), (全面)
captiondetailed-captionmore-detailed-caption3D & Video
3D与视频
| Tool | Parameters | Cost |
|---|---|---|
| | 80 |
| | Variable |
| | FREE |
3D Models: (default), , , , ,
meshymeshy-multiseed3dtrellistrellis2hunyuan3dVideo Models: (default), , ,
veo31ltxklingsoraVideo Resolutions: , , ,
720p1080p1440p2160p| 工具 | 参数 | 消耗额度 |
|---|---|---|
| | 80 |
| | 可变 |
| | 免费 |
3D模型: (默认), , , , ,
meshymeshy-multiseed3dtrellistrellis2hunyuan3d视频模型: (默认), , ,
veo31ltxklingsora视频分辨率: , , ,
720p1080p1440p2160pBatch Operations
批量操作
| Tool | Parameters | Cost |
|---|---|---|
| | 1-2/image |
| | 2-3/image |
Batch Limits: Up to 100 images per request
| 工具 | 参数 | 消耗额度 |
|---|---|---|
| | 1-2/每张图像 |
| | 2-3/每张图像 |
批量限制: 每次请求最多100张图像
Account
账号相关
| Tool | Parameters | Returns |
|---|---|---|
| None | |
| 工具 | 参数 | 返回内容 |
|---|---|---|
| 无 | |
MCP Usage Examples
MCP使用示例
Remove background from a product image:
"Remove the background from https://example.com/product.jpg using the Heavy model"
→ sirv_remove_background(image_url, model="General Use (Heavy)")Create lifestyle scene:
"Place this product on a modern kitchen counter with morning light"
→ sirv_product_lifestyle(image_url, scene_description="Modern kitchen counter with morning light")Generate product variations:
"Generate 4 images of a minimalist water bottle on white background"
→ sirv_generate(prompt="minimalist water bottle on white background", num_images=4)Upscale for print:
"Upscale this image 4x using the Topaz model for print quality"
→ sirv_upscale(image_url, scale=4, model="topaz")Virtual try-on:
"Show this dress on the model photo"
→ sirv_virtual_try_on(person_image_url, garment_image_url)Batch processing:
"Remove backgrounds from all these product images"
→ sirv_batch_remove_background(images=[{id: "1", image_url: "..."}, ...])Check credits:
"How many credits do I have left?"
→ sirv_get_usage()移除产品图像背景:
"使用Heavy模型移除https://example.com/product.jpg的背景"
→ sirv_remove_background(image_url, model="General Use (Heavy)")创建生活场景:
"将该产品放置在有晨光的现代厨房台面上"
→ sirv_product_lifestyle(image_url, scene_description="有晨光的现代厨房台面")生成产品变体:
"生成4张白色背景下的极简主义水瓶图像"
→ sirv_generate(prompt="白色背景下的极简主义水瓶", num_images=4)为印刷放大图像:
"使用Topaz模型将该图像放大4倍以满足印刷质量"
→ sirv_upscale(image_url, scale=4, model="topaz")虚拟试穿:
"在模特照片上展示这条连衣裙"
→ sirv_virtual_try_on(person_image_url, garment_image_url)批量处理:
"移除所有这些产品图像的背景"
→ sirv_batch_remove_background(images=[{id: "1", image_url: "..."}, ...])查看额度:
"我还剩多少额度?"
→ sirv_get_usage()MCP Server Setup
MCP服务器设置
Claude Code ( in project or global):
.mcp.json~/.claude.jsonjson
{
"mcpServers": {
"sirv-ai": {
"command": "npx",
"args": ["-y", "sirv-ai-mcp-server"],
"env": {
"SIRV_AI_BASE_URL": "https://www.sirv.studio"
}
}
}
}Restart Claude Code after adding. Authorize with Sirv AI Studio account on first use.
Claude Code(项目中的或全局):
.mcp.json~/.claude.jsonjson
{
"mcpServers": {
"sirv-ai": {
"command": "npx",
"args": ["-y", "sirv-ai-mcp-server"],
"env": {
"SIRV_AI_BASE_URL": "https://www.sirv.studio"
}
}
}
}添加后重启Claude Code。首次使用时需使用Sirv AI Studio账号授权。
Best Practices
最佳实践
- Check usage first - Use before large batch operations
sirv_get_usage - Use appropriate models - Choose quality vs speed based on needs
- Batch when possible - Use batch tools for multiple images to reduce overhead
- Provide clear prompts - Detailed descriptions yield better results for generation/lifestyle
- Prepare images - Remove backgrounds before lifestyle shots for best results
- Chain operations - Remove BG → Upscale → Lifestyle for complete product workflows
- 先查额度 - 进行大型批量操作前使用查看剩余额度
sirv_get_usage - 选择合适模型 - 根据需求平衡质量与速度
- 尽量批量处理 - 对多张图像使用批量工具减少开销
- 提供清晰提示词 - 生成/生活场景合成时,详细描述能获得更好结果
- 预处理图像 - 生活场景合成前先移除背景可获得最佳效果
- 链式操作 - 移除背景 → 放大 → 生活场景合成,完成完整产品工作流
REST API Reference
REST API参考
Base URL:
https://www.sirv.studio/api/zapierAll requests require:
Authorization: Bearer sk_live_YOUR_API_KEY基础URL:
https://www.sirv.studio/api/zapier所有请求需携带:
Authorization: Bearer sk_live_YOUR_API_KEYEndpoints
接口
Account
账号信息
http
GET /meReturns:
Cost: FREE
{id, email, credits, tier}http
GET /me返回:
消耗:免费
{id, email, credits, tier}Background Removal
背景移除
http
POST /remove-bg
Content-Type: application/json
{
"image_url": "https://example.com/product.jpg",
"model": "birefnet"
}Returns:
Cost: 1-2 credits
{id, image_url, credits_used}Models: (default),
birefnetbriahttp
POST /remove-bg
Content-Type: application/json
{
"image_url": "https://example.com/product.jpg",
"model": "birefnet"
}返回:
消耗:1-2额度
{id, image_url, credits_used}模型: (默认),
birefnetbriaImage Upscaling
图像放大
http
POST /upscale
Content-Type: application/json
{
"image_url": "https://example.com/image.jpg",
"scale": 4,
"model": "clarity"
}Returns:
Cost: 1-8 credits
{id, image_url, credits_used}Models: (fast), (AI-enhanced), (premium)
Scale: 2, 3, or 4
esrganclaritytopazhttp
POST /upscale
Content-Type: application/json
{
"image_url": "https://example.com/image.jpg",
"scale": 4,
"model": "clarity"
}返回:
消耗:1-8额度
{id, image_url, credits_used}模型: (快速), (AI增强), (高品质)
缩放比例: 2、3或4
esrganclaritytopazBackground Replacement
背景替换
http
POST /replace-bg
Content-Type: application/json
{
"image_url": "https://example.com/product.jpg",
"prompt": "Modern kitchen counter with marble surface",
"model": "flux-kontext"
}Cost: 3-15 credits
Models: , ,
briaflux-kontextnano-bananahttp
POST /replace-bg
Content-Type: application/json
{
"image_url": "https://example.com/product.jpg",
"prompt": "大理石台面的现代厨房",
"model": "flux-kontext"
}消耗:3-15额度
模型: , ,
briaflux-kontextnano-bananaImage-to-Image Transformation
图像转图像转换
http
POST /image-to-image
Content-Type: application/json
{
"image_url": "https://example.com/image.jpg",
"prompt": "Transform to watercolor painting style",
"strength": 0.7
}Cost: 1-8 credits
Strength: 0-1 (how much to transform)
http
POST /image-to-image
Content-Type: application/json
{
"image_url": "https://example.com/image.jpg",
"prompt": "转换为水彩画风格",
"strength": 0.7
}消耗:1-8额度
强度: 0-1(转换程度)
Image Generation
图像生成
http
POST /generate
Content-Type: application/json
{
"prompt": "Professional product photo of wireless headphones",
"model": "flux-kontext",
"aspect_ratio": "1:1"
}Returns:
Cost: 1-10 credits
{id, image_url, credits_used}Models: , , , , ,
Aspect ratios: , , , , ,
flux-kontextnano-bananaideogramzimagegeminiseedream1:116:99:164:33:421:9http
POST /generate
Content-Type: application/json
{
"prompt": "无线耳机专业产品照片",
"model": "flux-kontext",
"aspect_ratio": "1:1"
}返回:
消耗:1-10额度
{id, image_url, credits_used}模型: , , , , ,
宽高比: , , , , ,
flux-kontextnano-bananaideogramzimagegeminiseedream1:116:99:164:33:421:9Video Generation
视频生成
http
POST /video-generation
Content-Type: application/json
{
"prompt": "Product rotating on display stand",
"image_url": "https://example.com/product.jpg",
"model": "ltx",
"duration": 5,
"aspect_ratio": "16:9"
}Cost: 10-80 credits
Models: , , ,
veo31ltxklingsorahttp
POST /video-generation
Content-Type: application/json
{
"prompt": "产品在展示架上旋转",
"image_url": "https://example.com/product.jpg",
"model": "ltx",
"duration": 5,
"aspect_ratio": "16:9"
}消耗:10-80额度
模型: , , ,
veo31ltxklingsora3D Model Generation
3D模型生成
http
POST /image-to-3d
Content-Type: application/json
{
"image_url": "https://example.com/product.jpg",
"model": "meshy",
"topology": "quad",
"enable_pbr": true
}Returns: Multiple formats (glb, obj, fbx, usdz)
Cost: 2-50 credits
http
POST /image-to-3d
Content-Type: application/json
{
"image_url": "https://example.com/product.jpg",
"model": "meshy",
"topology": "quad",
"enable_pbr": true
}返回:多种格式(glb, obj, fbx, usdz)
消耗:2-50额度
Alt Text Generation
替代文本生成
http
POST /alt-text
Content-Type: application/json
{
"image_url": "https://example.com/image.jpg"
}Cost: 1 credit
http
POST /alt-text
Content-Type: application/json
{
"image_url": "https://example.com/image.jpg"
}消耗:1额度
File Upload
文件上传
http
POST /upload
Content-Type: multipart/form-data
file: [binary data, max 10MB]Cost: FREE
http
POST /upload
Content-Type: multipart/form-data
file: [二进制数据,最大10MB]消耗:免费
Batch Operations
批量操作
http
POST /batch/remove-bg
POST /batch/upscale
POST /batch/alt-text
Content-Type: application/json
{
"images": [
{"id": "1", "image_url": "https://example.com/img1.jpg"},
{"id": "2", "image_url": "https://example.com/img2.jpg"}
],
"model": "birefnet"
}Check batch status:
http
GET /batch/status/{jobId}http
POST /batch/remove-bg
POST /batch/upscale
POST /batch/alt-text
Content-Type: application/json
{
"images": [
{"id": "1", "image_url": "https://example.com/img1.jpg"},
{"id": "2", "image_url": "https://example.com/img2.jpg"}
],
"model": "birefnet"
}查看批量任务状态:
http
GET /batch/status/{jobId}Rate Limits
请求频率限制
| Tier | Requests/Hour |
|---|---|
| Free | 20 |
| Pro | 500 |
| Business | 2,000 |
| 套餐 | 每小时请求数 |
|---|---|
| 免费版 | 20 |
| 专业版 | 500 |
| 商业版 | 2000 |
Code Examples
代码示例
JavaScript
JavaScript
javascript
const SIRV_API = 'https://www.sirv.studio/api/zapier';
const API_KEY = 'sk_live_YOUR_API_KEY';
async function removeBackground(imageUrl) {
const response = await fetch(`${SIRV_API}/remove-bg`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
image_url: imageUrl,
model: 'birefnet'
})
});
return (await response.json()).image_url;
}
async function generateImage(prompt, aspectRatio = '1:1') {
const response = await fetch(`${SIRV_API}/generate`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
prompt,
model: 'flux-kontext',
aspect_ratio: aspectRatio
})
});
return (await response.json()).image_url;
}javascript
const SIRV_API = 'https://www.sirv.studio/api/zapier';
const API_KEY = 'sk_live_YOUR_API_KEY';
async function removeBackground(imageUrl) {
const response = await fetch(`${SIRV_API}/remove-bg`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
image_url: imageUrl,
model: 'birefnet'
})
});
return (await response.json()).image_url;
}
async function generateImage(prompt, aspectRatio = '1:1') {
const response = await fetch(`${SIRV_API}/generate`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
prompt,
model: 'flux-kontext',
aspect_ratio: aspectRatio
})
});
return (await response.json()).image_url;
}cURL
cURL
bash
undefinedbash
undefinedRemove background
移除背景
curl -X POST https://www.sirv.studio/api/zapier/remove-bg
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"image_url": "https://example.com/product.jpg", "model": "birefnet"}'
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"image_url": "https://example.com/product.jpg", "model": "birefnet"}'
curl -X POST https://www.sirv.studio/api/zapier/remove-bg
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"image_url": "https://example.com/product.jpg", "model": "birefnet"}'
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"image_url": "https://example.com/product.jpg", "model": "birefnet"}'
Generate image
生成图像
curl -X POST https://www.sirv.studio/api/zapier/generate
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"prompt": "Product photo of headphones", "model": "flux-kontext", "aspect_ratio": "1:1"}'
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"prompt": "Product photo of headphones", "model": "flux-kontext", "aspect_ratio": "1:1"}'
curl -X POST https://www.sirv.studio/api/zapier/generate
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"prompt": "耳机产品照片", "model": "flux-kontext", "aspect_ratio": "1:1"}'
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"prompt": "耳机产品照片", "model": "flux-kontext", "aspect_ratio": "1:1"}'
Check credits
查看额度
curl https://www.sirv.studio/api/zapier/me
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
undefinedcurl https://www.sirv.studio/api/zapier/me
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
undefined