Skip to content
中文

Provider Notes

Field Definitions

text
content
array
  // provider-specific example normalized for English documentation
Optional
action
enum<string>
Task type
Optional
Enum Values:
IMAGINE
UPSCALE
VARIATION
REROLL
DESCRIBE
BLEND
description
string
Task description
Optional
failReason
string
Failure reason
Optional
finishTime
integer
<int64>
End time
Optional
id
string
ID
Optional
imageUrl
string
Image URL
Optional
progress
string
Task progress
Optional
prompt
string
Prompt
Optional
promptEn
string
Prompt in English
Optional
properties
object
Optional
startTime
integer
<int64>
Start time
Optional
state
string
Custom Parameters
Optional
status
enum<string>
Task status
Optional
Enum Values:
NOT_START
SUBMITTED
IN_PROGRESS
FAILURE
SUCCESS
submitTime
integer
<int64>
Submission time
Optional
empty
boolean
Optional
first
boolean
Optional
last
boolean
Optional
number
integer
<int32>
Optional
numberOfElements
integer
<int32>
Optional
pageable
object
(Pageable)
Pageable
Optional
offset
integer
<int64>
Optional
pageNumber
integer
<int32>
Optional
pageSize
integer
<int32>
Optional
paged
boolean
Optional
sort
object
(Sort)
Sort
Optional
unpaged
boolean
Optional
size
integer
<int32>
Optional
sort
object
(Sort)
Sort
Optional
empty
boolean
Optional
sorted
boolean
Optional
unsorted
boolean
Optional
totalElements
integer
<int64>
Optional
totalPages
integer
<int32>
Optional

Example

json
{
    "content": [
        {
            "action": "IMAGINE",
            "description": "string",
            "failReason": "string",
            "finishTime": 0,
            "id": "string",
            "imageUrl": "string",
            "progress": "string",
            "prompt": "string",
            "promptEn": "string",
            "properties": {},
            "startTime": 0,
            "state": "string",
            "status": "NOT_START",
            "submitTime": 0
        }
    ],
    "empty": true,
    "first": true,
    "last": true,
    "number": 0,
    "numberOfElements": 0,
    "pageable": {
        "offset": 0,
        "pageNumber": 0,
        "pageSize": 0,
        "paged": true,
        "sort": {
            "empty": true,
            "sorted": true,
            "unsorted": true
        },
        "unpaged": true
    },
    "size": 0,
    "sort": {
        "empty": true,
        "sorted": true,
        "unsorted": true
    },
    "totalElements": 0,
    "totalPages": 0
}