Midjourney
Variation
Subtle variation (varySubtle, equivalent to V1–V4) on one tile of an Imagine grid
POST
| Item | Value |
|---|---|
| action | VARIATION |
| Billing | midjourney@variation[-speed] |
| Required | task_id + index, or task_id + custom_id |
| Optional | speed, metadata |
Parameters
| Field | Description |
|---|---|
task_id | Original task ID returned by this platform (must be SUCCESS) |
index | 1–4, maps to V1–V4; one of index / custom_id |
custom_id | Button ID for the corresponding action; when set, index auto-matching is skipped |
speed | relax / fast / turbo |
metadata | Custom metadata |
Request example
Response
Submission returns a new localtask_id. Poll GET /v1/tasks/{task_id}; on SUCCESS the result includes a new grid grid_image_url plus four image_urls:
version / niji from the source task are inherited automatically (affects billing fallback). To price by speed, configure midjourney@variation-fast / midjourney@variation-turbo.
Notes
- The parent task must be in SUCCESS state, otherwise it returns
400(task is not in SUCCESS state). indexmust be1–4;custom_idandindexare mutually exclusive.- Defaults to
varySubtle(subtle variation); for a strong variation use High Variation; Low Variation is the same action with a different billing key and identical behavior.