Skip to documentation
MakeInfluencer.ai
v1

Google · image model

Nano Banana API

Use the Nano Banana API for hosted AI image generation with model-aware inputs, asynchronous jobs, and MakeInfluencer credits.

Endpoint overview

POSThttps://www.makeinfluencer.ai/api/v1/models/nano-banana/generations

Model ID

nano-banana

Typical time

10s

Sample quote

1,955 credits

The displayed price is input-specific

The sample quote is Fast image editing with Google Nano Banana. Preview your exact payload before generating; previews do not charge.

Create a generation

Send the model fields inside input. The request returns HTTP 202 with an owned generation ID.

cURL
curl --request POST \
  https://www.makeinfluencer.ai/api/v1/models/nano-banana/generations \
  --header "Authorization: Bearer $MAKEINFLUENCER_API_KEY" \
  --header "Idempotency-Key: nano-banana-001" \
  --header "Content-Type: application/json" \
  --data '{
  "input": {
    "prompt": "Editorial portrait of a fashion creator in a sunlit studio"
  }
}'

Model parameters

FieldTypeDefaultAccepted values
promptrequiredtext
imageUrlsimageArrayUp to 3 items
aspectRatioenummatch_input_imagematch_input_image, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
output_formatenumjpgjpg, png

The same contract is available fromGET /models/nano-banana for server-side validation and dynamic tooling.

Preview credits

POST · no charge
curl --request POST \
  https://www.makeinfluencer.ai/api/v1/models/nano-banana/preview-credits \
  --header "Authorization: Bearer $MAKEINFLUENCER_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "input": {
    "prompt": "Editorial portrait of a fashion creator in a sunlit studio"
  }
}'

A valid response returns the exact credit cost and pricing description. The dashboard, REST API, and MCP use one balance at the same model price.

Poll the result

GET · image
curl \
  https://www.makeinfluencer.ai/api/v1/generations/image/GENERATION_ID \
  --header "Authorization: Bearer $MAKEINFLUENCER_API_KEY"

Poll until terminal is true. On success, ready is true. Readurl for video orurls for image output. See the polling guide for statuses and backoff.

Nano Banana API FAQ

How much does the Nano Banana API cost?

The documented sample request costs 1,955 MakeInfluencer credits. Final cost depends on the exact model inputs, and the preview-credits endpoint returns an exact quote without charging.

Does the Nano Banana API use a separate balance?

No. REST, MCP, and the MakeInfluencer dashboard use the same account credit balance.

How do I receive Nano Banana results?

Creation returns HTTP 202 with a generation ID. Poll the image generation-status endpoint until terminal is true. On success, ready is true and the response contains the output URL.