hiAPI Tools · Product Photo Lab
把普通商品原图,变成可投放的场景图
上传单个商品,选择固定场景和比例。工具会保留商品主体,只重做背景、光线和陈列环境。
上传商品原图
JPG、PNG 或 WebP,最大 10 MB。建议主体清晰、无遮挡、背景简单。
0/500
可选。补充背景、色彩、材质或氛围要求,商品保真约束仍会保留。
本次生成
固定使用 1K 图像档位,从现有 hiAPI 余额扣费,最终以任务结算为准。
原图 / 结果对比
拖动滑杆检查商品轮廓、颜色、Logo 位置和包装结构。
生成结果会显示在这里
完成上传、场景与比例选择后开始生成。
发布前请人工检查
生成模型可能改变包装文字、Logo、条形码、认证标识、材质反射或细小结构。请勿把结果作为无需复核的合规商品主图。
上传即表示你确认拥有该商品图片的使用权。素材不会默认加入公共案例库。
把同一套场景接入商品系统
示例请求与当前场景、比例和模型保持一致。替换图片 URL 和 API Key 即可调用。
curl -X POST https://api.hiapi.ai/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2/image-to-image",
"input": {
"prompt": "Place the product in a premium clean studio setup with a warm-white seamless background, soft diffused key light, restrained natural shadow, and catalog-ready composition. Mandatory product-preservation constraints: Use the uploaded image as the sole product reference. Keep the product's shape, proportions, primary colors, material appearance, logo placement, packaging structure, and visible design details as consistent as possible. Change only the background, lighting, surface, and display environment. Do not add a second product, hands, people, badges, captions, watermarks, or invented branding. Do not rewrite, translate, sharpen, or fabricate package text, logos, barcodes, certification marks, or legal copy. Keep the full product visible with clean edges and commercially usable lighting.",
"input_urls": [
"https://your-cdn.example/product.webp"
],
"aspect_ratio": "1:1",
"resolution": "1K"
}
}'