使用的模型
API最适合
- •Amazon 电商平台商品页(white_background 主图)
- •Shopify 和 DTC 目录
- •减少退货的比例参照图
- •以质感支撑售价的高端电商
关于此流水线的文章
产品图 API
从你自己的代码调用此流水线。一次请求即可发起运行;模型是一个输入字段,而不是独立的接口。
bun add @pipe2-ai/sdk import { createClient } from "@pipe2-ai/sdk";
const client = createClient(process.env.PIPE2_TOKEN!);
const { run_pipeline } = await client.RunPipeline({
pipeline_slug: "product-shots",
input: {
product_image: "https://example.com/product.png",
environments: ["white_background","lifestyle","detail_closeup"],
},
});pip install pipe2 import asyncio
import os
from pipe2 import Pipe2Client
client = Pipe2Client(token=os.environ["PIPE2_TOKEN"])
run = asyncio.run(client.run_pipeline(
pipeline_slug="product-shots",
input={
"product_image": "https://example.com/product.png",
"environments": ["white_background","lifestyle","detail_closeup"],
},
))go get github.com/pipe2-ai/sdk-go client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))
input := json.RawMessage(`{
"product_image": "https://example.com/product.png",
"environments": ["white_background","lifestyle","detail_closeup"]
}`)
run, err := pipe2.RunPipeline(context.Background(), client, "product-shots", input)
if err != nil {
log.Fatal(err)
}brew install pipe2-ai/tap/pipe2 pipe2 pipelines run \
--pipeline product-shots \
--input-json '{"product_image": "https://example.com/product.png", "environments": ["white_background","lifestyle","detail_closeup"]}' \
--wait参数
-
environments必填 -
要生成的 1-7 个场景数组。white_background 是符合亚马逊规范的主图(纯白背景,产品占比 85%)。lifestyle 是充满向往感的真实场景。in_use 展示双手拿着或使用产品(通过镜像神经元被证实能提升点击率)。detail_closeup 是微距质感特写(体现高端定价的合理性)。scale_reference 展示产品与手或常见物体的对比(减少因尺寸不符导致的退货)。gradient_studio 是高端广告创意背景。outdoor 是用于广告创意的自然环境。亚马逊 7 图公式为:white_background + lifestyle + scale_reference + detail_closeup + in_use + 第二张 lifestyle。按所选场景数量计费。
array默认white_background,lifestyle,detail_closeup -
product_image必填 -
源产品照片的 URL。一张即可,AI 会保留产品的形状、颜色和品牌标识,只更换背景。
string -
aspect_ratio -
Output aspect ratio for the generated shots.
1:14:53:42:34:39:1616:9默认1:1
显示全部 4 个输入
-
product_description -
可选的产品简短描述。有助于 AI 为各个变体生成更准确的编辑提示词。
string
在 AI 智能体中使用
将任意 MCP 客户端指向 pipe2,你的智能体就能获得这些工具。它会找到这条流水线,读取上方相同的 schema,然后运行它。
- list_pipelines
- get_pipeline_schema
- run_pipeline
- get_pipeline_run_status
- request_upload
https://mcp.pipe2.ai/mcp {
"mcpServers": {
"pipe2ai": {
"url": "https://mcp.pipe2.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}产品图: 一张照片即得影棚级摄影
上传任意产品照片,即可获得一批不同环境下精修的营销图。省去摄影棚、省去柔光箱、省去一周的周转时间。
五种环境
- 白底: 符合 Amazon 主图规范,干净无阴影的观感
- 生活场景: 产品融入真实环境,配以温暖的自然光
- 渐变影棚: 现代高端背景,配以平滑的色彩过渡
- 使用中: 产品被双手使用,或采用过肩取景
- 户外: 自然环境、黄金时刻、环境叙事
工作原理
- 上传你的产品照片: 一张即可
- 选择你想要的环境: 生成一种、两种或全部五种
- 可选地描述产品: 有助于 AI 撰写更好的提示
- 每个变体都保留产品: 形状、颜色、品牌标识不变,只改变背景
适合谁
- 推出新 SKU 的 Amazon 和 Shopify 卖家
- 只有供应商库存照片的一件代发卖家
- 规模化制作广告创意的营销团队
- 任何想要影棚级产品照片却没有影棚的人
常见问题
这需要多少积分?
产品在每个变体中会看起来不同吗?
我应该期待怎样的图像质量?
我可以将它用于 Amazon 商品页吗?
如果某个变体失败了怎么办?
探索更多流水线
查看全部 →根据文本提示、图像或参考片段生成 AI 视频。电影感镜头、产品揭晓、生活方式广告,配以同步音频和自然运动。
根据文本或参考照片生成 AI 图像。产品图、角色美术、带可读文字的海报、照片级人像,数秒即得高分辨率成品。
将文本转换为自然语音,提供数十种音色、70+ 种语言,并可自定义语气、口音和节奏的风格指令。
生成原创背景音乐,匹配你描述的任意情绪、风格和时长。免版税,数秒即得。