NSFW API - AI Undress NSFW API for Developers

Manage real API keys, white domains, and generation records for your account.

API Key

Buy API Credits

No API keys yet.

White Domain

file_url and mask_url must match the selected key's white domain. HTTPS is recommended.

API Records

Only show the images that are processed by the API.

Code Example

import requests

response = requests.post(
    "https://pornworks.top/api/v1/generations",
    headers={"X-Api-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
        "model": "Image Model 3.0",
        "prompt": "Your prompt",
        "file_url": "https://cdn.example.com/photo.jpg"
    },
)
response.raise_for_status()
print(response.json())

Request Parameters:

{
  "kind": "image or video",
  "model": "example: Image Model 3.0",
  "style": "optional style label",
  "prompt": "text prompt",
  "file_url": "optional HTTPS image URL inside the white domain",
  "mask_url": "optional HTTPS mask URL inside the white domain",
  "assetIds": ["optional IDs of images uploaded by the account"]
}

Response:

{
  "code": 1,
  "message": "success",
  "data": {
    "uid": "generation-job-id",
    "status": "queued",
    "estimated_time": 20,
    "balance": 1900
  }
}