- LLMs
- Stability
- Midjourney
- File
- Flux
- video
提交Blend任务
POST
https://api.ezlinkai.com/mj/submit/blend
任务提交
Request
Body Params application/json
botType
enum<string>
optional
Allowed values:
MID_JOURNEYNIJI_JOURNEY
Example:
MID_JOURNEY
base64Array
array[string]
required
Example:
["data:image/png;base64,xxx1","data:image/png;base64,xxx2"]
dimensions
enum<string>
optional
Allowed values:
PORTRAITSQUARELANDSCAPE
Example:
SQUARE
accountFilter
object (账号筛选条件)
optional
channelId
string
optional
instanceId
string
optional
modes
array[string]
optional
Allowed values:
RELAXFASTTURBO
remark
string
optional
remix
boolean
optional
remixAutoConsidered
boolean
optional
remix自动提交
视为 账号的remix为false
notifyHook
string
optional
state
string
optional
Example
{
"botType": "MID_JOURNEY",
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
],
"dimensions": "SQUARE",
"accountFilter": {
"channelId": "74",
"instanceId": "93",
"modes": [
"TURBO",
"FAST"
],
"remark": "sed",
"remix": true,
"remixAutoConsidered": false
},
"notifyHook": "ad labore",
"state": "dolor do elit"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ezlinkai.com/mj/submit/blend' \
--header 'Content-Type: application/json' \
--data-raw '{
"botType": "MID_JOURNEY",
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
],
"dimensions": "SQUARE",
"accountFilter": {
"channelId": "74",
"instanceId": "93",
"modes": [
"TURBO",
"FAST"
],
"remark": "sed",
"remix": true,
"remixAutoConsidered": false
},
"notifyHook": "ad labore",
"state": "dolor do elit"
}'
Responses
🟢200OK
application/json
Body
code
integer <int32>
required
Example:
1
description
string
required
Example:
提交成功
properties
object
optional
result
string
optional
Example:
1320098173412546
Example
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Modified at 2024-08-18 02:37:44