NeuralSpace API

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.

Authentication

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).

MCP server — connect NeuralSpace to your AI agent

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 and GET /v1/models — service endpoints

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.

POST /v1/messages — text models (Anthropic format)

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-...").

POST /v1/chat/completions — chat models (OpenAI format)

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-...").

Realtime voice

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=sk",
  { headers: { Authorization: "Bearer nsk-your_key" } }
);

POST /v1/images/generations — image generation

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 } }.

Input images: URL or Base64

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..."]
  }'

POST /v1/videos/generations — video generation (asynchronous)

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.

# 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 video: URL or Base64

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..."]}'

POST /v1/music/generations — music generation (asynchronous)

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 }] }

POST /v1/audio/speech — speech synthesis (OpenAI format)

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."
  }'

POST /v1/audio/transcriptions — audio transcription (OpenAI format)

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 } }.

Videoavatáry

Hovoriace videoavatáry a súvisiace režimy. Adresáre: GET /v1/avatars (avatar_id), GET /v1/avatars/voices?language=en (voice_id), GET /v1/avatars/languages (jazyky prekladu), /v1/avatars/styles, /v1/avatars/templates, /v1/avatars/assets, /v1/avatars/brand-kits. Generovanie je asynchrónne: POST /v1/avatars/generations s poľom type, potom dopytujte GET /v1/avatars/generations/<id>. Tokeny sa účtujú pri vytvorení a vracajú sa pri chybe.

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": "..." }

POST /v1/characters — create a character / voice assistant

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": {...} } }

GET /v1/characters — list your characters

Returns { "data": [{ "id", "name", "characterType", "voice", "isVoiceOnly", ... }] }.

Models and prices

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.

Text models (per 1M tokens)

ModelIDInput / 1MOutput / 1M
Claude Haiku 4.5claude-haiku-4-539.5205
Claude Haiku 5.5claude-haiku-5-58.543
Claude Sonnet 5claude-sonnet-5146.5737.5
Claude Sonnet 5.5claude-sonnet-5-5138690
Claude Opus 5claude-opus-53451725
Claude Opus 5.5claude-opus-5-52761380
Claude Fable 5claude-fable-56903450
Claude Fable 5.1claude-fable-5-117258624.5
Claude Fable 5.2claude-fable-5-213806899.5

Chat models (per 1M tokens)

ModelIDInput / 1MOutput / 1M
GPT-5.6 Solgpt-5-6172.5
long context from 272 000 input tokens: 345 / 1293.5 per 1M
cached input: 17.5 per 1M
862.5
GPT-5.6 Terragpt-5-6-balanced86.5
long context from 272 000 input tokens: 172.5 / 776 per 1M
cached input: 8.5 per 1M
517.5
GPT-5.6 Lunagpt-5-6-fast8.5
long context from 272 000 input tokens: 17.5 / 77.5 per 1M
cached input: 1 per 1M
52
GPT-6 Astragpt-6-astra431.5
long context from 272 000 input tokens: 862.5 / 3234 per 1M
cached input: 43 per 1M
2156
GPT-6 Solgpt-6-sol86.5
long context from 272 000 input tokens: 172.5 / 647 per 1M
cached input: 8.5 per 1M
431
GPT-6 Lunagpt-6-luna4.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 Solgpt-6-1-sol86.5
long context from 272 000 input tokens: 172.5 / 647 per 1M
cached input: 4.5 per 1M
431
GPT-6.2 Solgpt-6-2-sol86.5
long context from 272 000 input tokens: 172.5 / 647 per 1M
cached input: 4.5 per 1M
431
GPT-6.2 Sol Progpt-6-2-sol-pro86.5
long context from 272 000 input tokens: 172.5 / 647 per 1M
cached input: 4.5 per 1M
431
GPT-6.2 Astragpt-6-2-astra1149.5
long context from 272 000 input tokens: 2299 / 8621 per 1M
cached input: 57.5 per 1M
5747.5
GPT-6.2 Astra Progpt-6-2-astra-pro345
long context from 272 000 input tokens: 690 / 2587.5 per 1M
cached input: 17.5 per 1M
1725
GPT-6.1 Sol Progpt-6-1-sol-pro86.5
long context from 272 000 input tokens: 172.5 / 647 per 1M
cached input: 4.5 per 1M
431
GPT-6.1 Terragpt-6-1-terra43
long context from 272 000 input tokens: 86.5 / 323.5 per 1M
cached input: 2 per 1M
215.5
GPT-6.1 Terra Progpt-6-1-terra-pro43
long context from 272 000 input tokens: 86.5 / 323.5 per 1M
cached input: 2 per 1M
215.5
GPT-5 Minigpt-5-mini11
cached input: 1 per 1M
86.5
GPT-5.4 Minigpt-5-4-mini32.5
long context from 272 000 input tokens: 64.5 / 291 per 1M
cached input: 3 per 1M
194
Grok 4.3grok-4-386.5172.5
Grok 4.5grok-4-5115345
Grok 4.6grok-4-6115345
Grok 4.7grok-4-7115345
Gemini 3.8 Flashgemini-3-8-flash32.5161.5
Gemini 4 Argongemini-4-argon287.51437
Gemini 4 Carbongemini-4-carbon143.5
cached input: 7 per 1M
718.5
Gemini 4 Hydrogengemini-4-hydrogen108
cached input: 5.5 per 1M
539
Gemini 4 Neongemini-4-neon215.5
cached input: 11 per 1M
1077.5
DeepSeek V4.1 Flashdeepseek-v4.1-flash17.568.5
DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-101721.5
21.55–43.11 over 24h
cached input: 0.5 per 1M
86
86.21–172.42 over 24h
DeepSeek V4 Prodeepseek-v4-pro62.5125
GLM-5.3 Flash (Zhipu)glm-5.3-flash5
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.310
cached input: 10 per 1M
201
GLM-5.3 FlashX Legal (Zhipu)glm-5.3-flashx-legal53
cached input: 11 per 1M
179.5
Kimi K2.6 (Moonshot)kimi-k2.693.5
cached input: 21.5 per 1M
490
Kimi K3 (Moonshot)kimi-k327.5
cached input: 26 per 1M
2299
Kimi K3.1 Pro (Moonshot)kimi-k3.1-pro36.5
cached input: 26 per 1M
1264.5

Images (per image)

ModelIDRates (tokens)Unit
Nano Banana (Gemini 2.5 Flash)nano-banana1K — 3.5per image
Nano Banana Pronano-banana-pro1K — 8.5; 2K — 11; 4K — 14.5per image
Nano Banana 2nano-banana-21K — 7; 2K — 10.5; 4K — 15.5per image
Nano Banana 2 Litenano-banana-2-lite1K — 3.5per image
Nano Banana 2.1nano-banana-2-11K — 3.5; 2K — 5; 4K — 8per image
FLUX 2 Proflux-2-pro1K — 6; 2K — 6per image
GPT Image 1.5gpt-image-15medium — 3.5; high — 19per image
GPT Image 2gpt-image-21K — 5; 2K — 8.5; 4K — 14per image
GPT Image 2 Progpt-image-2-prolow — 0.72; medium — 2.75; high — 9.56per image
ChatGPT Images 2.5gpt-image-251K — 5.5; 2K — 9; 4K — 14per image
GPT Image 2.6gpt-image-261K — 7.5; 2K — 14; 4K — 69per image
Seedream 4.5seedream-45per image — 5.5per image
Seedream 5 Liteseedream-5-liteper image — 4.5per image
Seedream 5 Flashseedream-5-flashper image — 3per image
Seedream 5 Proseedream-5-probasic (1K) — 6; high (2K) — 12per image
Grok Imagine 1grok-imageper image — 3.5per image
Grok Imagine 2grok-imagine-image-2per image — 3.5per image
MiniMax H3 Imageminimax-h3-image-edit1K — 1.6; 2K — 1.6; 4K — 4.5per image
Z-Imagez-imageper image — 0.7per image
Ideogram V3ideogramTURBO — 3; BALANCED — 6; QUALITY — 8.5per image
Midjourney v7midjourneyrelaxed — 2.5; fast — 6.5; turbo — 13.5per image

Video

ModelIDRates (tokens)Unit
Seedance 2.0seedance-2.0480p — 68; 720p — 147; 1080p — 366; 4K — 747per 5 s
Seedance 2.0 Miniseedance-2.0-mini480p — 14; 720p — 29per 5 s
Seedance 2.5 (ByteDance)seedance-2.5480p — 101; 720p — 226; 1080p — 568; 4K — 902per 5 s
Seedance 2.5 Draft upgrade (ByteDance)seedance-2.5-draft720p — 226; 1080p — 568; 4K — 902per 5 s
Seedance 2.5 Flash (ByteDance)seedance-2.5-flash480p — 66; 720p — 147per 5 s
MAGI-2 (Sand AI)magi-21080p — 60.5per 5 s
LTX 2.5 Fast (Lightricks)ltx-2.5-fast720p — 47; 1080p — 67; 1440p — 98per 6 s
LTX 2.5 Pro (Lightricks)ltx-2.5-pro720p — 62; 1080p — 88per 6 s
Veo 3.1 Qualityveo-3.1per video — 215.5per video
Veo 3.1 Fastveo-3.1-fastper video — 51.5per video
Veo 3.1 Liteveo-3.1-liteper video — 26per video
Sora 2 (OpenAI)sora-210 c — 20; 15 c — 23.5per video
Sora 2 Pro (OpenAI)sora-2-prostandard 10 c — 100; standard 15 c — 166.5; high 10 c — 225; high 15 c — 416.5per video
Kling O3 (Kuaishou)kling-o3720p — 50; 1080p — 64.5; 4K — 240per 5 s
Kling 3.0 (Kuaishou)kling-3.0std — 50; pro — 64.5; 4K — 240per 5 s
Kling 3.0 Turbo (Kuaishou)kling-3-0-turbo720p — 64.5; 1080p — 80.5per 5 s
Kling 4.0 (Kuaishou)kling-4-0720p — 102; 1080p — 152per 5 s
Kling 4.0 Flash (Kuaishou)kling-4-0-flash720p — 61per 5 s
Grok Imagine Video 1.5 (keyframes)grok-1.5480p — 16.5; 720p — 31; 1080p — 55per 8 s
Grok Imagine (xAI)grok-imagine480p — 12.5; 720p — 23.5per 6 s
Wan 2.6 (Alibaba)wan-2.6720p — 61; 1080p — 91per 5 s
Gemini Omni 1.1 Flashgemini-omni-flash-1-1360p — 57; 720p — 57; 1080p — 57; 4K — 133per 5 s
Gemini Omni 1.2 Flashgemini-omni-flash-1-2360p — 15; 720p — 33; 1080p — 36; 4K — 79per 5 s
Gemini Omni 1.2 Flash Extendgemini-omni-flash-1-2-extend360p — 15; 720p — 33per 5 s
Gemini Omni 1gemini-omni-1720p — 57; 1080p — 57; 4K — 133per 5 s
Vidu Q4vidu-q4540p — 31; 720p — 65.5; 1080p — 83; 2K — 131; 4K — 269per 5 s

Music

ModelIDRates (tokens)Unit
Suno V6V6per generation — 10.5per generation
Suno V6 WildV6_WILDper generation — 10.5per generation
Suno V6 MiniV6_MINIper generation — 10.5per generation
Suno V5V5per generation — 10.5per generation
Suno V4.5+V4_5PLUSper generation — 10.5per generation
Suno V4.5V4_5per generation — 10.5per generation
Suno V4V4per generation — 10.5per generation

Speech synthesis (per 1000 characters)

ModelIDRates (tokens)Unit
OpenAI TTStts-1per 1000 characters — 2.59per 1000 characters
OpenAI TTS HDtts-1-hdper 1000 characters — 5.18per 1000 characters

Audio transcription (per 1 minute)

ModelIDRates (tokens)Unit
Whisper large-v3whisper-large-v3per minute — 0.26per minute
Whisper (compat, = large-v3)whisper-1per minute — 0.26per minute

Videoavatáry

ModelIDRates (tokens)Unit
Talking avatartalking_avatar11.5per 1 s
Video translationvideo_translation2.5per 1 s
AI clippingai_clipping26per video
Cinematic avatarcinematic_avatar1207per video
Video agentvideo_agent17per 1 s
Text to speechtext_to_speech1.7per 1 s
Voice cloningvoice_clone86per operation
Filler word removalfiller_removal103.5per 1 s
Animation renderhyperframes17per minute
Studio (scene merge)studio11.5per 1 s
Proofread translationproofread0.7per 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.

Templates, live avatars and batch jobs

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 image-to-3D model

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 models (Tripo)

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/..." }

Errors

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.