1. Google
liangxin
  • Market
  • Image Models
    • Seedream
      • Seedream4.5 - Text to Image
      • Seedream4.5 - Edit Image
      • Seedream5.0 Lite - Text to Image
      • Seedream5.0 Lite - Edit Image
    • Z-image
      • Z-Image
    • Google
      • Google - Gemini 2.5 Flash Image Preview
        POST
      • Google - Nano Banana Pro
        POST
      • Google - Nano Banana Pro Flash
        POST
      • Google - imagen4-fast
        POST
      • Google - imagen4-ultra
        POST
    • Flux-2
      • Flux-2 - Pro Text to Image
  • Video Models
    • Kling
      • Kling 3 Pro - Generate Video
  • Get Task Details
    GET
  1. Google

Google - Nano Banana Pro

POST
/api/v1/jobs/createTask
Google Nano Banana Pro image generation with optional reference images and controllable resolution.

Query Task Status#

After submitting a task, use the unified query endpoint to check progress and retrieve results:
Get Task Details
Learn how to query task status and retrieve generation results
For production use, we recommend using the callBackUrl parameter to receive automatic notifications when generation completes, while still keeping GET /api/v1/jobs/recordInfo polling as a fallback.

Related Resources#

Market Overview
Explore all available LiangXin image models
Task Status API
Query task state, failures, and final result URLs

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200200 - Request successful
application/json
Task submitted successfully. Use data.taskId to query task progress or correlate callback events.
Body

🔴500500 - Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/jobs/createTask' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "nano-banana-pro",
  "callBackUrl": "https://your-domain.com/api/callback",
  "input": {
    "prompt": "A cinematic product photo of a compact espresso machine on a marble counter",
    "image_input": [
      "https://example.com/reference-product.png"
    ],
    "aspect_ratio": "1:1",
    "resolution": "2K",
    "output_format": "png"
  }
}'
Response Response Example
200 - 200 - Request successful
The task was accepted and can be queried by taskId.
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "task_nano_banana_pro_1765166238716"
  }
}
Modified at 2026-05-01 14:34:17
Previous
Google - Gemini 2.5 Flash Image Preview
Next
Google - Nano Banana Pro Flash
Built with