Skip to main content

Image to Video AI Tools

Inspect a local image before using it in an image-to-video workflow. This Python package reports useful file and image details so you can check your starting material before choosing settings in an AI video generator.

  • Read the image format, width and height.

  • See the simplified aspect ratio, color mode and file size.

  • Inspect one or several local images from the command line.

  • Return results as JSON or use the inspection function in Python.

  • Keep inspection local: the package does not upload images or generate video.

For browser-based AI video creation, visit Image to Video AI.

When is this useful?

  • Preparing a starting frame: Check the dimensions and aspect ratio of a photo or illustration before using it as a reference image.

  • Comparing assets: Inspect several images to see how their dimensions and file sizes differ before choosing one for a workflow.

  • Automating a local workflow: Read image details from Python or process command-line JSON output in another tool.

Requirements and installation

Python 3.9 or newer is required. Installing the package also installs Pillow, which handles image reading.

pip install imagetovideoai-tools

Inspect an image

Pass a local file path to the command:

imagetovideoai-inspect photo.jpg

For example, a 1920 × 1080 JPEG might produce a report like this (the file size depends on the image):

path: photo.jpg | format: JPEG | width: 1920 | height: 1080 | aspect_ratio: 16:9 | mode: RGB | size_bytes: 245000

The aspect ratio is simplified from the image dimensions. Where an image has EXIF orientation information, the reported width and height reflect its orientation. The command reads the image; it does not resize or modify it.

Inspect multiple images or use JSON

List multiple file paths to inspect them in one command:

imagetovideoai-inspect landscape.jpg portrait.png

Add --json for a machine-readable array:

imagetovideoai-inspect photo.jpg --json

Example output:

[
  {
    "path": "photo.jpg",
    "format": "JPEG",
    "width": 1920,
    "height": 1080,
    "aspect_ratio": "16:9",
    "mode": "RGB",
    "size_bytes": 245000
  }
]

If a file cannot be read, the command reports an error on standard error and returns a nonzero exit code. When inspecting multiple files it still reports any readable images.

Use from Python

from imagetovideoai_tools import inspect_image

image = inspect_image("photo.jpg")
print(f"Dimensions: {image['width']} x {image['height']}")
print(f"Aspect ratio: {image['aspect_ratio']}")
print(f"Format: {image['format']}")

The function returns a dictionary. File and image-reading errors are raised to the caller, so applications can handle them as appropriate.

From image to video

  1. Inspect your local image and note its dimensions and aspect ratio.

  2. Open Image to Video AI.

  3. Choose an image-to-video workflow and upload your starting image on the website.

  4. Describe the desired motion, choose the available model and settings, and review the generated result on the website.

Generation happens on the website, not inside this package. Available models, settings, image requirements and credit costs depend on the selected workflow; check the website before generating.

Frequently asked questions

Does this package generate an AI video?

No. It inspects image metadata locally. The website offers a separate browser-based generation workflow.

Are my images uploaded when I run the command?

No. The inspection tool reads local files. Uploading an image on the website is a separate action.

Does it check whether my image meets every model’s requirements?

No. The report is informational and does not validate model-specific restrictions. Image format support also depends on Pillow.

Can I use it for images other than photographs?

Yes. Pillow can inspect supported image formats regardless of whether the image is a photo, illustration or other visual asset.

License

MIT License.

Metadata

Release files for imagetovideoai-tools 0.1.1

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

Source distribution (sdist)

Source distribution for imagetovideoai-tools 0.1.1
File Size Uploaded Provenance Actions
imagetovideoai_tools-0.1.1.tar.gz 4.6 kB Without provenance Details for imagetovideoai_tools-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imagetovideoai-tools 0.1.1
File Interpreter ABI Platform Actions
imagetovideoai_tools-0.1.1-py3-none-any.whl Python 3 none any Details for imagetovideoai_tools-0.1.1-py3-none-any.whl

Total release size: 9.8 kB

Release files / imagetovideoai_tools-0.1.1.tar.gz

Download URL imagetovideoai_tools-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
86ebcfef5fa40b785f8819f6dd6ab9ef674479027198143165ab52160c4d2bf0
BLAKE2b-256 checksum
How to use checksums
ae7abde26164285939db1d2817ae0353c6d7baa187d6eea0dc9fc8dcb86581aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / imagetovideoai_tools-0.1.1-py3-none-any.whl

Download URL imagetovideoai_tools-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a3b32a16284e40aa50797f97f782a5aa054b1a331b206fc756859a23eb963e3
BLAKE2b-256 checksum
How to use checksums
286bae214c82621d4aba92228d5f2314e33f229a9beeb5b8091c2dd635e86686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for imagetovideoai-tools 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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