15 lines
486 B
Go
15 lines
486 B
Go
package laosiji
|
|
|
|
type GenerateTextToImageResponse struct {
|
|
TaskID string `json:"task_id"` // 任务 ID
|
|
}
|
|
|
|
type QueryTextToImageResponse struct {
|
|
TaskID string `json:"task_id"` // 任务 ID
|
|
Bid string `json:"bid"`
|
|
Fee string `json:"fee"`
|
|
Type string `json:"type"`
|
|
Status string `json:"status"` // 状态 0待处理 -1处理失败 1处理中 2处理成功
|
|
OutData string `json:"out_data"` // 输出数据 不同的ai 处理的数据不一样 查看文档的描述
|
|
}
|