Skip to content

API & SDK

If you want to build custom tooling or automate Phantasmo, start with the API client and shared schemas.

What's Available

  • @phantasmo/api - Type-safe client for generation and gallery operations.
  • @phantasmo/shared - Shared schemas and types for validation.
  • MCP Server - Tool-based integration for chat apps and agents.
  1. Explore the API client and shared schemas.
  2. Use MCP if you're building inside a chat client.
  3. Keep workflows and account rules aligned with the public docs.

Phantasmo Docs