Midjourney
Reroll
Regenerate 4 images from the source task’s prompt (🔄). The whole grid is re-rolled, no index needed
POST
index is needed.
| Item | Value |
|---|---|
| action | REROLL |
| Billing | midjourney@reroll[-speed] |
| Required | task_id, or task_id + custom_id |
| Optional | speed, metadata |
Parameters
| Field | Description |
|---|---|
task_id | Original task ID returned by this platform |
custom_id | Optional; button ID for the corresponding reroll action |
speed | relax / fast / turbo |
metadata | Optional custom metadata |
Auto matching
The service finds a reroll-related button from the source taskbuttons that contains ::reroll::, or matches reroll emoji.
Request example
Error responses
| HTTP | code | description |
|---|---|---|
400 | 4 | task_id is required for reroll |
400 | 4 | task ... is not in SUCCESS state |
404 | 3 | task ... not found |
502 | 9 | Service rejected |
Response
On success you receive a new localtask_id. Poll GET /v1/tasks/{task_id}; on SUCCESS you get a fresh 2x2 grid with the same prompt.
The source task’s prompt / version / niji / structured fields are inherited automatically (the seed may differ, so results differ). To price by speed, configure midjourney@reroll-fast / midjourney@reroll-turbo.
Notes
- You can only reroll an imagine grid or a grid produced by reroll itself; you cannot reroll a task that already went through upscale / variation / pan, etc.
- The parent task must be in SUCCESS state.