Skip to main content

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.

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.5.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.5.0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iil_illustrationfw-0.5.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for iil_illustrationfw-0.5.0.tar.gz
Algorithm Hash digest
SHA256 340f97b3dde508f2129dd6791011631e7befe4126ebfeb857441829db6bed85c
MD5 713148124ee3774af6d220e2b0077d0e
BLAKE2b-256 0158fa092bec33a1f5d5ecaaa88e79325754dbfe521d73dcf7d1b3556391dc79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iil_illustrationfw-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4cc01fb9a60bb04b0bcae57fcb490e975365c392c78d4e68ad7befa419fd177
MD5 fa53d5f71efa9997653fd27f1134a9c4
BLAKE2b-256 ebdd85a757b4d099a52ca4cd45866b7810e5a66b694138c0040201357e1764da

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.0

2 files

This release

0.5.0 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page