Can I generate every asset type through the API?+
Yes. Images, animations, talking clips, logos, and scenes use the mascot generation endpoint. Stickers use a completed image asset; cursor followers use the interactive endpoint. Each example above shows its request. Canvases have their own creation, graph, generation, and export routes.
Explore generation options →How do I make an animation interactive?+
Use a canvas to connect poses with animated moves and conditions. Your app sets the declared inputs when something happens, such as a user interaction or a completed task. The player chooses the next state and plays the connecting clip. Playback uses generated media; it does not generate a new video for every interaction.
Build an interactive canvas →Can I use a mascot I already made in Studio?+
Yes. Use a key from the same workspace and the ID of your existing mascot. Studio and the API work with the same mascots, poses, and assets.
How mascots work →Can I create the character through the API too?+
Yes. Start from a text description, upload a reference image, or let Masko read a website. Your mascot keeps its references for the poses, animations, and design assets you generate next.
Create your first mascot →Where do I put the API key?+
Keep it on your server, in an environment variable. Your backend makes the generation requests; your frontend displays the finished files. Any language that can make an HTTP request can use the API.
Authentication and quickstart →How do I know when the files are ready?+
Generation returns a job ID. Poll the job or subscribe to completion and failure webhooks. Some exports finish after the main job, so check that each asset is completed before displaying its file.
Jobs and asset readiness →Do I have to host the results myself?+
You can download the files and host them with your app, or enable Masko CDN hosting. Download URLs can expire. For hosted media, use the returned CDN URL once the export is ready.
Exports and hosting →How is API generation billed?+
Generation uses your workspace credits. The cost depends on the asset type, animation model, and duration. The credit guide lists the current costs and explains how to check your balance.
See generation costs →