Documentation Index
Fetch the complete documentation index at: https://docs.tokenlab.sh/llms.txt
Use this file to discover all available pages before exploring further.
경로 파라미터
초기 이미지 생성 요청에서 반환된 작업 ID입니다.
생성 응답에
poll_url이 포함된 경우, 폴링을 위해 해당 URL을 호출하는 것을 권장합니다. 일부 이미지 작업은 이미지 전용 상태 경로 대신 /v1/tasks/{id} 아래에 poll_url을 표시할 수 있습니다.ldtask_... 같은 공개 이미지 작업 ID는 /v1/images/{id}에서도 폴링할 수 있습니다. 이 호환 alias는 /v1/images/generations/{id}와 동일한 인증, 소유권 검사, 과금 헤더, 종료 스냅샷, 응답 형태를 사용합니다.작업이 더 이상 존재하지 않거나 공개 async-task 계약을 통해 더 이상 해결할 수 없는 경우, TokenLab는 async_task_not_found와 함께 Task not found or no longer available. 메시지를 반환합니다.응답
생성 시점의 Unix 타임스탬프입니다.
작업 식별자입니다.
작업 상태:
pending, processing, completed 또는 failed.생성된 이미지 배열입니다 (
status가 completed인 경우 채워집니다).각 객체는 다음을 포함합니다:url(string): 생성된 이미지의 URLrevised_prompt(string): 생성에 사용된 프롬프트
에러 메시지 (
status가 failed인 경우에만 존재합니다).