支持模型与参数图片模型
Gemini 3 Pro Image Preview
gemini-3-pro-image-preview 的完整参数、枚举和接入说明。
gemini-3-pro-image-preview 适合质量优先的图片生成和多参考图编辑。
它最多可接收 14 张参考图,支持 1K、2K、4K,不支持 quality 参数。
模型速览
| 项 | 说明 |
|---|---|
| 模型 ID | gemini-3-pro-image-preview |
| 类型 | 图片 |
| 区域 | Global / CN |
| 推荐场景 | 高质量生成、多参考图编辑、营销素材 |
| 推荐优先级 | 质量优先时推荐 |
推荐请求写法
统一提交到 POST /v1/generations;编辑任务通过 reference_images 传入参考图。
{
"model": "gemini-3-pro-image-preview",
"prompt": "Keep the product shape and create a premium campaign visual",
"reference_images": ["https://cdn.example.com/product.png"],
"aspect_ratio": "4:5",
"resolution": "2K",
"n": 1
}字段说明
| 字段 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
model | string | 是 | - | 固定传 gemini-3-pro-image-preview |
prompt | string | 是 | - | 图片描述或编辑指令 |
reference_images | string[] | 否 | - | 参考图 URL 列表,最多 14 张 |
aspect_ratio | string | 否 | 1:1 | 输出宽高比 |
resolution | string | 否 | 1K | 输出分辨率 |
n | integer | 否 | 1 | 生成数量 |
可选枚举
| 字段 | 支持值 |
|---|---|
aspect_ratio | 21:9 16:9 3:2 4:3 5:4 1:1 4:5 3:4 2:3 9:16 |
resolution | 1K 2K 4K |
gemini-3-pro-image-preview 接入建议
- 该模型没有
quality字段,清晰度通过resolution控制。 - 多参考图任务最多传 14 张,建议保持 URL 可公开访问且文件格式一致。
- 普通联调从
1K开始,最终营销素材再提升到2K或4K。
最小示例
{
"model": "gemini-3-pro-image-preview",
"prompt": "A premium perfume campaign visual"
}
