Skip to main content

Private NSFW AI Image Generators: What Stays Local—and What Gets Uploaded

Choose a private NSFW image workflow by where it runs. Compare local tools, remote GPUs and browser services, plus uploads, deletion and metadata.

Published
Read
14 min read
Updated
Add SpicyAPI to your favorites on Google
A dark creative portfolio with a separate brass padlock and the edge of a satin-dress design illustration.

If your requirement is that prompts and reference images never leave your hardware, run an open-weight model locally with zero remote nodes. No hosted web generator, no "private gallery" toggle, and no rented cloud GPU satisfies a zero-upload boundary—inference runs on external machines in all three cases. If your practical requirement is keeping adult creative work out of public feeds, excluded from training sets, and purged on a strict retention clock without maintaining local GPU hardware, a hosted API with enforceable retention ceilings, per-request TTLs, and on-demand content destruction is the right architecture.

Define the exact threat model first by finishing one sentence: "I need to keep these prompts, references, and outputs private from ____."

Privacy requirementCorrect architectureWhere prompts & references travelRetention & deletion boundaryResidual exposure to manage
Zero external transmission of prompts, faces, or LoRAsLocal open-weight inference (e.g., local ComfyUI server on your GPU)Never leave your machine once weights are downloadedControlled entirely by your local disk and OSCloud-synced folders (iCloud/OneDrive), PNG workflow metadata, shared OS accounts
Open-weight control on heavier models than your laptop can runSelf-managed rented GPU instanceUploaded to the GPU host during the sessionEphemeral container disk vs. persistent/network volumes (must delete volumes manually)Host infrastructure access during execution; open/unauthenticated web UI ports
No public gallery, no training on user data, and short bounded retention without GPU opsHosted API with configurable retention ceilings & on-demand purge (e.g., SpicyAPI)Transmitted in plaintext to the platform and executing modelConfigurable down to 1h / 0s header + POST /api/v1/jobs/purge; platform caps enforced at storage lifecycleExecuting model sees plaintext prompt; DB backups roll over on a 35-day cycle; billing ledger kept as long as US tax and accounting law requires
Keeping drafts invisible to other platform users onlyPrivate workspace / non-public account historyRemote serversPrivate by default, no public feedSeparate from operator retention or training terms—read both carefully

"Uncensored" is a content-filtering statement, not a privacy architecture. A service can accept adult prompts while storing outputs indefinitely, exposing them in a public community feed, or routing them through third-party processors without disclosing retention windows. For tool and cost comparisons across these tiers, see the web, API, and local uncensored generator guide and hosted media API vs. self-hosted inference.

Three execution boundaries: where your image actually goes

A character portrait beside a personal computer, a server rack and a laptop portfolio.

Local hardware, rented GPU instances, and hosted APIs create three distinct data paths. A private gallery switch only hides outputs from other users.

1. Local on-device inference

Local inference loads model weights onto your own GPU (or Apple Silicon unified memory), runs the forward pass locally, and writes PNG/WebP outputs directly to a local folder. Once software and weights are downloaded, generation works with the network interface disconnected.

Two hidden traps turn a "local" install into a hybrid cloud workflow:

  • Client-server UI confusion: ComfyUI separates the browser client from the Python execution server (ComfyUI architecture docs). The interface looks identical whether it points at 127.0.0.1 or a remote host. Verify the server address and audit every custom node—API partner nodes, remote upscalers, or external prompt enhancers transmit inputs off-device while keeping the same local canvas.
  • Uninstalling does not erase outputs: Comfy Desktop's Windows and macOS docs note that removing the app does not delete stored model weights, input/, output/, logs, or settings directories. Clean those folders manually.

Hardware requirements depend on the checkpoint, quantization, resolution, and auxiliary stages (encoders, ControlNet, upscalers), not on whether the prompt is adult. Comfy Desktop itself takes ~4.85 GB before any model weights; verify VRAM requirements for the exact checkpoint before committing.

2. Rented remote GPU instances

Renting an on-demand GPU lets you run the exact same open-weight graph you would run locally, but your prompts, reference sheets, and custom LoRAs travel to remote infrastructure.

Stopping a pod is not deletion. For example, Runpod's storage architecture separates container disks (cleared on stop/termination), volume disks (persist across stop/restart until pod termination), and network volumes (persist independently even after the pod is deleted). Before ending a rented session:

  1. Require authentication on every exposed web UI or file browser—never rely on an unindexed URL.
  2. Download approved outputs locally, then wipe input/output folders inside any persistent or network volume before terminating compute.
  3. Treat "disk encryption at rest" as storage protection only; the running GPU still holds active inputs in memory during inference.
A dark computer beside a separate storage unit and a fictional character project folder.

Stopping a remote GPU stops billing for compute; persistent volumes and network disks keep project files until manually deleted.

3. Hosted APIs and browser workspaces

A hosted API removes GPU maintenance, weight storage, and scaling overhead. Instead of guessing what "private" means on a landing page, audit five concrete engineering facts:

  1. Public feed policy: Are outputs ever published to a gallery or showcase?
  2. Training policy: Does the platform train on prompts, uploads, or generated outputs?
  3. Retention ceilings & controls: Are expiry windows enforced by storage lifecycle rules, and can you shorten them per account or per request?
  4. Destruction granularity: Can you purge a completed task's prompt and media immediately, and what metadata remains afterward?
  5. Upstream processor boundary: Does the policy state plainly that executing model providers receive prompts in plaintext?

How SpicyAPI's privacy, retention, and deletion architecture actually works

SpicyAPI is a hosted platform. We state two architectural boundaries upfront in our Privacy Policy and Retention and Destruction docs:

  1. We do store prompts and outputs within defined ceilings, and we do not train on them or publish them in any public feed. Nor do we run automated content-classification scans over your generation prompts or outputs.
  2. The executing model receives your prompt and reference images in plaintext. No hosted image API offers end-to-end encrypted image inference; our retention controls govern how long SpicyAPI stores your data, not what happens inside an external executing model during generation.

Platform retention ceilings (you can only shorten, never extend)

Every retention number below is enforced by live server configuration and object-storage lifecycle rules—not manual cleanup promises. You can dial the first four clocks down, never above the platform ceiling.

Data categoryPlatform ceiling (default)User-configurable optionsWhat happens at expiry or purge
Generated media (API / Playground / Canvas)About 14 days (tasks/ prefix)1h, 6h, 24h, 7d, 14dDeleted from object storage; signed URLs stop issuing
Spicy Studio short-film media (Studio projects & exported MP4s only)About 60 days (films/ prefix)1d, 7d, 14d, 30d, 60dDeleted from object storage (API/Playground calls stay on 14-day cap)
Prompt text & task payload (tasks.input, tasks.output, callback_url)30 daysSame as results, 1h, 24h, 7d, 30dCleared in DB; task metadata row stays for billing reconciliation
Uploaded reference files (spicy:// URIs)1 day usable URI lifetime (expiresAt)Delete when the job ends, 1h, 24hURI invalid immediately at expiresAt; object removed by sweeper (up to 24h outer storage lifecycle backstop)
Saved Asset Library & Studio CharactersUntil you delete them (personas/ / /api/v1/assets)Manual delete per asset, team deletion, or account closureHard-deleted on action; accessed only via 20-minute signed URLs
Task logs & webhook delivery recordsAt least 60 days (monthly partitions: ~2–3 months)Not user-configurablePartition dropped
Plaintext IP & User-Agent in security/audit logs90 daysNot user-configurableReplaced with versioned HMAC pseudonyms (pseudonymization, not anonymization)
Audit logs2 yearsNot user-configurableIntegrity-verified hash chain pruned after 2 years
Billing ledger, top-ups, and issued invoice snapshotsAs long as US tax and accounting law requires (measured in years; task metadata row kept indefinitely)Not user-configurableAppend-only financial records retained for statutory accounting and billing disputes
Database backups35 daysNot user-configurableRotated out automatically; application erasure does not scrub backups instantaneously

"About 14 days" is deliberate. Object-storage lifecycle rules execute within 24 hours of expiry. An active worker sweeper enforces your shorter user clocks every minute (deleting storage objects before marking the task record cleared), while the storage lifecycle rule serves as an outer safety net.

Warning on shortening account clocks: in Console Data Protection, shortening Prompt text (for example, to 1h or 24h) or shortening Generated results while Prompt text is set to Same as results triggers a retroactive day-based cleanup pass that clears both prompt text and generated files on older finished tasks. Always download outputs you want to keep before lowering account retention clocks. Setting Uploaded files to Delete when the job ends removes an uploaded reference within ~1 minute after all referencing tasks hit a terminal state—which also means retrying that task will fail unless you re-upload.

Per-request tightening with X-Spicy-Retention

For sensitive jobs where you do not want to alter the whole account's clocks, send the X-Spicy-Retention header (integer seconds) on POST /api/v1/jobs/createTask. The effective window is strictly min(header, account setting, platform cap). Sending 0 is valid.

bash
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $SPICY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "X-Spicy-Retention: 3600" \
  -d '{
    "model": "alibaba/qwen-image-2.1/text-to-image",
    "input": {
      "prompt": "Editorial studio portrait of an adult woman in dark satin, low-key window light, 85mm lens",
      "resolution": "1k",
      "output_format": "png"
    }
  }'

Read the retention block in GET /api/v1/jobs/recordInfo to confirm the exact expiry timestamps and source (header, account, or platform). If you send 3600 while your account is already capped at 1800, source returns account.

On-demand destruction with POST /api/v1/jobs/purge

Once a task reaches a terminal state (succeeded, failed, canceled, or expired), you can destroy its prompt, payload, and generated media immediately without waiting for the timer—either via Destroy outputs in Console Logs or programmatically:

bash
curl -X POST https://api.spicyapi.ai/api/v1/jobs/purge \
  -H "Authorization: Bearer $SPICY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"taskId": "job_01k..."}'

POST /api/v1/jobs/purge is idempotent by taskId (repeating it returns 200 with the original purgedAt) and returns contentState: "purged", contentRemovedBy: "user", billingRetained: true, and mediaDeletionPending: true (background object deletion completes normally within ~1 minute).

  • What purge removes: generated media objects in storage, tasks.output, prompt and text parameters in tasks.input, and upstream response bodies.
  • What purge keeps: ledger debits/credits, task ID, model ID, terminal state, timestamps, and request_id (so financial reconciliation stays intact).
  • Legal hold override: tasks under an active dispute or forensic preservation hold stop expiring and reject purge until the hold is released.

Client-direct uploads and signed download discipline

When sending private reference images via the API instead of hosting them at a public URL, use SpicyAPI's direct upload flow (POST /api/v1/common/upload-url → PUT bytes directly to storage → POST /api/v1/files/{fileId}/commit, returning a short-lived spicy:// URI):

  • No caller-chosen filenames: object keys are generated server-side, preventing path probing or overwrites.
  • Strict size and MIME bounds: JPEG, PNG, WebP, and GIF up to 10 MiB; small inline Base64 data URIs up to 1 MiB decoded (max 2 MiB JSON body) are stored as 1-day account-bound uploads and replaced by spicy:// URIs in tasks.input rather than echoing raw Base64. Custom LoRA .safetensors files upload via application/octet-stream up to 2 GiB (2-hour upload ticket).
  • 20-minute signed download URLs: GET /api/v1/common/download-url issues short-lived signed URLs that cannot be revoked once minted. Never persist signed download URLs in your own database or share them publicly; download outputs to your own storage, then call purge if needed. See media upload retention and permanent storage and media retention and delivery for production storage patterns.

Two leaks that break even offline workflows: metadata and cloud sync

Generating locally protects the inference step; it does not protect what happens after the file hits disk.

Strip embedded prompts and workflow graphs before sharing

Local generators like ComfyUI embed complete JSON workflow graphs, prompts, seeds, and model filenames inside PNG textual chunks so you can drag an image back onto the canvas (ComfyUI first-generation guide). Standard OS file-info panels hide those chunks.

Matching character portraits with a separate stack of production notes behind the working copy.

Keep the working master with its generation recipe inside a private folder, and export a stripped delivery copy before sharing.

Use ExifTool to inspect and strip PNG metadata into a separate sharing file while keeping color-space tags intact:

bash
# 1. Audit all embedded chunks, including non-standard AI workflow tags
exiftool -a -G1 -s -u working.png

# 2. Write a clean copy without modifying the working master
exiftool -all= -tagsFromFile @ -ColorSpaceTags -o share.png working.png

# 3. Verify private prompt and workflow tags are gone
exiftool -a -G1 -s -u share.png

Check share.png visually afterward (some custom ICC profiles also contain descriptive strings; convert directly to sRGB if needed). Never assume a chat app or image host strips metadata for you.

Keep local output directories outside automatic cloud sync

Saving locally generated portraits into macOS Photos (with iCloud Photos enabled, where deleted items also remain in Recently Deleted for 30 days), Desktop/Documents sync, or a synced cloud drive silently uploads files you generated offline. Point local output folders to an unsynced local directory under an OS-encrypted volume (such as FileVault or BitLocker) on a dedicated personal OS user account—not a work-managed laptop with corporate endpoint backup.

Privacy failure modes and concrete fixes

Leak vector or symptomRoot causeImmediate fix
Local workflow still uploads images to external serversComfyUI graph contains an active API/partner node or remote prompt enhancerDisconnect network and run one test generation; remove remote nodes for air-gapped sessions
Shared PNG exposes your private prompt and LoRA filenamesGenerator saved workflow JSON into PNG tEXt/iTXt chunksExport a separate delivery copy with exiftool -all= -tagsFromFile @ -ColorSpaceTags -o share.png working.png and re-audit
Files reappear after deleting a rented GPU podOutputs were written to a persistent or independent network volumeWipe project folders inside mounted volumes and delete unattached network volumes after compute termination
Shortening SpicyAPI Prompt retention deleted recent outputsDay-based cleanup pass clears prompt text and outputs together on older finished tasksAlways archive needed outputs before shortening account retention; use X-Spicy-Retention for one-off sensitive jobs
Retrying a failed job returns missing-input errorAccount upload retention set to "Delete when the job ends"Re-upload the reference via POST /api/v1/common/upload-url before retrying, or keep uploads on the 1-day clock and call POST /api/v1/jobs/purge after success
Support ticket preserves private images after task purgeSensitive reference files were attached directly to a support emailShare only the taskId and request_id when troubleshooting; never attach private reference sheets unless necessary

Choosing your setup in one pass

  • Zero-upload requirement (strictly offline): Run local ComfyUI with local weights only, save outside cloud-synced folders, verify with a disconnected test run, and strip PNG metadata before sharing any export.
  • Need heavy open-weight pipelines without buying hardware: Rent a GPU with authenticated access, keep track of container vs. network volume lifetimes, and wipe persistent volumes before terminating.
  • Need fast hosted API generation with strict, verifiable cleanup: Use SpicyAPI's direct upload flow (spicy:// URIs), set X-Spicy-Retention per request (or lower the separate clocks in Data Protection after archiving), download outputs immediately via short-lived signed URLs, and call POST /api/v1/jobs/purge as soon as your pipeline confirms delivery.

About this article

Who writes
Written by SpicyAPI Engineering and published by SpicyAPI.
How we test
Our model reviews test each model through the public SpicyAPI API with default settings, the way a customer would call it. Methodology v3.3Model reviews
Corrections
Spotted an error? Tell us on the contact page

Also in 日本語 · 한국어 · Deutsch · Français · Español · Português (Brasil) · Русский · Italiano · Polski