Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.unifically.com/llms.txt

Use this file to discover all available pages before exploring further.

Generate high-quality images using Nano Banana 2, the latest generation of the Nano Banana Pro model.

Model

google/nano-banana-2

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the image
aspect_ratiostringNo1: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. Default: 1:1
image_searchbooleanNoEnable image search grounding
image_urlsarrayNoReference image URLs
resolutionstringNo0.5K, 1K, 2K, 4K. Default: 1K
seedintegerNoSeed for reproducible generation

Example Request

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/nano-banana-2",
    "input": {
      "prompt": "A photorealistic portrait in golden hour lighting",
      "aspect_ratio": "3:4",
      "resolution": "4k"
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}