Catalog PyPI
PACKAGE EXPLORERView in registry

ai-jiggle-video

PyPI

High-quality integration for https://supermaker.ai/video/ai-jiggle-video/

Versions collected1
Direct dependencies0From release 1772077.463.512
Last observed21 Oct, 11:04 UTC

README

Version 1772077.463.512 documentation

ai-jiggle-video

ai-jiggle-video is a Python library that provides a streamlined interface for leveraging the capabilities of the ai-jiggle-video service. It simplifies the process of programmatically interacting with the service for various video manipulation tasks.

Installation

You can install ai-jiggle-video using pip: bash pip install ai-jiggle-video

Basic Usage Examples

Here are a few examples demonstrating how to use the ai-jiggle-video library:

1. Jiggling a Video: python from ai_jiggle_video import JiggleVideo

Replace with your actual API key or service credentials

api_key = "YOUR_API_KEY"

jiggle = JiggleVideo(api_key=api_key)

input_video_path = "path/to/your/input_video.mp4" output_video_path = "path/to/your/output_video.mp4"

try: jiggle.jiggle(input_video_path, output_video_path) print(f"Video jiggled successfully! Output saved to: {output_video_path}") except Exception as e: print(f"An error occurred: {e}")

2. Adjusting Jiggle Intensity: python from ai_jiggle_video import JiggleVideo

api_key = "YOUR_API_KEY" jiggle = JiggleVideo(api_key=api_key)

input_video_path = "path/to/your/input_video.mp4" output_video_path = "path/to/your/output_video_intense.mp4"

try: jiggle.jiggle(input_video_path, output_video_path, intensity=0.7) # Intensity between 0.0 and 1.0 (default is 0.5) print(f"Video jiggled with adjusted intensity! Output saved to: {output_video_path}") except Exception as e: print(f"An error occurred: {e}")

3. Applying Jiggle to a Specific Region of Interest (ROI): python from ai_jiggle_video import JiggleVideo

api_key = "YOUR_API_KEY" jiggle = JiggleVideo(api_key=api_key)

input_video_path = "path/to/your/input_video.mp4" output_video_path = "path/to/your/output_video_roi.mp4"

Define the ROI as (x1, y1, x2, y2) - top-left and bottom-right coordinates

roi = (100, 100, 300, 300)

try: jiggle.jiggle(input_video_path, output_video_path, roi=roi) print(f"Video jiggled within ROI! Output saved to: {output_video_path}") except Exception as e: print(f"An error occurred: {e}")

4. Handling Asynchronous Jiggling: python import asyncio from ai_jiggle_video import JiggleVideo

async def jiggle_video_async(): api_key = "YOUR_API_KEY" jiggle = JiggleVideo(api_key=api_key)

input_video_path = "path/to/your/input_video.mp4" output_video_path = "path/to/your/output_video_async.mp4"

try: await jiggle.jiggle_async(input_video_path, output_video_path) print(f"Video jiggled asynchronously! Output saved to: {output_video_path}") except Exception as e: print(f"An error occurred: {e}")

asyncio.run(jiggle_video_async())

Feature List

  • Simplified Jiggling: Easily apply the jiggle effect to videos with a single function call.
  • Intensity Control: Adjust the intensity of the jiggle effect for fine-grained control.
  • Region of Interest (ROI): Apply the jiggle effect to specific areas within the video.
  • Asynchronous Operation: Support for asynchronous jiggling to improve performance and responsiveness.
  • Error Handling: Robust error handling to gracefully manage potential issues during processing.

License

MIT

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1772077.463.51226 Feb 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:61cc495782522b21b6cc67351bdc75abfbcf7e31a1008e92b97e5390588525de