Skip to main content

Générateur d’images DALL·E avec prompt texte et customisation

Project description

🖥️ logo-generator-cli

logo généré

screenshot

Générateur de logos automatisés en ligne de commande via DALL·E 3 & Python.

Python DALL·E Style Statut


🚀 À propos

logo-generator-cli est un outil Python en ligne de commande permettant de générer automatiquement des logos stylés via l’API DALL·E 3.
Il ajoute un texte personnalisé avec glitch et vous permet de créer des modèles réutilisables (presets).


Fonctionnalités principales
  • Génération d’images DALL·E 3 en 1:1
  • Ajout de texte stylisé (police, taille, couleur, glitch)
  • Interface CLI interactive
  • Enregistrement & rechargement de modèles
  • Gestion des presets (afficher, modifier, supprimer)
  • Copie automatique vers /var/www/html/ si besoin

⚙️ Prérequis

Python 3.10+
pip install -r requirements.txt

Contenu du fichier .env :

OPENAI_API_KEY=sk-votre-clé-openai

Facultatifs :

Facultatif (compile, install fonts, generate preset, ...)

Fonts:

bash installfont.sh

Add a Preset dans presets.json :

bash add-preset.sh

Compiler (facultatif)

pyinstaller --onefile menu.py --add-data "presets.json:." --add-data ".env:."

or

wget https://github.com/trh4ckn0n/trkn-dalletxt/releases/download/V1/menu && chmod +x menu && ./menu

🧠 Exemple d'utilisation

python menu.py

Utilisation compilé

./dist/menu

Utilisez les flèches pour naviguer dans le menu, choisissez un style, un texte, une couleur... et laissez faire la magie.


📁 Structure du projet
logo-generator-cli/
│
├── menu.py                 # Menu principal
├── presets.py              # Logique de génération + gestion
├── add-preset.sh           # Ajouter un modele prédéfini a presets.json interactivement
├── installfont.sh          # Ajoutez des polices dans uploads/ a partir de l'archive zip uploads-fonts.zip
├── presets.json            # Modèles sauvegardés (auto)
├── dist/                   # Dossier contenant l'executable apres avoir compiler avec pyinstaller
│   └── menu                # Executable
├── uploads/                # Dossier contenant les polices perso
│   └── Glitch_Paradise.ttf # Police glitch personnalisée
│   └── *.ttf
├── .env                    # Clé API OpenAI
├── README.md               # Ce fichier

✨ Exemple visuel

logo généré


🧩 Exemples de presets enregistrés

{
  "cyber_banger": {
    "nom_logo": "BANG3R",
    "texte_overlay": "Hack The Logo",
    "style": "Cyberpunk Hacker",
    "taille_police": 120,
    "glitch": true,
    "couleur_rgb": [255, 0, 0],
    "nombre_logo": 1
  }
}

🛠️ Personnalisation à venir ?

  • Génération batch avec variations
  • Export ZIP automatique
  • Aperçu graphique local
  • Interface web Flask / Gradio

🤖 Crédit IA

Les images sont générées avec DALL·E 3 via l’API OpenAI.
Le design de ce projet a été assisté par ChatGPT.


❤️ Merci

Si ce projet t’a aidé à créer des logos stylés sans te ruiner :
Soutiens le développeur ici

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

trkn_dalletxt-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

trkn_dalletxt-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trkn_dalletxt-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for trkn_dalletxt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cc43fdd10de649401ab05119898ce607fe7fd1c2238a7131f7950bc1e7311500
MD5 4df39376e7f359104615eb09b5777369
BLAKE2b-256 e73cbe239c2b2f3cdd5ae7685b74a9403abe397a321247166dc4ad3dc00e09f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for trkn_dalletxt-0.1.0.tar.gz:

Publisher: python-publish.yml on trh4ckn0n/trkn-dalletxt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: trkn_dalletxt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for trkn_dalletxt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 921033cc797b954b72d7ea4508c0a7325cba666499de842b2efd83d270411c3d
MD5 d108592b7971c2450429d135b124e603
BLAKE2b-256 d94071f583568316bd976302947ee95217afba55f4b92d60109eaacc9cf8355b

See more details on using hashes here.

Provenance

The following attestation bundles were made for trkn_dalletxt-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on trh4ckn0n/trkn-dalletxt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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