sirv-ai-studio

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Sirv 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
sirv_remove_background
,
sirv_upscale
,
sirv_generate
are available, USE THEM DIRECTLY to process images.
在引导用户访问sirv.studio之前,请先检查是否可以使用sirv-ai MCP工具。 如果有
sirv_remove_background
sirv_upscale
sirv_generate
等工具,请直接使用它们来处理图像。

MCP Tool Quick Reference

MCP工具速查

TaskMCP ToolKey Parameters
Remove background
sirv_remove_background
image_url
,
model
Replace background
sirv_background_replace
image_url
,
prompt
Upscale image
sirv_upscale
image_url
,
scale
(2-4)
Generate image
sirv_generate
prompt
,
aspect_ratio
Lifestyle scene
sirv_product_lifestyle
image_url
,
scene_description
Virtual try-on
sirv_virtual_try_on
person_image_url
,
garment_image_url
Get alt text
sirv_alt_text
image_url
Batch remove BG
sirv_batch_remove_background
images
array
Check credits
sirv_get_usage
none
任务MCP工具关键参数
移除背景
sirv_remove_background
image_url
,
model
替换背景
sirv_background_replace
image_url
,
prompt
图像放大
sirv_upscale
image_url
,
scale
(2-4)
生成图像
sirv_generate
prompt
,
aspect_ratio
生活场景合成
sirv_product_lifestyle
image_url
,
scene_description
虚拟试穿
sirv_virtual_try_on
person_image_url
,
garment_image_url
获取替代文本
sirv_alt_text
image_url
批量移除背景
sirv_batch_remove_background
images
数组
查看剩余额度
sirv_get_usage

If MCP Tools Are NOT Available

若MCP工具不可用

Help the user install the Sirv AI MCP server. Add to project
.mcp.json
or
~/.claude.json
:
json
{
  "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.json
中添加以下内容:
json
{
  "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:
  1. Upload image(s) via drag-drop or URL
  2. Select tool from sidebar
  3. Configure options
  4. Click Process
  5. Download or auto-upload to Sirv CDN
如果MCP工具不可用,用户可以访问www.sirv.studio使用Sirv AI Studio:
  1. 通过拖拽或URL上传图像
  2. 从侧边栏选择工具
  3. 配置选项
  4. 点击处理
  5. 下载或自动上传至Sirv CDN

Core Tools

核心工具

Background Processing

背景处理

ToolCreditsUse Case
Background Removal1-2Product cutouts, transparent PNG
Background Replace3-4New backgrounds via prompt or image
Object Removal3Remove 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

图像增强

ToolCreditsUse Case
Upscaling1-32Increase resolution up to 8x
FLUX 2 Edit3Natural language editing
Reve Fast Edit1Quick 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

图像生成

ToolCreditsUse Case
FLUX 22High-quality text-to-image
Z-Image2Affordable alternative
Gemini Pro15-30Advanced generation
Seedream2Creative/artistic styles
Supports: 1-4 images per generation, multiple aspect ratios, up to 2048x2048
工具消耗额度使用场景
FLUX 22高质量文本生成图像
Z-Image2经济实惠的替代选项
Gemini Pro15-30高级生成能力
Seedream2创意/艺术风格生成
支持:每次生成1-4张图像,多种宽高比,最高2048x2048分辨率

Product Tools

产品工具

ToolCreditsUse Case
Product Lifestyle3-15Product in lifestyle scenes
Virtual Try-On4Garment on person
Try-On Video11Animated try-on
Color Variants2+/colorProduct in multiple colors
Alt Text1AI-generated descriptions
Product Description1Marketing copy (12+ languages)
Lifestyle Scenes: 44 presets (kitchen, office, beach, etc.) or custom prompts
工具消耗额度使用场景
产品生活场景合成3-15将产品融入生活场景
虚拟试穿4服装在模特身上的试穿效果
试穿视频11动画试穿效果
颜色变体2+/每种颜色产品多色展示
替代文本1AI生成描述文本
产品描述1营销文案(支持12+种语言)
生活场景: 44种预设(厨房、办公室、海滩等)或自定义提示词

3D Generation

3D生成

ToolCreditsUse Case
Meshy v650Single image to 3D
Meshy v5 Multi25Multi-angle input
Seed3D/Trellis25-50Alternative models
Output formats: GLB, OBJ, FBX, USDZ, Blend, STL with PBR textures
工具消耗额度使用场景
Meshy v650单图像转3D
Meshy v5 Multi25多角度输入转3D
Seed3D/Trellis25-50替代模型
输出格式: GLB、OBJ、FBX、USDZ、Blend、STL(带PBR纹理)

Video Tools

视频工具

ToolCreditsUse Case
LTX 2.06-24/secUp to 4K, 6-10 seconds
Kling 2.66-24/sec1080p with speech synthesis
Veo 3.16-24/secHigh quality generation
CaptionsVariableMulti-language transcription
工具消耗额度使用场景
LTX 2.06-24/每秒最高4K,6-10秒时长
Kling 2.66-24/每秒1080p分辨率,支持语音合成
Veo 3.16-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:
  1. Upload batch via drag-drop or URL import
  2. Configure shared settings
  3. Preview results before processing
  4. 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
同时处理多张图像:
  1. 通过拖拽或URL导入批量图像
  2. 配置共享设置
  3. 处理前预览结果
  4. 下载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

定价套餐

TierPriceCreditsBatchHistory
Free$01507 days
Starter$9/mo15010030 days
Pro$29/mo60050090 days
Business$79/mo1,8001,500Unlimited
Volume+$199+/mo5K-250KUnlimitedUnlimited
套餐价格额度批量处理历史记录
免费版$01507天
入门版$9/月15010030天
专业版$29/月60050090天
商业版$79/月18001500无限制
大容量版+$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

集成平台

PlatformUse Case
ShopifyBrowse products, auto-push results
ZapierTrigger processing from workflows
n8nSelf-hosted automation
Claude/ChatGPT MCPNatural language image editing
REST APICustom 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

背景处理

ToolParametersCost
sirv_remove_background
image_url
,
provider
(birefnet/bria),
model
,
operating_resolution
1-2
sirv_background_replace
image_url
,
prompt
,
ref_image_url
,
model
(bria/flux-kontext/nano-banana)
4
sirv_object_removal
image_url
,
mask_url
3
Background Removal Models:
  • General Use (Light)
    - Fast processing
  • General Use (Light 2K)
    - Fast, higher resolution
  • General Use (Heavy)
    - Best quality (default)
  • Matting
    - For hair/fur details
  • Portrait
    - Optimized for people
  • General Use (Dynamic)
    - Adaptive
Operating Resolutions:
1024x1024
,
2048x2048
,
2304x2304
工具参数消耗额度
sirv_remove_background
image_url
,
provider
(birefnet/bria),
model
,
operating_resolution
1-2
sirv_background_replace
image_url
,
prompt
,
ref_image_url
,
model
(bria/flux-kontext/nano-banana)
4
sirv_object_removal
image_url
,
mask_url
3
背景移除模型:
  • General Use (Light)
    - 快速处理
  • General Use (Light 2K)
    - 快速、高分辨率
  • General Use (Heavy)
    - 最佳质量(默认)
  • Matting
    - 处理头发/毛发细节
  • Portrait
    - 人像优化
  • General Use (Dynamic)
    - 自适应
操作分辨率:
1024x1024
,
2048x2048
,
2304x2304

Image Enhancement

图像增强

ToolParametersCost
sirv_upscale
image_url
,
scale
(2-4),
model
,
prompt
,
creativity
2-3
sirv_image_to_image
image_url
,
prompt
,
strength
(0-1),
model
2-3
Upscale Models:
  • esrgan
    - Fast, general purpose (default)
  • clarity
    - AI-enhanced with prompt guidance
  • topaz
    - Premium quality
Image-to-Image Models:
  • reve-fast-edit
    - Quick prompt-based edits (default)
  • flux2-lora
    - High quality transformations
  • qwen-integrate-product
    - Product integration
工具参数消耗额度
sirv_upscale
image_url
,
scale
(2-4),
model
,
prompt
,
creativity
2-3
sirv_image_to_image
image_url
,
prompt
,
strength
(0-1),
model
2-3
放大模型:
  • esrgan
    - 快速、通用(默认)
  • clarity
    - AI增强,支持提示词引导
  • topaz
    - 高品质
图像转图像模型:
  • reve-fast-edit
    - 基于提示词的快速编辑(默认)
  • flux2-lora
    - 高质量转换
  • qwen-integrate-product
    - 产品集成

Image Generation

图像生成

ToolParametersCost
sirv_generate
prompt
,
model
,
aspect_ratio
,
num_images
(1-4)
2
Generation Models:
zimage
(fast),
flux2
(detailed),
gemini
(photorealistic),
seedream
(artistic)
Aspect Ratios:
1:1
,
16:9
,
9:16
,
4:3
,
3:4
,
21:9
工具参数消耗额度
sirv_generate
prompt
,
model
,
aspect_ratio
,
num_images
(1-4)
2
生成模型:
zimage
(快速),
flux2
(细节丰富),
gemini
(照片级真实),
seedream
(艺术风格)
宽高比:
1:1
,
16:9
,
9:16
,
4:3
,
3:4
,
21:9

Product & E-commerce

产品与电商

ToolParametersCost
sirv_product_lifestyle
image_url
,
scene_description
,
ref_image_url
,
placement_type
,
position
,
num_results
3-15
sirv_virtual_try_on
person_image_url
,
garment_image_url
4
sirv_alt_text
image_url
,
detail_level
1
Placement Types:
original
,
automatic
(default),
manual_placement
,
manual_padding
Positions:
bottom_center
,
bottom_left
,
bottom_right
,
upper_center
,
upper_left
,
upper_right
,
center_vertical
,
center_horizontal
,
left_center
,
right_center
Alt Text Detail Levels:
caption
(brief),
detailed-caption
(standard),
more-detailed-caption
(comprehensive)
工具参数消耗额度
sirv_product_lifestyle
image_url
,
scene_description
,
ref_image_url
,
placement_type
,
position
,
num_results
3-15
sirv_virtual_try_on
person_image_url
,
garment_image_url
4
sirv_alt_text
image_url
,
detail_level
1
放置类型:
original
,
automatic
(默认),
manual_placement
,
manual_padding
位置:
bottom_center
,
bottom_left
,
bottom_right
,
upper_center
,
upper_left
,
upper_right
,
center_vertical
,
center_horizontal
,
left_center
,
right_center
替代文本详细程度:
caption
(简洁),
detailed-caption
(标准),
more-detailed-caption
(全面)

3D & Video

3D与视频

ToolParametersCost
sirv_image_to_3d
image_url
,
model
,
topology
,
target_polycount
,
enable_pbr
80
sirv_video_generation
prompt
,
image_url
,
model
,
duration
,
resolution
,
aspect_ratio
,
generate_audio
Variable
sirv_depth_map
image_url
FREE
3D Models:
meshy
(default),
meshy-multi
,
seed3d
,
trellis
,
trellis2
,
hunyuan3d
Video Models:
veo31
(default),
ltx
,
kling
,
sora
Video Resolutions:
720p
,
1080p
,
1440p
,
2160p
工具参数消耗额度
sirv_image_to_3d
image_url
,
model
,
topology
,
target_polycount
,
enable_pbr
80
sirv_video_generation
prompt
,
image_url
,
model
,
duration
,
resolution
,
aspect_ratio
,
generate_audio
可变
sirv_depth_map
image_url
免费
3D模型:
meshy
(默认),
meshy-multi
,
seed3d
,
trellis
,
trellis2
,
hunyuan3d
视频模型:
veo31
(默认),
ltx
,
kling
,
sora
视频分辨率:
720p
,
1080p
,
1440p
,
2160p

Batch Operations

批量操作

ToolParametersCost
sirv_batch_remove_background
images
(array of {id, image_url}),
model
1-2/image
sirv_batch_upscale
images
(array of {id, image_url}),
scale
,
model
2-3/image
Batch Limits: Up to 100 images per request
工具参数消耗额度
sirv_batch_remove_background
images
({id, image_url}数组),
model
1-2/每张图像
sirv_batch_upscale
images
({id, image_url}数组),
scale
,
model
2-3/每张图像
批量限制: 每次请求最多100张图像

Account

账号相关

ToolParametersReturns
sirv_get_usage
None
used
,
remaining
,
total
,
tier
工具参数返回内容
sirv_get_usage
used
,
remaining
,
total
,
tier

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 (
.mcp.json
in project or
~/.claude.json
global):
json
{
  "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.json
):
json
{
  "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

最佳实践

  1. Check usage first - Use
    sirv_get_usage
    before large batch operations
  2. Use appropriate models - Choose quality vs speed based on needs
  3. Batch when possible - Use batch tools for multiple images to reduce overhead
  4. Provide clear prompts - Detailed descriptions yield better results for generation/lifestyle
  5. Prepare images - Remove backgrounds before lifestyle shots for best results
  6. Chain operations - Remove BG → Upscale → Lifestyle for complete product workflows
  1. 先查额度 - 进行大型批量操作前使用
    sirv_get_usage
    查看剩余额度
  2. 选择合适模型 - 根据需求平衡质量与速度
  3. 尽量批量处理 - 对多张图像使用批量工具减少开销
  4. 提供清晰提示词 - 生成/生活场景合成时,详细描述能获得更好结果
  5. 预处理图像 - 生活场景合成前先移除背景可获得最佳效果
  6. 链式操作 - 移除背景 → 放大 → 生活场景合成,完成完整产品工作流

REST API Reference

REST API参考

Base URL:
https://www.sirv.studio/api/zapier
All requests require:
Authorization: Bearer sk_live_YOUR_API_KEY
基础URL:
https://www.sirv.studio/api/zapier
所有请求需携带:
Authorization: Bearer sk_live_YOUR_API_KEY

Endpoints

接口

Account

账号信息

http
GET /me
Returns:
{id, email, credits, tier}
Cost: FREE
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:
{id, image_url, credits_used}
Cost: 1-2 credits
Models:
birefnet
(default),
bria
http
POST /remove-bg
Content-Type: application/json

{
  "image_url": "https://example.com/product.jpg",
  "model": "birefnet"
}
返回:
{id, image_url, credits_used}
消耗:1-2额度
模型:
birefnet
(默认),
bria

Image Upscaling

图像放大

http
POST /upscale
Content-Type: application/json

{
  "image_url": "https://example.com/image.jpg",
  "scale": 4,
  "model": "clarity"
}
Returns:
{id, image_url, credits_used}
Cost: 1-8 credits
Models:
esrgan
(fast),
clarity
(AI-enhanced),
topaz
(premium) Scale: 2, 3, or 4
http
POST /upscale
Content-Type: application/json

{
  "image_url": "https://example.com/image.jpg",
  "scale": 4,
  "model": "clarity"
}
返回:
{id, image_url, credits_used}
消耗:1-8额度
模型:
esrgan
(快速),
clarity
(AI增强),
topaz
(高品质) 缩放比例: 2、3或4

Background 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:
bria
,
flux-kontext
,
nano-banana
http
POST /replace-bg
Content-Type: application/json

{
  "image_url": "https://example.com/product.jpg",
  "prompt": "大理石台面的现代厨房",
  "model": "flux-kontext"
}
消耗:3-15额度
模型:
bria
,
flux-kontext
,
nano-banana

Image-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:
{id, image_url, credits_used}
Cost: 1-10 credits
Models:
flux-kontext
,
nano-banana
,
ideogram
,
zimage
,
gemini
,
seedream
Aspect ratios:
1:1
,
16:9
,
9:16
,
4:3
,
3:4
,
21:9
http
POST /generate
Content-Type: application/json

{
  "prompt": "无线耳机专业产品照片",
  "model": "flux-kontext",
  "aspect_ratio": "1:1"
}
返回:
{id, image_url, credits_used}
消耗:1-10额度
模型:
flux-kontext
,
nano-banana
,
ideogram
,
zimage
,
gemini
,
seedream
宽高比:
1:1
,
16:9
,
9:16
,
4:3
,
3:4
,
21:9

Video 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:
veo31
,
ltx
,
kling
,
sora
http
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额度
模型:
veo31
,
ltx
,
kling
,
sora

3D 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

请求频率限制

TierRequests/Hour
Free20
Pro500
Business2,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
undefined
bash
undefined

Remove 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"}'
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"}'

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"}'
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"}'

Check credits

查看额度

curl https://www.sirv.studio/api/zapier/me
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
undefined
curl https://www.sirv.studio/api/zapier/me
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
undefined