xMode API
for Developers
Powerful AI photo processing in a single API call. Integrate identity-locked image generation into your apps, websites, and pipelines in minutes.
Built for creators on




Core Technology
The Identity Engine
Send one or multiple images in a single API call and get back amazing scenes with consistent identity, realism, and style — fully driven by your prompt.
- Send one or multiple reference images per request
- Generate unlimited scenes with consistent identity
- Full control over prompt, style, and composition
- Re-run, refine, or remix results anytime via API




API Capabilities
Everything you can build
A focused set of REST endpoints covering the full content pipeline — from request to delivery.
POST /v1/generationsGET /v1/generations/:idGET /v1/generationsGET /v1/balance/v1/end-users/*POST /v1/generationsIntegration
Up and running in minutes
Three steps from zero to your first generated image.
Get your token
Sign up and generate an API key from your dashboard.
Call the endpoint
POST to /v1/generations with your prompt and model.
Poll or webhook
Receive a 202, then poll pollUrl or get a signed webhook.
Advantages
Why xMode API
What makes xMode the right backbone for your AI image pipeline.
Uncensored & creator-friendly
Built for adult and creator-economy use cases. No restrictive content filters, no surprise bans, no hidden moderation rules.
Pay-as-you-go xTokens
Same token system as the web app. Buy xTokens when you need them, get volume discounts at scale, and never pay for unused capacity.
Async-by-design, high throughput
Async pipeline returns 202 + pollUrl in milliseconds. Long generations never hold your TCP connection; webhooks deliver final results.
Pricing
Pay as you generate
One-time top-ups in crypto. xTokens never expire. No subscription, no surprises.
- No expiry on purchased xTokens
- Pay in BTC, ETH, USDT or other crypto
- Best for trying out the API
- No expiry on purchased xTokens
- Pay in BTC, ETH, USDT or other crypto
- Best value for active workloads
- No expiry on purchased xTokens
- Pay in BTC, ETH, USDT or other crypto
- Deepest discount per token
Developer FAQ
Questions, answered
Everything you need to know before integrating.
All requests use a Bearer token in the Authorization header. Generate and rotate API keys from your dashboard profile.
Per-tenant rate limiting is applied. Contact us if you need higher throughput for production traffic — limits can be raised case by case.
Yes. The API is async-by-design: POST /v1/generations returns 202 + pollUrl. If you pass webhookUrl in the request, we deliver a signed callback when the job completes. Signature header: X-XMode-Signature: v1=<HMAC-SHA256(secret, "<ts>.<body>")> plus X-XMode-Timestamp (5-minute replay window).
xMode is uncensored and creator-friendly. We block only content that is illegal under applicable law (CSAM, non-consensual depictions of real people, etc.). See the Acceptable Use section in the docs for the full policy.
Standard accounts target high availability. Enterprise contracts include written SLAs with credits for downtime, dedicated support channels, and custom infrastructure options.
Uploads and generated assets are encrypted at rest and in transit. By default, generated images are stored on R2 with a default retention window — you can configure shorter retention if needed. Training data is never used to improve shared models.
Failed generations do not consume xTokens — the debit is refunded automatically. The API returns a structured error response with a retry hint. Persistent failures can be escalated to support.
Start building today
Get your API token, drop in a few lines of code, and ship identity-locked AI image generation this week.