Back to skills
SKILL.md
2232 Batch Image Processing F383b67b
ASecurity```python async def batch_image_to_video( client: KlingAIImageToVideo, images: list, default_prompt: str, **kwargs ) -> list: """Process multiple images to videos.""" import asyncio
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2232-batch-image-processing_f383b67b --agent claude-codeAre you the author of 2232 Batch Image Processing F383b67b?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2232-batch-image-processing-f383b67b)# Batch Image Processing
## Batch Image Processing
```python
async def batch_image_to_video(
client: KlingAIImageToVideo,
images: list,
default_prompt: str,
**kwargs
) -> list:
"""Process multiple images to videos."""
import asyncio
results = []
for image_path in images:
params = ImageToVideoParams(
image_path=image_path,
prompt=default_prompt,
**kwargs
)
try:
result = client.generate(params)
results.append({
"image": image_path,
"job_id": result["job_id"],
"status": "submitted"
})
print(f"Submitted: {image_path} -> {result['job_id']}")
except Exception as e:
results.append({
"image": image_path,
"error": str(e),
"status": "failed"
})
print(f"Failed: {image_path} - {e}")
# Rate limiting
await asyncio.sleep(2)
return results
# Usage
images = ["image1.jpg", "image2.jpg", "image3.jpg"]
results = asyncio.run(batch_image_to_video(
client,
images,
default_prompt="The scene gently comes to life",
duration=5,
motion_strength=0.5
))
```Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.