Skip to content

Why do two image generations with the same prompt look different?

The same prompt does not guarantee an identical generated image. The current AISwapLab image API does not expose a seed or deterministic replay control. Keep the chosen model, size and quality fixed when comparing results, and distinguish a network replay of one job from a newly approved generation that may produce a different image.

GENERATE AND INSPECT API IMAGESAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Label the user action; Control the supported inputs; Evaluate against the brief.
Workflow diagram: Label the user action → Control the supported inputs → Evaluate against the brief. Read the article for evidence and limits.

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

  1. 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.

  2. 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.

  3. 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.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation