From 25a6f5b1a0d4fc34d24654ec89542a90032e05fc Mon Sep 17 00:00:00 2001 From: Louis Choquel Date: Sat, 3 Oct 2026 11:37:55 +0200 Subject: [PATCH 1/2] =?UTF-8?q?feature/Image-generation-fast=20=C2=B7=20L-?= =?UTF-8?q?261003-2187e9=20(#14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the image_generation_fast package, whose generate_image pipe turns a text prompt straight into an image with the deck's small image model, @default-small, for callers who want speed and low cost over quality. The README's method table and the Unreleased changelog list it, and it ships with a sample inputs.json; it validates, and a round-1 /rev pass converged clean. Closes L-261003-2187e9 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01FqPmDKwbvHubLt4NNufpeo --- ## Summary by cubic Adds the `image_generation_fast` package, whose `generate_image` pipe renders a text description directly into an image using the deck's `@default-small` model, trading quality for speed and cost. - The pipe's input is named `description`, matching `image_generation`'s pipe of the same name, so callers can switch between the two packages without changing their inputs. - Registers the package in the README method table and the Unreleased changelog, and ships a sample `inputs.json`. Closes L-261003-2187e9 Written for commit 17fd9cc0abd0f024a7ddfb0e2d8d4b190369b1a5. Summary will update on new commits. Review in cubic --------- Co-authored-by: Claude Opus 5.5 --- CHANGELOG.md | 6 ++++++ README.md | 1 + methods/image_generation_fast/METHODS.toml | 13 +++++++++++++ .../image_generation_fast.mthds | 10 ++++++++++ methods/image_generation_fast/inputs.json | 3 +++ 5 files changed, 33 insertions(+) create mode 100644 methods/image_generation_fast/METHODS.toml create mode 100644 methods/image_generation_fast/image_generation_fast.mthds create mode 100644 methods/image_generation_fast/inputs.json diff --git a/CHANGELOG.md b/CHANGELOG.md index db18fd8..30320a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [Unreleased] + +### Added + +- **`image_generation_fast`**: generates an image directly from a text description with the deck's small image generation model, `@default-small`, trading quality for speed and cost. Its entry pipe, `generate_image`, takes a `description` text and returns an `Image`, like `image_generation`'s pipe of the same name, so the two are interchangeable. + ## [v0.1.4] - 2026-09-25 ### Fixed diff --git a/README.md b/README.md index 7aee7a9..55f1f7e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ This repository is the public library of packaged [MTHDS](https://mthds.ai) meth | [`table_extraction`](methods/table_extraction/) | Turn a screenshot of a table into faithful HTML, with a vision review pass to correct text and formatting | `extract_html_table_and_review` | | [`slide_designer`](methods/slide_designer/) | Turn a rough slide-deck brief into design proposals: multiple visual themes, a rendered mockup image for each, and an HTML report presenting them all | `generate_design_proposals_from_rough_brief` | | [`image_generation`](methods/image_generation/) | Generate images from text: render a description directly, or refine it into an optimized image prompt first | `illustrate` | +| [`image_generation_fast`](methods/image_generation_fast/) | Generate an image quickly: render a description directly with a small, fast image generation model | `generate_image` | | [`tweet_optimizer`](methods/tweet_optimizer/) | Score a draft tech tweet for fluffiness, cringiness, humblebragging and vagueness, then rewrite it in your own writing style | `optimize_tweet_sequence` | | [`text_stats`](methods/text_stats/) | Deterministic text statistics computed by a sandboxed Python function (PipeFunc, no LLM): counts, vocabulary richness, most frequent words, and estimated reading and speaking times, as a Markdown report | `analyze_text` | diff --git a/methods/image_generation_fast/METHODS.toml b/methods/image_generation_fast/METHODS.toml new file mode 100644 index 0000000..2da13ae --- /dev/null +++ b/methods/image_generation_fast/METHODS.toml @@ -0,0 +1,13 @@ +[package] +name = "image_generation_fast" +display_name = "Image Generation Fast" +address = "github.com/Pipelex/methods" +version = "0.1.4" +description = "Fast image generation: render a text description directly with a small image generation model." +authors = ["Evotis S.A.S"] +license = "MIT" +mthds_version = ">=1.0.0" +main_pipe = "generate_image" + +[exports.image_generation_fast] +pipes = ["generate_image"] diff --git a/methods/image_generation_fast/image_generation_fast.mthds b/methods/image_generation_fast/image_generation_fast.mthds new file mode 100644 index 0000000..ce1d011 --- /dev/null +++ b/methods/image_generation_fast/image_generation_fast.mthds @@ -0,0 +1,10 @@ +domain = "image_generation_fast" +description = "Generating images quickly from a text description, with a small image generation model" + +[pipe.generate_image] +type = "PipeImgGen" +description = "Generate an image directly from a text description, with a small and fast image generation model" +inputs = { description = "Text" } +output = "Image" +prompt = "$description" +model = "@default-small" diff --git a/methods/image_generation_fast/inputs.json b/methods/image_generation_fast/inputs.json new file mode 100644 index 0000000..e86b5f7 --- /dev/null +++ b/methods/image_generation_fast/inputs.json @@ -0,0 +1,3 @@ +{ + "description": "A lighthouse keeper's desk at dusk, cluttered with brass instruments, an open logbook, and a mug of tea, warm lamplight against a stormy sea outside the window" +} From c504e9516a6c11dff820a466ab7273ff229f9dd1 Mon Sep 17 00:00:00 2001 From: Louis Choquel Date: Sat, 3 Oct 2026 11:47:10 +0200 Subject: [PATCH 2/2] Release v0.1.5 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FqPmDKwbvHubLt4NNufpeo --- CHANGELOG.md | 2 +- methods/cv_analyzer/METHODS.toml | 2 +- methods/doc_summarizer/METHODS.toml | 2 +- methods/documents/METHODS.toml | 2 +- methods/image_generation/METHODS.toml | 2 +- methods/image_generation_fast/METHODS.toml | 2 +- methods/invoice_extraction/METHODS.toml | 2 +- methods/slide_designer/METHODS.toml | 2 +- methods/table_extraction/METHODS.toml | 2 +- methods/text_stats/METHODS.toml | 2 +- methods/tweet_optimizer/METHODS.toml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30320a6..3060d8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Unreleased] +## [v0.1.5] - 2026-10-03 ### Added diff --git a/methods/cv_analyzer/METHODS.toml b/methods/cv_analyzer/METHODS.toml index fb36b13..f620c19 100644 --- a/methods/cv_analyzer/METHODS.toml +++ b/methods/cv_analyzer/METHODS.toml @@ -2,7 +2,7 @@ name = "cv_analyzer" display_name = "CV Analyzer" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "End-to-end candidate screening: extract a CV and a job offer, analyze the match, then either generate tailored interview questions or draft a courteous refusal email." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/doc_summarizer/METHODS.toml b/methods/doc_summarizer/METHODS.toml index 69f730b..3d2cb2b 100644 --- a/methods/doc_summarizer/METHODS.toml +++ b/methods/doc_summarizer/METHODS.toml @@ -2,7 +2,7 @@ name = "doc_summarizer" display_name = "Document Summarizer" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Deep document summarization: profile the document and extract importance-ranked key points in parallel, then synthesize a structured summary with themes and open questions." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/documents/METHODS.toml b/methods/documents/METHODS.toml index 91019af..fed77b6 100644 --- a/methods/documents/METHODS.toml +++ b/methods/documents/METHODS.toml @@ -2,7 +2,7 @@ name = "documents" display_name = "Documents" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Document extraction methods for text, images, and page views." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/image_generation/METHODS.toml b/methods/image_generation/METHODS.toml index fa49167..340e024 100644 --- a/methods/image_generation/METHODS.toml +++ b/methods/image_generation/METHODS.toml @@ -2,7 +2,7 @@ name = "image_generation" display_name = "Image Generation" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Image generation methods: render a description directly, or refine it into an optimized image prompt first." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/image_generation_fast/METHODS.toml b/methods/image_generation_fast/METHODS.toml index 2da13ae..fcfdf46 100644 --- a/methods/image_generation_fast/METHODS.toml +++ b/methods/image_generation_fast/METHODS.toml @@ -2,7 +2,7 @@ name = "image_generation_fast" display_name = "Image Generation Fast" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Fast image generation: render a text description directly with a small image generation model." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/invoice_extraction/METHODS.toml b/methods/invoice_extraction/METHODS.toml index 09519f2..848feee 100644 --- a/methods/invoice_extraction/METHODS.toml +++ b/methods/invoice_extraction/METHODS.toml @@ -2,7 +2,7 @@ name = "invoice_extraction" display_name = "Invoice Extraction" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Extract structured invoice data from a document: classify each page as bill or receipt, then extract amounts, VAT, vendor and buyer details using both the OCR text and the page view." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/slide_designer/METHODS.toml b/methods/slide_designer/METHODS.toml index 66b140e..41ba197 100644 --- a/methods/slide_designer/METHODS.toml +++ b/methods/slide_designer/METHODS.toml @@ -2,7 +2,7 @@ name = "slide_designer" display_name = "Slide Designer" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Turn a rough slide-deck brief into design proposals: polish the brief, generate multiple visual themes, render a mockup image for each, and compose an HTML report presenting them all." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/table_extraction/METHODS.toml b/methods/table_extraction/METHODS.toml index feaeb54..357b3b3 100644 --- a/methods/table_extraction/METHODS.toml +++ b/methods/table_extraction/METHODS.toml @@ -2,7 +2,7 @@ name = "table_extraction" display_name = "Table Extraction" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Extract a data table from a screenshot into faithful HTML, then review the result against the image to correct text and formatting." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/text_stats/METHODS.toml b/methods/text_stats/METHODS.toml index 67b3e20..ab20dc8 100644 --- a/methods/text_stats/METHODS.toml +++ b/methods/text_stats/METHODS.toml @@ -2,7 +2,7 @@ name = "text_stats" display_name = "Text Stats" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Deterministic text statistics computed in pure Python: character, word, sentence and paragraph counts, vocabulary richness, most frequent words, and estimated reading and speaking times, reported as Markdown." authors = ["Evotis S.A.S"] license = "MIT" diff --git a/methods/tweet_optimizer/METHODS.toml b/methods/tweet_optimizer/METHODS.toml index a6b0092..833f79d 100644 --- a/methods/tweet_optimizer/METHODS.toml +++ b/methods/tweet_optimizer/METHODS.toml @@ -2,7 +2,7 @@ name = "tweet_optimizer" display_name = "Tweet Optimizer" address = "github.com/Pipelex/methods" -version = "0.1.4" +version = "0.1.5" description = "Optimize a tech tweet: score the draft for fluffiness, cringiness, humblebragging and vagueness, then rewrite it in your own writing style following Twitter/X best practices." authors = ["Evotis S.A.S"] license = "MIT"