Models
Every POST /v1/worlds request must set model to a model slug enabled for your account. There is no implicit default: omitting model or passing "default" returns 400 INVALID_INPUT along with the list of valid model IDs for your key.
Endpoint
| Endpoint | Scope | Purpose |
|---|---|---|
GET /v1/models | worlds:read | List generation models enabled for this API key. Optional ?input_kind= filter (single or perspective_capture). |
List available models
curl -s https://api.spaitial.ai/v1/models \
-H "Authorization: Bearer $SPAITIAL_API_KEY"
{
"models": [
{
"id": "echo-2",
"name": "Echo-2",
"description": "Standard image/panorama to 3D Gaussian splat pipeline.",
"is_default": false,
"credit_cost": 160,
"pricing": { "unit": "world", "credits": 160 },
"estimated_duration_seconds": 522,
"input_kind": "single",
"docs_url": "https://docs.spaitial.ai/api/generation-models#default"
},
{
"id": "echo-hq",
"name": "Echo HQ",
"description": "Higher-detail, higher-resolution worlds.",
"is_default": false,
"credit_cost": 800,
"pricing": { "unit": "world", "credits": 800 },
"estimated_duration_seconds": 3600,
"input_kind": "single",
"docs_url": "https://docs.spaitial.ai/api/generation-models#echo-hq"
},
{
"id": "echo-3",
"name": "Echo-3",
"description": "Reconstruct a real space from a phone capture.",
"is_default": false,
"credit_cost": 900,
"pricing": {
"unit": "capture_frame",
"base_credits": 900,
"credits_per_frame": 1,
"max_frames": 12000
},
"estimated_duration_seconds": 3210,
"input_kind": "perspective_capture",
"docs_url": "https://docs.spaitial.ai/api/capture-worlds"
}
]
}
Always branch on id (echo-2, echo-hq, echo-3), which is a permanent lowercase slug. name is a human-readable display label. Unknown model slugs return 400 MODEL_NOT_FOUND. Requesting a model not enabled on your plan or account returns 403 MODEL_FORBIDDEN.
Public models
Echo-2
Fast, general-purpose spatial generation from a text prompt, reference image, or equirectangular 360° panorama. Available on all plans (including Free).
| Property | Value |
|---|---|
API model | echo-2 |
| Inputs | text, url, base64, file_id (flat image or is_pano: true), panorama_id |
| Typical duration | 8 to 9 minutes (~522 s) |
| Credit cost | 160 credits ($1.60) from text or image, 115 credits ($1.15) from a 360° panorama or panorama_id |
curl -sX POST https://api.spaitial.ai/v1/worlds \
-H "Authorization: Bearer $SPAITIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "echo-2",
"input": {
"type": "text",
"prompt": "A sunlit Tuscan villa courtyard at golden hour"
}
}'
Echo HQ
Higher-detail, higher-resolution world generation accepting the same inputs as Echo-2. Available on all plans (including Free).
| Property | Value |
|---|---|
API model | echo-hq |
| Inputs | text, url, base64, file_id (flat image or is_pano: true), panorama_id |
| Typical duration | About 60 minutes (~3600 s) |
| Credit cost | 800 credits ($8.00) from text or image, 755 credits ($7.55) from a 360° panorama or panorama_id |
curl -sX POST https://api.spaitial.ai/v1/worlds \
-H "Authorization: Bearer $SPAITIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "echo-hq",
"input": {
"type": "url",
"image_url": "https://example.com/courtyard.jpg"
}
}'
Echo-3
Metric-scale 3D reconstruction of real spaces from phone camera captures (capture_bundle). Enabled on Standard, Pro, and Enterprise plans.
| Property | Value |
|---|---|
API model | echo-3 |
| Inputs | capture_bundle (zip single scan or zips multi-scan array of 1 to 8 ZIPs) |
| Typical duration | 30 minutes to 2 hours depending on frame count |
| Credit cost (API) | 900 base credits ($9.00) + 1 credit ($0.01) per frame (unit: "capture_frame") |
| Credit cost (Capture app) | 300 credits ($3.00) per scan minute, 900-credit minimum (unit: "capture_minute") |
curl -sX POST https://api.spaitial.ai/v1/worlds \
-H "Authorization: Bearer $SPAITIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "echo-3",
"title": "Living room scan",
"input": {
"type": "capture_bundle",
"zip": { "type": "url", "zip_url": "https://example.com/capture.zip" }
}
}'
See Mobile capture for the ZIP specification, frame limits, and quote endpoint.
Private beta models
Accounts granted access to private beta models see them automatically in GET /v1/models, and their docs_url links to gated documentation in the Developer Portal.