Build with Nexora API
Generate images, videos and directed scenes programmatically. Pay-per-use pricing starting at $0.80 per generation. No commitments.
Pay Per Use
No subscription required. Only pay for what you generate. Top up your wallet anytime.
Secure Keys
SHA-256 hashed API keys with scope control, monthly quotas, and instant revocation.
Simple Billing
Pre-paid wallet system. Buy credits, track usage in real-time from your dashboard.
Authentication
All API requests must include your API key in the Authorization header as a Bearer token, or in the x-api-key header.
Authorization: Bearer nx_live_YOUR_API_KEY # or x-api-key: nx_live_YOUR_API_KEY
Your API key is shown only once when created. Store it securely. If lost, revoke it and create a new one from the API Dashboard.
Endpoints
/api/v1/image/generateGenerate an image from a text prompt.
Request Body
{
"prompt": "A cinematic product photo of premium headphones on marble",
"model": "nano-banana-2",
"size": "1024x1024"
}Response (200 OK)
{
"imageUrl": "https://fal.media/files/…/generated.webp",
"model": "nano-banana-2",
"enhancedPrompt": "…"
}Error Codes
Code Examples
cURL
curl -X POST https://getnexorai.com/api/v1/image/generate \
-H "Authorization: Bearer nx_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cinematic product photo of premium headphones on marble",
"model": "nano-banana-2",
"size": "1024x1024"
}'Python
import requests
response = requests.post(
"https://getnexorai.com/api/v1/image/generate",
headers={
"Authorization": "Bearer nx_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"prompt": "A cinematic product photo of premium headphones on marble",
"model": "nano-banana-2",
"size": "1024x1024"
},
)
data = response.json()
print(data["imageUrl"])JavaScript / Node.js
const response = await fetch("https://getnexorai.com/api/v1/image/generate", {
method: "POST",
headers: {
"Authorization": "Bearer nx_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "A cinematic product photo of premium headphones on marble",
"model": "nano-banana-2",
"size": "1024x1024"
}),
});
const data = await response.json();
console.log(data.imageUrl);API Pricing
Pay-per-use. Pre-pay wallet (minimum $10). All prices per generation call.
| Model | Type | Cost / Call |
|---|---|---|
nano-banana-2 | Image | $0.80 |
recraft-v3 | Image | $1.00 |
dall-e-3 | Image | $1.50 |
google-veo-3 | Video | $2.50 |
kling-3 | Video | $2.50 |
seedance-2 | Video | $2.50 |
sora-2 | Video | $2.50 |
dop-lite | Director | $2.50 |
dop-preview | Director | $3.00 |
dop-turbo | Director | $3.50 |
Ready to build?
Create your API key, top up your wallet, and start generating in minutes.