Product & Lifestyle Concepts
Create product-related scenes from prompts or modify a single product photo for alternate visual treatments.
Bring Nano Banana image generation and editing into your product with Topview API. Generate images in five supported aspect ratios, edit a single input image, and use straightforward per-image pricing, without a selectable resolution tier.
Text to Image
Settings here are a preview. Generate copies your prompt and opens the matching Platform Playground, where you confirm the final settings.
Know the settings before you build.
A quick reference for Nano Banana settings listed in Topview API Platform docs. Each mode has its own input requirements.
| Parameter | Value |
|---|---|
| Provider / Model | Google / Nano Banana |
| API route | google/nano-banana |
| Generation modes | Text to Image · Image Editing |
| Resolution | Standard output (no resolution parameter) |
| Aspect ratios | 1:1 · 16:9 · 9:16 · 4:3 · 3:4 |
| Image Editing inputs | 1 image |
| Prompt length | Up to 4,000 characters |
| Task pattern | Async submission + polling + output retrieval |
| Pricing | Per generated image; settlement follows actual usage |
DEVELOPER QUICKSTART
Submit an asynchronous prediction with your Platform API key, then poll the returned task ID to retrieve the output.
# Set TOPVIEW_API_PLATFORM_KEY once. Preserve REQUEST_KEY and input for uncertain retries.
# For a NEW task only, unset REQUEST_KEY first. Save data.id to resume GET only.
: "${TOPVIEW_API_PLATFORM_KEY:?Set TOPVIEW_API_PLATFORM_KEY first}"
export REQUEST_KEY="${REQUEST_KEY:-$(uuidgen)}"
curl --fail-with-body 'https://platform-backend.topview.ai/api/v1/models/google/nano-banana/text-to-image/predictions' \
-H "Authorization: Bearer $TOPVIEW_API_PLATFORM_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H 'Content-Type: application/json' \
--data '{
"prompt": "A blue ceramic cup on a wooden table",
"aspect_ratio": "1:1"
}'
# Poll data.id until completed or failed.
curl --fail-with-body 'https://platform-backend.topview.ai/api/v1/predictions/REQUEST_ID' \
-H "Authorization: Bearer $TOPVIEW_API_PLATFORM_KEY"Sample matches the Nano Banana text-to-image request in Platform docs. Keep TOPVIEW_API_PLATFORM_KEY on your server only.
Step 1
Sign in to Topview API Platform and create an API key with the required model permissions. Keep your key secure and use it to authenticate API requests.
Step 2
Submit a text prompt or upload reference images for editing. Configure the supported image settings, send your API request, and save the returned task ID.
Step 3
Check the task status until generation is complete. Retrieve the image URLs, review the final usage cost, and save your generated images.
BUILT FOR PRODUCTION WORKFLOWS
The original Nano Banana API supports common image-generation tasks with one standard output size and a focused set of reference-editing controls.
Create product-related scenes from prompts or modify a single product photo for alternate visual treatments.
Generate square, landscape, or portrait concepts across the five supported aspect ratios, including 4:3 and 3:4.
Let users restyle a photo, change its surroundings, or explore new composition directions using one editing input.
Add basic text-to-image generation and one-image editing to creator tools, internal workflows, or small marketing applications.
WHY TOPVIEW API
Topview provides the documented modes and format options for teams that want the original model rather than a newer Nano Banana variant.
Review the current per-image rate without adding unsupported 2K or 4K resolution selectors.
Test 1:1, 16:9, 9:16, 4:3, and 3:4 before mapping your product’s output settings.
Explore prompt-based edits with a single source photo using the dedicated editing route and documented input requirements.
Use one Topview workspace to evaluate the original model against Lite, 2, and 2.1 as your output and editing needs evolve.
EXPLORE RELATED APIS
YOUR NEXT IMAGE STARTS HERE
Try your first prompt in the Playground, compare current pricing, or follow the docs to integrate Nano Banana into your application.
TRANSPARENT PRICING
Compare Topview rates with the official Nano Banana rates and fal.ai. Prices are read from Topview API Platform and refreshed daily.
Text to Image
Text to Image · Standard output
Topview
$0.0190 /image
Official: $0.0380/image
fal.ai: $0.0398 /image
Save 50% vs official · Save 52% vs fal.ai
Image Editing
Image Editing · Standard output
Topview
$0.0190 /image
Official: $0.0380/image
fal.ai: $0.0398 /image
Save 50% vs official · Save 52% vs fal.ai
Per-image rates by setting, with fal.ai alongside. Topview and official rates are read from Topview API Platform.
Viewing Text to Image · 1 setups
| Setup | Topview | Official | fal.ai | Savings |
|---|---|---|---|---|
| Text to ImageStandard output · Generated images | $0.0190 /image | $0.0380 /image | $0.0398 /image | 50% lower than official52% lower than fal.ai |
Rates are per generated image at the listed setting, and each output image is billed. fal.ai rates are fal's published per-image prices. Confirm the current quote on Platform before production spend.