When the image generation task is completed, the system will send the result to your provided callback URL via POST request
callBackUrl parameter to set a callback URL. The system will automatically push the results to your specified address when the task is completed.callBackUrl in the following format:{
"code": 200,
"msg": "BFL image generated successfully.",
"data": {
"taskId": "task12345",
"info": {
"originImageUrl": "https://example.com/original.jpg",
"resultImageUrl": "https://example.com/result.jpg"
}
}
}code (integer, required)| Status Code | Description |
|---|---|
| 200 | Success - Image generation completed successfully |
| 400 | Failed - Your prompt was flagged by Website as violating content policies |
| 500 | Failed - Internal Error, Please try again later |
| 501 | Failed - Image generation task failed |
msg (string, required)data.taskId (string, required)data.info.originImageUrl (string)data.info.resultImageUrl (string)