npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@genmagic/piece-genmagic

v0.0.1

Published

GenMagic piece for Activepieces: generate images, video, music, speech and text with hundreds of AI models through one API key and one prepaid balance.

Readme

GenMagic for Activepieces

Generate images, video, music, speech and text from an Activepieces flow with GenMagic: one API key and one prepaid balance for hundreds of AI models.

| Action | What it does | |---|---| | Generate Image | Text to image, or edit a reference image. Optional logo kind and 1 to 4 images. | | Generate Video | Starts a video job, waits for it and returns the clip as a file with its URL and cost. | | Start Video | Starts the same job and returns its ID at once, for clips that take longer than one step can wait. | | Get Video | Looks up a video job by ID: status, and once complete the URL, the file and the cost. | | Text to Speech | Text to spoken audio, returned as a file with its hosted URL and cost. | | Generate Music | A description to an original music track, returned as a file with its hosted URL and cost. | | Ask LLM | One prompt to any text model. | | Get Balance | Reads your prepaid balance and spend. Free. | | Custom API Call | Any other GenMagic endpoint, relative to https://genmagic.co/api/v1. The key is only ever sent to genmagic.co. |

Model dropdowns read the live public catalog and show each model's price. There are no triggers.

Connect

  1. Create a key at genmagic.co/get-api-key. A free account works. Verify your email address if GenMagic asks you to.
  2. In Activepieces, add a GenMagic connection and paste the key (it starts with gm_live_).

Each generation is paid from your GenMagic balance at the price shown next to the model. Add credits at genmagic.co/pricing.

Install this piece from npm

This is a community piece, so it is not in the Activepieces catalog until you install it. A platform admin installs it:

  1. In Activepieces open Platform Admin, then Catalogue, then Pieces, and choose Install Piece.
  2. Package Type: NPM Registry.
  3. Piece Name: @genmagic/piece-genmagic
  4. Piece Version: the version of this package, for example 0.0.1.

The server needs to be on Activepieces 0.88.2 or newer (the piece declares that as its minimum release).

Notes

  • Every request carries X-GenMagic-Client: activepieces/<version> so GenMagic can count usage per integration. It contains nothing else.
  • Generation requests are never retried, so a transient error cannot double a charge. Read-only requests (catalog, balance, video polls) retry a couple of times.
  • The package is one self-contained file (src/index.js) with no dependencies, built from the Activepieces framework sources the same way Activepieces builds its own pieces.

Support: [email protected]. License: MIT.