WP Manifestindependent plugin directory
manifest / ai / 1min-ai-video

1min.ai Video Generator

WordPress Ability that generates video from a text prompt via 1min.ai and saves it to the Media Library. Companion to AI Provider for 1min.ai. Unofficial.

by Adam Greenwell · github.com/adamgreenwell/1min-ai-video · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/adamgreenwell/1min-ai-video/archive/refs/heads/main.zip

Readme

1min.ai Video Generator

A companion plugin for AI Provider for 1min.ai that registers a 1min-ai/generate-video WordPress Ability — text prompt → video → Media Library attachment.

Independent, unofficial integration. Not affiliated with, endorsed by, or sponsored by 1min.ai.

Why a separate plugin?

The connector is a pure provider — it exposes 1min.ai's models to the WordPress AI Client but doesn't drive any feature itself. Generating something needs a consumer. The core ai plugin ships text and image features but no video feature, so this plugin provides the consumer that drives the connector's video capability. Keeping it separate lets the connector stay a clean, single-purpose provider (and ship to WordPress.org on its own).

The ability

1min-ai/generate-video

Input prompt (required), model (optional, default hailuo)
Output attachment_id, url, model
Permission upload_files
Behaviour generates via the AI Client → 1min.ai (synchronous, ~1–2 min), then sideloads the returned MP4 into the Media Library

Invokable via REST (/wp-json/wp-abilities/v1/abilities/1min-ai%2Fgenerate-video/run), WP-CLI, or any MCP client — no custom UI required.

Example

$ability = wp_get_ability( '1min-ai/generate-video' );
$result  = $ability->execute( array( 'prompt' => 'a kite surfer at golden hour, cinematic' ) );
// => array( 'attachment_id' => 123, 'url' => 'https://.../video.mp4', 'model' => 'hailuo' )

Requirements

  • AI Provider for 1min.ai, active and configured with a 1min.ai API key.
  • The Abilities API (plugin, or WordPress core where available).
  • A 1min.ai plan with text-to-video access.

Installation

Install the connector and the Abilities API first, then add this plugin by any method below and activate it. There's no build step — it's a single file with no runtime dependencies of its own.

Option 1 — Upload a ZIP in wp-admin (easiest)

  1. On the repository page, click Code → Download ZIP (or download a release asset).
  2. In WordPress: Plugins → Add New → Upload Plugin, choose the ZIP, Install Now, then activate 1min.ai Video Generator.

Option 2 — FTP / SFTP

  1. Download and unzip the repository.
  2. Rename the extracted folder to 1min-ai-video (GitHub's auto-ZIP unzips to 1min-ai-video-main).
  3. Upload it into wp-content/plugins/ and activate the plugin.

Option 3 — git clone

cd wp-content/plugins
git clone https://github.com/adamgreenwell/1min-ai-video.git

Then activate the plugin.

Option 4 — WP-CLI

wp plugin install https://github.com/adamgreenwell/1min-ai-video/archive/refs/heads/main.zip --activate

Installs into a folder named 1min-ai-video-main; rename it to 1min-ai-video (or use a release ZIP) so the slug matches.

Notes

  • Generation is synchronous and slow (1–2 minutes per clip) — invoke it from a context that tolerates a long-running request.
  • The generated video is downloaded from 1min.ai's signed storage URL (which expires in ~7 days) and stored locally in the Media Library, so it persists.

License

GPL-2.0-or-later.

Read the full README on GitHub →