Documentation Index Fetch the complete documentation index at: https://docs.globalaiopc.com/llms.txt
Use this file to discover all available pages before exploring further.
Query Image Generation Task
Use the task ID to query the status and results of image generation tasks.
Authentication
All requests require a Bearer token in the request header:
Authorization: Bearer {{key}}
Base URL
https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.
Path Parameters
Unique identifier for the image generation task, returned from the create task interface
Response Parameters
Unique identifier for the image generation task
Object type, always image.generation
Task status:
queued - Queued
processing - Processing
completed - Completed
failed - Failed
Generated image URL, returned when status is completed
Error message, returned when status is failed
Status Flow
queued
Task created and added to queue, waiting for processing
processing
Task is being processed, AI model is generating the image
completed
Task completed, image generated successfully, result available via image_url
Polling Recommendations
Polling Strategy:
Recommended polling interval: 2-5 seconds
Avoid overly frequent requests to prevent rate limiting
Stop polling when status is completed or failed
Important:
Generated image URLs typically expire after 24 hours
Please download and save images to your storage system promptly
URLs will be inaccessible after expiration
curl --request GET \
--url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/abc123def456 \
--header 'Authorization: Bearer {{key}}'
Processing Status
Completed Status
Failed Status
{
"id" : "abc123def456" ,
"object" : "image.generation" ,
"created" : 1761635478 ,
"model" : "nano-banana-2" ,
"status" : "processing" ,
"image_url" : null ,
"error" : null
}