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

# Nano Banana 2 Lite Edit



## OpenAPI

````yaml openapi-spec/nano-banana-2-lite-edit.json POST /v1/images/generations/async
openapi: 3.1.0
info:
  description: >-
    Nano Banana 2 Lite Edit is Google's latest lightweight image-to-image model
    with enhanced transformation capabilities. Edit and restyle images quickly
    with improved quality and efficiency.
  summary: API for Nano Banana 2 Lite Edit model
  title: Nano Banana 2 Lite Edit API
  version: 1.0.0
servers:
  - description: Model Verse API Server
    url: https://api.siray.ai
security: []
tags:
  - description: >-
      Nano Banana 2 Lite Edit - Nano Banana 2 Lite Edit is Google's latest
      lightweight image-to-image model with enhanced transformation
      capabilities. Edit and restyle images quickly with improved quality and
      efficiency.
    name: Nano Banana 2 Lite Edit
paths:
  /v1/images/generations/async:
    post:
      tags:
        - Nano Banana 2 Lite Edit
      summary: Generate image
      description: Generate an image using the Nano Banana 2 Lite Edit model
      operationId: image_model-mkdxu3pvdec5psrd
      requestBody:
        content:
          application/json:
            example:
              aspect_ratio: '1:1'
              images:
                - example_value
              model: google/nano-banana-2-lite-edit
              prompt: example_value
              size: 1k
            schema:
              description: Request format for image generation models
              properties:
                aspect_ratio:
                  description: Aspect ratio
                  enum:
                    - '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'
                    - auto
                  type: string
                images:
                  description: Array of input images, which can be data URL or image URL
                  items:
                    type: string
                  maxItems: 14
                  minItems: 1
                  type: array
                model:
                  description: Model name to use for the request
                  enum:
                    - google/nano-banana-2-lite-edit
                  type: string
                prompt:
                  description: Text prompt for generation
                  type: string
                size:
                  description: Fixed size
                  enum:
                    - 1k
                  type: string
              required:
                - model
                - prompt
                - images
                - size
                - aspect_ratio
              title: Image Generation Request
              type: object
        description: Request payload
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskResponse'
          description: Successful response
      security:
        - bearerAuth: []
components:
  schemas:
    TaskResponse:
      description: Standard async task creation response
      properties:
        code:
          description: Status code returned by the service
          example: success
          type: string
        data:
          description: Response payload containing task details
          properties:
            task_id:
              description: Identifier of the created task
              type: string
          required:
            - task_id
          type: object
        message:
          description: Additional information about the request result
          type: string
      required:
        - data
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: Bearer authentication using API key
      scheme: bearer
      type: http

````