# Does Mage have SDKs for Python, TypeScript, and ComfyUI?

Source: https://www.mage.space/help/integrations/sdks

> Install Mage’s official open-source TypeScript SDK, Python SDK, ComfyUI nodes, and AI assistant skills.

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](https://www.mage.space/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_KEY` environment 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](https://www.mage.space/developers/sdks) and [ComfyUI](https://www.mage.space/developers/comfyui), or jump straight to the [TypeScript](https://docs.mage.space/api/sdks/typescript), [Python](https://docs.mage.space/api/sdks/python), and [ComfyUI](https://docs.mage.space/api/integrations/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.
