Day 10: The Festival Poster Generator 🎨📢 #6092
-
Day 10: The Festival Poster Generator 🎨📢Welcome Back, AI Engineer The Winter Festival’s marketing coordinator, Elena, is losing it. She has spent 8 hours in Photoshop creating posters for 15 different festival events. Same layout every time. Different names, times, locations, and themes. All done manually. “There has to be a better way!” she yells, tossing her stylus aside. “I’m rebuilding the same poster over and over!” She is right. And you know the solution: recipes with parameters and conditionals. So far, you have built recipes that behave the same way every time. Today, you will build one that adapts based on input, making it flexible, reusable, and scalable. 🎯 Your Mission: Build a Parameterized Poster GeneratorElena needs one recipe that can generate posters for any festival event. Same recipe. Different inputs. Different results. The Challenge: 📋 Event DetailsStart with these three events: Hot Cocoa Tasting
Kids’ Storytelling Hour
Live Music Performance
Elena wants to run the recipe once per event and get a polished, ready-to-share poster each time. 🔧 Required ParametersEach poster should accept:
Optional parameters are encouraged. 🧠 Example: Parameters + Conditionals in ActionBefore designing posters, here is a simple recipe that demonstrates how parameters and conditional logic work together. This recipe changes its output based on which parameters are provided and how they are set. version: 1.0.0
title: Simple Greeting Example
description: A simple recipe showing how to use conditionals
prompt: |
Hello {{ name }}!
{% if favorite_color %}
I see your favorite color is {{ favorite_color }}. That's a great choice!
{% endif %}
{% if age %}
{% if age < 18 %}
You're pretty young! I'll keep things simple and fun.
{% elif age >= 18 and age < 65 %}
Great to meet an adult user!
{% else %}
It's wonderful to meet someone with life experience!
{% endif %}
{% endif %}
{% if wants_joke %}
Here's a joke for you: Why did the programmer quit? Because they didn't get arrays! 😄
{% endif %}
Now, how can I help you today?
parameters:
- key: name
requirement: required
- key: favorite_color
requirement: optional
- key: age
input_type: integer
requirement: optional
- key: wants_joke
input_type: boolean
requirement: optional
default: falseWhat to notice:
This same pattern will power your poster generator. 🔍 Your TaskBuild a recipe that:
🎨 Design LogicUse conditional logic to automatically style posters based on
📚 Resources
Video: NEED LLM CREDITS?Sign up at goose-credits.dev to get free credits for Claude Sonnet 4.5 via OpenRouter. Use the ACCESS CODE: 🎁 Level Up (Optional)
📤 Share Your Work📮 Required: Submit in the Advent of AI Discussion under Day 10. Accepted Formats:
Tag us: ✅ Success Criteria
You are good to go. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
Here's my day 10 submission! Attached are 2 examples I made with this recipe🧑🍳:
[winter-hackathon-poster.html](https://github.com/user-attachments/files/24133353/winter-hackathon-poster.html)
[elena-ice-skating-race-christmas-poster.html](https://github.com/user-attachments/files/24133354/elena-ice-skating-race-christmas-poster.html)
More in this Bluesky post! → https://bsky.app/profile/j4ck.xyz/post/3m7sq6sxy2k2u |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Day 10 is in the books! Yesterday I had other things on the go, so tackling today on a chill Saturday evening. Check out my Advent of AI repo's day 10 folder 👀 Have fun with my shareable link for my recipe! You can read the full story at Advent of AI - Day 10: Understanding Arguments in Goose Recipes.
Poster with optional fields: |
Beta Was this translation helpful? Give feedback.
-
|
I decided to participate for this one too. I tried to go for a sleek look ..here's mine ..I also exported them as a PDF
Here's my recipe ...I used a URL shortener: https://tinyurl.com/poster-recipe |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Day 10's solution is here! Advent.of.AI.-.Day.10.1.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
View my Recipe yaml file here Required Parameters
Optional Parameters (Conditional)
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.


























Day 10's solution is here!
https://www.youtube.com/shorts/rQ7X_9Zdtrg
Advent.of.AI.-.Day.10.1.mp4