Pick an idea
Looks at the season, holidays and every past page, then chooses something new.
A daily schedule wakes the studio on Google Cloud. The agents pick an idea, draw it, check it against our quality bar and publish it to coloritdaily.com.
Looks at the season, holidays and every past page, then chooses something new.
Turns the idea into a precise drawing prompt in the collection's style.
Gemini draws the page, then it becomes crisp, print-ready line art.
Inspects the image. Publishes it only if every check passes.
↺ If the Critic finds a problem, it sends notes back to the Stylist and the page is redrawn, up to 4 times.
No text, no borders, no shading, child-safe, on-style, easy to color, true to the brief, good anatomy.
Each published page is stored as an embedding, so new ideas are compared against all past ones. no twin otters
Cloud Run, Gemini on Vertex AI, Firestore, Cloud Storage and PostgreSQL. Thumbnails and colored versions are made automatically.
The full picture: every service, agent, tool and data store, top to bottom.
Fires the daily job.
Cloud Run Function. Gets an OIDC token, opens a session and sends today's date, collection, keyword, audience and style.
/runBefore any agent thinks, the service sets the table.
/run joins the run already in progresscoloritdaily_config/agent_inputkids_3_10runningDecides what to draw today.
get_calendar_eventsSeason, holidays within ±3 days, fun observancesget_recent_historyLast 10 published titles and tags, from Firestoresearch_past_conceptsEmbeds the idea and finds the 5 closest past pagesHands off: title, description, tags, mood and SEO copy
so we never draw the same otter twice
Turns the idea into an image prompt.
no toolsPure prompt craft: subject, framing, micro-style, audience and the no-text ruleHands off: positive_prompt
Draws it and makes it print-ready.
generate_imageGemini image model draws a raw PNG into Cloud Storageoptimize_imagepotrace vectorizes to SVG, then renders a 2550×3300 PNG and WebPHands off: raw and optimized image paths
Checks it like a picky art teacher.
download_imageFetches the optimized pageinspect_image_visuallyGemini vision fills a JSON checklist; any fail is a rejectpublish_to_firestoreOn pass, writes Postgres, Firestore and the embedding, then ends the loop↺ On REJECT, the Critic's feedback goes back to the Stylist, who rewrites the prompt. Up to 4 passes.
color-it-daily-agent-assets
raw/ first drafts from the image modeloptimized/ print PNG, SVG and WebPoptimized/thumbnail/ and optimized/colored/coloring_pages
coloring_pages_user for on-demand pagescoloritdaily_config for live input overridescoloring_pages_vectors
text-embedding-004, 768 dimensionsRETRIEVAL_DOCUMENTfind_nearest by the Creative Directorpages · tags · page_tags
organization_users maps users to orgsMakes a WebP four times smaller and saves it to optimized/thumbnail/.
Gemini paints a colored version of the page as a guide, saves it to optimized/colored/ and updates Firestore and Postgres.
The new page appears as today's free printable, with its colored version alongside.