Base URL:
https://platform.runblob.ioGET /v1/kling/o3-photo/generations/
Retrieve the current status and result of an image generation task.The unique identifier returned from the generate request
Status Values
Status Values
pending- Task created, waiting in queueprocessing- Image is being generatedcompleted- Generation finished, image readyfailed- Generation failed (see webhook for error details)
Response Examples
- Pending/Processing
- Completed
- Failed
Keep polling this endpoint every 3-5 seconds until status changes to
completed or failed.Expected timeline:pending→processing: 10-30 secondsprocessing→completed: 1-3 minutes
Response Fields
Unique identifier for this generation
Current status:
pending, processing, completed, or failedThe original text prompt used for generation
Direct URL to the generated image (only available when status is
completed)Model identifier:
kling_o3_photoPolling Best Practices
Start Polling After Generation
Wait 5-10 seconds before your first status check to give the system time to queue the task
Use Appropriate Intervals
Poll every 3-5 seconds. Faster polling won’t speed up generation and may hit rate limits
Set a Timeout
Stop polling after 5 minutes. If still not completed, assume failure and check error logs
Use Webhooks for Production
For production apps, use webhooks instead of polling to reduce latency and API calls