语言: Русский · 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
本页面为开发者和AI智能体提供的文档,无需身份验证即可访问,也支持自动化读取。
基础URL:https://neuralspace.pro。使用账户余额中的token付费,无需订阅或国外银行卡。文本与对话接口兼容Anthropic和OpenAI的SDK——只需更改base_url和密钥即可。
请在账户中创建API密钥:https://neuralspace.pro/api-keys。密钥形如nsk-...,仅显示一次。请在请求头中传递:
x-api-key: nsk-your_key
也支持使用Authorization: Bearer nsk-...请求头(适用于兼容OpenAI的客户端)。
/v1/messages和/v1/chat/completions均支持流式传输(stream: true):响应以对应SDK(Anthropic / OpenAI)格式的Server-Sent Events方式返回。设置stream: false则返回常规JSON响应。本API的所有能力(图像/视频/音乐生成、与LLM对话、语音合成与识别、余额查询、价格查询)也以MCP服务器(Model Context Protocol)形式提供——你可以将其接入Claude Code、Claude Desktop、Cursor及其他任意MCP客户端,让你的AI智能体以你的账户身份自主生成内容。
接入地址(Streamable HTTP,无会话):https://neuralspace.pro/mcp。身份验证方式与直接调用API相同,在Authorization: Bearer或x-api-key请求头中传入同样的nsk-...密钥。
# 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服务器提供的工具:list_models(模型列表及实时价格)、get_balance(余额)、chat(LLM对话)、generate_image、generate_video + check_video、generate_music + check_music、text_to_speech、transcribe_audio。计费与退款规则与直接调用API完全一致;成功生成的内容会以卡片形式出现在你的账户中。若客户端的MCP工具超时时间较短,建议为同步图像生成(最长约2分钟)适当延长该超时时间。
GET /v1/balance——查询密钥所属账户的当前token余额:{ "balance": N, "currency": "tokens" }。GET /v1/models——以机器可读格式返回所有模型及其实时价格(相当于本页面的JSON版本)。两者均需提供密钥。
兼容Anthropic Messages API。可用模型: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。
请求体字段:model、messages({role, content}对象数组,role为user/assistant)、max_tokens(1—32000;Claude Fable 5.2:最高 128000)、可选的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!"}]
}'
通过Anthropic SDK(Python)调用:Anthropic(base_url="https://neuralspace.pro", api_key="nsk-...")。
兼容OpenAI Chat Completions API。可用模型: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。
请求体字段:model、messages(role为system/user/assistant)、max_tokens或max_completion_tokens、可选的reasoning_effort(适用于GPT-5.6、GPT-6 Astra和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!"}]
}'
通过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=zh",
{ headers: { Authorization: "Bearer nsk-your_key" } }
);
同步接口:响应中直接返回可用的图像URL。仅在生成成功时扣除token。可用模型: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。
请求体字段:model、prompt(最多5000字符)、可选的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,27:16/16:27/9:8/8:9仅支持1K)、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(数组——开启编辑/图生图模式)。
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": "太空中的一只猫,数字插画",
"resolution": "2K"
}'
响应:{ "data": [{ "url": "https://..." }], "usage": { "tokens": N } }。
image_urls 的每个元素可以是链接或Base64:形如 data:image/png;base64,... 的data URL,或无前缀的纯base64。图片会被解码、校验并保存到服务器,模型之后像收到普通链接一样使用它——响应和扣费与直接传链接完全一致。格式:PNG/JPEG/WebP;单张图片不超过10 MB,每次请求媒体总量不超过72 MB。格式无效、声明的类型与文件内容不符或超出限制——返回400错误,不扣除token。
# 2. image_urls 用链接或 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创建任务并扣除token,随后轮询GET /v1/videos/generations/<id>获取结果。若出错或超时,token将被退还。可用模型: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。
请求体字段:model、prompt、可选的duration、resolution、mode(kling/grok)、quality(sora-2-pro)、audio(kling)、aspect_ratio、image_urls、multi_shots(分镜脚本——kling-3.0和wan-2.6)。
对于kling-3.0,还可使用以下字段:
Seedance 2.0(seedance-2.0):时长 4–15 秒,分辨率 480p/720p/1080p/4K。使用 first_frame_url 和可选的 last_frame_url,或最多 9 个 reference_image_urls、3 个 reference_video_urls、3 个 reference_audio_urls;帧与参考素材不可混用。可设置 generate_audio、return_last_frame 和 web_search;视频参考的时长计入费用。
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:使用 seedance-2.5 和 "draft": true 创建 480p 草稿。完成后 7 天内,将其 id 作为 draft_task_id 传给 seedance-2.5-draft,并选择 720p、1080p 或 4k 的 resolution。两个步骤分别收费;dry_run 可查询提升画质的价格。
kling-4-0:duration 为 3–30 的整数,resolution 为 720p/1080p,aspect_ratio 为 auto/16:9/9:16/1:1/21:9。reference 模式支持最多 10 个 image_urls、5 个 video_urls、7 个 elements 和 3 个 voices,图片和视频参考总数不超过 15 个。keyframe 模式支持 first_frame_url、last_frame_url 和最多 8 个 keyframe_urls;两种模式不能混用。 另外还提供快速版 kling-4-0-flash:duration 为 3–20 的整数,resolution 仅有 720p,不支持 voices 和 keep_original_sound,keyframe 模式仅接受单个 first_frame_url。
Seedance 2.5 Flash:duration: -1 由模型选择4至30秒。先预留30秒费用,视频完成后退还未使用秒数的差额。
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——由2—5个分镜组成的脚本;每个分镜可以是一个prompt字符串,或形如{prompt, duration}的对象(启用multi_shots时,image_urls中最多允许提供1张图片);elements——一致性角色/物体的数组(最多4个);在prompt中通过@element_<name>引用某个元素。每个元素的格式为:{ "name": "...", "description": "...", "image_urls": [2—4张照片] },或用"video_url": "..."(1个视频)代替照片。# 1. 创建任务
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": "海洋上的日落", "duration": 5}'
# response: { "id": "task_...", "status": "pending", "poll_url": "..." }
# 2. 轮询状态,直到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://..." }] }
输入视频同样可以用Base64传递:video_urls/reference_video_urls 的元素、video_list[].url、elements[].video_url——可以是链接,也可以是data URL data:video/mp4;base64,... 或纯base64。格式:MP4/WebM/MOV;单个视频不超过64 MB(计入每请求72 MB的媒体总量限制)。校验相同:文件签名、声明类型与内容不符——返回400错误,不扣除token。
# 参考视频用链接或 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..."]}'
音乐生成(Suno)通常需要数分钟,因此采用异步方式:POST创建任务并扣除token,随后轮询GET /v1/music/generations/<id>获取结果。若出错或超时,token将被退还。一次生成通常会返回2首曲目。可用模型:V6, V6_WILD, V6_MINI, V5, V4_5PLUS, V4_5, V4。
请求体字段:model、prompt(音乐描述;在custom_mode下若包含人声,则为歌词内容)、可选的instrumental(纯伴奏,无人声)、custom_mode(需配合style和title使用)、style、title、negative_tags、vocal_gender(m/f)、duration——曲目时长(秒),范围10到360(V6、V6_MINI和V6_WILD模型在custom_mode: true时可用;未指定时由模型自行决定时长)。
分离自己的音轨:向 POST /v1/music/separations 传入 task_id、audio_id 和 type(separate_vocal 或 split_stem)。在 GET /v1/music/separations/<id> 获取状态和分轨 ID。使用 POST /v1/music/wav-conversions 将歌曲或分轨转为 WAV;分轨需传入 stem: true。通过 GET /v1/music/wav-conversions/<id> 获取结果。价格见 /v1/models;dry_run: true 只报价,不启动任务。
# 1. 创建任务
curl https://neuralspace.pro/v1/music/generations \
-H "x-api-key: nsk-your_key" \
-H "content-type: application/json" \
-d '{"model": "V5", "prompt": "关于夜色都市的动感合成器浪潮音乐"}'
# response: { "id": "task_...", "status": "pending", "poll_url": "..." }
# 2. 轮询状态,直到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 }] }
兼容OpenAI Audio Speech API。同步接口:响应中直接返回可用的音频文件URL。仅在生成成功时按字符数扣除token。可用模型:tts-1, tts-1-hd。
请求体字段:model、input(文本,最多4096字符)、可选的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": "你好!这是NeuralSpace语音合成。"
}'
兼容OpenAI Audio Transcriptions API(Whisper)。文件以multipart/form-data格式发送。同步接口:响应中直接返回识别出的文本。仅在识别成功时按音频时长(根据文件大小估算)扣除token。可用模型:whisper-large-v3, whisper-1。文件大小限制——25 MB。
表单字段:file(音频格式:mp3/mp4/mpeg/mpga/m4a/wav/webm/ogg/flac)、model(whisper-large-v3;旧版whisper-1仍可使用,实际按large-v3运行)、可选的language(ISO语言代码,如ru/en)、prompt(上下文提示)。
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 } }
响应:{ "text": "识别出的文本", "model": "whisper-large-v3", "usage": { "tokens": 0.2 } }。
会说话的视频头像及相关模式。目录:GET /v1/avatars(avatar_id)、GET /v1/avatars/voices?language=en(voice_id)、GET /v1/avatars/languages(翻译语言)、/v1/avatars/styles、/v1/avatars/templates、/v1/avatars/assets、/v1/avatars/brand-kits。生成为异步:使用 type 字段调用 POST /v1/avatars/generations,然后轮询 GET /v1/avatars/generations/<id>。代币在创建时扣除,失败时退还。
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": "..." }
在你的账户中创建一个AI角色或语音助手(可在“角色”版块中查看)。若不提供image_url,则会创建一个使用预设音色的语音助手(voice_only)——速度快、成本低。若提供image_url(一张公开可访问的照片URL),则会创建带视频形象的角色。费用为10 token,成功后扣除。
字段:name(必填)、instruction(人设/系统指令)、voice(语音助手可选音色:alloy, echo, shimmer, sage, verse, coral, ash, ballad;默认alloy)、start_script(开场问候语)、image_url(用于生成视频形象的照片)、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": {...} } }
返回{ "data": [{ "id", "name", "characterType", "voice", "isVoiceOnly", ... }] }。
价格单位为站内token。价格为动态浮动价,可能随时调整;本页面始终展示当前实时价格。
价格是浮动的:每次请求都按实际发生的成本计费,因此表格中的数字仅供参考,并非固定价格。若某模型的价格在一天内发生波动,将在其下方显示过去24小时内的价格区间。
| 模型 | ID | 输入 / 100万 | 输出 / 100万 |
|---|---|---|---|
| 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 |
| 模型 | ID | 输入 / 100万 | 输出 / 100万 |
|---|---|---|---|
| GPT-5.6 Sol | gpt-5-6 | 172.5 长上下文(从 272 000 个输入 token 起):345 / 1293.5 / 100万 缓存读取:17.5 / 100万 | 862.5 |
| GPT-5.6 Terra | gpt-5-6-balanced | 86.5 长上下文(从 272 000 个输入 token 起):172.5 / 776 / 100万 缓存读取:8.5 / 100万 | 517.5 |
| GPT-5.6 Luna | gpt-5-6-fast | 8.5 长上下文(从 272 000 个输入 token 起):17.5 / 77.5 / 100万 缓存读取:1 / 100万 | 52 |
| GPT-6 Astra | gpt-6-astra | 431.5 长上下文(从 272 000 个输入 token 起):862.5 / 3234 / 100万 缓存读取:43 / 100万 | 2156 |
| GPT-6 Sol | gpt-6-sol | 86.5 长上下文(从 272 000 个输入 token 起):172.5 / 647 / 100万 缓存读取:8.5 / 100万 | 431 |
| GPT-6 Luna | gpt-6-luna | 4.5 长上下文(从 272 000 个输入 token 起):8.5 / 32.5 / 100万 缓存读取:0.5 / 100万 | 21.5 |
| GPT-6.1 Sol | gpt-6-1-sol | 86.5 长上下文(从 272 000 个输入 token 起):172.5 / 647 / 100万 缓存读取:4.5 / 100万 | 431 |
| GPT-6.2 Sol | gpt-6-2-sol | 86.5 长上下文(从 272 000 个输入 token 起):172.5 / 647 / 100万 缓存读取:4.5 / 100万 | 431 |
| GPT-6.2 Sol Pro | gpt-6-2-sol-pro | 86.5 长上下文(从 272 000 个输入 token 起):172.5 / 647 / 100万 缓存读取:4.5 / 100万 | 431 |
| GPT-6.2 Astra | gpt-6-2-astra | 1149.5 长上下文(从 272 000 个输入 token 起):2299 / 8621 / 100万 缓存读取:57.5 / 100万 | 5747.5 |
| GPT-6.2 Astra Pro | gpt-6-2-astra-pro | 345 长上下文(从 272 000 个输入 token 起):690 / 2587.5 / 100万 缓存读取:17.5 / 100万 | 1725 |
| GPT-6.1 Sol Pro | gpt-6-1-sol-pro | 86.5 长上下文(从 272 000 个输入 token 起):172.5 / 647 / 100万 缓存读取:4.5 / 100万 | 431 |
| GPT-6.1 Terra | gpt-6-1-terra | 43 长上下文(从 272 000 个输入 token 起):86.5 / 323.5 / 100万 缓存读取:2 / 100万 | 215.5 |
| GPT-6.1 Terra Pro | gpt-6-1-terra-pro | 43 长上下文(从 272 000 个输入 token 起):86.5 / 323.5 / 100万 缓存读取:2 / 100万 | 215.5 |
| GPT-5 Mini | gpt-5-mini | 11 缓存读取:1 / 100万 | 86.5 |
| GPT-5.4 Mini | gpt-5-4-mini | 32.5 长上下文(从 272 000 个输入 token 起):64.5 / 291 / 100万 缓存读取:3 / 100万 | 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 缓存读取:7 / 100万 | 718.5 |
| Gemini 4 Hydrogen | gemini-4-hydrogen | 108 缓存读取:5.5 / 100万 | 539 |
| Gemini 4 Neon | gemini-4-neon | 215.5 缓存读取:11 / 100万 | 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 过去24小时 缓存读取:0.5 / 100万 | 86 86.21–172.42 过去24小时 |
| DeepSeek V4 Pro | deepseek-v4-pro | 62.5 | 125 |
| GLM-5.3 Flash (Zhipu) | glm-5.3-flash | 5 5.12–21.55 过去24小时 缓存读取:4.5 / 100万 | 11.5 11.71–71.84 过去24小时 |
| GLM-5.3 (Zhipu) | glm-5.3 | 10 缓存读取:10 / 100万 | 201 |
| GLM-5.3 FlashX Legal (Zhipu) | glm-5.3-flashx-legal | 53 缓存读取:11 / 100万 | 179.5 |
| Kimi K2.6 (Moonshot) | kimi-k2.6 | 93.5 缓存读取:21.5 / 100万 | 490 |
| Kimi K3 (Moonshot) | kimi-k3 | 27.5 缓存读取:26 / 100万 | 2299 |
| Kimi K3.1 Pro (Moonshot) | kimi-k3.1-pro | 36.5 缓存读取:26 / 100万 | 1264.5 |
| 模型 | ID | 价格(token) | 单位 |
|---|---|---|---|
| Nano Banana (Gemini 2.5 Flash) | nano-banana | 1K — 3.5 | 每张图像 |
| Nano Banana Pro | nano-banana-pro | 1K — 8.5; 2K — 11; 4K — 14.5 | 每张图像 |
| Nano Banana 2 | nano-banana-2 | 1K — 7; 2K — 10.5; 4K — 15.5 | 每张图像 |
| Nano Banana 2 Lite | nano-banana-2-lite | 1K — 3.5 | 每张图像 |
| Nano Banana 2.1 | nano-banana-2-1 | 1K — 3.5; 2K — 5; 4K — 8 | 每张图像 |
| FLUX 2 Pro | flux-2-pro | 1K — 6; 2K — 6 | 每张图像 |
| GPT Image 1.5 | gpt-image-15 | medium — 3.5; high — 19 | 每张图像 |
| GPT Image 2 | gpt-image-2 | 1K — 5; 2K — 8.5; 4K — 14 | 每张图像 |
| GPT Image 2 Pro | gpt-image-2-pro | low — 0.72; medium — 2.75; high — 9.56 | 每张图像 |
| ChatGPT Images 2.5 | gpt-image-25 | 1K — 5.5; 2K — 9; 4K — 14 | 每张图像 |
| GPT Image 2.6 | gpt-image-26 | 1K — 7.5; 2K — 14; 4K — 69 | 每张图像 |
| Seedream 4.5 | seedream-45 | 每张图片 — 5.5 | 每张图像 |
| Seedream 5 Lite | seedream-5-lite | 每张图片 — 4.5 | 每张图像 |
| Seedream 5 Flash | seedream-5-flash | 每张图片 — 3 | 每张图像 |
| Seedream 5 Pro | seedream-5-pro | basic (1K) — 6; high (2K) — 12 | 每张图像 |
| Grok Imagine 1 | grok-image | 每张图片 — 3.5 | 每张图像 |
| Grok Imagine 2 | grok-imagine-image-2 | 每张图片 — 3.5 | 每张图像 |
| MiniMax H3 Image | minimax-h3-image-edit | 1K — 1.6; 2K — 1.6; 4K — 4.5 | 每张图像 |
| Z-Image | z-image | 每张图片 — 0.7 | 每张图像 |
| Ideogram V3 | ideogram | TURBO — 3; BALANCED — 6; QUALITY — 8.5 | 每张图像 |
| Midjourney v7 | midjourney | relaxed — 2.5; fast — 6.5; turbo — 13.5 | 每张图像 |
| 模型 | ID | 价格(token) | 单位 |
|---|---|---|---|
| Seedance 2.0 | seedance-2.0 | 480p — 68; 720p — 147; 1080p — 366; 4K — 747 | 每5秒 |
| Seedance 2.0 Mini | seedance-2.0-mini | 480p — 14; 720p — 29 | 每5秒 |
| Seedance 2.5 (ByteDance) | seedance-2.5 | 480p — 101; 720p — 226; 1080p — 568; 4K — 902 | 每5秒 |
| Seedance 2.5 Draft upgrade (ByteDance) | seedance-2.5-draft | 720p — 226; 1080p — 568; 4K — 902 | 每5秒 |
| Seedance 2.5 Flash (ByteDance) | seedance-2.5-flash | 480p — 66; 720p — 147 | 每5秒 |
| MAGI-2 (Sand AI) | magi-2 | 1080p — 60.5 | 每5秒 |
| LTX 2.5 Fast (Lightricks) | ltx-2.5-fast | 720p — 47; 1080p — 67; 1440p — 98 | 每6秒 |
| LTX 2.5 Pro (Lightricks) | ltx-2.5-pro | 720p — 62; 1080p — 88 | 每6秒 |
| Veo 3.1 Quality | veo-3.1 | 每个视频 — 215.5 | 每个视频 |
| Veo 3.1 Fast | veo-3.1-fast | 每个视频 — 51.5 | 每个视频 |
| Veo 3.1 Lite | veo-3.1-lite | 每个视频 — 26 | 每个视频 |
| Sora 2 (OpenAI) | sora-2 | 10 c — 20; 15 c — 23.5 | 每个视频 |
| 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 | 每个视频 |
| Kling O3 (Kuaishou) | kling-o3 | 720p — 50; 1080p — 64.5; 4K — 240 | 每5秒 |
| Kling 3.0 (Kuaishou) | kling-3.0 | std — 50; pro — 64.5; 4K — 240 | 每5秒 |
| Kling 3.0 Turbo (Kuaishou) | kling-3-0-turbo | 720p — 64.5; 1080p — 80.5 | 每5秒 |
| Kling 4.0 (Kuaishou) | kling-4-0 | 720p — 102; 1080p — 152 | 每5秒 |
| Kling 4.0 Flash (Kuaishou) | kling-4-0-flash | 720p — 61 | 每5秒 |
| Grok Imagine Video 1.5 (keyframes) | grok-1.5 | 480p — 16.5; 720p — 31; 1080p — 55 | 每8秒 |
| Grok Imagine (xAI) | grok-imagine | 480p — 12.5; 720p — 23.5 | 每6秒 |
| Wan 2.6 (Alibaba) | wan-2.6 | 720p — 61; 1080p — 91 | 每5秒 |
| Gemini Omni 1.1 Flash | gemini-omni-flash-1-1 | 360p — 57; 720p — 57; 1080p — 57; 4K — 133 | 每5秒 |
| Gemini Omni 1.2 Flash | gemini-omni-flash-1-2 | 360p — 15; 720p — 33; 1080p — 36; 4K — 79 | 每5秒 |
| Gemini Omni 1.2 Flash Extend | gemini-omni-flash-1-2-extend | 360p — 15; 720p — 33 | 每5秒 |
| Gemini Omni 1 | gemini-omni-1 | 720p — 57; 1080p — 57; 4K — 133 | 每5秒 |
| Vidu Q4 | vidu-q4 | 540p — 31; 720p — 65.5; 1080p — 83; 2K — 131; 4K — 269 | 每5秒 |
| 模型 | ID | 价格(token) | 单位 |
|---|---|---|---|
| Suno V6 | V6 | 每次生成 — 10.5 | 每次生成 |
| Suno V6 Wild | V6_WILD | 每次生成 — 10.5 | 每次生成 |
| Suno V6 Mini | V6_MINI | 每次生成 — 10.5 | 每次生成 |
| Suno V5 | V5 | 每次生成 — 10.5 | 每次生成 |
| Suno V4.5+ | V4_5PLUS | 每次生成 — 10.5 | 每次生成 |
| Suno V4.5 | V4_5 | 每次生成 — 10.5 | 每次生成 |
| Suno V4 | V4 | 每次生成 — 10.5 | 每次生成 |
| 模型 | ID | 价格(token) | 单位 |
|---|---|---|---|
| OpenAI TTS | tts-1 | 每 1000 字符 — 2.59 | 每1000字符 |
| OpenAI TTS HD | tts-1-hd | 每 1000 字符 — 5.18 | 每1000字符 |
| 模型 | ID | 价格(token) | 单位 |
|---|---|---|---|
| Whisper large-v3 | whisper-large-v3 | 每分钟 — 0.26 | 每分钟 |
| Whisper(兼容,= large-v3) | whisper-1 | 每分钟 — 0.26 | 每分钟 |
| 模型 | ID | 价格(token) | 单位 |
|---|---|---|---|
| Talking avatar | talking_avatar | 11.5 | 每1秒 |
| Video translation | video_translation | 2.5 | 每1秒 |
| AI clipping | ai_clipping | 26 | 每个视频 |
| Cinematic avatar | cinematic_avatar | 1207 | 每个视频 |
| Video agent | video_agent | 17 | 每1秒 |
| Text to speech | text_to_speech | 1.7 | 每1秒 |
| Voice cloning | voice_clone | 86 | 每次操作 |
| Filler word removal | filler_removal | 103.5 | 每1秒 |
| Animation render | hyperframes | 17 | 每分钟 |
| Studio (scene merge) | studio | 11.5 | 每1秒 |
| Proofread translation | proofread | 0.7 | 每1秒 |
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/..." }
文本接口返回Anthropic格式的错误({ "type": "error", "error": { "type", "message" } }),对话接口返回OpenAI格式的错误({ "error": { "message", "type" } })。错误代码:401——密钥缺失或无效,403——账户已被暂停,429——超出速率限制,400——请求无效或token余额不足。
技术支持与余额充值:https://neuralspace.pro/payment。管理密钥:https://neuralspace.pro/api-keys。
Ready-to-copy settings for OpenCode, Claude Code, Cursor, Harness and MCP.