Skip to main content

🎨 Chitram: Generate images from text prompts using AI

Project description

📸 Chitram – The Image Imaginator

Chitram is a simple and powerful Python library that generates AI images using Pollinations. Whether you're a developer, student, or creator, Chitram helps bring your imagination to life with a single line of code.


✨ Features

  • Generate stunning images using AI
  • Easy one-liner usage
  • Works with .png, .jpg, .jpeg, etc.
  • Shows proper branding and creator credits
  • Built-in exception handling

🧠 Installation

pip install chitram

🚀 Usage

from chitram import GenerateImage

GenerateImage(
    prompts="A futuristic AI city floating in space",
    output_paths="output/ai_city.jpg",
    seed="random"
)

You can also call:

from chitram import show_creator_links

show_creator_links()

🔧 Parameters

Parameter Type Description
prompts str/list The text prompt(s) to generate image(s) from
output_paths str/list Where to save the image(s) (e.g. "img.png")
seed str/int Randomize with "random" or use fixed seed

📎 Links


👨‍💻 Author

Made with ❤️ by Aman Mishra
Feel free to reach out and contribute!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chitram-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chitram-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file chitram-0.1.0.tar.gz.

File metadata

  • Download URL: chitram-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for chitram-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c6f7e9a89429fbe4c6dbedbb45c017f91248d62b493979594e5284744faf03a6
MD5 2989aea5b70f396d5d53b96045daacaf
BLAKE2b-256 f2e35d7a2bb0745e9618e3523cf16ef37b220f2054a72eba86ce6286be2362c0

See more details on using hashes here.

File details

Details for the file chitram-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chitram-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for chitram-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bba8cfac285bba781e7bb02be50a6a31babca13b14b1fd76b26331fb20b38b76
MD5 0945bf8c0de3643aedb5fc53942cc897
BLAKE2b-256 8b030523d7b58e4893a1372bc2cbc33ceb5dbb37c5ad3a7a1317768a4808d222

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page