- 系统介绍
- 系统优势
- 补充说明
- 辅助功能
- 按量计费
- 按次计费
- OpenMeta
- Flux
- GPT 4o Image Generation
- Midjourney Proxy
- 即梦AI2.0生图
- Midjourney Chat
- Recraft Proxy
- SD Proxy
- SD Chat
- 可灵AI
- 谷歌Veo3 视频生成
- Runway-视频生成
- CogVideoX Proxy
- Runway Chat
- Luma Proxy
- Luma Chat
- Pika1.5 Proxy
- Pika1.5 Chat
- Domo Proxy
- 海绵音乐(音乐生成)
- Suno Proxy
- Suno Chat
- Udio Proxy
- Udio Chat
Imagine
开发环境
开发环境
POST
请求参数
Body 参数application/json
imagineDTO
botType
string
bot类型
prompt
string
提示词
base64Array
array[string]
垫图
notifyHook
string
回调地址
state
string
自定义参数
示例
{
"botType": "MID_JOURNEY",
"prompt": "Cat",
"base64Array": [],
"accountFilter": {
"channelId": "",
"instanceId": "",
"modes": [],
"remark": "",
"remix": true,
"remixAutoConsidered": true
},
"notifyHook": "",
"state": ""
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/mj/submit/imagine' \
--header 'Content-Type: application/json' \
--data-raw '{
"botType": "MID_JOURNEY",
"prompt": "Cat",
"base64Array": [],
"accountFilter": {
"channelId": "",
"instanceId": "",
"modes": [],
"remark": "",
"remix": true,
"remixAutoConsidered": true
},
"notifyHook": "",
"state": ""
}'
返回响应
🟢200成功
application/json
Body
提交结果
code
integer
状态码
description
string
描述
properties
object
扩展字段
result
integer
任务ID
示例
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
🟢201成功
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
修改于 2024-12-04 07:41:58