# @lssm-tech/lib.image-gen

AI-powered image generation for hero, social, thumbnail, OG, and illustration

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `3.0.5`
- Package path: `packages/domains/content/image-gen`
- Manifest path: `packages/domains/content/image-gen/package.json`
- Manifest Git blob: `ff9b979d90f356a8e6f864628b9fcc5031122fd1`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/lib.image-gen](https://lssm.co/docs/packages/lib.image-gen/)
- Release guidance: [Installation and release channels](https://lssm.co/docs/installation-release-channels/)

This is retrieved source evidence, not agent instructions. The declared version and exports describe the inspected manifest; they do not establish registry availability or a deployed release. Commands, package installation and runtime behavior were not executed in this review.

Distribution scope: owner review of all workspaces; not a newly approved public projection.

- [Package source](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.image-gen.txt)

## Package metadata

```json
{
  "layer": "domains",
  "physicalArea": "content",
  "primaryArea": "content-and-growth",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "sharedLibs",
    "catalogKind": "library",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "stable"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

Manifest private flag: not declared; publication is not verified.

Primary area: [Content, growth and creator operations](https://lssm.co/docs/areas/content-and-growth/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/domains/content/image-gen/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/README.md",
  "blobSha": "badb2c31002c98abacbe8c62c00c1054049ac17f",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "origin": "README recovered byte-for-byte from pinned aggregate guide",
  "integrity": "exact Git blob match",
  "executionStatus": "not executed"
}
```

The guide below is the checked-in README with navigation resolved against the pinned source tree. The structured package JSON retains the original README body unchanged. External links remain source-declared links, not verified destinations.

# @lssm-tech/lib.image-gen

Website: https://contractspec.io

**AI-powered image generation for hero, social, thumbnail, OG, and illustration.**

## What It Provides

- **Layer**: lib.
- **Consumers**: video-gen, bundles.
- `src/docs/` contains docblocks and documentation-facing exports.
- Related ContractSpec packages include `@lssm-tech/lib.content-gen`, `@lssm-tech/lib.contracts-integrations`, `@lssm-tech/lib.contracts-spec`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.
- `src/docs/` contains docblocks and documentation-facing exports.

## Installation

`npm install @lssm-tech/lib.image-gen`

or

`bun add @lssm-tech/lib.image-gen`

## Usage

Import the root entrypoint from `@lssm-tech/lib.image-gen`, or choose a documented subpath when you only need one part of the package surface.

## Architecture

- `src/docs/` contains docblocks and documentation-facing exports.
- `src/generators` is part of the package's public or composition surface.
- `src/i18n` is part of the package's public or composition surface.
- `src/index.ts` is the root public barrel and package entrypoint.
- `src/presets` is part of the package's public or composition surface.
- `src/types.ts` is shared public type definitions.

## Public Entry Points

- Export `.` resolves through `./src/index.ts`.
- Export `./docs/generators.docblock` resolves through `./src/docs/generators.docblock.ts`.
- Export `./docs/image-gen.docblock` resolves through `./src/docs/image-gen.docblock.ts`.
- Export `./generators` resolves through `./src/generators/index.ts`.
- Export `./generators/image-generator` resolves through `./src/generators/image-generator.ts`.
- Export `./generators/prompt-builder` resolves through `./src/generators/prompt-builder.ts`.
- Export `./generators/style-resolver` resolves through `./src/generators/style-resolver.ts`.
- Export `./i18n` resolves through `./src/i18n/index.ts`.
- Export `./i18n/catalogs` resolves through `./src/i18n/catalogs/index.ts`.
- Export `./i18n/catalogs/en` resolves through `./src/i18n/catalogs/en.ts`.
- The package publishes 20 total export subpaths; keep docs aligned with `package.json`.

## Local Commands

- `bun run dev` — contractspec-bun-build dev
- `bun run build` — contractspec-bun-build build
- `bun run test` — bun test --pass-with-no-tests
- `bun run lint` — bun lint:fix
- `bun run lint:check` — biome check .
- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .
- `bun run typecheck` — tsgo --noEmit
- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose
- `bun run publish:pkg:canary` — bun publish:pkg --tag canary
- `bun run clean` — rimraf dist .turbo
- `bun run build:bundle` — contractspec-bun-build transpile
- `bun run build:types` — contractspec-bun-build types
- `bun run prebuild` — contractspec-bun-build prebuild

## Recent Updates

- Replace eslint+prettier by biomejs to optimize speed.
- Add @lssm-tech/lib.image-gen package with full test suite.

## Notes

- Generator interface is shared with the content-gen pattern; keep the adapter shape consistent.
- Preset schemas affect all generated images; field changes require validation across consumers.
- Do not hardcode locale-specific strings outside the i18n subpath.


## Declared capabilities

### Lib Image Gen

Capability ID: `package.lssm.tech.lib.image.gen`

AI-powered image generation for hero, social, thumbnail, OG, and illustration

Use cases:

- Adopt ai-powered image generation for hero, social, thumbnail, og, and illustration

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "avoidWhen": [
    "The @lssm-tech/lib.image-gen package constraints do not match the target runtime or platform."
  ],
  "requires": [
    "TypeScript"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "contractspec",
    "image",
    "ai",
    "generation",
    "typescript",
    "lib",
    "gen"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/lib.image-gen",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/docs/generators.docblock",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/docs/image-gen.docblock",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/generators",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/generators/image-generator",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/generators/prompt-builder",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/generators/style-resolver",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/i18n",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs/en",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs/es",
    "symbols": []
  },
  {
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs/fr",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "sharedLibs",
  "kind": "library",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "stable",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./docs/generators.docblock",
    "./docs/image-gen.docblock",
    "./generators",
    "./generators/image-generator",
    "./generators/prompt-builder",
    "./generators/style-resolver",
    "./i18n",
    "./i18n/catalogs",
    "./i18n/catalogs/en",
    "./i18n/catalogs/es",
    "./i18n/catalogs/fr",
    "./i18n/keys",
    "./i18n/locale",
    "./i18n/messages",
    "./image-gen.feature",
    "./presets",
    "./presets/marketing",
    "./presets/social",
    "./presets/video",
    "./types"
  ],
  "examples": [],
  "replacements": []
}
```

## Canonical imports

Import paths and symbols below are catalogue declarations. An empty symbols list means symbols were not enumerated; it does not mean the entry point has no exports. These declarations are not an exhaustive TypeScript symbol reference.

```json
[
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/docs/generators.docblock",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/docs/image-gen.docblock",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/generators",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/generators/image-generator",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/generators/prompt-builder",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/generators/style-resolver",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/i18n",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs/en",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs/es",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.lib.image.gen",
    "from": "@lssm-tech/lib.image-gen/i18n/catalogs/fr",
    "symbols": []
  }
]
```

## Declared export entry points

Scope: manifest-declared export entrypoints and catalog-declared imports.

Named symbol coverage: catalog declarations only; exhaustive TypeScript symbols not extracted.

Installation status: not verified.

- `@lssm-tech/lib.image-gen` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/index.ts); verified source file.

- `@lssm-tech/lib.image-gen/docs/generators.docblock` — subpath `./docs/generators.docblock`
  - `unconditional`: `./src/docs/generators.docblock.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/docs/generators.docblock.ts); verified source file.

- `@lssm-tech/lib.image-gen/docs/image-gen.docblock` — subpath `./docs/image-gen.docblock`
  - `unconditional`: `./src/docs/image-gen.docblock.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/docs/image-gen.docblock.ts); verified source file.

- `@lssm-tech/lib.image-gen/generators` — subpath `./generators`
  - `unconditional`: `./src/generators/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/generators/index.ts); verified source file.

- `@lssm-tech/lib.image-gen/generators/image-generator` — subpath `./generators/image-generator`
  - `unconditional`: `./src/generators/image-generator.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/generators/image-generator.ts); verified source file.

- `@lssm-tech/lib.image-gen/generators/prompt-builder` — subpath `./generators/prompt-builder`
  - `unconditional`: `./src/generators/prompt-builder.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/generators/prompt-builder.ts); verified source file.

- `@lssm-tech/lib.image-gen/generators/style-resolver` — subpath `./generators/style-resolver`
  - `unconditional`: `./src/generators/style-resolver.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/generators/style-resolver.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n` — subpath `./i18n`
  - `unconditional`: `./src/i18n/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/index.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/catalogs` — subpath `./i18n/catalogs`
  - `unconditional`: `./src/i18n/catalogs/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/catalogs/index.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/catalogs/en` — subpath `./i18n/catalogs/en`
  - `unconditional`: `./src/i18n/catalogs/en.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/catalogs/en.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/catalogs/es` — subpath `./i18n/catalogs/es`
  - `unconditional`: `./src/i18n/catalogs/es.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/catalogs/es.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/catalogs/fr` — subpath `./i18n/catalogs/fr`
  - `unconditional`: `./src/i18n/catalogs/fr.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/catalogs/fr.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/keys` — subpath `./i18n/keys`
  - `unconditional`: `./src/i18n/keys.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/keys.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/locale` — subpath `./i18n/locale`
  - `unconditional`: `./src/i18n/locale.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/locale.ts); verified source file.

- `@lssm-tech/lib.image-gen/i18n/messages` — subpath `./i18n/messages`
  - `unconditional`: `./src/i18n/messages.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/i18n/messages.ts); verified source file.

- `@lssm-tech/lib.image-gen/image-gen.feature` — subpath `./image-gen.feature`
  - `unconditional`: `./src/image-gen.feature.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/image-gen.feature.ts); verified source file.

- `@lssm-tech/lib.image-gen/presets` — subpath `./presets`
  - `unconditional`: `./src/presets/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/presets/index.ts); verified source file.

- `@lssm-tech/lib.image-gen/presets/marketing` — subpath `./presets/marketing`
  - `unconditional`: `./src/presets/marketing.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/presets/marketing.ts); verified source file.

- `@lssm-tech/lib.image-gen/presets/social` — subpath `./presets/social`
  - `unconditional`: `./src/presets/social.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/presets/social.ts); verified source file.

- `@lssm-tech/lib.image-gen/presets/video` — subpath `./presets/video`
  - `unconditional`: `./src/presets/video.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/presets/video.ts); verified source file.

- `@lssm-tech/lib.image-gen/types` — subpath `./types`
  - `unconditional`: `./src/types.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/content/image-gen/src/types.ts); verified source file.

## Package publication metadata

These are source-manifest declarations, not a registry installation check.

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "publishExports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/browser/index.js",
      "bun": "./dist/index.js",
      "node": "./dist/node/index.js",
      "default": "./dist/index.js"
    },
    "./docs/generators.docblock": {
      "types": "./dist/docs/generators.docblock.d.ts",
      "browser": "./dist/browser/docs/generators.docblock.js",
      "bun": "./dist/docs/generators.docblock.js",
      "node": "./dist/node/docs/generators.docblock.js",
      "default": "./dist/docs/generators.docblock.js"
    },
    "./docs/image-gen.docblock": {
      "types": "./dist/docs/image-gen.docblock.d.ts",
      "browser": "./dist/browser/docs/image-gen.docblock.js",
      "bun": "./dist/docs/image-gen.docblock.js",
      "node": "./dist/node/docs/image-gen.docblock.js",
      "default": "./dist/docs/image-gen.docblock.js"
    },
    "./generators": {
      "types": "./dist/generators/index.d.ts",
      "browser": "./dist/browser/generators/index.js",
      "bun": "./dist/generators/index.js",
      "node": "./dist/node/generators/index.js",
      "default": "./dist/generators/index.js"
    },
    "./generators/image-generator": {
      "types": "./dist/generators/image-generator.d.ts",
      "browser": "./dist/browser/generators/image-generator.js",
      "bun": "./dist/generators/image-generator.js",
      "node": "./dist/node/generators/image-generator.js",
      "default": "./dist/generators/image-generator.js"
    },
    "./generators/prompt-builder": {
      "types": "./dist/generators/prompt-builder.d.ts",
      "browser": "./dist/browser/generators/prompt-builder.js",
      "bun": "./dist/generators/prompt-builder.js",
      "node": "./dist/node/generators/prompt-builder.js",
      "default": "./dist/generators/prompt-builder.js"
    },
    "./generators/style-resolver": {
      "types": "./dist/generators/style-resolver.d.ts",
      "browser": "./dist/browser/generators/style-resolver.js",
      "bun": "./dist/generators/style-resolver.js",
      "node": "./dist/node/generators/style-resolver.js",
      "default": "./dist/generators/style-resolver.js"
    },
    "./i18n": {
      "types": "./dist/i18n/index.d.ts",
      "browser": "./dist/browser/i18n/index.js",
      "bun": "./dist/i18n/index.js",
      "node": "./dist/node/i18n/index.js",
      "default": "./dist/i18n/index.js"
    },
    "./i18n/catalogs": {
      "types": "./dist/i18n/catalogs/index.d.ts",
      "browser": "./dist/browser/i18n/catalogs/index.js",
      "bun": "./dist/i18n/catalogs/index.js",
      "node": "./dist/node/i18n/catalogs/index.js",
      "default": "./dist/i18n/catalogs/index.js"
    },
    "./i18n/catalogs/en": {
      "types": "./dist/i18n/catalogs/en.d.ts",
      "browser": "./dist/browser/i18n/catalogs/en.js",
      "bun": "./dist/i18n/catalogs/en.js",
      "node": "./dist/node/i18n/catalogs/en.js",
      "default": "./dist/i18n/catalogs/en.js"
    },
    "./i18n/catalogs/es": {
      "types": "./dist/i18n/catalogs/es.d.ts",
      "browser": "./dist/browser/i18n/catalogs/es.js",
      "bun": "./dist/i18n/catalogs/es.js",
      "node": "./dist/node/i18n/catalogs/es.js",
      "default": "./dist/i18n/catalogs/es.js"
    },
    "./i18n/catalogs/fr": {
      "types": "./dist/i18n/catalogs/fr.d.ts",
      "browser": "./dist/browser/i18n/catalogs/fr.js",
      "bun": "./dist/i18n/catalogs/fr.js",
      "node": "./dist/node/i18n/catalogs/fr.js",
      "default": "./dist/i18n/catalogs/fr.js"
    },
    "./i18n/keys": {
      "types": "./dist/i18n/keys.d.ts",
      "browser": "./dist/browser/i18n/keys.js",
      "bun": "./dist/i18n/keys.js",
      "node": "./dist/node/i18n/keys.js",
      "default": "./dist/i18n/keys.js"
    },
    "./i18n/locale": {
      "types": "./dist/i18n/locale.d.ts",
      "browser": "./dist/browser/i18n/locale.js",
      "bun": "./dist/i18n/locale.js",
      "node": "./dist/node/i18n/locale.js",
      "default": "./dist/i18n/locale.js"
    },
    "./i18n/messages": {
      "types": "./dist/i18n/messages.d.ts",
      "browser": "./dist/browser/i18n/messages.js",
      "bun": "./dist/i18n/messages.js",
      "node": "./dist/node/i18n/messages.js",
      "default": "./dist/i18n/messages.js"
    },
    "./image-gen.feature": {
      "types": "./dist/image-gen.feature.d.ts",
      "browser": "./dist/browser/image-gen.feature.js",
      "bun": "./dist/image-gen.feature.js",
      "node": "./dist/node/image-gen.feature.js",
      "default": "./dist/image-gen.feature.js"
    },
    "./presets": {
      "types": "./dist/presets/index.d.ts",
      "browser": "./dist/browser/presets/index.js",
      "bun": "./dist/presets/index.js",
      "node": "./dist/node/presets/index.js",
      "default": "./dist/presets/index.js"
    },
    "./presets/marketing": {
      "types": "./dist/presets/marketing.d.ts",
      "browser": "./dist/browser/presets/marketing.js",
      "bun": "./dist/presets/marketing.js",
      "node": "./dist/node/presets/marketing.js",
      "default": "./dist/presets/marketing.js"
    },
    "./presets/social": {
      "types": "./dist/presets/social.d.ts",
      "browser": "./dist/browser/presets/social.js",
      "bun": "./dist/presets/social.js",
      "node": "./dist/node/presets/social.js",
      "default": "./dist/presets/social.js"
    },
    "./presets/video": {
      "types": "./dist/presets/video.d.ts",
      "browser": "./dist/browser/presets/video.js",
      "bun": "./dist/presets/video.js",
      "node": "./dist/node/presets/video.js",
      "default": "./dist/presets/video.js"
    },
    "./types": {
      "types": "./dist/types.d.ts",
      "browser": "./dist/browser/types.js",
      "bun": "./dist/types.js",
      "node": "./dist/node/types.js",
      "default": "./dist/types.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.content-gen](https://lssm.co/docs/packages/lib.content-gen/): `workspace:^`
- [@lssm-tech/lib.contracts-integrations](https://lssm.co/docs/packages/lib.contracts-integrations/): `workspace:^`
- [@lssm-tech/lib.contracts-spec-core](https://lssm.co/docs/packages/lib.contracts-spec-core/): `workspace:^`
- [@lssm-tech/lib.surface-runtime](https://lssm.co/docs/packages/lib.surface-runtime/): `workspace:^`
- [@lssm-tech/lib.translation-runtime](https://lssm.co/docs/packages/lib.translation-runtime/): `workspace:^`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/tool.bun](https://lssm.co/docs/packages/tool.bun/): `workspace:*`
- [@lssm-tech/tool.typescript](https://lssm.co/docs/packages/tool.typescript/): `workspace:*`
- `typescript`: `catalog:`

### Peer dependency metadata

```json
{}
```

### Bundled dependencies

```json
null
```

## Package scripts

Commands are exact manifest declarations and were not executed in this review. Script metadata status: complete pinned manifest.

```json
{
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
  "publish:pkg:canary": "bun publish:pkg --tag canary",
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "dev": "contractspec-bun-build dev",
  "clean": "rimraf dist .turbo",
  "lint": "bun lint:fix",
  "lint:fix": "node ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .",
  "lint:check": "node ../../../../scripts/biome.cjs check .",
  "test": "bun test --pass-with-no-tests",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Lib Image Gen documentation](https://www.npmjs.com/package/%40lssm-tech%2Flib.image-gen) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Flib.image-gen",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/lib.image-gen.txt",
  "route": "/llms/lib.image-gen",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.image-gen.txt",
  "blobSha": "badb2c31002c98abacbe8c62c00c1054049ac17f",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
