Introduction
Postman is the industry-standard API testing platform. By importing the Nebula Unified API collection, you can explore and test all Nebula endpoints — chat completions, image generation, video generation, embeddings, reranking, and more — directly from a friendly GUI, with zero coding required.Download Files
Download both files below and import them into Postman:Nebula Unified API Collection
The full API collection with pre-built requests for every endpoint, organized into folders.
Nebula Environment
Pre-configured environment variables:
base_url, api_key, and default model IDs for each capability.Quick Setup
Step 1 — Import the Collection
- Open Postman and click Import (top-left).
- Drag and drop
Nebula_Unified_API.postman_collection.jsononto the import dialog, or use Upload Files. - Click Import to confirm.
Step 2 — Import the Environment
- Click Import again.
- Upload
Nebula_Unified_API.postman_environment.json. - Click Import to confirm.
Step 3 — Set Your API Key
- In Postman, open the Environments panel (left sidebar).
- Select Nebula Unified API - Environment.
- Find the
api_keyvariable row and enter your Nebula API key in the Current value column. - Click Save (Ctrl/Cmd + S).
Step 4 — Activate the Environment
In the top-right corner of Postman, open the environment dropdown and select Nebula Unified API - Environment.Step 5 — Send Your First Request
- Expand the Nebula Unified API collection in the left panel.
- Open folder
00 - Getting Started→ clickSmoke Test - Chat Completion. - Click Send.
- You should receive a
200 OKwith the messageNebula API is ready.
Collection Structure
The collection is organized into logical folders:| Folder | What’s inside |
|---|---|
00 - Getting Started | List Models, Smoke Test Chat |
01 - Text / OpenAI-compatible | Chat Completion, Streaming, Responses API, Web Search, Structured Output |
02 - Native Provider APIs | Claude Messages (incl. streaming & token count), Gemini generateContent (incl. streaming & image output) |
03 - Embeddings & Retrieval | OpenAI-compatible Embeddings, Rerank |
04 - Image Generation | Gemini, Doubao Seedream (text-to-image), Doubao Seededit (image edit), GPT Image, Qwen Image |
05 - Video Generation | Submit & poll tasks for Sora 2, Veo, Wanxiang, Doubao Seedance, and more |
06 - Realtime & Voice | WebSocket / realtime voice endpoints |
| Provider model folders | Auto-generated folders grouped by provider and capability from /v1/models |
Environment Variables
| Variable | Default | Description |
|---|---|---|
base_url | https://llm.ai-nebula.com | Nebula API base URL — do not change |
api_key | (empty) | Your Nebula API key — fill this in |
default_chat_model | qwen-plus | Model used in chat completion requests |
default_responses_model | gpt-5.2 | Model used in Responses API requests |
default_claude_model | claude-sonnet-4-5-20250929 | Model used for Claude native endpoints |
default_gemini_model | gemini-2.5-flash | Model used for Gemini native endpoints |
default_image_model | gemini-2.5-flash-image | Default image generation model |
default_video_model | veo-3.1-fast-generate-001 | Default video generation model |
default_embedding_model | text-embedding-3-small | Default embedding model |
default_rerank_model | rerank-v1 | Default rerank model |
video_task_id | (example) | Auto-filled by video submit test scripts |
image_base64 | (placeholder) | Replace with a real base64 data URL for image-edit requests |
image_url | https://example.com/image.jpg | Replace with a real image URL for image-edit requests |
Tips & Best Practices
Switching Models
Switching Models
You can override the environment model for any single request without changing the environment variable. In the request Body, simply replace
{{default_chat_model}} with the exact model ID you want, e.g. claude-sonnet-4-6.Streaming Requests
Streaming Requests
Postman supports Server-Sent Events (SSE). Open a streaming request (e.g. Chat Completion - Streaming) and look for the Visualize tab or the raw response body to see streamed chunks in real time.
Video Generation (Async Workflow)
Video Generation (Async Workflow)
Video generation is asynchronous:
- Send Submit Video Task — the test script auto-saves
task_idtovideo_task_id. - Send Query Video Task (uses
{{video_task_id}}) — repeat untilstatusissucceeded. - Use the returned URL or call Download Video to retrieve your file.
Image Edit Requests
Image Edit Requests
For image-edit endpoints (e.g. Doubao Seededit, Qwen Image Edit):
- Set
image_base64in the environment to adata:image/png;base64,...string, or - Set
image_urlto a publicly accessible image URL.
Saving Responses as Examples
Saving Responses as Examples
After a successful run, click Save as Example to capture the response. This makes it easy to share reference responses with your team.
Troubleshooting
401 Unauthorized
401 Unauthorized
Could not get response / Connection Error
Could not get response / Connection Error
- Check your internet connection.
- Ensure
base_urlis exactlyhttps://llm.ai-nebula.comwith no trailing slash. - If you are behind a corporate firewall, configure a Postman proxy.
Model not found (404)
Model not found (404)
- Some models require specific account permissions or are region-restricted.
- Try switching to a different
default_chat_modellikeqwen-plus, or usegpt-5.2through the Responses API. - Run List Models in the
00 - Getting Startedfolder to see models available to your key.
