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

ai-pose-generator-3

v1766999.123.874

Published

Professional integration for https://supermaker.ai/image/ai-pose-generator/

Readme

AI Pose Generator 3

A JavaScript library to generate realistic human poses for image manipulation and AI training datasets. This package provides a convenient way to create diverse and customizable pose data directly within your JavaScript applications.

Installation

Install the package using npm: bash npm install ai-pose-generator-3

Usage Examples

Here are a few examples demonstrating how to use ai-pose-generator-3 in different scenarios:

1. Generating a Single Pose: javascript const aiPoseGenerator = require('ai-pose-generator-3');

const pose = aiPoseGenerator.generatePose();

console.log(pose); // Output: An object representing a human pose.

2. Generating Multiple Poses with Customization: javascript const aiPoseGenerator = require('ai-pose-generator-3');

const options = { count: 5, // Generate 5 poses gender: 'female', // Specify gender (optional) style: 'athletic' // Specify style (optional) };

const poses = aiPoseGenerator.generatePoses(options);

poses.forEach(pose => { console.log(pose); });

3. Integrating with a Game Engine (Example with a hypothetical GameCharacter class): javascript const aiPoseGenerator = require('ai-pose-generator-3');

class GameCharacter { constructor() { this.pose = null; }

updatePose() { this.pose = aiPoseGenerator.generatePose(); }

render() { // Use this.pose data to animate the character console.log("Rendering character with pose:", this.pose); } }

const character = new GameCharacter(); character.updatePose(); character.render();

4. Creating a Dataset for AI Training: javascript const aiPoseGenerator = require('ai-pose-generator-3'); const fs = require('fs');

const numberOfPoses = 100; const poses = [];

for (let i = 0; i < numberOfPoses; i++) { poses.push(aiPoseGenerator.generatePose()); }

fs.writeFileSync('poses.json', JSON.stringify(poses, null, 2)); // Save poses to a JSON file

console.log(${numberOfPoses} poses generated and saved to poses.json);

5. Generating Poses with Specific Body Part Focus (Example: Arm Movement): javascript const aiPoseGenerator = require('ai-pose-generator-3');

const poseOptions = { focusArea: 'arm', // Focus generation on arm poses. armMotion: 'raising' // Suggest raising motion };

const armPose = aiPoseGenerator.generatePose(poseOptions);

console.log("Arm-focused pose:", armPose);

API Summary

  • generatePose(options?: object): object: Generates a single human pose. The options object can include properties like gender, style, focusArea, and armMotion to customize the generated pose.

    • options.gender: (optional) Specifies the gender of the generated pose ('male', 'female', or undefined for random).
    • options.style: (optional) Specifies the style of the generated pose (e.g., 'athletic', 'casual', or undefined for random).
    • options.focusArea: (optional) Specifies the body part to focus the pose generation on (e.g., 'arm', 'leg', 'torso').
    • options.armMotion: (optional) Specifies the desired arm motion (e.g., 'raising', 'extending'). Only effective when focusArea is set to 'arm'.
  • generatePoses(options: object): array: Generates an array of human poses. The options object must include the count property, and can also include gender and style properties for customization.

    • options.count: (required) The number of poses to generate.
    • options.gender: (optional) Specifies the gender of the generated poses ('male', 'female', or undefined for random).
    • options.style: (optional) Specifies the style of the generated poses (e.g., 'athletic', 'casual', or undefined for random).

License

MIT

This package is part of the ai-pose-generator-3 ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/image/ai-pose-generator/