API reference / Retry a failed image

Retry a failed image

Create a new attempt from the stored source of a failed job. Returns a new job ID. The old failed reservation was returned; this attempt reserves credits again.

POST/api/jobs/{id}/retry
Authenticate with X-API-Key. Keep your key on your server; never embed it in a public website.

Response

202 · Success
{
  "id": "image_id",
  "name": "photo.jpg",
  "status": "queued",
  "quality": "fast",
  "credits": 1,
  "created": 1789052400,
  "expires": 1789056000,
  "original_url": "/api/files/image_id/original.png"
}

Errors use a structured error.code and error.message. See error handling →

Clearcut support