Creative studioGeneratedModels
Nano Banana 2
Creative Studio image model reference for the public API.
Nano Banana 2
Public model ID: nano-banana-2
Asset type: image
Category: Generation
Starting credits: 0.35 (defaults: 0.35)
Prompt required.
Start a generation
curl -s -X POST "$API_BASE_URL/v1/creative-studio/generations" \
-H "Authorization: Bearer vsl_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"modelId": "nano-banana-2",
"prompt": "Your prompt here",
"image_input": ["https://example.com/reference.jpg"],
"aspect_ratio": "match_input_image"
}' | jqPoll GET /v1/creative-studio/generations/{id} until status is completed. Completed generations return outputUrl on cdn.videoslash.com.
Media parameters
| Name | Type | Constraints | Default | Description |
|---|---|---|---|---|
image_input | array | optional · max items: 14 | [] | Input images to transform or use as reference (supports up to 14 images) |
Settings parameters
| Name | Type | Constraints | Default | Description |
|---|---|---|---|---|
aspect_ratio | enum | optional · enum: match_input_image, 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 | match_input_image | Aspect ratio of the generated image |
resolution | enum | optional · enum: 1K, 2K, 4K | 1K | Resolution of the generated image. Higher resolutions take longer to generate. |
google_search | boolean | optional | false | Use Google Web Search grounding to generate images based on real-time information (e.g. weather, sports scores, recent events). |
image_search | boolean | optional | false | Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically. |
output_format | enum | optional · enum: jpg, png | jpg | Format of the output image |