eachlabs-product-visuals
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEachLabs Product Visuals
EachLabs 产品视觉生成
Generate professional product photography, e-commerce visuals, and product videos using EachLabs AI models.
使用EachLabs AI模型生成专业的产品摄影图、电商视觉素材以及产品视频。
Authentication
身份验证
Header: X-API-Key: <your-api-key>Set the environment variable. Get your key at eachlabs.ai.
EACHLABS_API_KEYHeader: X-API-Key: <your-api-key>设置环境变量。可在eachlabs.ai获取您的密钥。
EACHLABS_API_KEYRecommended Models
推荐模型
E-Commerce Specific
电商专用
| Task | Model | Slug |
|---|---|---|
| Product photoshoot | Product to Photoshoot | |
| Product on model | Product Photo to Modelshoot | |
| Color variations | Product Colors | |
| Food photography | Food Photos | |
| Background removal | Product Background Remover | |
| Image upscaling | Product Photo Upscaler | |
| Home scene placement | Product Home View | |
| Product shot | Bria Product Shot | |
| Product shoot | Product Shoot | |
| Product arc shot | Eachlabs Product Arc Shot | |
| Product zoom in | Eachlabs Product Zoom In | |
| 任务 | 模型 | 标识(Slug) |
|---|---|---|
| 产品摄影 | Product to Photoshoot | |
| 产品上模特图 | Product Photo to Modelshoot | |
| 颜色变体 | Product Colors | |
| 美食摄影 | Food Photos | |
| 背景移除 | Product Background Remover | |
| 图片放大 | Product Photo Upscaler | |
| 家居场景放置 | Product Home View | |
| 产品拍摄 | Bria Product Shot | |
| 产品拍摄 | Product Shoot | |
| 产品弧形拍摄 | Eachlabs Product Arc Shot | |
| 产品拉近拍摄 | Eachlabs Product Zoom In | |
General Purpose
通用型
| Task | Model | Slug |
|---|---|---|
| Product photography | GPT Image v1.5 | |
| Background replacement | GPT Image v1.5 Edit | |
| Product editing | Flux 2 Turbo Edit | |
| Multi-angle views | Qwen Image Edit | |
| Background removal | Rembg Enhance | |
| Background removal | Eachlabs BG Remover | |
| Image upscaling | Eachlabs Upscaler Pro | |
| Ad inpainting | SDXL Ad Inpaint | |
| Custom product style | Z Image Trainer | |
| Product video | Pixverse v5.6 Image-to-Video | |
| 任务 | 模型 | 标识(Slug) |
|---|---|---|
| 产品摄影 | GPT Image v1.5 | |
| 背景替换 | GPT Image v1.5 Edit | |
| 产品编辑 | Flux 2 Turbo Edit | |
| 多角度视图 | Qwen Image Edit | |
| 背景移除 | Rembg Enhance | |
| 背景移除 | Eachlabs BG Remover | |
| 图片放大 | Eachlabs Upscaler Pro | |
| 广告修复 | SDXL Ad Inpaint | |
| 自定义产品风格 | Z Image Trainer | |
| 产品视频 | Pixverse v5.6 Image-to-Video | |
Prediction Flow
预测流程
- Check model — validates the model exists and returns the
GET https://api.eachlabs.ai/v1/model?slug=<slug>with exact input parameters. Always do this before creating a prediction to ensure correct inputs.request_schema - POST with model slug, version
https://api.eachlabs.ai/v1/prediction, and input matching the schema"0.0.1" - Poll until status is
GET https://api.eachlabs.ai/v1/prediction/{id}or"success""failed" - Extract output URL from response
- 检查模型 — 验证模型是否存在,并返回包含精确输入参数的
GET https://api.eachlabs.ai/v1/model?slug=<slug>。创建预测前务必执行此步骤,以确保输入正确。request_schema - 提交请求 向发送POST请求,携带模型标识、版本
https://api.eachlabs.ai/v1/prediction以及符合schema的输入内容"0.0.1" - 轮询结果 调用轮询,直到状态变为
GET https://api.eachlabs.ai/v1/prediction/{id}或"success""failed" - 提取输出 从响应中获取输出URL
Workflows
工作流示例
Product on White Background
产品纯白背景图
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-edit",
"version": "0.0.1",
"input": {
"prompt": "Place this product on a clean white background with soft studio lighting and subtle shadows",
"image_urls": ["https://example.com/product.jpg"],
"background": "opaque",
"quality": "high"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-edit",
"version": "0.0.1",
"input": {
"prompt": "Place this product on a clean white background with soft studio lighting and subtle shadows",
"image_urls": ["https://example.com/product.jpg"],
"background": "opaque",
"quality": "high"
}
}'Lifestyle Scene Generation
生活场景图生成
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-edit",
"version": "0.0.1",
"input": {
"prompt": "Place this coffee mug on a cozy wooden desk in a modern home office with warm morning light, lifestyle photography",
"image_urls": ["https://example.com/mug.jpg"],
"quality": "high"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-edit",
"version": "0.0.1",
"input": {
"prompt": "Place this coffee mug on a cozy wooden desk in a modern home office with warm morning light, lifestyle photography",
"image_urls": ["https://example.com/mug.jpg"],
"quality": "high"
}
}'Multi-Angle Product Views
产品多角度视图
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "qwen-image-edit-2511-multiple-angles",
"version": "0.0.1",
"input": {
"image_urls": ["https://example.com/product.jpg"],
"horizontal_angle": 45,
"vertical_angle": 15,
"zoom": 5
}
}'Generate multiple angles by running separate predictions with different values (0, 45, 90, 135, 180, 225, 270, 315 for a full 360).
horizontal_anglebash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "qwen-image-edit-2511-multiple-angles",
"version": "0.0.1",
"input": {
"image_urls": ["https://example.com/product.jpg"],
"horizontal_angle": 45,
"vertical_angle": 15,
"zoom": 5
}
}'通过使用不同的值(0、45、90、135、180、225、270、315可实现完整360度视图),运行独立预测来生成多个角度的图片。
horizontal_angleProduct with Transparent Background
产品透明背景图
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-edit",
"version": "0.0.1",
"input": {
"prompt": "Remove the background from this product image",
"image_urls": ["https://example.com/product.jpg"],
"background": "transparent",
"output_format": "png"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gpt-image-v1-5-edit",
"version": "0.0.1",
"input": {
"prompt": "Remove the background from this product image",
"image_urls": ["https://example.com/product.jpg"],
"background": "transparent",
"output_format": "png"
}
}'Product Video from Image
从图片生成产品视频
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pixverse-v5-6-image-to-video",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/product-studio.jpg",
"prompt": "Slow cinematic camera rotation around the product with dramatic studio lighting",
"duration": "5",
"resolution": "1080p"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pixverse-v5-6-image-to-video",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/product-studio.jpg",
"prompt": "Slow cinematic camera rotation around the product with dramatic studio lighting",
"duration": "5",
"resolution": "1080p"
}
}'Prompt Tips for Products
产品提示词技巧
- Specify lighting: "soft studio lighting", "dramatic side lighting", "natural window light"
- Mention surface: "marble surface", "wooden table", "clean white background"
- Include shadows: "soft shadows", "reflection on surface"
- Add context: "lifestyle setting", "in-use shot", "flat lay arrangement"
- For batch catalog shots, maintain consistency with similar prompts
- 指定光线:"soft studio lighting"(柔和工作室灯光)、"dramatic side lighting"(戏剧性侧光)、"natural window light"(自然窗户光)
- 提及表面:"marble surface"(大理石表面)、"wooden table"(木质桌子)、"clean white background"(干净纯白背景)
- 包含阴影:"soft shadows"(柔和阴影)、"reflection on surface"(表面倒影)
- 添加场景:"lifestyle setting"(生活场景)、"in-use shot"(使用场景图)、"flat lay arrangement"(平铺构图)
- 批量生成目录图时,使用相似提示词以保持风格一致
Batch Processing
批量处理
For catalog-scale processing, create multiple predictions in parallel by sending separate POST requests for each product. Poll each prediction independently.
对于目录级别的批量处理,可通过为每个产品发送独立的POST请求,并行创建多个预测任务。分别轮询每个预测的结果。
Parameter Reference
参数参考
See the eachlabs-image-generation and eachlabs-video-generation references for complete model parameters.
完整的模型参数请查看eachlabs-image-generation和eachlabs-video-generation参考文档。