Skip to main content

Provider-agnostic illustration framework for IIL projects

Project description

iil-illustrationfw

Provider-agnostic illustration framework for IIL projects — DALL·E 3, Stable Diffusion, Mock. Prompt-building from book/story context, StyleDNA injection.

PyPI Python License: Proprietary

Architecture: ADR-084

Installation

pip install iil-illustrationfw
# With Django integration:
pip install "iil-illustrationfw[django]"
# With image processing:
pip install "iil-illustrationfw[pillow]"

Extras / Optional Dependencies

Extra Dependencies Purpose
django django>=4.2 Django AppConfig + view helpers
pillow pillow>=10.0 Local image processing + resizing

Quick Start

from illustrationfw import IllustrationPipeline, DALLEProvider

pipeline = IllustrationPipeline(provider=DALLEProvider(api_key="..."))

result = pipeline.generate(
    context={"title": "The Iron Forest", "genre": "fantasy"},
    style_dna={"tone": "dark", "palette": "muted"},
)
print(result.image_url)

Used By

  • illustration-hub — primary consumer
  • bfagent — book illustration pipeline
  • writing-hub — scene illustration

Changelog

See CHANGELOG.md.

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

iil_illustrationfw-0.4.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

iil_illustrationfw-0.4.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file iil_illustrationfw-0.4.0.tar.gz.

File metadata

  • Download URL: iil_illustrationfw-0.4.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iil_illustrationfw-0.4.0.tar.gz
Algorithm Hash digest
SHA256 aa1ce62ce0dba3617643b5f045c48f018b9cbcf976d8c1246595f1328cc53091
MD5 334d9dd65d9d3fc395b0804ecbf77c29
BLAKE2b-256 2a0bd14a9d10858d04ec83f69552d4dffda94a18f47bb99e2bad91e30b890032

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_illustrationfw-0.4.0.tar.gz:

Publisher: publish.yml on iilgmbh/illustration-fw

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

File details

Details for the file iil_illustrationfw-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iil_illustrationfw-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25d73e4fda896c32ea623c6a8f786aebdda0d7a3da56ee7371c9eac6ee922fac
MD5 1ddeb6ba31a287c6db5c139afa123359
BLAKE2b-256 00f7d5a94c7fb6a723eabe3e865b3e1ad7ac8b10a6ebb279fc1f4cf118416559

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_illustrationfw-0.4.0-py3-none-any.whl:

Publisher: publish.yml on iilgmbh/illustration-fw

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