Capabilities
Video and image generation
Generate video (/v1/videos/generations) and images (/v1/images/generations) from text prompts. Generation runs asynchronously: you get a job id back in milliseconds, poll for completion, then download the file. The exact dollar cost is known and charged before the job starts — no surprises on the invoice.
1. How a job works
A 5-second clip takes 1–3 minutes upstream (premium models can take longer), far past any sane HTTP timeout — so nothing holds a connection open. Three requests, start to finish:
- Submit —
POST /v1/videos/generationsvalidates your parameters, quotes the exact cost, charges your balance, and returns202with a job id. - Poll —
GET /v1/videos/generations/:idreportsqueued → running → succeeded(orfailed, which refunds you automatically). Poll every 5–10 seconds. - Download —
GET /v1/videos/generations/:id/contentstreams the finished MP4 (or image file) with correctContent-Type. Re-download as often as you like for 30 days at no extra charge.
# 1. Submit (returns immediately)
curl https://api.nicrron.ai/v1/videos/generations \
-H "Authorization: Bearer $NICRRON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bytedance/seedance-2.0",
"prompt": "A cozy jazz cafe at night, rain on the window",
"duration": 4,
"resolution": "720p"
}'
# -> 202 { "id": "vid-2f56b1de-...", "object": "video.generation",
# "status": "queued", "cost": 1.2852, "billing_units": 4 }
# 2. Poll until status is "succeeded"
curl https://api.nicrron.ai/v1/videos/generations/vid-2f56b1de-... \
-H "Authorization: Bearer $NICRRON_API_KEY"
# -> { "status": "succeeded", "content_url": "/v1/videos/generations/vid-.../content",
# "file_size": 2003164, "completed_at": "2026-08-30T22:13:39.000Z" }
# 3. Download the video
curl -o cafe.mp4 \
https://api.nicrron.ai/v1/videos/generations/vid-2f56b1de-.../content \
-H "Authorization: Bearer $NICRRON_API_KEY"const BASE = "https://api.nicrron.ai";
const headers = {
Authorization: `Bearer ${process.env.NICRRON_API_KEY}`,
"Content-Type": "application/json",
};
async function generateVideo(body: object): Promise<ArrayBuffer> {
const submit = await fetch(`${BASE}/v1/videos/generations`, {
method: "POST", headers, body: JSON.stringify(body),
});
if (submit.status !== 202) throw new Error(await submit.text());
const { id, cost } = await submit.json();
console.log(`Job ${id} queued — charged $${cost}`);
for (;;) {
await new Promise((r) => setTimeout(r, 5000));
const poll = await fetch(`${BASE}/v1/videos/generations/${id}`, { headers });
const job = await poll.json();
if (job.status === "succeeded") break;
if (job.status === "failed") throw new Error(job.error); // already refunded
}
const file = await fetch(`${BASE}/v1/videos/generations/${id}/content`, { headers });
return file.arrayBuffer();
}
const mp4 = await generateVideo({
model: "google/gemini-omni-1.1-flash",
prompt: "Golden retriever surfing a wave at sunset",
duration: 8,
});2. Video models and their parameters
Every model validates its own constraints at submit time — an unsupported duration or resolution returns a 400 listing what the model accepts, before anything is charged. Omitting model defaults to bytedance/seedance-1.0-pro.
| Model | Price | Duration (s) | Resolution | Aspect Ratios | Audio |
|---|---|---|---|---|---|
| google/gemini-omni-1.2-flash | $0.0819/s (720p), $0.1229/s (1080p) | 3–15 | 720p, 1080p | 16:9, 9:16 | Native, always on (included in price) |
| google/gemini-omni-1.1-flash | $0.10/s (720p), $0.15/s (1080p) | 3–10 | 720p, 1080p | 16:9, 9:16 | Native, always on (included in price) |
| kling/v3-pro | $0.112/s ($0.168/s with audio) | 3–15 | — (set by the model) | 16:9, 9:16, 1:1 | Optional (generate_audio: true) |
| kling/o3-pro | $0.112/s ($0.14/s with audio) | 3–15 | — (set by the model) | 16:9, 9:16, 1:1 | Optional (generate_audio: true) |
| kling/o3-standard | $0.084/s ($0.112/s with audio) | 3–15 | — (set by the model) | 16:9, 9:16, 1:1 | Optional (generate_audio: true) |
| kling/v3-4k | $0.42/s | 3–15 | 4K (fixed) | 16:9, 9:16, 1:1 | Native, on by default (included in price) |
| pixverse/v6-max | $0.099/s 720p, $0.198/s 1080p (+audio: $0.135, $0.252) | 2–15 | 720p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Optional (generate_audio: true) |
| pixverse/v6 | $0.045/s 720p, $0.09/s 1080p (+audio: $0.06, $0.115) | 2–15 | 720p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Optional (generate_audio: true) |
| minimax/h3-max | $0.05/s 480p, $0.16/s 1080p, billed for one extra second | 2–15 | 480p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Native, always on (included in price) |
| minimax/h3-max-turbo | $0.025/s 480p, $0.08/s 1080p, billed for one extra second | 2–15 | 480p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Native, always on (included in price) |
| black-forest-labs/flux-3-max-video | $0.17/s (720p), $0.29/s (1080p) | 5–20 | 720p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Native, on by default (included in price) |
| alibaba/wan-3.0 | $0.05/s (480p), $0.10/s (720p), $0.20/s (1080p) | 2–30 | 480p, 720p, 1080p | 16:9, 4:3, 1:1, 3:4, 9:16 | Native, on by default (included in price) |
| xai/grok-imagine-video-1.5 | $0.08/s (480p), $0.14/s (720p), $0.25/s (1080p) | 2–15 | 480p, 720p, 1080p | 16:9, 4:3, 1:1, 3:4, 9:16 | — |
| bytedance/seedance-2.5-flash | $0.136/s (480p), $0.306/s (720p) | 4–30 | 480p, 720p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Native, on by default (included in price) |
| bytedance/seedance-2.5 | $0.22/s (480p), $0.48/s (720p) | 4–30 | 480p, 720p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Native, on by default (included in price) |
| bytedance/seedance-2.0 | $0.31/s (720p), $0.69/s (1080p) | 4–15 | 720p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Native, on by default (included in price) |
| bytedance/seedance-1.0-pro | $2.5/1M video tokens (~$0.62 per 1080p 5s) | 2–12 | 480p, 720p, 1080p | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | — |
| google/veo-3.1 Retires 2026-11-17 | $0.20/s ($0.40/s with audio) | 4, 6, or 8 | 720p, 1080p | 16:9, 9:16 | Optional (generate_audio: true) |
| google/veo-3.1-fast Retires 2026-11-17 | $0.10/s ($0.15/s with audio) | 4, 6, or 8 | 720p, 1080p | 16:9, 9:16 | Optional (generate_audio: true) |
| google/veo-3.1-lite Retires 2026-11-17 | $0.03/s 720p, $0.05/s 1080p (+audio: $0.05, $0.08) | 4, 6, or 8 | 720p, 1080p | 16:9, 9:16 | Optional (generate_audio: true) |
| kling/v2.5-turbo-pro | $0.07/s | 5 or 10 | 1080p (fixed) | 16:9, 9:16, 1:1 | — |
| minimax/hailuo-02-pro | $0.48/video | 6 (fixed) | 1080p (fixed) | — (prompt only) | — |
- Cheapest test run:
kling/v2.5-turbo-proat 5s ≈ $0.37 — great for iterating on prompts before a premium render. - Veo 3.1 retires on 2026-11-17. fal stops serving it that day; from then a Veo request returns a
400naming its successor,google/gemini-omni-1.1-flash, which Google lists as the replacement. Omni always includes audio, takes 3–10 second clips and has noseed. - Newest, longest clips:
bytedance/seedance-2.5— up to 30 seconds with native audio, at 480p or 720p. - Best quality with sound:
bytedance/seedance-2.0— native synchronized audio (ambient sound, music, effects) at no extra cost. - MiniMax H3 Max: clips can run up to about 0.7 seconds past the length you ask for, so the price includes one extra second.
seedis supported by Seedance 1.0, Veo, Wan 3.0, PixVerse V6, MiniMax H3 Max and FLUX 3 Max;camera_fixedby Seedance 1.0 only. Passing a parameter a model doesn't support returns a 400 rather than being silently dropped.- Prices shown are list rates; the exact all-in charge for your parameters is returned as
costin the 202 response — that number is authoritative.
3. Image generation
Images use the same job API at /v1/images/generations and usually finish in seconds. Flat per-image pricing; prompt and optional seed are the only parameters (FLUX 3, GPT Image 2.5, Seedream 5 and Recraft don't take a seed). Omitting model defaults to google/nano-banana.
| Model | Underlying Model | Price |
|---|---|---|
| google/nano-banana | Gemini 2.5 Flash Image | $0.039/image |
| google/nano-banana-pro | Gemini 3 Pro Image | $0.15/image |
| google/nano-banana-2 | Gemini 3.1 Flash Image | $0.08/image |
| google/nano-banana-2.1 | Nano Banana 2.1 (1K, minimal thinking) | $0.05/image |
| google/nano-banana-2-lite | Gemini 3.1 Flash Lite Image (1K) | $0.05/image |
| black-forest-labs/flux-3 | FLUX 3 (1 megapixel) | $0.048/image |
| qwen/qwen-image-3 | Qwen Image 3 (1024×1024) | $0.04/image |
| ideogram/ideogram-4.6 | Ideogram 4.6 (medium quality, 1024×1024) | $0.06/image |
| ideogram/ideogram-4.5 | Ideogram 4.5 (medium quality, 1024×1024) | $0.06/image |
| openai/gpt-image-2.5 | GPT Image 2.5 Flare (high quality, 1024×1024) | $0.06/image |
| bytedance/seedream-5.5 | Seedream 5.5 (2K) | $0.0405/image |
| kling/image-v4 | Kling Image 4.0 (2K; 21:9, 16:9, 3:2, 4:3, 1:1, 3:4, 2:3, 9:16) | $0.063/image |
| bytedance/seedream-5-flash | Seedream 5 Flash (2K) | $0.027/image |
| bytedance/seedream-5-lite | Seedream 5 Lite (2K) | $0.035/image |
| recraft/recraft-v4.1 | Recraft V4.1 (1024×1024) | $0.035/image |
curl https://api.nicrron.ai/v1/images/generations \
-H "Authorization: Bearer $NICRRON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana",
"prompt": "Isometric pixel-art coffee shop, warm palette"
}'
# -> 202 { "id": "vid-...", "object": "image.generation", "cost": 0.041, ... }
# Poll GET /v1/images/generations/:id, then download :id/content4. Billing: charged upfront, refunded on failure
- Media pricing is deterministic from your parameters, so the full cost is computed and charged at submit. If your balance can't cover it, the submit returns
402with the exact price and nothing is charged. - If generation fails for any reason — upstream error, content rejection, timeout — the job flips to
failedand the full amount is automatically refunded to your balance. Exactly-once, ledger-backed. - Polling and downloading are free, and every generation appears in your dashboard logs with its cost.
5. Kept for 30 days
Finished videos and images are stored on Nicrron infrastructure for 30 days and can be re-downloaded any number of times without re-paying. After 30 days the file and its prompt are permanently deleted, the job status becomes expired, and the content route returns 410. Media generation is therefore an exception to the rule that chat prompts are never stored — see the privacy documentation for the exact retention terms.
6. Statuses and errors
| Code / Status | Meaning |
|---|---|
| queued → running → succeeded | The happy path. succeeded adds content_url and file_size. |
| failed | Generation failed upstream; error explains why and the charge was refunded. |
| expired | More than 30 days old; the output was deleted. |
| 400 | Invalid parameters — the message lists what the model supports. Nothing charged. |
| 402 | Insufficient credits for the quoted cost. Nothing charged. |
| 404 | Unknown model, or a job id that isn't yours. |
| 409 | Content requested before the job finished — keep polling. |
| 410 | Content requested after the 30-day retention window. |