Repeatable request identity is not repeatable creativity
Reusing an Idempotency-Key with the same body retrieves the existing task; it does not ask the model to regenerate it with matching randomness. A new identifier creates a new task and can consume credits. This distinction matters when a user presses Try again expecting either recovery or a new creative option.
What to do next
- 01
Label the user action
Use separate controls and explanations for recovering an existing task and approving another creative attempt. Preserve the original job and output rather than replacing its record invisibly.
- 02
Control the supported inputs
Record the exact model alias, prompt, size and medium quality. Change one factor at a time when testing a hypothesis, while recognizing that output variation can still occur.
- 03
Evaluate against the brief
Choose acceptance criteria before comparing images. Record each attempt and its cost instead of selecting a good result and pretending every identical prompt will reproduce it.
A concrete example
Illustrative distinction: retrying a timed-out POST with its saved identifier returns the first image job. Clicking a separately approved Generate another action uses a new identifier and may create a different composition at an additional charge.
Before you call it ready
- Recovery and creative retry have different labels.
- Supported settings are recorded exactly.
- Deterministic output is not promised.
When to stop or choose another method
If a workflow requires pixel-identical regeneration later, retain the approved original asset and checksum. Do not rely on resubmitting its prompt to recreate it.
