Skip to main content

ai-pose-generator

The ai-pose-generator package provides a streamlined interface for interacting with and demonstrating the capabilities of the AI pose generation service. It offers a simplified way to create various poses using the Supermaker AI platform.

Installation

To install the ai-pose-generator package, use pip: bash pip install ai-pose-generator

Basic Usage

Here are some examples demonstrating how to use the ai-pose-generator package:

1. Generating a Basic Standing Pose:

This example demonstrates how to generate a simple standing pose with default parameters. python from ai_pose_generator import PoseGenerator

pose_gen = PoseGenerator() image_path = pose_gen.generate_pose(pose_type="standing")

print(f"Generated image saved to: {image_path}")

2. Generating a Sitting Pose with Custom Parameters:

This example shows how to customize the generated pose, specifying a sitting position and adjusting other parameters. python from ai_pose_generator import PoseGenerator

pose_gen = PoseGenerator() image_path = pose_gen.generate_pose( pose_type="sitting", style="realistic", background_color="white" )

print(f"Generated image saved to: {image_path}")

3. Generating a Yoga Pose:

This example demonstrates generating a more complex pose, such as a yoga pose, and saving the resulting image. python from ai_pose_generator import PoseGenerator

pose_gen = PoseGenerator() image_path = pose_gen.generate_pose(pose_type="yoga", yoga_pose="tree_pose")

print(f"Generated image saved to: {image_path}")

4. Generating a Running Pose with a Specific Background:

This example shows how to specify a particular background for the generated pose. python from ai_pose_generator import PoseGenerator

pose_gen = PoseGenerator() image_path = pose_gen.generate_pose( pose_type="running", background_image="path/to/your/background.jpg" )

print(f"Generated image saved to: {image_path}")

5. Generating a Custom Pose Description:

This example utilizes a textual description to generate a pose. This requires a more advanced integration with Supermaker AI's API, which is simplified by this package. python from ai_pose_generator import PoseGenerator

pose_gen = PoseGenerator() image_path = pose_gen.generate_pose( pose_description="A person meditating in a peaceful garden." )

print(f"Generated image saved to: {image_path}")

Features

  • Simplified Pose Generation: Easily generate various poses with a single function call.
  • Pose Type Selection: Choose from a range of predefined pose types like standing, sitting, yoga, and running.
  • Customizable Parameters: Adjust style, background color, and other parameters to fine-tune the generated pose.
  • Background Image Integration: Incorporate custom background images into the generated poses.
  • Descriptive Pose Generation: Generate poses based on textual descriptions.
  • Seamless Supermaker AI Integration: Designed to work smoothly with the Supermaker AI platform.

License

This project is licensed under the MIT License - see the LICENSE file for details.

This project is a gateway to the ai-pose-generator ecosystem. For advanced features and full capabilities, please visit: https://supermaker.ai/image/ai-pose-generator/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_pose_generator-1766998.511.454.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_pose_generator-1766998.511.454-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file ai_pose_generator-1766998.511.454.tar.gz.

File metadata

File hashes

Hashes for ai_pose_generator-1766998.511.454.tar.gz
Algorithm Hash digest
SHA256 fdefcac7459f7c7bddffc5934a0fee35a18a45f2b6f8ef9d6cc3d4e9c1cebb22
MD5 1b907ceb70c844e7d1cd6b41ef4e32d8
BLAKE2b-256 fe27452070d8f308b853ee788be871c2bc55decb46d90304c599a8a414538e2e

See more details on using hashes here.

File details

Details for the file ai_pose_generator-1766998.511.454-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_pose_generator-1766998.511.454-py3-none-any.whl
Algorithm Hash digest
SHA256 44986f750289317bb2b830b7d2d9d98732e89456dc781f39e9879bcc6279f225
MD5 5e895015b5354870bacafd03ec8003da
BLAKE2b-256 4cc4357d2de79573add8cd11ffcada404d65888d662bfce3b2d364870dd65cf8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1766998.511.454 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page