Generate images quickly using Nano Banana powered by Gemini 2.5 Flash.

Model

google/nano-banana

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the image
aspect_ratiostringYes1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
image_urlsarrayNoReference images

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",
    "input": {
      "prompt": "A futuristic city skyline at sunset with flying cars",
      "aspect_ratio": "16:9"
    }
  }'

With Reference Images

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",
    "input": {
      "prompt": "Transform this into anime style",
      "aspect_ratio": "1:1",
      "image_urls": ["https://example.com/reference.jpg"]
    }
  }'

Response

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

Pricing

$0.03 per generation