Skip to main content
GET
Get the status of an image generation task

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

imageUrl
string
必填

The source image URL passed to /v1/generateImage

Minimum string length: 1

响应

Successful response

status
enum<string>
必填

Current status of the generation task

可用选项:
pending,
completed,
error,
unknown
imageUrl
string
必填

URL of the image to check status for

timestamp
number

Timestamp when the task was created

progress
number

Progress of the generation task

result
string

Result of the generation task

generatedImageUrl
string

URL of the generated image

error
string

Error message of the generation task

taskId
string

Unique identifier for the generation task