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 查询任务进度,并在完成后获取图片链接。

Image
25.21 credits/call

Pricing

25.21 credits/call
ConditionCharge
Each call25.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.

ParameterTypeRequiredDescriptionDefault
imagesarrayNo可选参考图,最多 10 张,按输入顺序使用。—
promptstringYes生成或编辑图片的提示词。—
imageSizeenum (1K | 2K | 4K)No可选图像分辨率。—
aspectRatioenum (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 template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request 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.