Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.uncensored.com/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

All API requests require an API key.
x-api-key: YOUR_API_KEY
API keys can be created and managed through the Developer Dashboard.

Request headers

HeaderRequiredDescription
x-api-key: <key>YesAPI key authentication.
Content-Type: application/jsonYes, on JSON requestsStandard JSON request body.
Idempotency-Key: <string>NoSafely retry write requests without duplicate jobs or charges.

Response headers

Every response includes rate-limit metadata.
HeaderDescription
x-ratelimit-limit-requestsYour current requests-per-minute ceiling.
x-ratelimit-remaining-requestsRequests remaining in the current 60-second window.
x-ratelimit-reset-requestsISO 8601 UTC timestamp when the window resets.
retry-afterReturned on 429 responses; seconds to wait before retrying.
Idempotent-Replay: trueReturned when a response was served from the idempotency cache.

Idempotency

For POST, PUT, PATCH, and DELETE requests, pass an Idempotency-Key header to safely retry requests.
Idempotency-Key: image-request-2026-05-09-001
Idempotency behavior:
CaseResult
First request with a new keyProcessed normally and cached for 24 hours.
Retry with same key and same bodyOriginal response is replayed with Idempotent-Replay: true.
Retry with same key and different bodyReturns 422 idempotency_key_reuse.
Concurrent retry while original is processingReturns 409 idempotency_key_in_flight and Retry-After: 2.
Streaming responseExecutes normally but is not cached.
Server error or response body larger than 1 MiBNot cached; retries re-execute the request.
Keys must be 1-255 characters. Allowed characters are letters, digits, _, -, ., /, and :.