All models

Nano Banana 2 Lite
google/nano-banana-2-lite
Google Image GenerationText-to-Image
Google's budget Nano Banana — fast image generation and editing.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "google/nano-banana-2-lite",
"prompt": "<your prompt>"
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "google/nano-banana-2-lite", "prompt": "<your prompt>"}'Examples


Parameters
Input
prompt string required
Text prompt describing what to generate.
image_input array optional
Reference image(s) to guide generation (HTTPS URL or upload). Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.
aspect_ratio string optional
Output aspect ratio (e.g. 16:9, 1:1, 9:16).
output_format string optional
File format of the output (e.g. png, jpeg, mp4).
resolution string optional
Output resolution / quality tier.
Output
Image file (hosted URL)