Language: Русский · English · العربية · 简体中文 · ko · ja · Deutsch · Français · Español · Italiano · Svenska · עברית · ייִדיש · हिन्दी · Nederlands · Português · Română · Polski · Čeština · Ελληνικά · Slovenčina · Magyar · Bahasa Indonesia · Bahasa Melayu · Dansk · Suomi · Norsk · Hrvatski · sr
Documentation for developers and AI agents. This page is available without authentication and is intended, among other things, to be read automatically.
Base URL: https://neuralspace.pro. You pay with account balance tokens, no subscription required. The text and chat endpoints are compatible with the Anthropic and OpenAI SDKs — just change base_url and the key.
Create an API key in your account: https://neuralspace.pro/api-keys. The key looks like nsk-... and is shown only once. Pass it in the header:
x-api-key: nsk-your_key
The Authorization: Bearer nsk-... header is also accepted (for OpenAI-compatible clients).
stream: true) is supported on /v1/messages and /v1/chat/completions: the response arrives via Server-Sent Events in the format of the corresponding SDK (Anthropic / OpenAI). With stream: false you get a regular JSON response.Everything this API can do (image/video/music generation, chatting with LLMs, speech synthesis and recognition, balance, prices) is also available as an MCP server (Model Context Protocol) — you can connect it to Claude Code, Claude Desktop, Cursor and any other MCP client, and your AI agent will generate content itself on behalf of your account.
Endpoint (Streamable HTTP, sessionless): https://neuralspace.pro/mcp. Authorization — the same nsk-... key in the Authorization: Bearer or x-api-key header.
# Claude Code
claude mcp add --transport http neuralspace https://neuralspace.pro/mcp \
--header "Authorization: Bearer nsk-your_key"
// Cursor / Claude Desktop and other streamable-http clients
{
"mcpServers": {
"neuralspace": {
"type": "http",
"url": "https://neuralspace.pro/mcp",
"headers": { "Authorization": "Bearer nsk-your_key" }
}
}
}
// Clients that only speak stdio — via the mcp-remote bridge
{
"mcpServers": {
"neuralspace": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://neuralspace.pro/mcp",
"--header", "Authorization: Bearer nsk-your_key"]
}
}
}
MCP server tools: list_models (models and live prices), get_balance (balance), chat (LLM), generate_image, generate_video + check_video, generate_music + check_music, text_to_speech, transcribe_audio. Billing and refunds work exactly as for direct API calls; successful generations appear as cards in your account. For synchronous image generation (up to ~2 minutes) increase the MCP tool timeout in your client if it is lower.
GET /v1/balance — the current token balance of the key owner: { "balance": N, "currency": "tokens" }. GET /v1/models — a machine-readable list of all models with live prices (the JSON version of this page). Both require a key.
Compatible with the Anthropic Messages API. Models: claude-haiku-4-5, claude-haiku-5-5, claude-sonnet-5, claude-sonnet-5-5, claude-opus-5, claude-opus-5-5, claude-fable-5, claude-fable-5-1, claude-fable-5-2.
Body fields: model, messages (array of {role, content}, role — user/assistant), max_tokens (1—32000; Claude Fable 5.2: up to 128000), optional system.
curl https://neuralspace.pro/v1/messages \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{
"model": "claude-opus-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'
Via the Anthropic SDK (Python): Anthropic(base_url="https://neuralspace.pro", api_key="nsk-...").
Compatible with the OpenAI Chat Completions API. Models: gpt-5-6, gpt-5-6-balanced, gpt-5-6-fast, gpt-6-astra, gpt-6-sol, gpt-6-luna, gpt-6-1-sol, gpt-6-2-sol, gpt-6-2-sol-pro, gpt-6-2-astra, gpt-6-2-astra-pro, gpt-6-1-sol-pro, gpt-6-1-terra, gpt-6-1-terra-pro, gpt-5-mini, gpt-5-4-mini, grok-4-3, grok-4-5, grok-4-6, grok-4-7, gemini-3-8-flash, gemini-4-argon, gemini-4-carbon, gemini-4-hydrogen, gemini-4-neon, deepseek-v4.1-flash, deepseek-v4.1-flash-1017, deepseek-v4-pro, glm-5.3-flash, glm-5.3, glm-5.3-flashx-legal, kimi-k2.6, kimi-k3, kimi-k3.1-pro.
Body fields: model, messages (role — system/user/assistant), max_tokens or max_completion_tokens, optional reasoning_effort (for GPT-5.6, GPT-6 Astra, and Grok 4.5).
curl https://neuralspace.pro/v1/chat/completions \
-H "Authorization: Bearer nsk-your_key" \
-H "content-type: application/json" \
-d '{
"model": "gpt-5-6-balanced",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Via the OpenAI SDK: OpenAI(base_url="https://neuralspace.pro/v1", api_key="nsk-...").
Grok Voice 3 is available over WebSocket for native speech-to-speech. Sessions are limited to 120 minutes. Billing uses the actual duration of input and output audio; the exact amount is in the price table above.
const ws = new WebSocket(
"wss://neuralspace.pro/v1/realtime?model=grok-voice-3.0&lang=da",
{ headers: { Authorization: "Bearer nsk-your_key" } }
);
Synchronous: the response contains a ready URL. Tokens are charged only on success. Models: nano-banana, nano-banana-pro, nano-banana-2, nano-banana-2-lite, nano-banana-2-1, flux-2-pro, gpt-image-15, gpt-image-2, gpt-image-2-pro, gpt-image-25, gpt-image-26, seedream-45, seedream-5-lite, seedream-5-flash, seedream-5-pro, grok-image, grok-imagine-image-2, minimax-h3-image-edit, z-image, ideogram, midjourney.
Body fields: model, prompt (up to 5000 characters), optional aspect_ratio (gpt-image-2-pro: 1:1/3:2/2:3; gpt-image-25: auto/1:1/3:2/2:3/16:9/9:16/4:3/3:4/21:9, with 27:16/16:27/9:8/8:9 at 1K only), resolution (1K/2K/4K), variant (flare/sunburst — gpt-image-25), background (transparent/opaque/auto — gpt-image-25), output_format (jpeg/png — nano-banana-pro; jpeg/png/webp — gpt-image-2-pro), quality (medium/high — gpt-image-15; low/medium/high — gpt-image-2-pro), mode (relaxed/fast/turbo — midjourney), image_urls (array — enables edit / image-to-image mode).
minimax-h3-image-edit: without image_urls creates an image from text; with 1–16 images (up to 20 MB each) edits them. Defaults: 2K and auto. Supports 1K/2K/4K, width and height together instead of resolution and aspect ratio, png/jpeg output_format, expand_prompt and seed. In edit mode, every input image adds to the output price.
curl https://neuralspace.pro/v1/images/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{
"model": "nano-banana-pro",
"prompt": "A cat in space, digital illustration",
"resolution": "2K"
}'
Response: { "data": [{ "url": "https://..." }], "usage": { "tokens": N } }.
Each item of image_urls is either a URL or Base64: a data URL like data:image/png;base64,... or plain base64 without a prefix. The image is decoded, verified and stored on the server; the models then receive it as a regular URL — the response and billing are identical to passing a link. Formats: PNG/JPEG/WebP; up to 10 MB per image and up to 72 MB of media per request. Invalid format, a declared type that does not match the file content, or exceeding the limit — a 400 error, no tokens are charged.
# 2. image_urls as a URL OR base64 (data:image/png;base64,...)
curl https://neuralspace.pro/v1/images/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{
"model": "nano-banana-2-1",
"prompt": "make the cat wear a space helmet",
"image_urls": ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."]
}'
Video takes minutes to generate, so it is asynchronous: POST creates a task and charges tokens, then poll GET /v1/videos/generations/<id>. On error/timeout the tokens are refunded. Models: seedance-2.0, seedance-2.0-mini, seedance-2.5, seedance-2.5-draft, seedance-2.5-flash, magi-2, ltx-2.5-fast, ltx-2.5-pro, veo-3.1, veo-3.1-fast, veo-3.1-lite, sora-2, sora-2-pro, kling-o3, kling-3.0, kling-3-0-turbo, kling-4-0, kling-4-0-flash, grok-1.5, grok-imagine, wan-2.6, gemini-omni-flash-1-1, gemini-omni-flash-1-2, gemini-omni-flash-1-2-extend, gemini-omni-1, vidu-q4.
Body fields: model, prompt, optional duration, resolution, mode (kling/grok), quality (sora-2-pro), audio (kling), aspect_ratio, image_urls, multi_shots (storyboard — kling-3.0 and wan-2.6). Grok Imagine Video 1.5: model: "grok-1.5", 1–15 seconds, 480p/720p/1080p; enable_audio (true/false), first_frame_url, last_frame_url, loop_url (same start and end image), keyframes: [{"url":"https://example.com/frame.jpg","timestamp_s":3}]. Up to 4 mid-video frames at distinct whole seconds greater than 0 and less than duration. A prompt is optional when at least one frame is supplied. Images accept URLs or Base64.
Additionally for kling-3.0:
Seedance 2.0 (seedance-2.0): 4–15 seconds, 480p/720p/1080p/4K. Use first_frame_url with optional last_frame_url, or up to 9 reference_image_urls, 3 reference_video_urls and 3 reference_audio_urls. Frames and references cannot be mixed. Options include generate_audio, return_last_frame and web_search; reference video seconds add to the cost.
Seedance 2.0 Mini (seedance-2.0-mini): the same input modes, 4–15 seconds and 480p/720p. return_last_frame is unavailable.
Seedance 2.5 Draft: create a 480p draft with seedance-2.5 and "draft": true. After completion, use its id as draft_task_id with seedance-2.5-draft within 7 days.
kling-4-0: duration is an integer from 3 to 30, resolution is 720p/1080p, and aspect_ratio is auto/16:9/9:16/1:1/21:9. reference mode accepts up to 10 image_urls, 5 video_urls, 7 elements ({name, image_urls or video_url, tag, description, voice_url}), and 3 voices ({name, audio_url}), with at most 15 image/video references total. Media in these fields can be URLs or Base64. keep_original_sound needs an input video. keyframe mode accepts first_frame_url, last_frame_url, and up to 8 keyframe_urls; modes cannot be combined. The fast kling-4-0-flash is also available: duration is an integer from 3 to 20, only resolution 720p, voices and keep_original_sound are not supported, and keyframe mode accepts a single first_frame_url.
Seedance 2.5 Flash: duration: -1 selects an automatic duration of 4–30 seconds; the 30-second price is reserved and unused seconds are refunded.
gemini-omni-flash-1-2: 3–15 seconds, 360p/720p/1080p/4k, aspect ratio 16:9/9:16/auto, seed 10000–99999. Up to 6 image_urls and 2 character_ids; first_frame_url cannot be combined with references or characters. last_frame_url requires a first frame and duration at most 10 seconds. KIE bills 4/9/10/22 credits per second by resolution. Extension: model: "gemini-omni-flash-1-2-extend", source_task_id of your completed 360p/720p clip of at most 15 seconds, duration 3–10 new seconds, and up to 3 image_urls.
multi_shots (true) + shots — a storyboard of 2—5 shots; each shot is a prompt string or an object {prompt, duration} (with multi_shots at most one image is allowed in image_urls);elements — an array (up to 4) of consistent characters/objects; reference an element in the prompt as @element_<name>. Each element: { "name": "...", "description": "...", "image_urls": [2—4 photos] } or, instead of photos, "video_url": "..." (1 video).# 1. create the task
curl https://neuralspace.pro/v1/videos/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"model": "seedance-2.0", "prompt": "Sunset over the ocean", "duration": 5}'
# response: { "id": "task_...", "status": "pending", "poll_url": "..." }
# 2. poll the status until status != completed/failed
curl https://neuralspace.pro/v1/videos/generations/task_... \
-H "x-api-key: nsk-your_key"
# when completed: { "status": "completed", "data": [{ "url": "https://..." }] }
Input videos can also be sent as Base64: items of video_urls/reference_video_urls, video_list[].url, elements[].video_url — either a URL or a data URL data:video/mp4;base64,..., or plain base64. Formats: MP4/WebM/MOV; up to 64 MB per video (within the 72 MB total per-request limit). The same checks apply: file signature, declared type that does not match the content — a 400 error, no tokens are charged.
# reference video as a URL OR base64 (data:video/mp4;base64,...)
curl https://neuralspace.pro/v1/videos/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"model": "seedance-2.5", "prompt": "continue this clip", "duration": 5,
"video_urls": ["data:video/mp4;base64,AAAAIGZ0eXBpc29t..."]}'
Music (Suno) takes minutes to generate, so it is asynchronous: POST creates a task and charges tokens, then poll GET /v1/music/generations/<id>. On error/timeout the tokens are refunded. One generation usually returns 2 tracks. Models: V6, V6_WILD, V6_MINI, V5, V4_5PLUS, V4_5, V4.
Body fields: model, prompt (description of the music; in custom_mode with vocals — the song lyrics), optional instrumental (no vocals), custom_mode (requires style and title), style, title, negative_tags, vocal_gender (m/f), duration — track length in seconds, from 10 to 360 (available for the V6, V6_MINI and V6_WILD models together with custom_mode: true; without it the model chooses the length).
# 1. create the task
curl https://neuralspace.pro/v1/music/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"model": "V5", "prompt": "Energetic synthwave about a night city"}'
# response: { "id": "task_...", "status": "pending", "poll_url": "..." }
# 2. poll the status until status != completed/failed
curl https://neuralspace.pro/v1/music/generations/task_... \
-H "x-api-key: nsk-your_key"
# when completed: { "status": "completed", "data": [{ "url": "https://...", "title": "...", "duration": 123 }] }
Compatible with the OpenAI Audio Speech API. Synchronous: the response contains a ready audio file URL. Tokens are charged only on success, by number of characters. Models: tts-1, tts-1-hd.
Body fields: model, input (text, up to 4096 characters), optional voice (alloy/echo/fable/onyx/nova/shimmer), response_format (mp3/opus/aac/flac/wav).
curl https://neuralspace.pro/v1/audio/speech \
-H "Authorization: Bearer nsk-your_key" \
-H "content-type: application/json" \
-d '{
"model": "tts-1",
"voice": "alloy",
"input": "Hello! This is NeuralSpace speech synthesis."
}'
Compatible with the OpenAI Audio Transcriptions API (Whisper). The file is sent as multipart/form-data. Synchronous: the response contains the recognized text. Tokens are charged only on success, by audio duration (estimated from file size). Models: whisper-large-v3, whisper-1. File limit — 25 MB.
Form fields: file (audio: mp3/mp4/mpeg/mpga/m4a/wav/webm/ogg/flac), model (whisper-large-v3; the legacy whisper-1 is accepted and run as large-v3), optional language (ISO code, e.g. ru/en), prompt (context hint).
curl https://neuralspace.pro/v1/audio/transcriptions \
-H "Authorization: Bearer nsk-your_key" \
-F model="whisper-large-v3" \
-F file="@audio.mp3"
# response: { "text": "...", "model": "whisper-large-v3", "usage": { "tokens": 0.2 } }
Response: { "text": "recognized text", "model": "whisper-large-v3", "usage": { "tokens": 0.2 } }.
Talende videoavatars og relaterede tilstande. Biblioteker: GET /v1/avatars (avatar_id), GET /v1/avatars/voices?language=en (voice_id), GET /v1/avatars/languages (oversættelsessprog), /v1/avatars/styles, /v1/avatars/templates, /v1/avatars/assets, /v1/avatars/brand-kits. Genereringen er asynkron: POST /v1/avatars/generations med et type-felt, og derefter forespørg GET /v1/avatars/generations/<id>. Tokens opkræves ved oprettelsen og refunderes ved fejl.
curl https://neuralspace.pro/v1/avatars/voices?language=en \
-H "x-api-key: nsk-your_key"
curl https://neuralspace.pro/v1/avatars/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"type": "talking_avatar", "avatar_id": "avatar_...", "voice_id": "voice_...", "script": "Hello!"}'
# response: { "id": "task_...", "status": "pending", "poll_url": "..." }
Creates an AI character or voice assistant in your account (available in the “Characters” section). Without image_url a voice assistant (voice_only) with a preset voice is created — fast and cheap. With image_url (a public photo URL) a character with a video avatar is created. Cost — 10 tokens, charged on success.
Fields: name (required), instruction (persona / system instruction), voice (for voice assistant: alloy, echo, shimmer, sage, verse, coral, ash, ballad; default alloy), start_script (greeting), image_url (photo for a video avatar), language (ru/en).
curl https://neuralspace.pro/v1/characters \
-H "Authorization: Bearer nsk-your_key" \
-H "Content-Type: application/json" \
-d '{ "name": "My assistant", "instruction": "A friendly product assistant", "voice": "verse" }'
# response: { "character": { "id": "voice-...", "name": "...", "characterType": "voice_only", "voice": {...} } }
Returns { "data": [{ "id", "name", "characterType", "voice", "isVoiceOnly", ... }] }.
Prices are in site tokens. Rates are dynamic and may change; this page always reflects the current values. 100 site tokens ≈ $1.21.
Prices float: each request is charged its actual cost, so the figures in the tables are a reference, not a fixed rate. Where a model price moves during the day, the range over the last 24 hours is shown below it.
| Model | ID | Input / 1M | Output / 1M |
|---|---|---|---|
| Claude Haiku 4.5 | claude-haiku-4-5 | 39.5 | 205 |
| Claude Haiku 5.5 | claude-haiku-5-5 | 8.5 | 43 |
| Claude Sonnet 5 | claude-sonnet-5 | 146.5 | 737.5 |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | 138 | 690 |
| Claude Opus 5 | claude-opus-5 | 345 | 1725 |
| Claude Opus 5.5 | claude-opus-5-5 | 276 | 1380 |
| Claude Fable 5 | claude-fable-5 | 690 | 3450 |
| Claude Fable 5.1 | claude-fable-5-1 | 1725 | 8624.5 |
| Claude Fable 5.2 | claude-fable-5-2 | 1380 | 6899.5 |
| Model | ID | Input / 1M | Output / 1M |
|---|---|---|---|
| GPT-5.6 Sol | gpt-5-6 | 172.5 long context from 272 000 input tokens: 345 / 1293.5 per 1M cached input: 17.5 per 1M | 862.5 |
| GPT-5.6 Terra | gpt-5-6-balanced | 86.5 long context from 272 000 input tokens: 172.5 / 776 per 1M cached input: 8.5 per 1M | 517.5 |
| GPT-5.6 Luna | gpt-5-6-fast | 8.5 long context from 272 000 input tokens: 17.5 / 77.5 per 1M cached input: 1 per 1M | 52 |
| GPT-6 Astra | gpt-6-astra | 431.5 long context from 272 000 input tokens: 862.5 / 3234 per 1M cached input: 43 per 1M | 2156 |
| GPT-6 Sol | gpt-6-sol | 86.5 long context from 272 000 input tokens: 172.5 / 647 per 1M cached input: 8.5 per 1M | 431 |
| GPT-6 Luna | gpt-6-luna | 4.5 long context from 272 000 input tokens: 8.5 / 32.5 per 1M cached input: 0.5 per 1M | 21.5 |
| GPT-6.1 Sol | gpt-6-1-sol | 86.5 long context from 272 000 input tokens: 172.5 / 647 per 1M cached input: 4.5 per 1M | 431 |
| GPT-6.2 Sol | gpt-6-2-sol | 86.5 long context from 272 000 input tokens: 172.5 / 647 per 1M cached input: 4.5 per 1M | 431 |
| GPT-6.2 Sol Pro | gpt-6-2-sol-pro | 86.5 long context from 272 000 input tokens: 172.5 / 647 per 1M cached input: 4.5 per 1M | 431 |
| GPT-6.2 Astra | gpt-6-2-astra | 1149.5 long context from 272 000 input tokens: 2299 / 8621 per 1M cached input: 57.5 per 1M | 5747.5 |
| GPT-6.2 Astra Pro | gpt-6-2-astra-pro | 345 long context from 272 000 input tokens: 690 / 2587.5 per 1M cached input: 17.5 per 1M | 1725 |
| GPT-6.1 Sol Pro | gpt-6-1-sol-pro | 86.5 long context from 272 000 input tokens: 172.5 / 647 per 1M cached input: 4.5 per 1M | 431 |
| GPT-6.1 Terra | gpt-6-1-terra | 43 long context from 272 000 input tokens: 86.5 / 323.5 per 1M cached input: 2 per 1M | 215.5 |
| GPT-6.1 Terra Pro | gpt-6-1-terra-pro | 43 long context from 272 000 input tokens: 86.5 / 323.5 per 1M cached input: 2 per 1M | 215.5 |
| GPT-5 Mini | gpt-5-mini | 11 cached input: 1 per 1M | 86.5 |
| GPT-5.4 Mini | gpt-5-4-mini | 32.5 long context from 272 000 input tokens: 64.5 / 291 per 1M cached input: 3 per 1M | 194 |
| Grok 4.3 | grok-4-3 | 86.5 | 172.5 |
| Grok 4.5 | grok-4-5 | 115 | 345 |
| Grok 4.6 | grok-4-6 | 115 | 345 |
| Grok 4.7 | grok-4-7 | 115 | 345 |
| Gemini 3.8 Flash | gemini-3-8-flash | 32.5 | 161.5 |
| Gemini 4 Argon | gemini-4-argon | 287.5 | 1437 |
| Gemini 4 Carbon | gemini-4-carbon | 143.5 cached input: 7 per 1M | 718.5 |
| Gemini 4 Hydrogen | gemini-4-hydrogen | 108 cached input: 5.5 per 1M | 539 |
| Gemini 4 Neon | gemini-4-neon | 215.5 cached input: 11 per 1M | 1077.5 |
| DeepSeek V4.1 Flash | deepseek-v4.1-flash | 17.5 | 68.5 |
| DeepSeek V4.1 Flash 1017 | deepseek-v4.1-flash-1017 | 21.5 21.55–43.11 over 24h cached input: 0.5 per 1M | 86 86.21–172.42 over 24h |
| DeepSeek V4 Pro | deepseek-v4-pro | 62.5 | 125 |
| GLM-5.3 Flash (Zhipu) | glm-5.3-flash | 5 5.12–21.55 over 24h cached input: 4.5 per 1M | 11.5 11.71–71.84 over 24h |
| GLM-5.3 (Zhipu) | glm-5.3 | 10 cached input: 10 per 1M | 201 |
| GLM-5.3 FlashX Legal (Zhipu) | glm-5.3-flashx-legal | 53 cached input: 11 per 1M | 179.5 |
| Kimi K2.6 (Moonshot) | kimi-k2.6 | 93.5 cached input: 21.5 per 1M | 490 |
| Kimi K3 (Moonshot) | kimi-k3 | 27.5 cached input: 26 per 1M | 2299 |
| Kimi K3.1 Pro (Moonshot) | kimi-k3.1-pro | 36.5 cached input: 26 per 1M | 1264.5 |
| Model | ID | Rates (tokens) | Unit |
|---|---|---|---|
| Nano Banana (Gemini 2.5 Flash) | nano-banana | 1K — 3.5 | per image |
| Nano Banana Pro | nano-banana-pro | 1K — 8.5; 2K — 11; 4K — 14.5 | per image |
| Nano Banana 2 | nano-banana-2 | 1K — 7; 2K — 10.5; 4K — 15.5 | per image |
| Nano Banana 2 Lite | nano-banana-2-lite | 1K — 3.5 | per image |
| Nano Banana 2.1 | nano-banana-2-1 | 1K — 3.5; 2K — 5; 4K — 8 | per image |
| FLUX 2 Pro | flux-2-pro | 1K — 6; 2K — 6 | per image |
| GPT Image 1.5 | gpt-image-15 | medium — 3.5; high — 19 | per image |
| GPT Image 2 | gpt-image-2 | 1K — 5; 2K — 8.5; 4K — 14 | per image |
| GPT Image 2 Pro | gpt-image-2-pro | low — 0.72; medium — 2.75; high — 9.56 | per image |
| ChatGPT Images 2.5 | gpt-image-25 | 1K — 5.5; 2K — 9; 4K — 14 | per image |
| GPT Image 2.6 | gpt-image-26 | 1K — 7.5; 2K — 14; 4K — 69 | per image |
| Seedream 4.5 | seedream-45 | per image — 5.5 | per image |
| Seedream 5 Lite | seedream-5-lite | per image — 4.5 | per image |
| Seedream 5 Flash | seedream-5-flash | per image — 3 | per image |
| Seedream 5 Pro | seedream-5-pro | basic (1K) — 6; high (2K) — 12 | per image |
| Grok Imagine 1 | grok-image | per image — 3.5 | per image |
| Grok Imagine 2 | grok-imagine-image-2 | per image — 3.5 | per image |
| MiniMax H3 Image | minimax-h3-image-edit | 1K — 1.6; 2K — 1.6; 4K — 4.5 | per image |
| Z-Image | z-image | per image — 0.7 | per image |
| Ideogram V3 | ideogram | TURBO — 3; BALANCED — 6; QUALITY — 8.5 | per image |
| Midjourney v7 | midjourney | relaxed — 2.5; fast — 6.5; turbo — 13.5 | per image |
| Model | ID | Rates (tokens) | Unit |
|---|---|---|---|
| Seedance 2.0 | seedance-2.0 | 480p — 68; 720p — 147; 1080p — 366; 4K — 747 | per 5 s |
| Seedance 2.0 Mini | seedance-2.0-mini | 480p — 14; 720p — 29 | per 5 s |
| Seedance 2.5 (ByteDance) | seedance-2.5 | 480p — 101; 720p — 226; 1080p — 568; 4K — 902 | per 5 s |
| Seedance 2.5 Draft upgrade (ByteDance) | seedance-2.5-draft | 720p — 226; 1080p — 568; 4K — 902 | per 5 s |
| Seedance 2.5 Flash (ByteDance) | seedance-2.5-flash | 480p — 66; 720p — 147 | per 5 s |
| MAGI-2 (Sand AI) | magi-2 | 1080p — 60.5 | per 5 s |
| LTX 2.5 Fast (Lightricks) | ltx-2.5-fast | 720p — 47; 1080p — 67; 1440p — 98 | per 6 s |
| LTX 2.5 Pro (Lightricks) | ltx-2.5-pro | 720p — 62; 1080p — 88 | per 6 s |
| Veo 3.1 Quality | veo-3.1 | per video — 215.5 | per video |
| Veo 3.1 Fast | veo-3.1-fast | per video — 51.5 | per video |
| Veo 3.1 Lite | veo-3.1-lite | per video — 26 | per video |
| Sora 2 (OpenAI) | sora-2 | 10 c — 20; 15 c — 23.5 | per video |
| Sora 2 Pro (OpenAI) | sora-2-pro | standard 10 c — 100; standard 15 c — 166.5; high 10 c — 225; high 15 c — 416.5 | per video |
| Kling O3 (Kuaishou) | kling-o3 | 720p — 50; 1080p — 64.5; 4K — 240 | per 5 s |
| Kling 3.0 (Kuaishou) | kling-3.0 | std — 50; pro — 64.5; 4K — 240 | per 5 s |
| Kling 3.0 Turbo (Kuaishou) | kling-3-0-turbo | 720p — 64.5; 1080p — 80.5 | per 5 s |
| Kling 4.0 (Kuaishou) | kling-4-0 | 720p — 102; 1080p — 152 | per 5 s |
| Kling 4.0 Flash (Kuaishou) | kling-4-0-flash | 720p — 61 | per 5 s |
| Grok Imagine Video 1.5 (keyframes) | grok-1.5 | 480p — 16.5; 720p — 31; 1080p — 55 | per 8 s |
| Grok Imagine (xAI) | grok-imagine | 480p — 12.5; 720p — 23.5 | per 6 s |
| Wan 2.6 (Alibaba) | wan-2.6 | 720p — 61; 1080p — 91 | per 5 s |
| Gemini Omni 1.1 Flash | gemini-omni-flash-1-1 | 360p — 57; 720p — 57; 1080p — 57; 4K — 133 | per 5 s |
| Gemini Omni 1.2 Flash | gemini-omni-flash-1-2 | 360p — 15; 720p — 33; 1080p — 36; 4K — 79 | per 5 s |
| Gemini Omni 1.2 Flash Extend | gemini-omni-flash-1-2-extend | 360p — 15; 720p — 33 | per 5 s |
| Gemini Omni 1 | gemini-omni-1 | 720p — 57; 1080p — 57; 4K — 133 | per 5 s |
| Vidu Q4 | vidu-q4 | 540p — 31; 720p — 65.5; 1080p — 83; 2K — 131; 4K — 269 | per 5 s |
| Model | ID | Rates (tokens) | Unit |
|---|---|---|---|
| Suno V6 | V6 | per generation — 10.5 | per generation |
| Suno V6 Wild | V6_WILD | per generation — 10.5 | per generation |
| Suno V6 Mini | V6_MINI | per generation — 10.5 | per generation |
| Suno V5 | V5 | per generation — 10.5 | per generation |
| Suno V4.5+ | V4_5PLUS | per generation — 10.5 | per generation |
| Suno V4.5 | V4_5 | per generation — 10.5 | per generation |
| Suno V4 | V4 | per generation — 10.5 | per generation |
| Model | ID | Rates (tokens) | Unit |
|---|---|---|---|
| OpenAI TTS | tts-1 | per 1000 characters — 2.59 | per 1000 characters |
| OpenAI TTS HD | tts-1-hd | per 1000 characters — 5.18 | per 1000 characters |
| Model | ID | Rates (tokens) | Unit |
|---|---|---|---|
| Whisper large-v3 | whisper-large-v3 | per minute — 0.26 | per minute |
| Whisper (compat, = large-v3) | whisper-1 | per minute — 0.26 | per minute |
| Model | ID | Rates (tokens) | Unit |
|---|---|---|---|
| Talking avatar | talking_avatar | 11.5 | per 1 s |
| Video translation | video_translation | 2.5 | per 1 s |
| AI clipping | ai_clipping | 26 | per video |
| Cinematic avatar | cinematic_avatar | 1207 | per video |
| Video agent | video_agent | 17 | per 1 s |
| Text to speech | text_to_speech | 1.7 | per 1 s |
| Voice cloning | voice_clone | 86 | per operation |
| Filler word removal | filler_removal | 103.5 | per 1 s |
| Animation render | hyperframes | 17 | per minute |
| Studio (scene merge) | studio | 11.5 | per 1 s |
| Proofread translation | proofread | 0.7 | per 1 s |
To clone a voice, send type: "voice_clone", audio_url (URL or Base64 audio), and voice_name to POST /v1/avatars/generations. Poll GET /v1/avatars/generations/<id> with the returned task ID. Once completed, use voice_id for speech or a talking avatar.
These modes reuse the site handlers under /v1/avatars/tools. GET /templates lists your templates, GET /templates/<id> shows their fields, and POST /templates/<id>/generate starts a video; poll GET /template-videos/<id>. For a live avatar use POST /realtime-sessions, poll GET /realtime-sessions/<id>, send text with POST /realtime-sessions/<id>/text, and stop with POST /realtime-sessions/<id>/cancel. For a series, use POST /batches and poll GET /batches/<id>. Prefix every path in this paragraph with /v1/avatars/tools; request bodies use the same camelCase field names as the site form. Get a quote before a paid task with POST /v1/avatars/tools/estimate and type: template, realtime, or batch. The site’s charging and refund rules apply.
Supporting catalogs under the same prefix include /brand-kits, /brand-glossaries, /assets, /webhook-event-types, /webhook-events, and /webhook-endpoints. The API key can only access its own account data, and its restrictions still apply.
TRELLIS-2 is available through POST /v1/3d/generations: pass image_url as an HTTPS URL or Base64 image, resolution (512, 1024, 1536), and texture_size (1024, 2048, 3072, 4096). Prices for each pair are in GET /v1/models → trellis_2.prices. Use dry_run: true for a free estimate. Poll GET /v1/3d/generations/<id> for status and the permanent model_url.
curl https://neuralspace.pro/v1/3d/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"model":"trellis-2","image_url":"https://example.com/chair.jpg","resolution":1024,"texture_size":2048,"dry_run":true}'
3D generation and model processing: 18 operations (3D from text/photo/views, splat, images, texture, segmentation, completion, retopology, UV, format conversion, rigging, animations). Operation codes and parameters: GET /v1/tripo/tools; token prices use the live rate. Asynchronous creation: POST /v1/tripo/tasks (tool, prompt, params, image_urls, animations), then poll GET /v1/tripo/tasks/<id>. Results are stored in our storage with permanent links. Tokens are charged on creation and refunded on failure.
curl https://neuralspace.pro/v1/tripo/tools \
-H "x-api-key: nsk-your_key"
curl https://neuralspace.pro/v1/tripo/tasks \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"tool": "text-to-3d", "prompt": "a wooden chair"}'
# response: { "id": "...", "status": "pending", "poll_url": "/v1/tripo/tasks/..." }
The text endpoint returns errors in the Anthropic format ({ "type": "error", "error": { "type", "message" } }), chat — in the OpenAI format ({ "error": { "message", "type" } }). Codes: 401 — missing/invalid key, 403 — account suspended, 429 — rate limit exceeded, 400 — invalid request or insufficient tokens.
Support and balance top-up: https://neuralspace.pro/payment. Manage keys: https://neuralspace.pro/api-keys.
Ready-to-copy settings for OpenCode, Claude Code, Cursor, Harness and MCP.