等待图片生成任务完成
wait_for_generation_taskPoll an asynchronous image generation task until completion, then return the public image URL or failure reason, removing the need for manual polling.
Instructions
轮询等待异步生成任务完成(success / fail),返回公开图片链接或失败原因。适合在 generate_image_async 之后直接调用,避免手动多次轮询。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| pollIntervalMs | No | 轮询间隔毫秒,默认 5000 | |
| timeoutSeconds | No | 最长等待秒数,默认 300 |