This page is a translation of the Japanese version. The Japanese version is authoritative; if they differ, follow the Japanese version.
Get
You can get a model’s details and files without logging in. <ID> is the id from search results (a lowercase ULID, 26 characters).
Details
Section titled “Details”curl https://spritestack.dev/api/v1/models/<ID>Details are a search result item plus the following.
| Field | Content |
|---|---|
description |
Description |
format, formatVersion |
The file format mark and version: "ss" and 1 |
files |
File URLs: original, preview, thumbnail, source (the rebuild source; null for models without one) |
derivedFrom |
The model this one is based on (id, title, titleJa, titleEn, author, license, licenseLabel, pageUrl), or null. pageUrl, titleJa and titleEn become null when the original is unpublished |
derivatives |
Public models based on this one (same shape as search results) |
The full shape is in the operation that gets a model’s information in the API reference, and in ModelDetail of /openapi.json.
curl -o model.parts.json https://spritestack.dev/api/v1/models/<ID>/files/source.parts.json| Name | Content |
|---|---|
original.ss |
The model as uploaded. For download |
preview.ss |
The model for display |
thumbnail.png |
Thumbnail |
source.parts.json |
The rebuild source (parts JSON). 404 when hasSource in the details is false |
When is there a rebuild source
Section titled “When is there a rebuild source”A .ss baked from a parts JSON with bake bundles the rebuild source. You can get it as source.parts.json after uploading.
Some models, such as a .ss made by other tools, have no source. Their hasSource is false.
MCP and command
Section titled “MCP and command”- MCP:
get_model(details) andget_model_source(returns the content of the rebuild source). See MCP. - Command:
node packages/spst/src/cli.ts get <ID>node packages/spst/src/cli.ts get <ID> --file source -o model.parts.jsonPass original, preview, source, or thumbnail to --file, and a path with the matching extension to -o.