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 - Gemini 2.5 Flash Image Preview

POST
/api/v1/jobs/createTask
Gemini 2.5 Flash Image Preview generation and image editing through LiangXin unified tasks.

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": "gemini-2.5-flash-image-preview",
  "callBackUrl": "https://your-domain.com/api/callback",
  "input": {
    "prompt": "Turn this room into a warm Japanese minimalist studio",
    "reference_images": [
      "https://example.com/input-room.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_gemini_image_1765166238716"
  }
}
Modified at 2026-05-01 14:34:16
Previous
Z-Image
Next
Google - Nano Banana Pro
Built with