# Masky > Masky (masky.ai) is an AI avatar platform. Create AI characters with a face, a cloned or preset voice and a personality, then generate images, spoken audio, talking-head video and scene videos, run conversations, and go live on Twitch or in OBS. ## For AI assistants: acting for a user If a user asks you to create an image, an avatar or a video with Masky, you can do it on their own account, even if they have never used Masky: 1. `POST https://masky.ai/api/oauth/device` with JSON `{"client_name":""}`. No key is needed. 2. Show the user the `verification_uri_complete` link and the `user_code`. They sign in or sign up, check the code, and press Allow. 3. Poll `POST https://masky.ai/api/oauth/token` with `{"grant_type":"urn:ietf:params:oauth:grant-type:device_code","device_code":""}` every `interval` seconds until you get `access_token`. 4. Call the API with `Authorization: Bearer `, then create what they asked for. Start at the [Masky agent skill](https://masky.ai/skill.md) — it covers getting a key and routes to the full API reference, a curl quickstart, MCP setup, and the SSO guide. This needs a tool that can send HTTP POST requests (code execution, a shell, or an HTTP tool). An assistant that can only read web pages can't create accounts or assets. In that case, send the user to https://masky.ai to sign up and create there. ## Docs - [Masky agent skill](https://masky.ai/skill.md): the entry point for agents — key onboarding + routing to the guides below - [API reference](https://masky.ai/masky-api.md): every endpoint — auth, images, avatars, video, conversations, translations, brain memory - [curl quickstart](https://masky.ai/masky-cli.md): first render end to end from a shell, with gotchas - [MCP setup](https://masky.ai/masky-mcp.md): `npx -y masky-mcp-server` with `MASKY_API_KEY`, or hosted at `https://masky.ai/api/mcp` (streamable HTTP, `Authorization: Bearer mky_...`) - [Login with Masky](https://masky.ai/masky-sso.md): OAuth 2.0 SSO for your own site — consent flow, service identities, tribes & credit gifts - [Developer page](https://masky.ai/developer): API keys and connected apps ## Pages - [Home](https://masky.ai/) - [Blog](https://masky.ai/blog) - [About](https://masky.ai/about.html)