> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openp.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Change(U/V/Reroll)

> POST /mj/submit/change —— 对已生成任务执行放大、变体、重抽

对一个已完成的 Midjourney 任务执行后续操作:Upscale(放大)、Variation(变体)、Reroll(重抽)。

## 请求

```bash theme={null}
curl https://openp.ai/mj/submit/change \
  -H "Authorization: Bearer $OPENPAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "taskId": "1737200000000000",
    "action": "UPSCALE",
    "index": 1
  }'
```

### 参数

| 字段           | 类型      |  必填 | 说明                                 |
| ------------ | ------- | :-: | ---------------------------------- |
| `taskId`     | string  |  ✅  | 上一步任务 ID                           |
| `action`     | string  |  ✅  | `UPSCALE` / `VARIATION` / `REROLL` |
| `index`      | integer |     | 1-4,U/V 对应第几格                      |
| `notifyHook` | string  |     | 回调 URL                             |
| `state`      | string  |     | 自定义透传                              |

### 其他 action 端点

| 端点                         | 用途        |
| -------------------------- | --------- |
| `POST /mj/submit/blend`    | 多图融合      |
| `POST /mj/submit/describe` | 反推 prompt |
| `POST /mj/submit/zoom`     | 缩放扩展      |
| `POST /mj/submit/pan`      | 横 / 纵向延展  |
| `POST /mj/submit/modal`    | 高级修改窗口操作  |

## 响应

同 [Imagine](/api-reference/midjourney/imagine) 的响应,返回新任务 ID。
