ブログに戻る

Nano Banana API Key and Free Trial (2026)

2026年12月1日

Get a FlowAPI key in 4 steps and claim $0.50 of free trial credit, valid 30 days: enough for 12 Nano Banana Pro or 20 Nano Banana 2.1 images.

Sign up at FlowAPI with Google, claim the $0.50 trial credit in the console, create an API key and send one POST request. The credit lasts 30 days and pays for 12 Nano Banana Pro images at 1K or 20 Nano Banana 2.1 images. Only new accounts that signed up with Google qualify. Each account claims once, and each device and network can claim once every 30 days.

The whole process takes 4 steps. The trial rules below are the same ones the billing docs list.

Who gets the free trial

Your situationTrial credit?
New account created with Google sign-in, email verifiedYes, $0.50 for 30 days
Account created with email and password, or with GitHub, that links Google laterNo
A second account on a device that claimed within 30 daysNo
A second claim from the same network (IPv4 /24 or IPv6 /48) within 30 daysNo
An account that already claimed onceNo

If you don't qualify, you can still create a test key for free (it returns a sample file) and top up from $10 when you want real results.

What $0.50 buys

The trial pays only for specs priced at $0.10 per unit or less. The price table marks them in the "$0.5 trial" column.

Model and sizePriceWith $0.50 of trial credit
Nano Banana Pro, 1K or 2K$0.04 per image12 images
Nano Banana Pro, 4K$0.06 per image8 images
Nano Banana 2.1, 1K$0.024 per image20 images
Seedance 2.0, 480p$0.132 per secondNot covered
Seedance 2.5, 480p$0.156 per secondNot covered

For how these prices compare with Google and fal.ai, see Nano Banana API pricing compared.

Step 1: Sign up with Google

Open sign-up and choose Google. Google confirms your email, which the trial requires. An account made with email and password cannot get the trial by adding Google afterwards.

Step 2: Claim the trial credit

Open the console. The "Free trial credit" card reads "Claim $0.5 of free credit, valid for 30 days." Click Claim. The 30 days start at that moment.

Step 3: Create an API key

Go to API keys and click Create key. Pick a mode and, if you like, a monthly limit in USD.

ModePrefixChargedResult
Liveflow_sk_live_Yes, the quoted priceA real generation
Testflow_sk_test_No, $0A fixed sample file

The full key is shown only once, right after you create it. Copy it into an environment variable and keep it out of your code:

export FLOWAPI_KEY="flow_sk_live_..."

Keys go in the Authorization: Bearer header. A missing or wrong key gets 401 FLOW_UNAUTHORIZED. More in the authentication docs.

Step 4: Make your first request

Every generation is an async job. Send the request, then read the job until it finishes. This one makes a single Nano Banana Pro image at 1K for $0.04:

curl https://useflowapi.com/v1/generations \
-H "Authorization: Bearer $FLOWAPI_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: first-image-001" \
-d '{"model":"google/nano-banana-pro","input":{"type":"text","prompt":"A red bicycle leaning on a brick wall"},"parameters":{"resolution":"1K","n":1}}'

The answer is 202 Accepted with a job object. Copy its id and poll it every 2 to 5 seconds:

curl https://useflowapi.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $FLOWAPI_KEY"

When status is succeeded, the image URL is in result.files[0].url. Result files stay available for 30 days. The Idempotency-Key header is required: if you resend the same body with the same key, you get the first job back and are not charged twice. The quickstart and the jobs docs cover the full job object.

To see what is left of the trial:

curl https://useflowapi.com/v1/balance -H "Authorization: Bearer $FLOWAPI_KEY"

The response has two amounts: available for topped-up balance and trial for trial credit.

Common errors on the first call

ResponseWhat it meansFix
401 FLOW_UNAUTHORIZEDMissing, wrong, revoked or expired keyCheck the header and the key
400 FLOW_INVALID_REQUESTMalformed body, or no Idempotency-Key headerAdd the header and check the JSON
402 FLOW_INSUFFICIENT_BALANCEThe balance does not cover the price, for example a Seedance clip on trial credit onlyTop up, or pick a covered spec
429Too many requests for this keyWait the Retry-After seconds and resend with the same key

The error docs list every code.

Next steps

Video is billed per second and is not covered by the trial. The Seedance API Python example has a complete script that submits a clip, polls it and saves the MP4. All endpoints are in the API docs.

Boundaries

FlowAPI is not affiliated with or endorsed by Google or ByteDance. Nano Banana is a Google trademark and Seedance a ByteDance trademark. Only upload images you have the rights or the subject's consent to use.

FAQ

Who is eligible for the FlowAPI free trial?

New accounts created with Google sign-in and a verified email. Each account can claim once, ever. Each device and each network (IPv4 /24 or IPv6 /48) can claim once per rolling 30 days.

How many images does the free trial cover?

The $0.50 trial covers 12 Nano Banana Pro images at 1K or 2K, 8 at 4K, or 20 Nano Banana 2.1 images at 1K.

Can I use the free trial for Seedance video?

No. The trial pays only for specs priced at $0.10 per unit or less, and Seedance costs $0.132 or $0.156 per second.

Does the trial credit expire?

Yes. Trial credit expires 30 days after you claim it. Topped-up balance does not expire.

Do test keys use the trial credit?

No. Test keys return a fixed sample file and charge $0, so they never touch the trial credit or your balance.

Is FlowAPI affiliated with Google?

No. FlowAPI is not affiliated with or endorsed by Google. Nano Banana is a Google trademark.