> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sinancode.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Nano Banana Pro

> Generate high-quality images using Nano Banana Pro model (async), supports higher resolution and more advanced features

Generate and edit images using [Google DeepMind](https://deepmind.google)'s Nano Banana Pro (Gemini 3 Pro Image) model.

**Key Features:**

* **4K Ultra High Resolution** - Support 2K/4K high-definition image generation
* **Best-in-Class Text Rendering** - Industry-leading in-image text generation with multi-language support
* **Real-Time Knowledge** - Use Google Search to verify facts and generate imagery based on real-time data
* **Professional Controls** - Camera angles, lighting, depth of field, focus, and color grading


## OpenAPI

````yaml /en/openapi.yaml POST /generate/k/nano-banana-pro
openapi: 3.0.0
info:
  contact:
    email: support@sinancode.com
    name: API Support
    url: https://sinancode.com/support
  description: AI Model Task Scheduling Platform API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://sinancode.com/terms-of-service
  title: TikTomato API
  version: '1.0'
servers:
  - url: https://api.sinancode.com/v1
    description: Production server
security: []
paths:
  /generate/k/nano-banana-pro:
    post:
      tags:
        - public
      summary: Nano Banana Pro Image Generation
      description: >-
        Generate high-quality images using Nano Banana Pro model (async),
        supports higher resolution and more advanced features
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ka.CreateNanoBananaProTaskRequest'
        description: Task parameters
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.CreateTaskResponse'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
      security:
        - AccessToken: []
components:
  schemas:
    ka.CreateNanoBananaProTaskRequest:
      properties:
        aspect_ratio:
          default: '1:1'
          description: AspectRatio - Image aspect ratio (optional, default 1:1)
          enum:
            - '1:1'
            - '2:3'
            - '3:2'
            - '3:4'
            - '4:3'
            - '4:5'
            - '5:4'
            - '9:16'
            - '16:9'
            - '21:9'
          example: '1:1'
          type: string
        image_input:
          description: >-
            ImageInput - Input image list (optional, supports up to 8 images,
            max 10MB each)
          example:
            - ''
          items:
            type: string
          maxItems: 8
          type: array
        output_format:
          default: png
          description: OutputFormat - Output image format (optional, default png)
          enum:
            - png
            - jpg
          example: png
          type: string
        prompt:
          description: >-
            Prompt - Text description for image generation (required, max 5000
            characters)
          example: >-
            Comic poster: cool banana hero in shades leaps from sci-fi pad. Six
            panels: 1) 4K mountain landscape, 2) banana holds page of long
            multilingual text with auto translation, 3) Gemini 3 hologram for
            search/knowledge/reasoning, 4) camera UI sliders for angle focus
            color, 5) frame trio 1:1-9:16, 6) consistent banana poses. Footer
            shows Google icons. Tagline: Nano Banana Pro now on Kie AI.
          maxLength: 5000
          minLength: 1
          type: string
        resolution:
          default: 1K
          description: Resolution - Image resolution (optional, default 1K)
          enum:
            - 1K
            - 2K
            - 4K
          example: 1K
          type: string
      required:
        - prompt
      type: object
    dto.CreateTaskResponse:
      properties:
        task_id:
          description: Task ID
          example: 01234567-89ab-cdef-0123-456789abcdef
          type: string
      required:
        - task_id
      type: object
    apierror.ErrorResponse:
      properties:
        error_code:
          description: Machine-readable error code (e.g., TASK.INVALID_PARAMS)
          type: string
        message:
          description: User-friendly error message
          type: string
      type: object
  securitySchemes:
    AccessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Please use your API Token for authentication

````