Loading...
Loading...
Compare original and translation side by side
BULKGEN_API_KEYexport BULKGEN_API_KEY="sk_live_your_key_here"BULKGEN_API_KEYexport BULKGEN_API_KEY="sk_live_your_key_here"I need a BulkGen API key to generate images. Please open https://bulk-gen.com → user menu → API Keys → create a key, then either exportor paste the key here.BULKGEN_API_KEY
我需要BulkGen API密钥才能生成图片。请打开https://bulk-gen.com → 用户菜单 → API密钥 → 创建密钥,然后导出或在此粘贴密钥。BULKGEN_API_KEY
undefinedundefinedundefinedundefined| Mode | Use case | Example |
|---|---|---|
| One prompt → one image | Single illustration |
| Multiple prompts → multiple images | 4 different product shots |
| One prompt → creative variants | 9 style variations of a concept |
| 模式 | 使用场景 | 示例 |
|---|---|---|
| 单个提示词 → 单张图片 | 单幅插画 |
| 多个提示词 → 多张图片 | 4张不同的产品图 |
| 单个提示词 → 创意变体 | 同一概念的9种风格变体 |
| Option | Values | Default |
|---|---|---|
| solo, batch, variation | batch |
| Grid dimensions | auto |
| 1K, 2K, 4K | 1K |
| 1:1, 16:9, 9:16, etc. | auto best fit |
| Tile aspect ratio after split | 1:1 |
| Reference image path | none |
| 选项 | 可选值 | 默认值 |
|---|---|---|
| solo, batch, variation | batch |
| 网格尺寸 | auto |
| 1K, 2K, 4K | 1K |
| 1:1, 16:9, 9:16等 | 自动适配最佳比例 |
| 分割后单图宽高比 | 1:1 |
| 参考图路径 | none |
1x1, 2x1, 1x2, 3x1, 1x3, 2x2, 3x2, 2x3, 4x2, 2x4, 3x3, 4x3, 3x4, 4x4--source-ratio1x1, 2x1, 1x2, 3x1, 1x3, 2x2, 3x2, 2x3, 4x2, 2x4, 3x3, 4x3, 3x4, 4x4--source-ratio--inputundefined--inputundefined
Limits: up to 14 images, 7 MB each. Supported formats: PNG, JPG, WebP, HEIC, HEIF.
限制条件:最多支持14张图片,单张不超过7MB。支持格式:PNG、JPG、WebP、HEIC、HEIF。node scripts/download_images.js ./bulkgen-result.json ./downloadsmanifest.jsonnode scripts/download_images.js ./bulkgen-result.json ./downloadsmanifest.jsonnode scripts/build_preview.js ./bulkgen-result.json ./preview.htmlnode scripts/build_preview.js ./bulkgen-result.json ./preview.html| Status | Meaning |
|---|---|
| 401 | Invalid API key |
| 402 | Insufficient credits (tell user to top up) |
| 400 | Invalid parameters or unsupported layout/ratio combo |
| 500/502 | Server error, suggest retry |
| 状态码 | 含义 |
|---|---|
| 401 | API密钥无效 |
| 402 | 余额不足(告知用户需充值) |
| 400 | 参数无效或布局/比例组合不被支持 |
| 500/502 | 服务器错误,建议重试 |
generate.jsdownload_images.jsbuild_preview.jsgenerate.jsdownload_images.jsbuild_preview.js