LinoRoute

执行动作(放大/变体/平移/重绘等)

接口: POST https://linoroute.com/mj/submit/action

官方文档:https://docs.midjourney.com/hc/en-us/articles/32804058614669-Upscalers

对已有任务执行 Upscale(放大)、Variation(变体)、Reroll(重绘)、Pan(平移)等操作。

本接口在模型广场和消费记录中,按动作类型显示为以下名称之一:mj_upscale、mj_variation、mj_high_variation、mj_low_variation、mj_reroll、mj_zoom、mj_custom_zoom、mj_pan、mj_inpaint。

模型广场里另有 mj_fast_*(如 mj_fast_variation)、mj_relax_* 名称,目前调用一律按上面的名称计费,不会记成 mj_fast_* / mj_relax_*,价格以上面的名称为准。

请求体 (application/json)

  • customId (string, 必填): 操作标识,取自任务详情 buttons[].customId,决定做放大/变体/平移/重绘等哪种操作,不可自行拼造
  • taskId (string, 必填): 源任务 ID(要操作哪张图的那个任务)
  • notifyHook (string): 回调地址, 为空时使用全局notifyHook
  • state (string): 自定义参数

请求示例

{
  "botType": "MID_JOURNEY",
  "customId": "MJ::JOB::upsample::1::xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "taskId": "1743326750223591"
}