Does Mage have SDKs for Python, TypeScript, and ComfyUI?
Yes. Mage maintains open-source SDKs and integrations on GitHub, all powered by your Mage API key and paid in Gems:
- TypeScript / JavaScript:
npm install @mage-space/sdk - Python (sync and asyncio):
pip install mage-space - ComfyUI nodes:
comfy node install comfyui-mage(or search “Mage” in ComfyUI-Manager) - AI assistant skills:
npx skills add mage-space/skills(browse on Skills)
What the SDKs handle automatically
- Submitting a generation and polling until the output is ready in a single call.
- Automatic idempotency keys so network retries never double-charge.
- Uploading large local image, video, or audio files.
- Reading your API key automatically from the
MAGE_API_KEYenvironment variable.
Using Mage inside ComfyUI
After installing the nodes, set MAGE_API_KEY (or paste your key into the config file) and find them under the Mage node category. Models run on Mage’s cloud GPUs, so you don’t need a local GPU or giant model downloads.
Full docs and references
Explore SDKs and ComfyUI, or jump straight to the TypeScript, Python, and ComfyUI documentation.
Common questions
Do the SDKs or ComfyUI nodes cost extra?
No. They are free and open source. You only pay the standard Gem cost for each generation you run.
What are Mage Skills?
Skills are ready-made workflows you add on top of the Mage MCP server, covering product photoshoots, marketplace listings, ad variations, YouTube thumbnails, and UGC videos.
Share feedback
Was this article helpful?
Thanks for the feedback.