Google Nano Banana Pro
25.21 credits/call
ae_nano_banana_pro
使用 Nano Banana Pro 根据 prompt 生成或编辑一张图片。可选通过 images 提供最多 10 张参考图,并通过 aspectRatio 选择宽高比、通过 imageSize 选择 1K、2K 或 4K 分辨率。此工具异步处理:提交后会返回任务 ID;使用 ae_get_result 查询任务进度,并在完成后获取图片链接。
25.21 credits/call
Pricing
25.21 credits/call
| Condition | Charge |
|---|---|
| Each call | 25.21 credits/call |
The fixed fee applies when image generation or editing succeeds and includes the selected resolution and any reference images.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
images | array | No | 可选参考图,最多 10 张,按输入顺序使用。 | — |
prompt | string | Yes | 生成或编辑图片的提示词。 | — |
imageSize | enum (1K | 2K | 4K) | No | 可选图像分辨率。 | — |
aspectRatio | enum (auto | 1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 3:2 | 2:3 | 5:4 | 4:5 | 21:9) | No | 可选输出宽高比,auto 由服务选择。 | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_nano_banana_pro' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"prompt": "xxx"
}
}'No response example available yet.




