价格显示单位
HiAPI 工具 · 商品图生成器
上传单个商品,选择固定场景和比例。工具会保留商品主体,只重做背景、光线和陈列环境。
JPG、PNG 或 WebP,最大 10 MB。建议主体清晰、无遮挡、背景简单。
可选。补充背景、色彩、材质或氛围要求,商品保真约束仍会保留。
本次生成
固定使用 1K 图像档位,从现有 HiAPI 余额扣费,最终以任务结算为准。
1K
结果会保留商品主体,只重做背景与光线。
上传商品原图
生成模型可能改变包装文字、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" } }'