Generate high-detail commercial images or remix optional references with broad ratios and up to 4K output.
Provider: Google
Category: image generation
Endpoint: /v1/tasks
Status: Available
Cost: See live page pricing
Generate high-detail commercial images or remix optional references with broad ratios and up to 4K output.
Pricing
Standard Usage
Choose the output image file format
Ready for generation
Configure your parameters and click "Run" to see the output here.
Choose an adjacent model by task, output tier, and reference-image needs.
A general-purpose route with optional references and broad aspect-ratio coverage.
Generate high-detail commercial images or remix optional references with broad ratios and up to 4K output.
The Playground and API use the same model ID: nano-banana-pro. Generate with a prompt alone, or add images for editing and visual references without switching models.
Explore reference limits, sizes, formats and quality settings for Nano Banana Pro.
Current standard prices are shown here. Check the live price above and task record for offer discounts and generation estimates.
References provide visual facts; the prompt assigns their roles and limits the edit.
Copy a minimal request below. See Docs for parameters, callbacks, task retrieval, and errors.
POST /v1/tasksnano-banana-procurl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro",
"input": {
"prompt": "A cinematic product campaign with sharp text",
"aspect_ratio": "1:1",
"output_format": "png",
"resolution": "2K"
}
}'The create request immediately returns a taskId; image generation continues asynchronously.
Generate high-detail commercial images or remix optional references with broad ratios and up to 4K output.
Yes, up to 8 optional references. Omit them for text-only generation.
The page exposes 1K, 2K, 4K and auto, 1:1, 16:9, 9:16, 3:4, 4:3, 3:2, 2:3, 5:4, 4:5, 21:9; use the Playground contract for the final available set.
Billing is per successful generated image. Resolution or quality differences, when present, are reflected by the live page price.
POST an asynchronous task to /v1/tasks with model set to nano-banana-pro and put generation fields inside input.
Skip uploads for text-to-image, or add 1 to 8 images for editing and describe their roles.
Describe the subject, composition, and lighting; for edits, specify what to change and preserve, then choose quality, layout, and format.
Check the reference relationship in Playground, then create asynchronous tasks with the same model ID.