CsmAi
Modern .NET SDK for CsmAi generated from the provider's OpenAPI definition with AutoSDK.
Generated from the source spec
Built from a manually authored OpenAPI definition cross-referenced against docs.csm.ai and the official Python SDK.
Auto-updated
Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.
Modern .NET
Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.
Docs from examples
Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.
Usage
1 2 3 | |
Image to 3D
Shows how to start an image-to-3D session using the legacy endpoint used by the official Python SDK, then poll for its status.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Text to 3D (text-to-image stage)
Shows how to start a text-to-image session — the first stage of CSM's text-to-3D pipeline. The returned image is then piped into an image-to-3D session.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Create a Scene session (v3)
Shows how to use the unified v3 Sessions API to create a full 3D scene generation — CSM's headline capability distinguishing it from single-object generators.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
List sessions
Shows how to list recent sessions (user's 3D assets) via the unified v3 API.
1 2 3 4 5 | |
Support
Bugs
Open an issue in tryAGI/CsmAi.
Ideas and questions
Use GitHub Discussions for design questions and usage help.
Community
Join the tryAGI Discord for broader discussion across SDKs.
Acknowledgments

This project is supported by JetBrains through the Open Source Support Program.