mochi

Generates short videos from text prompts via the Mochi Video API on Pixazo.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Pixazo-AI/skills --skill mochi-pixazo-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mochi
Source: https://github.com/Pixazo-AI/skills/tree/main/skills/mochi
Command: npx skills add https://github.com/Pixazo-AI/skills --skill mochi-pixazo-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating video clips from text descriptions normally requires complex video editing tools or direct integration with a video generation model. This Skill lets an AI agent call the Mochi Video API through the Pixazo gateway to produce a roughly 5-second video from a plain text prompt, handling authentication, submission, and polling automatically. ## Core Features & Use Cases - Text-to-Video Generation: Submit a prompt (plus an optional seed) to the Mochi v1 endpoint and receive a fixed ~5-second video clip. - Managed API Key Flow: Guides the agent to find or securely store a Pixazo API key in ~/.pixazo/api-key so the user only provides it once. - Async Polling & Error Handling: Includes a polling loop for the asynchronous generation task and clear user-facing messages for 401, 402, 429, 4xx, and 5xx responses. - Use Case: A content creator asks the agent to "generate a video of a sparrow flying through a forest" and receives a ready-to-share video URL after the task completes. ## Quick Start Ask the agent to generate a short video of any scene you describe, and it will use the Mochi skill to produce the clip and return the video URL.

Frequently Asked Questions about mochi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a video from a text prompt with Mochi?▼

Send a POST request to the Pixazo gateway generate endpoint with your prompt and an optional seed, authenticated with your Pixazo API key. The response returns a task ID that you poll until the video URL is ready.

How long are videos generated by the Mochi Video API?▼

Mochi produces a fixed clip of roughly 5 seconds. The length is not adjustable, and pricing is a flat per-video charge regardless of the prompt.

Where do I get a Pixazo API key for video generation?▼

Sign in at https://api-console.pixazo.ai/api_keys, click "Create new key", and copy it. The skill saves it to ~/.pixazo/api-key so you only need to provide it once.

Why does Mochi video generation take time to complete?▼

Video generation is asynchronous: the first request returns a task ID, and the result must be polled every few seconds until the status indicates completion. Total wait can be up to about 10 minutes for video tasks.

What does a 402 error mean when calling the Pixazo API?▼

A 402 response means your Pixazo account is out of credits. Top up your balance at https://api-console.pixazo.ai/dashboard and retry the request.