Idempotency-Key header.
Image API guides
Idempotency
Safely retry create requests without creating duplicate jobs.
Every create endpoint requires an
Idempotency is scoped to the API key. The same API key, key value, endpoint, and request body return the same job.
Do not reuse the same key for unrelated work.
