Skip to main content

Uncensored AI Developers API

The Uncensored AI Developers API gives developers programmatic access to media generation and AI model workflows.
Image generation and image studio (edit) are available today. Chat, video, audio, tools, and embeddings are on the roadmap — see the availability table below.

Base URL

https://api.uncensored.com/api
All documented endpoint paths are relative to this base URL. For example:
POST https://api.uncensored.com/api/v1/images/generations

Current availability

Product areaStatusNotes
Image generationLiveGenerate images from text prompts.
Image studio / editingLiveEdit existing images with a text instruction and reference image(s).
Chat completionsLiveOpenAI-compatible chat API.
Video generationLiveAsync video generation.
AudioComing soonAudio APIs planned.
ToolsComing soonUtility APIs such as prompt enhancement planned.
EmbeddingsComing soonEmbedding APIs planned.

Quick start

Generate an image with a live image model:
curl --request POST "https://api.uncensored.com/api/v1/images/generations" \
  --header "x-api-key: YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "model-dev",
    "prompt": "A cinematic portrait, natural light, high detail",
    "image_width": 1024,
    "image_height": 1024
  }'

Response format

Successful API responses return JSON. Async endpoints return a job_id and a status_url that can be polled until the job completes. Errors use a consistent envelope:
{
  "error": {
    "message": "Human-readable error description",
    "type": "invalid_request_error",
    "param": "model",
    "code": "model_not_found"
  }
}