Aucune image pour le moment. Envoyez le formulaire pour générer une image.
Explorez différents cas d'utilisation et configurations de paramètres
Tarifs transparents sans frais cachés. Payez à l'utilisation.
| Règle & Modalité | Channel | Crédits | Prix (USD) | Prix officiel / référence | Économie quotidienne |
|---|---|---|---|---|---|
nano-banana-2-1-starter imageGoogle | Starter | 2per run | $0.009 | Google Nano Banana 2.1 (1K)$0.034per run | à 10,000 images/jourGoogle Nano Banana 2.1 (1K) coûte $245.090/jour de plusApiPass est 72.94% moins cher |
Le prix concurrent coûte $245.090/jour de plus
ApiPass est 72.94% moins cher, estimé sur Basé sur 10,000 images/jour
nano-banana-2-1-starter
Prix ApiPass
$0.009
2 crédits par exécution
Prix concurrents
Guide complet d'utilisation de Nano Banana 2.1
Build image-generation and editing workflows with Nano Banana 2.1 on ApiPass. Create images from prompts, guide edits with reference images, and choose 1K, 2K, or 4K output for product visuals, campaigns, and creative applications.

Nano Banana 2.1 is Google's image model for generating and editing visuals. The supplied product content highlights improved visual quality, prompt adherence, character consistency, text rendering, and multi-reference creation. On ApiPass, the documented request accepts a required text prompt and optional reference images, aspect ratio, resolution, and output format. The current API reference specifies up to 14 JPEG or PNG input images; its example requests use the model value google/nano-banana-2.
Turn a natural-language prompt into an image. Describe the subject, style, lighting, and composition, then select 1K, 2K, or 4K output.
Provide images with an editing instruction to change a scene, refine a product visual, or guide a new composition. The documented image_input parameter accepts up to 14 JPEG or PNG images.
Choose JPG or PNG output. The documented aspect_ratio options are match_input_image, 1:1, and 16:9; when omitted, the ratio defaults to the input image's ratio if an image is provided, or 1:1 otherwise.
Generate new visuals or refine existing ones at 1K, 2K, or 4K. Use higher resolution when product imagery, advertising assets, or detailed compositions need more output detail.
Combine visual context from multiple input images to guide people, products, objects, and styles in a new composition. The ApiPass reference documents a limit of 14 input images.
Use reference images and clear instructions to maintain recognizable character details while exploring different outfits, backgrounds, poses, and scenes.
Create posters, ads, social graphics, and infographic-style visuals where typography and layout are important parts of the prompt.
Add prompt-based image creation to design tools, SaaS products, and consumer apps without building an image-generation system from scratch.
Use product references to create new backgrounds, compositions, and campaign visuals while prompting the model to retain important product details.
Use reference-guided generation to develop recognizable characters across scenes, outfits, and visual narratives.
Generate posters, social posts, and campaign assets with prompts that specify both imagery and text layout.
The supplied content compares Nano Banana 2.1 with other image models. Choose according to the visual quality, reference-guided workflow, and efficiency your application needs.
The supplied content describes Nano Banana 2.1 as an update focused on visual quality, prompt adherence, character consistency, text rendering, and multi-reference workflows. Note that the current ApiPass request example still specifies google/nano-banana-2 as its model value.
The supplied content positions Nano Banana 2.1 as an efficiency-focused option for image generation and editing, while Nano Banana Pro is positioned for workflows that prioritize premium image quality and advanced creative performance.
The current ApiPass API reference specifies 10 credits for 1K, 15 credits for 2K, and 22 credits for 4K output. The default resolution is 1K.
A successful POST to /api/v1/jobs/createTask returns data.taskId. Use that ID to query /api/v1/jobs/recordInfo; when the task state is success, parse data.resultJson for its resultUrls array.
Provide callBackUrl to receive a POST when the task completes. If it is omitted, no callback is sent. Failed tasks expose failCode and failMsg.
Try a prompt, optionally add reference images, and compare the documented aspect ratios, resolutions, and JPG or PNG output settings.
Create an ApiPass API key and authenticate requests with the Authorization: Bearer YOUR_API_KEY header.
POST to /api/v1/jobs/createTask with the documented model value google/nano-banana-2 and an input object containing a prompt. Add image_input, aspect_ratio, resolution, or output_format as needed.
Query /api/v1/jobs/recordInfo using the returned taskId, or supply callBackUrl when creating the task. Once state is success, parse resultJson and read the generated image URL from resultUrls.
Toutes les API nécessitent une authentification via un token Bearer.
Authorization: Bearer
Submit a new Nano Banana 2 image generation or editing task
The API accepts a JSON payload with the following structure:
1{
2 "model": "string",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 // Input parameters
7 }
8}modelRequisstringThe model name to use for generation
"google/nano-banana-2"
callBackUrlOptionnelstringCallback URL for task completion notifications. If omitted, no callback will be sent.
"https://your-domain.com/api/callback"
channelOptionnelstringYou may specify the corresponding provider within APIPASS via the channel parameter; these providers handle the actual image and video generation tasks. APIPASS currently offers three provider options:
The default value for the channel parameter is auto. When enabled, APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics to balance minimal cost and reliable performance. Retain the default auto value unless you have custom routing requirements.
Options disponibles :
auto
The input object contains the following parameters:
input.promptRequisstringA text description of the image you want to generate
Describe the subject, style, lighting, and composition for best results
"A serene alpine lake reflecting snow-capped mountains at golden hour, photorealistic"
input.image_inputOptionnelarray(URL)Input images to transform or use as reference. Supports up to 14 images.
Accepted types: image/jpeg, image/png; Max size: 30MB per image; Max files: 14
["https://example.com/reference.jpg"]
input.aspect_ratioOptionnelstringAspect ratio of the generated image. Defaults to match_input_image when image_input is provided, otherwise 1:1.
Options disponibles :
"16:9"
input.resolutionOptionnelstringResolution of the generated image. Higher resolutions produce more detail but take longer to generate. Default: 1K.
Options disponibles :
"1K"
input.output_formatOptionnelstringFormat of the output image. Default: jpg.
Options disponibles :
"jpg"
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -d '{
5 "model": "google/nano-banana-2",
6 "callBackUrl": "https://your-domain.com/api/callback",
7 "input": {
8 "prompt": "A serene alpine lake reflecting snow-capped mountains at golden hour, photorealistic",
9 "aspect_ratio": "16:9",
10 "resolution": "1K",
11 "google_search": false,
12 "image_search": false,
13 "output_format": "jpg"
14 }
15 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_12345678"
6 }
7}codeStatus code, 200 for success, others for failure
messageResponse message, error description when failed
data.taskIdTask ID for querying task status and results

flux
flux
Generate photorealistic images with robust text
À partir de
0 crédits
Nano Banana 2 Lite, aka Gemini 3.1 Flash-Lite Image, is a newly released image model from Google DeepMind built for fast 1K image generation, efficient creative iteration, prompt-based image editing, and responsive visual output in product-facing creative scenarios.
À partir de
0 crédits
OpenAI
OpenAI
Generate intentionally designed visuals with less prompting using the latest OpenAI GPT Image 2 model.
À partir de
0 crédits
Qwen
Qwen
À partir de
0 crédits
Nano Banana now allows you to freely draw on edited images, bringing you a completely new experience. Simply click on the image to draw whatever you want. You can also add text and details, and Gemini will do the rest.
À partir de
0 crédits
Fast image generation model built on Gemini 3.1 Flash Image. Supports text-to-image, image editing, multi-image fusion with up to 14 reference images, Google Search grounding, and outputs up to 4K resolution.
À partir de
0 crédits
seedream
seedream
À partir de
0 crédits
grok
grok
Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
À partir de
0 crédits
qwen
qwen
Generate realistic 2K images with structured text
À partir de
0 crédits
seedream
seedream
À partir de
0 crédits
OpenAI
OpenAI
Bring your ideas to life with sharper, faster, more precise image generation using the GPT Image 2.5 API.
À partir de
0 crédits
wan
wan
Generate images with cinematic precision through high-fidelity text-to-image synthesis and structural editing.
À partir de
0 crédits
seedream
seedream
Gemini said Generate images with lightning-fast efficiency and high-fidelity detail through a streamlined, lightweight architecture optimized for instant creative expression.
À partir de
0 crédits
qwen
qwen
Generate realistic 2K images with structured text
À partir de
0 crédits
Luma
Luma
À partir de
0 crédits
seedream
seedream
À partir de
0 crédits