This tool allows to generate images for various topics and concepts. By topic we mean the general domain to which images are related (e.g. Innovations and technologies, Home Interior and Lifestyle, Nature and ecology) By concept we mean what the images depict. We considered 3 types of concepts: interiors, exteriors and items, but this list can be broadened. See our design doc (RU) and wiki (EN) for more details. |
Clone the repository, install requirements and load an image generation model:
git clone https://github.com/Aillustrate/aillustrate
pip install -r requirements.txt
Run via command line:
python main.py --topic=[TOPIC] --concept_type=[CONCEPT_TYPE]
Or in Python:
# set your topic and concept type
topic = [your topic] #e.g. Innovations and technologies
concept_type = [concept_type] #e.g. interior
# initialize the pipeline
from aillustrate.pipelines import ParllelPipeline
pipeline = ParllelPipeline(topic, concept_type)
# start the generation process
pipeline.run()
Aso see the notebook with examples.