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.
Recommended Path
- Explore the API client and shared schemas.
- Use MCP if you're building inside a chat client.
- Keep workflows and account rules aligned with the public docs.
