eachlabs-product-visuals

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

EachLabs 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
EACHLABS_API_KEY
environment variable. Get your key at eachlabs.ai.
Header: X-API-Key: <your-api-key>
设置
EACHLABS_API_KEY
环境变量。可在eachlabs.ai获取您的密钥。

Recommended Models

推荐模型

E-Commerce Specific

电商专用

TaskModelSlug
Product photoshootProduct to Photoshoot
product-to-photoshoot
Product on modelProduct Photo to Modelshoot
product-photo-to-modelshoot
Color variationsProduct Colors
product-colors
Food photographyFood Photos
food-photos
Background removalProduct Background Remover
product-backround-remover
Image upscalingProduct Photo Upscaler
product-photo-upscaler
Home scene placementProduct Home View
product-home-view
Product shotBria Product Shot
bria-product-shot
Product shootProduct Shoot
product-shoot
Product arc shotEachlabs Product Arc Shot
eachlabs-product-arc-shot-v1
Product zoom inEachlabs Product Zoom In
eachlabs-product-zoom-in-v1
任务模型标识(Slug)
产品摄影Product to Photoshoot
product-to-photoshoot
产品上模特图Product Photo to Modelshoot
product-photo-to-modelshoot
颜色变体Product Colors
product-colors
美食摄影Food Photos
food-photos
背景移除Product Background Remover
product-backround-remover
图片放大Product Photo Upscaler
product-photo-upscaler
家居场景放置Product Home View
product-home-view
产品拍摄Bria Product Shot
bria-product-shot
产品拍摄Product Shoot
product-shoot
产品弧形拍摄Eachlabs Product Arc Shot
eachlabs-product-arc-shot-v1
产品拉近拍摄Eachlabs Product Zoom In
eachlabs-product-zoom-in-v1

General Purpose

通用型

TaskModelSlug
Product photographyGPT Image v1.5
gpt-image-v1-5-text-to-image
Background replacementGPT Image v1.5 Edit
gpt-image-v1-5-edit
Product editingFlux 2 Turbo Edit
flux-2-turbo-edit
Multi-angle viewsQwen Image Edit
qwen-image-edit-2511-multiple-angles
Background removalRembg Enhance
rembg-enhance
Background removalEachlabs BG Remover
eachlabs-bg-remover-v1
Image upscalingEachlabs Upscaler Pro
eachlabs-image-upscaler-pro-v1
Ad inpaintingSDXL Ad Inpaint
sdxl-ad-inpaint
Custom product styleZ Image Trainer
z-image-trainer
Product videoPixverse v5.6 Image-to-Video
pixverse-v5-6-image-to-video
任务模型标识(Slug)
产品摄影GPT Image v1.5
gpt-image-v1-5-text-to-image
背景替换GPT Image v1.5 Edit
gpt-image-v1-5-edit
产品编辑Flux 2 Turbo Edit
flux-2-turbo-edit
多角度视图Qwen Image Edit
qwen-image-edit-2511-multiple-angles
背景移除Rembg Enhance
rembg-enhance
背景移除Eachlabs BG Remover
eachlabs-bg-remover-v1
图片放大Eachlabs Upscaler Pro
eachlabs-image-upscaler-pro-v1
广告修复SDXL Ad Inpaint
sdxl-ad-inpaint
自定义产品风格Z Image Trainer
z-image-trainer
产品视频Pixverse v5.6 Image-to-Video
pixverse-v5-6-image-to-video

Prediction Flow

预测流程

  1. Check model
    GET https://api.eachlabs.ai/v1/model?slug=<slug>
    — validates the model exists and returns the
    request_schema
    with exact input parameters. Always do this before creating a prediction to ensure correct inputs.
  2. POST
    https://api.eachlabs.ai/v1/prediction
    with model slug, version
    "0.0.1"
    , and input matching the schema
  3. Poll
    GET https://api.eachlabs.ai/v1/prediction/{id}
    until status is
    "success"
    or
    "failed"
  4. Extract output URL from response
  1. 检查模型
    GET https://api.eachlabs.ai/v1/model?slug=<slug>
    — 验证模型是否存在,并返回包含精确输入参数的
    request_schema
    。创建预测前务必执行此步骤,以确保输入正确。
  2. 提交请求
    https://api.eachlabs.ai/v1/prediction
    发送POST请求,携带模型标识、版本
    "0.0.1"
    以及符合schema的输入内容
  3. 轮询结果 调用
    GET https://api.eachlabs.ai/v1/prediction/{id}
    轮询,直到状态变为
    "success"
    "failed"
  4. 提取输出 从响应中获取输出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
horizontal_angle
values (0, 45, 90, 135, 180, 225, 270, 315 for a full 360).
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
    }
  }'
通过使用不同的
horizontal_angle
值(0、45、90、135、180、225、270、315可实现完整360度视图),运行独立预测来生成多个角度的图片。

Product 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-generationeachlabs-video-generation参考文档。