Skip to main content

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/

Metadata

Release files for ai-jiggle-video 1772077.463.512

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-jiggle-video 1772077.463.512
File Size Uploaded
ai_jiggle_video-1772077.463.512.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-jiggle-video 1772077.463.512
File Interpreter ABI Platform
ai_jiggle_video-1772077.463.512-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / ai_jiggle_video-1772077.463.512.tar.gz

Download URL ai_jiggle_video-1772077.463.512.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b8d9e2d9345e44353d3c35d3f1f4183b501ed3738add021260c8397c4a6574cd
BLAKE2b-256 checksum
How to use checksums
cde3a6054577a2d28e644d36ee7aeca9a96f73c606c3c72513b5b786a8bc4d3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / ai_jiggle_video-1772077.463.512-py3-none-any.whl

Download URL ai_jiggle_video-1772077.463.512-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dc96722e26b19d2d443cdfd034ee91acc14e8c92786ee1b14027b5bf340c009
BLAKE2b-256 checksum
How to use checksums
bdfb77f011c7aee2d721dc4e94e72fbec989f0096d88951c7a87b15be0223ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1772077.463.512 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page