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.3.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.3.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iil_illustrationfw-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 069ce515001f1935dfd40c43054331c31ef65f0458470b1fcacfe387828ade80
MD5 ada64af0e09a30bcd48a5ab6773f2cf3
BLAKE2b-256 d60e65865d256039d185cbf3a82da48202290a9e5f32d72bad8614e93ffed907

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_illustrationfw-0.3.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iil_illustrationfw-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b2e6b8daa9484f374bafc2831a838fc27528dd99f5fcaf2e5f3bf0a6b0fa735
MD5 7d174298b7867abd19176022af2d62d1
BLAKE2b-256 08f52cf9325ceae34a1cbe6783e229cb94c5fd1b7694fd1745bebf8dde8f89b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_illustrationfw-0.3.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