A2E
  1. Nano Banana(Gemini-2.5-Flash-Image-Preview
A2E
  • AI Avatar API
  • Get Tokens
    • Getting API Tokens (2025 version)
  • TTS and Voice Clone
    • List Public TTS Options
      GET
    • List Voice Clone Options
      GET
    • Train TTS Model of The User's Voice (Voice Clone)
      POST
    • List Ongoing Voice Clone Tasks
      GET
    • Generate TTS Audio (Text-to-Speech)
      POST
    • Get Details of a Voice
      GET
    • Delete a User Voice
      DELETE
  • Generate Avatar Videos
    • Generate AI Avatar Videos
      POST
    • List of Result Videos
      GET
    • List One or All Avatars
      GET
    • Obtain the Status of One Avatar Video Task
      POST
    • Delete or Cancel a Video
      DELETE
    • Auto Language Detect
      POST
    • Auto Swith to Public Computing Pool
      POST
  • Create Avatars and Train Lip-sync Models
    • Create A Custom Avatar by a Video or an Image
      POST
    • Train a Personalized Lip-sync Model (Optional) a.k.a. Continue Training 💠
      POST
    • Remove A Customized Avatar
      POST
    • Get Status of All Tasks
      GET
    • Get All Ongoing "Training" Tasks
      GET
    • Status of One Task
      GET
    • Clone Voice from a Video
      POST
  • Background Matting and Replacement
    • Obtain the List of Background Images
    • Add Custom Background Image
    • Delete Custom Image
  • Face Swap
    • Manage Face Swap Resource
      • Add Face Swap Image
      • Get Records of Face Swap Images
      • Delete User Face Swap Image
    • Quickly Preview Face Swap
      • Add User Face Swap Preview
      • Get Status of Face Swap Preview Process
    • Start and Manage Face Swap Tasks
      • Start a Face Swap Task
      • Get Status of Face Swap Task
      • Get Face Swap Task Records
      • Get Details of Face Swap
      • Delete Record
  • AI Dubbing
    • Start dubbing
    • List Dubbing Tasks
    • List All Processing Dubbing Tasks
    • Get Details
    • Delete Record
  • Image to Video
    • Start Image-to-Video
    • Check Status of One Task
    • List Status of All Tasks
    • Delete Record
  • Caption Removal
    • Start Caption Removal
    • Get Records of All Tasks
    • Get Status of All Tasks in Processing
    • Get Details of One Task
    • Delete a Task
  • Streaming Avatar
    • Get All avatars
    • Get a Streaming Avatar Token
    • Set QA Context
    • Get QA Context
    • Ask a Question to the Avatar
    • Let the Avatar Speak Directly
    • Leave the Room
  • Miscellaneous
    • Add a User
    • Get User Remaining Credits
    • List Available Languages
    • Save URL to A2E's storage
    • Add Watermark to Video or Image
    • Get R2 Upload Presigned URL
  • Text to Image
    • Start Text-to-Image
    • List Tasks of Text-to-Image Tasks
    • Get Details of One Task
    • Delete Record
    • Quick Add Avarar
  • Nano Banana(Gemini-2.5-Flash-Image-Preview
    • Start a text-to-image or image-editing task
      POST
    • Query the detail of one task
      GET
    • List all records
      GET
    • Delete a record
      DELETE
  • Talking Photo
    • Start a Task
    • List Tasks
    • Get Task Detail
    • Delete Task
  • Virtual Try-On
    • Start Virtual Try-On
    • List Tasks of Virtual Try-On
    • Get Details of One Task
    • Delete Record
  • Video to Video
    • Start Video to Video
    • List Tasks of Video to Video
    • Get Details of One Task
    • Delete Record
  • Product Avatar
    • Start Product Avatar
  1. Nano Banana(Gemini-2.5-Flash-Image-Preview

Start a text-to-image or image-editing task

Global Server
https://video.a2e.ai
Global Server
https://video.a2e.ai
POST
/api/v1/userNanoBanana/start

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "name": "Test Name",
    "prompt": "create a 1/7 scale commercialized figure of the character in the illustration, in a realistic style and environment. Place the figure on a computer desk, using a circular transparent acrylic base without any text.On the computer screen, display the ZBrush modeling process of the figure. Next to the computer screen, place a BANDAI-style toy packaging box printed with the original artwork.",
    "input_images": [
        "https://a2e-prod-jumpy.ai2everyone.com/stable/sample/nano_banana/i-v-girl1.jpg"
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://video.a2e.ai/api/v1/userNanoBanana/start' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Test Name",
    "prompt": "create a 1/7 scale commercialized figure of the character in the illustration, in a realistic style and environment. Place the figure on a computer desk, using a circular transparent acrylic base without any text.On the computer screen, display the ZBrush modeling process of the figure. Next to the computer screen, place a BANDAI-style toy packaging box printed with the original artwork.",
    "input_images": [
        "https://a2e-prod-jumpy.ai2everyone.com/stable/sample/nano_banana/i-v-girl1.jpg"
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "code": 0,
    "data": {
        "_id": "68baa0353b3544003bb2270c",
        "name": "Test Name",
        "prompt": "create a 1/7 scale commercialized figure of the character in the illustration, in a realistic style and environment. Place the figure on a computer desk, using a circular transparent acrylic base without any text.On the computer screen, display the ZBrush modeling process of the figure. Next to the computer screen, place a BANDAI-style toy packaging box printed with the original artwork.",
        "input_images": [
            "https://a2e-prod-jumpy.ai2everyone.com/stable/sample/nano_banana/i-v-girl1.jpg"
        ],
        "image_urls": [],
        "text_responses": [],
        "reference_id": "a23e6379-36a7-4892-98d1-3caf956feaad",
        "conversation_id": "conv_f2a53029-9f95-4817-8548-fbd0794d09f2",
        "current_status": "initialized",
        "coins": 20,
        "failed_message": "",
        "quality_settings": {
            "creativity_level": "medium",
            "detail_level": "detailed",
            "style_consistency": true
        },
        "composition_mode": "blend",
        "iteration_count": 0,
        "processing_time": 0,
        "user_rating": null,
        "user_feedback": "",
        "createdAt": "2025-09-05T08:32:53.181Z",
        "updatedAt": "2025-09-05T08:32:53.181Z"
    },
    "trace_id": "a23e6379-36a7-4892-98d1-3caf956feaad"
}
Modified at 2025-09-05 08:32:46
Previous
Quick Add Avarar
Next
Query the detail of one task
Built with