Query image generation results - sd_get_result

更新时间:
复制 MD 格式

API description

This operation queries the results of an image generation task.

Prerequisites

The Intelligent Creation Workshop software development kit (SDK) has been integrated. For more information, see Old version SDK reference.

Authorization method

An AccessKey pair (AK/SK) is used for authorization. For more information about how to obtain an AccessKey pair, see API authorization.

Endpoint

https://openai.edu-aliyun.com

Request path

/scc/sd_get_result

Request parameters

Name

Type

Required

Description

Example

taskId

string

Yes

The ID of the image generation task.

01j2dn2545m****

Response parameters

Name

Type

Description

data

object

The response data.

Data parameters

Name

Type

Description

images

list

An array of image URLs. The image URLs expire. After you obtain the URLs, save the images to another location.

parameters

object

The parameters for image generation.

taskId

string

The ID of the image generation task.

status

string

The status of the task. `succeeded` means the task is successful. `failed` means the task failed. `running` means the task is in progress. `waiting` means the task is in the queue.

info

object

Information about the image.