High-quality integration for https://supermaker.ai/video/ai-jiggle-video/
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_jiggle_video-1772077.463.512.tar.gz.
File metadata
- Download URL: ai_jiggle_video-1772077.463.512.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8d9e2d9345e44353d3c35d3f1f4183b501ed3738add021260c8397c4a6574cd
|
|
| MD5 |
09e880814cb0d54cab6eae5b17a7a4e7
|
|
| BLAKE2b-256 |
cde3a6054577a2d28e644d36ee7aeca9a96f73c606c3c72513b5b786a8bc4d3b
|
File details
Details for the file ai_jiggle_video-1772077.463.512-py3-none-any.whl.
File metadata
- Download URL: ai_jiggle_video-1772077.463.512-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dc96722e26b19d2d443cdfd034ee91acc14e8c92786ee1b14027b5bf340c009
|
|
| MD5 |
a87b2e64f86f2ac411e539c93f23d20f
|
|
| BLAKE2b-256 |
bdfb77f011c7aee2d721dc4e94e72fbec989f0096d88951c7a87b15be0223ca9
|