Skip to main content

A Python library for generating images using advanced AI technology

Project description

Macro Photo Generator

مكتبة Python لتوليد الصور باستخدام تقنية الذكاء الاصطناعي المتقدمة.

التثبيت

pip install macro-photo

الاستخدام الأساسي

from macro_photo import MacroImageGenerator

# إنشاء نسخة من المولد
generator = MacroImageGenerator()

# توليد صورة واحدة
image_path = generator.generate_image("سيارة رياضية حمراء جميلة")
print(f"تم حفظ الصورة في: {image_path}")

# توليد عدة صور دفعة واحدة
prompts = [
    "قطة صغيرة تلعب بكرة",
    "غروب الشمس على الشاطئ",
    "حديقة مليئة بالزهور"
]
image_paths = generator.batch_generate(prompts, prefix="my_images_")
print(f"تم إنشاء {len(image_paths)} صور")

المميزات

  • توليد صور من وصف نصي
  • دعم توليد صور متعددة دفعة واحدة
  • إمكانية تخصيص مجلد حفظ الصور
  • معالجة الأخطاء وإعادة المحاولة تلقائياً
  • تنسيق أسماء الملفات تلقائياً

المساهمة

نرحب بمساهماتكم! يرجى إرسال pull requests أو فتح issues على GitHub.

الترخيص

هذا المشروع مرخص تحت MIT License.

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

macro_photo-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

macro_photo-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: macro_photo-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.4

File hashes

Hashes for macro_photo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb69ab4078541a7c9f8c86b9a37c940ab4ced84570e0376fc85b8a68dff775d2
MD5 80442d0c1ac0fd3f8316123cb0294e56
BLAKE2b-256 be1768620667416006f635488c8e9d6b3cb4299b84d66e11422a16904496312a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: macro_photo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.4

File hashes

Hashes for macro_photo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f9b25be94a15d57300aa10c522c050487ae47ea0aa172614c8131ec601c5f10
MD5 9e9e98bcae46d38bcd80c743e0e0a389
BLAKE2b-256 ba329b332436c0a1fcc10b4f52dbf5074f9f9a28b3a9a952b10a1b8ed7131db1

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