Midjourney
操作(放大、变体、重抽、缩放)
使用 CometAPI POST /mj/submit/action 对通过 imaging 生成的图像应用 Midjourney 操作——放大、变体、重抽、缩放等。
POST
Create a Midjourney follow-up action task
当 Midjourney 任务返回操作按钮后,使用此端点。它会启动一个新的下游任务,例如放大、变体、重抽、缩放或平移。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
你需要两个值
- 来自原始或最近一次 Midjourney 任务的
taskId - 来自 获取单个任务 返回的最新
buttons数组中的customId
常见操作
U1到U4:从网格中放大一张图像V1到V4:基于某个图像位置生成变体- 重抽:重新生成整个网格
- 缩放和平移:扩展现有构图
提交操作后
授权
Bearer token authentication. Use your CometAPI key.
请求体
application/json
Action id taken from the latest buttons array returned by the fetch endpoint.
Midjourney task id you want to continue from.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Whether to force remix mode when the current action supports it.
Whether to prefer the same channel account used by the current task.