spritecook-ai Catalog API
Models, workflows and options you can pass to generation calls.
Models, workflows and options you can pass to generation calls.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/spritecook-ai:spritecook-ai-catalog-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SpriteCook Catalog API
description: 'Generate and animate 2D game art (pixel art and detailed/HD) from code.
Authenticate with an API key in the `Authorization: Bearer sc_live_...` header.
Create keys on the API Keys page (https://app.spritecook.ai/api-keys); each key
carries a set of scopes (see the `apiKey` security scheme). New accounts get
free credits, no card needed.
Long-running work is asynchronous: submit a job, then poll
`GET /v1/api/jobs/{job_id}` with the returned `poll_url`. The `*-sync`
variants wait up to 90 seconds and return the finished job.
Errors use one envelope: `{"detail": {"error": {"code": "...", "message": "..."}}}`.
Prefer the MCP server (https://api.spritecook.ai/mcp) when you are an agent
that speaks MCP; it exposes the same capabilities as tools.'
version: 1.0.0
summary: AI pixel art and 2D game asset generation API.
termsOfService: https://www.spritecook.ai/terms
contact:
name: SpriteCook support
email: support@spritecook.ai
url: https://www.spritecook.ai/contact
servers:
- url: https://api.spritecook.ai
description: Production
security:
- apiKey: []
tags:
- name: Catalog
description: Models, workflows and options you can pass to generation calls.
paths:
/v1/api/models:
get:
summary: List models available to API-key generation clients and their credit costs
description: List models available to API-key generation clients and their credit costs.
operationId: getModels
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: ApiModelCatalog
type: object
required:
- models
properties:
defaults:
type: object
additionalProperties: true
description: Default model per generation mode.
models:
type: array
items:
type: object
additionalProperties: true
description: Models you can pass as `model`, with credit costs.
additionalProperties: true
'400':
description: The request is invalid. `detail.error.code` says why (for example `invalid_request`).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'402':
description: Not enough credits (`insufficient_credits`).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: The API key lacks the required scope (`scope_denied`) or the account cannot use this feature.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: The asset, job or run was not found or does not belong to you.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limit or queue limit reached. Retry later.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
tags:
- Catalog
security:
- apiKey:
- generate
x-required-scope: generate
/v1/api/character-workflows:
get:
summary: List guided character perspectives, animations, source views, and credit…
description: List guided character perspectives, animations, source views, and credit estimates.
operationId: getCharacterWorkflows
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: ApiCharacterWorkflowCatalog
type: object
required:
- workflows
properties:
defaults:
type: object
additionalProperties: true
workflows:
type: array
items:
type: object
additionalProperties: true
description: Character perspectives and their animation presets.
source_views:
type: array
items:
type: object
additionalProperties: true
dependency_config:
type: object
additionalProperties: true
additionalProperties: true
'400':
description: The request is invalid. `detail.error.code` says why (for example `invalid_request`).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'402':
description: Not enough credits (`insufficient_credits`).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: The API key lacks the required scope (`scope_denied`) or the account cannot use this feature.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: The asset, job or run was not found or does not belong to you.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limit or queue limit reached. Retry later.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
tags:
- Catalog
security:
- apiKey:
- generate
x-required-scope: generate
/v1/api/tilesets/options:
get:
summary: List supported tileset generation options and resolved output dimensions
description: List supported tileset generation options and resolved output dimensions.
operationId: getTilesetOptions
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: ApiTilesetOptions
type: object
required:
- styles
properties:
defaults:
type: object
additionalProperties: true
styles:
type: object
additionalProperties: true
description: Tileset styles with supported tile sizes and resolved output dimensions.
additionalProperties: true
'400':
description: The request is invalid. `detail.error.code` says why (for example `invalid_request`).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'402':
description: Not enough credits (`insufficient_credits`).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: The API key lacks the required scope (`scope_denied`) or the account cannot use this feature.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: The asset, job or run was not found or does not belong to you.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limit or queue limit reached. Retry later.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
tags:
- Catalog
security:
- apiKey:
- generate
x-required-scope: generate
components:
schemas:
ApiError:
title: ApiError
type: object
required:
- detail
properties:
detail:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
description: Stable machine-readable error code, for example `insufficient_credits`.
message:
type: string
description: Human-readable explanation.
details:
type: object
additionalProperties: true
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: sc_live_ API key
description: 'SpriteCook API key sent as `Authorization: Bearer sc_live_...`. Create one at https://app.spritecook.ai/api-keys and grant only the scopes you need. Each operation lists its required scope in `security`.
- `generate`: Create, animate, import, slice and clean up assets, and manage the jobs they start. Spends credits.
- `read_assets`: Read metadata and download URLs for assets you own.
- `read_credits`: Read your credit balance.
- `report_errors`: Send integration error reports to SpriteCook (used by the MCP server).'
externalDocs:
description: API guide with examples
url: https://www.spritecook.ai/api-docs
x-spritecook-scopes:
generate: Create, animate, import, slice and clean up assets, and manage the jobs they start. Spends credits.
read_assets: Read metadata and download URLs for assets you own.
read_credits: Read your credit balance.
report_errors: Send integration error reports to SpriteCook (used by the MCP server).