EccoAPIeccoapi
POST/api/v1/nanobananapro/generate

Image Editing (Pro)

High-quality image editing with Nano Banana Pro. Supports up to 14 reference images.

Request Parameters

ParameterTypeRequiredDescription
promptstringYesDescribe the desired edits
imageUrlsarrayAltUp to 14 reference image URLs
temperaturenumberNoControls randomness (0-2). Recommended: 1.0 for image generation.
thinkingConfigobjectNoEnables reasoning pass for better reference adherence. Example: {"includeThoughts": true}
mediaResolutionstringNoInput image fidelity: "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", or "MEDIA_RESOLUTION_HIGH".
responseModalitiesarrayNoResponse types. Default: ["TEXT", "IMAGE"].
safetySettingsarrayNoSafety filter thresholds. Allowed thresholds: BLOCK_LOW_AND_ABOVE, BLOCK_MEDIUM_AND_ABOVE, BLOCK_ONLY_HIGH.

Example Request

bash
curl -X POST https://eccoapi.com/api/v1/nanobananapro/generate \
  -H "Authorization: Bearer nk_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Combine these two images into a single scene",
    "imageUrls": ["https://example.com/img1.jpg", "https://example.com/img2.jpg"],
    "imageSize": "4K"
  }'