
In Progress
Posted
Paid on delivery
I have a working Python pipeline that auto-generates children's books ready for Amazon KDP publishing. It uses Google Gemini for text and [login to view URL] (Stitch) for illustrations. The pipeline already works end-to-end: story generation, image creation, 300 DPI upscaling, quality checks, PDF assembly, and KDP metadata packaging. What I need: 1. Interactive review loop — after Stitch generates images, pause and ask the user which pages to regenerate before continuing. Simple CLI: accept all / regen page N / skip page N / save & quit. 2. Stitch validation — [login to view URL] sometimes returns wrong images (wrong subject, colored instead of B&W, watermark, blank). Add immediate post-download validation + auto-retry loop (max 3 attempts with improved prompt). 3. Cover agent — new module to generate a KDP book cover (Stitch generates it, overlay title text, KDP dimensions 2560x1600px). 4. Basic tests — tests/[login to view URL] is an empty scaffold. Write unit tests for the 4 main agents. Tech stack: Python 3.10+, Pillow, fpdf2, Google Gemini API, [login to view URL] REST API Important: [login to view URL] can return unexpected results without raising HTTP errors. I need someone who is not afraid to test edge cases, inspect actual HTTP responses, and build robust fallbacks — not just trust the docs. Deliverables: • agents/[login to view URL] — updated with post-download validation • agents/[login to view URL] — new interactive review module • [login to view URL] — updated to use review loop after step 2 • agents/[login to view URL] — new cover generation module • tests/[login to view URL] — unit tests • Short technical note (1 page) on how you handled Stitch edge cases Budget / timeline: Fixed price preferred. Estimated 3–5h total. Please quote per deliverable if possible. Full brief available on request. Codebase shared after NDA-lite agreement (just don't redistribute).
Project ID: 40774705
169 proposals
Remote project
Active 4 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Your project on enhancing the children's book generator sounds exciting, especially with the need for an interactive review loop and robust validation for Stitch. Ensuring that the images generated meet your quality standards is crucial, and I understand the importance of addressing edge cases effectively. I have experience developing Python applications that required thorough validation and testing, which aligns well with your requirements. What specific edge cases have you encountered with Stitch that you’d like to ensure are handled? Feel free to reach out for a free chat to discuss your project in detail. Regards, Jaden
€50 EUR in 7 days
0.4
0.4
169 freelancers are bidding on average €130 EUR for this job

The hard part here is not generating assets, it is making the pipeline behave safely when Pollinations returns a technically successful response with a useless image. I would handle this by adding a validation layer right after download, retrying with adjusted prompts when the image fails checks, and wiring in a CLI review pause so the run can be corrected before PDF assembly continues. I have worked on Python automation flows where APIs "succeed" but the output still has to be judged for quality, format, and downstream usability. Your stack is straightforward enough to keep this clean: isolate the review loop, keep Stitch validation inside the agent, add a dedicated cover module for KDP sizing/text overlay, and write tests around the core agents so regressions are easier to catch. Per-deliverable pricing is fine from my side if you want it split that way. - Do you already have rules in mind for detecting blank/watermarked/colored outputs, or should I define pragmatic image checks for those cases? - Should save & quit persist enough state to resume the same book run cleanly later? - For the cover, do you already have title/subtitle/font inputs, or should I make that configurable?
€150 EUR in 3 days
9.4
9.4

Silent bad images are the trap: checks strict enough to catch them, loose enough not to burn retries on good pages. Day 1: validation and retry live in stitch_agent, with a logged sample run for you to inspect. Day 3: review loop, cover module, offline-runnable tests, and the edge-case note. 1. Should "save & quit" resume the same book later, or just write out finished pages? 2. May tests hit Gemini/Pollinations live, or must they run fully offline with mocked responses? Send the brief and repo whenever ready; I can start today.
€105 EUR in 3 days
8.0
8.0

Hi There, Hope you are well. I can enhance your Python pipeline for auto-generating children's books for Amazon KDP. I will implement an interactive review loop, validate Stitch illustrations, develop a cover agent, and write basic tests for the agents. I am experienced in Python 3.10+, Pillow, and Google Gemini API, ready to handle edge cases efficiently. Thanks in advance for the opportunity to working with you. Best Regards, Serazum
€55 EUR in 1 day
7.7
7.7

Pollinations returning the wrong image without throwing an HTTP error is exactly the kind of failure mode that breaks pipelines quietly, so the fix needs to be defensive rather than doc-driven. I would add post-download inspection, a bounded retry loop with prompt refinement, and a simple review command flow so you can accept, regenerate specific pages, skip, or stop the run cleanly. This fits well with Python agent-style work I handle regularly: improving existing automation instead of rewriting it from scratch. With your current pipeline already producing story, illustrations, PDF, and KDP packaging, the main focus is making the image stage more reliable and testable while keeping the new modules separated cleanly. I can also structure the work deliverable by deliverable if that helps approval. - Should regenerated pages reuse the original seed/settings when possible, or is a fresh variation preferred each retry? - Do you want the validator to log why an image was rejected for each attempt? - Are the unit tests expected to mock both Gemini and Pollinations responses, or do you want a small optional live-test path too?
€140 EUR in 4 days
7.7
7.7

Hi, The hard part here is Pollinations returning a 200 with the wrong image, so trusting status codes alone breaks. My plan for stitch_agent is validation on the actual bytes: subject check, grayscale check against a saturation threshold for B&W, watermark and blank detection, then a retry loop with a tightened prompt, capped at 3. The review loop sits after that as a CLI with accept all, regen N, skip N, save and quit. We built an AI SaaS that optimizes Amazon listings and publishes directly with Google Gemini, so this KDP workflow is close ground for us. I also ship deterministic pipelines with proper tests, which covers your empty test scaffold. One question: for the cover text overlay, do you have a fixed font and safe margin, or should I set sensible KDP defaults at 2560x1600? Adil
€140 EUR in 7 days
7.5
7.5

Hi we have experience with Python automation API integration image processing and automated testing. We can add the interactive review loop improve Stitch validation with retries and fallbacks build the KDP cover agent and write unit tests for the four main agents. We will also test unexpected API responses and document the edge cases. Do you need a front-only cover or a full wraparound cover, and should the retry limit remain three attempts per image?
€140 EUR in 7 days
6.8
6.8

Hi Sir, I have gone through the requirement and i have expertise in python and ai. I want to discuss the issues you have mentioned in the requirement. Kind Regards Mohan
€140 EUR in 7 days
7.2
7.2

As a 10+ year experienced AI and software engineer, I absolutely love projects that push the boundaries of what is possible with technology. I've built many production systems with end-to-end automation like your children's book generator. Data processing and cleaning? Trained ML models? Handling complex APIs? I've got you covered. Adding to it, my strong full-stack and mobile skills enable me to deliver complete solutions, not just half-finished prototypes. Your project demands handling real-world unpredictability and building robust fallbacks. My experience incorporates exactly what you are looking for. I am unafraid of challenging cases, ready to dive into HTTP responses to handle edge cases, test them deeply, and ensure the pipeline runs flawlessly in every circumstance. In addition to delivering clean and well-documented code (a skill I see as crucial), I am an great at communication too. I regularly give updates about the progress and enthusiastically welcome feedback. I will make sure your pipeline is updated with post-validation checks after Stitch integration, CLI review capability, a cover-agent module, tests for all main agents and everything else that completes the project in time. Looking forward to working on this!
€140 EUR in 1 day
7.0
7.0

hello I can extend your existing Python pipeline with an interactive page review loop, Stitch image validation with up to 3 retries, and a cover agent that generates KDP-sized artwork with title text. I’ll also add unit tests for the four main agents and test edge cases like blank images, incorrect subjects, color output, watermarks, and unexpected HTTP responses, keeping your existing workflow intact a few quick questions 1 can you share the current agent interfaces and pipeline flow after the NDA-lite agreement? 2 do you already have an image validation method, or should I build one using Pillow and configurable checks? 3 should the fixed-price delivery include all four modules, tests, and the technical note within the estimated 3–5 hours? I’d be happy to discuss this further to ensure it meets your exact needs Best Regards Asim
€100 EUR in 7 days
6.2
6.2

Your pipeline is solid, and I’ll focus on making the user interaction and image validation bulletproof. 1. For the interactive review loop, I’ll build a simple CLI that clearly shows page numbers, lets users accept all, regenerate specific pages, skip pages, or save & quit. From similar projects, a clean prompt with clear commands speeds up the review and avoids mistakes. 2. Stitch validation needs checking image content beyond just HTTP success. I’ll inspect image metadata and pixel data for color vs B&W, detect watermarks by pattern or metadata clues, and flag blank outputs by pixel variance. If validation fails, an auto-retry with prompt tweaks will run up to 3 times before moving on. 3. For the cover agent, I’ll generate the cover via Stitch, then overlay the title text precisely at KDP’s 2560x1600 px specs using Pillow. We can add simple font size adjustment to fit longer titles. 4. The unit tests will cover all new modules and edge cases like invalid images, user aborts during review, and retry limits. I’ll build on the existing scaffold in tests/test_pipeline.py. A quick question: For the retry prompt improvements, do you have specific tweaks in mind or should I infer changes dynamically from the detected issue (like “more colorful” for B&W or “remove watermark” requests)? I’ll deliver each module separately so you can review progressively. Ready to start right after NDA-lite and brief review.
€30 EUR in 7 days
5.9
5.9

Pollinations can return a 200 with a generic stock photo or a wrong aspect ratio and you won't know until you parse the actual pixel data. I'd write a post-download validator that checks dimensions, runs a basic histogram to catch blank or solid-color images, and uses Pillow to detect watermark regions in the bottom corner before accepting any file. Three retries with prompt rewrites, then flag for manual review. I built an AI travel planner that had to wrangle Claude's inconsistent JSON output and a PDF pipeline that dealt with OCR garbage across 500 pages, both at ffulb.com. I know what it looks like when an API lies about success. Day one I'd wire up the Stitch validator with actual sample failures from your logs, then build the CLI review loop so you can test the retry logic live before I touch the cover agent or test scaffold.
€109 EUR in 5 days
6.0
6.0

Your existing pipeline sounds well structured. The important part is improving reliability without disrupting the working book-generation process. I'd approach this in four stages: add a CLI review loop, validate downloaded illustrations with bounded retries, build the cover module, and test the agents against both successful and unexpected API responses. One suggestion is to save review decisions and regeneration attempts so interrupted runs can resume without recreating approved pages. My background is in automation and API integrations, and I can coordinate specialist Python implementation where needed. Could you share the repository structure and a few examples of failed Stitch responses? Adnan
€140 EUR in 7 days
6.5
6.5

==== Hi - Truong here ==== "STITCH IMAGE VALIDATION AND RETRIES" - catch incorrect illustrations before they reach the final children's book PDF, even when the API reports success. I'd validate the downloaded image itself, not just the HTTP response. I'd add bounded retries with improved prompts, keep failed results available for review, and make the CLI review loop handle page regeneration, skipping, and save-and-quit without restarting the pipeline. Can you share the expected image format and current Stitch response examples, including one or two incorrect results? Looking forward to work with you.
€190 EUR in 7 days
5.8
5.8

⭐⭐⭐⭐⭐ Hello, I get exactly what your KDP pipeline needs, and one detail before coding: KDP’s ideal Kindle cover is 1600x2560, portrait with height as the longer side. A 2560x1600 landscape cover would be rejected or badly cropped, so I’d generate it in portrait, keeping paperback wrap covers separate since spine width depends on page count. The biggest Pollinations trap is caching. Results are tied to the prompt and seed in the URL, so retrying with the same values returns the same wrong image. Every retry would change the seed and strengthen the prompt, adding cues like “black and white line art, no colour”. Validation runs right after download. I’d check content type and truncation with Pillow, detect blank images through pixel variance, confirm black and white through average HSV saturation, and catch rate-limit placeholders or watermarks by comparing perceptual hashes against known error images. A quick Gemini vision check confirms the subject matches the page. The review loop would save progress to a JSON state file, so “save & quit” resumes where you stopped, with accept, regenerate and skip options per page. The cover agent would add title text with automatic sizing and a contrast backing. Tests would mock HTTP calls and use fixture images for each failure type, running offline in seconds. I’d also add KDP’s required AI-content disclosure to the metadata package. I’d love to help your pipeline publish books that pass review first time. Kind regards, Mickey
€100 EUR in 1 day
5.7
5.7

Hi Giovanni, I will deliver the CLI review loop, Stitch post-download validation with auto-retries, the 2560x1600 KDP cover agent, updated pipeline files, and unit tests. I can complete all 5 deliverables within 4 hours for 150 EUR. Can I start today?
€140 EUR in 3 days
5.4
5.4

IF YOU ARE NOT HAPPY YOU DON'T PAY! Pollinations caches results by prompt and seed. If you retry with the same URL, you usually get the exact same bad image back with a 200. I'd change the seed on every attempt and check the image before saving it: content-type and decode, pixel variance for blanks, saturation for colour vs B&W, and a Gemini vision pass for wrong subject and watermarks. After that come the review_loop CLI after step 2, cover_agent with a Pillow title overlay, tests with the HTTP calls mocked, and the one-page note on what the responses actually contained. One question: 2560x1600 is the Kindle eBook cover size, in portrait. Do you also need a paperback wrap with a spine, or just the eBook cover? Send me a message and I'll explain exactly how I'd approach your project.
€223 EUR in 5 days
5.4
5.4

I can extend your existing Python pipeline with the requested review workflow, resilient Stitch validation, cover generation, and test coverage. The implementation would include: • A CLI review loop supporting accept all, regenerate or skip individual pages, and save/quit. • Post-download checks for HTTP/content anomalies, blank or invalid images, watermark indicators, subject mismatches where practical, and B&W expectations, with up to three progressively improved retries. • A cover agent producing the required 2560×1600 KDP output and compositing title text cleanly with Pillow. • Unit tests covering the four primary agents, including mocked Gemini/Pollinations responses, malformed payloads, failed downloads, and retry behavior. • Pipeline integration that preserves the current end-to-end flow and avoids losing progress when a user exits the review step. • A concise technical note documenting validation decisions, edge cases, and fallback behavior. I’ll first inspect the existing agent interfaces and actual Pollinations responses, then implement the changes in focused modules with minimal disruption to your working pipeline. The result will be tested against both successful and unexpected API/image scenarios.
€100 EUR in 2 days
5.5
5.5

Hello, there. I can improve your Python pipeline with robust image validation and retry handling for Pollinations.ai. I'll add the interactive review loop, KDP cover generation, and unit tests for the four main agents. I'll handle unexpected API responses, invalid images, and prompt improvements with reliable fallbacks. I'll also provide the updated modules and a technical note covering edge cases. Thanks, Tobias
€140 EUR in 7 days
5.4
5.4

Hi, I can help improve your Python pipeline with an interactive CLI review loop, robust image validation and retries, KDP cover generation with Pillow, and unit tests using mocked API responses. I’ll focus especially on Pollinations edge cases, including blank, incorrect, or watermarked images, with clear fallbacks and error handling. Could you share the existing agent interfaces and a sample API response so I can assess the codebase and confirm a realistic fixed-price estimate?
€130 EUR in 2 days
5.5
5.5

Hi, I’ve built robust Python automation pipelines with API integrations, validation, and safe retries. You need an interactive CLI review loop, Stitch image validation with edge-case handling, a cover generator, and unit tests. I’ll update the pipeline to pause after image batches, add post-download checks with up to 3 retries and prompt improvements, and implement KDP-dimension cover creation plus pytest coverage for each agent. I deliver reliable, testable code by validating real responses and covering failure paths. Best, Razmik
€100 EUR in 2 days
5.0
5.0

Salerno, Italy
Payment method verified
Member since Sep 16, 2026
€750-1500 EUR
€250-750 EUR
$30-250 USD
€250-750 EUR
€30-250 EUR
$10-30 USD
$40-50 USD
₹600-1500 INR
$10-30 USD
$5000-10000 USD
$250-750 USD
$250-750 USD
$30-250 AUD
₹750-1250 INR / hour
₹100-400 INR / hour
₹750-1250 INR / hour
$2-4 USD / hour
$10-30 USD
₹12500-37500 INR
₹75000-150000 INR
₹750-1250 INR / hour
₹750-1250 INR / hour
$30-250 USD
$800-1000 HKD
$30-250 USD