Image Model
Gemini Nano Banana 2.1
由 Google Gemini 驱动的 Flash 级速度写实度与精准文字渲染
Gemini Nano Banana 2.1 是 Google 最新的 Flash 级图像生成与对话式编辑模型,是 Nano Banana 2(Gemini 3.1 Flash Image)的升级版本。它在 1K、2K 和 4K 下提供更出色的写实度,文字渲染和信息图布局更准确,支持多轮对话角色一致性、最多 14 张参考图的多图融合以及 Google 搜索接地——通过 IMAGEGPT 的统一 API,以远低于官方费率的价格使用。
Text To ImageImage Editing4K Output
直接图像生成 API 测试场
测试并探索支持多种模型和输出格式的图像生成 API
选择模型
端点
POSThttps://api.imagegpt.online/generate/text-image
请求头
请求体
代码示例
fetch('https://api.imagegpt.online/generate/text-image', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
"prompt": "Photorealistic portrait of the same person (keep his real face unchanged). A man with medium curly brown hair, light skin, and soft features sits relaxed, forearms on a light blue table, holding a small white puppy with a red collar. He wears a cozy color-block knitted sweater (beige, tan, light blue, black) with ribbed neck and cuffs, a silver watch, and a turquoise-beaded bracelet. Soft diffused lighting, smooth steel-blue background, slightly elevated front angle warm, intimate, digital photo",
"width": 512,
"height": 512,
"model": "FLUX-SCHNELL",
"outputType": "binary",
"outputFormat": "png"
})
})
.then(response => response.blob())
.then(blob => {
const imageUrl = URL.createObjectURL(blob);
console.log('Image URL:', imageUrl);
// Display in img tag: document.getElementById('myImg').src = imageUrl;
})
.catch(error => console.error('Error:', error));定价
透明按量付费
无订阅。无隐藏费用。只为生成的内容付费。
Save 40% vs official pricing
变体
等级
我们的价格
官方价格
Gemini Nano Banana 2.1
Per Image
$0.020
$0.033640%
* 实际费用取决于最终输出。价格以美元显示。
IMAGEGPT AI Studio禁止NSFW、色情、成人、剥削性、欺骗性或有害的AI生成内容。内容审核适用于所有支持的模型。
今天开始构建
准备好集成 Gemini Nano Banana 2.1?
获取API密钥,几分钟内开始生成。免费层无需信用卡。
- 免费层可用
- 所有计划均可API访问
- NSFW内容已屏蔽
- 99.9%正常运行时间SLA