路径参数
初始图像生成请求返回的任务 ID。
如果创建响应中包含
poll_url,建议优先调用该特定 URL 进行轮询。某些图像任务可能会在 /v1/tasks/{id} 下显示 poll_url,而不是图像特定的状态路径。If the task no longer exists or can no longer be resolved through the public async-task contract, LemonData returns async_task_not_found with the message Task not found or no longer available.响应
创建时的 Unix 时间戳。
任务标识符。
任务状态:
pending、processing、completed 或 failed。生成的图像数组(当
status 为 completed 时填充)。每个对象包含:url(string): 生成图像的 URLrevised_prompt(string): 用于生成的提示词
错误信息(仅在
status 为 failed 时存在)。