Get Image
This endpoint allows you to retrieve a paginated list of all your groups. By default, a maximum of ten groups are shown per page.
Required attributes
- Name
id
- Type
- integer
- Description
Id of task result
Request
curl -G https://api.ezlinkai.com/mj/image/14001934816969359 \
-H "Authorization: Bearer YOU_KEYS" \
Get Image By Ids
This endpoint allows you to create a new group conversation between you and a group of your EZLINK AI contacts.
Required attributes
- Name
ids
- Type
- array
- Description
Task ID array.
Response attributes
- Name
action
- Type
- string
- Description
Task type, Available values: IMAGINE, UPSCALE, VARIATION, ZOOM, PAN, DESCRIBE, BLEND, SHORTEN, SWAP_FACE
- Name
buttons
- Type
- array
- Description
Executable buttons
- Name
customId
- Type
- string
- Description
Action identifier
- Name
emoji
- Type
- string
- Description
Icon
- Name
label
- Type
- string
- Description
Text
- Name
style
- Type
- integer
- Description
Style: 2 (Primary), 3 (Green)
- Name
type
- Type
- integer
- Description
Type, for internal system use
- Name
description
- Type
- string
- Description
Task description
- Name
failReason
- Type
- string
- Description
Failure reason
- Name
finishTime
- Type
- integer
- Description
End time
- Name
id
- Type
- string
- Description
ID
- Name
imageUrl
- Type
- string
- Description
Image URL
- Name
progress
- Type
- string
- Description
Task progress
- Name
prompt
- Type
- string
- Description
Prompt
- Name
promptEn
- Type
- string
- Description
Prompt - English
- Name
properties
- Type
- object
- Description
Properties
- Name
startTime
- Type
- integer
- Description
Start execution time
- Name
state
- Type
- string
- Description
Custom parameters
- Name
status
- Type
- string
- Description
Task status, Available values: NOT_START, SUBMITTED, MODAL, IN_PROGRESS, FAILURE, SUCCESS, CANCEL
- Name
submitTime
- Type
- integer
- Description
Submit time
Request
{
"ids": []
}
Response
[
{
"action": "",
"buttons": [
{
"customId": "",
"emoji": "",
"label": "",
"style": 0,
"type": 0
}
],
"description": "",
"failReason": "",
"finishTime": 0,
"id": "",
"imageUrl": "",
"progress": "",
"prompt": "",
"promptEn": "",
"properties": {},
"startTime": 0,
"state": "",
"status": "",
"submitTime": 0
}
]
Get the Specified task By Id
This endpoint allows you to retrieve a group by providing the group id. Refer to the list at the top of this page to see which properties are included with group objects.
Request
curl https://api.ezlinkai.com/mj/task/14001934816969359/fetch \
-H "Authorization: Bearer YOUR_KEYS"
Get Seed
This endpoint allows you to perform an update on a group. Examples of updates are changing the name, description, and avatar or adding and removing contacts from the group.
Required attributes
- Name
id
- Type
- string
- Description
Id of task result.
Request
curl -X PUT https://api.protocol.chat/v1/groups/L7cGNIBKZiNJ6wqF \
-H "Authorization: Bearer YOUR_KEYS" \
Response
{
"code": 0,
"description": "",
"result": ""
}