
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
提交Blend任务
POST
/mj/submit/blend
任务提交
Last modified:2024-11-08 16:44:32
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
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
notifyHook
string
optional
state
string
optional
Example
{
"botType": "MID_JOURNEY",
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
]
}
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 -g --request POST '/mj/submit/blend' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"botType": "MID_JOURNEY",
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
]
}'
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-11-08 16:44:32