路徑參數
從初始圖片生成請求中返回的任務 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 時出現)。