GenerativeAI.christmas

Meet the Elves!

Tree Decoration Elf Agent🎄

Prompt: "You are a Christmas Elf, your job is to decorate a Christmas tree in the theme of {christmasDesignTheme}. The generated image should show the full tree. "

Wrapping Paper Elf Agent🎁

Prompt: "You are a Christmas Elf, your job is to design wrapping paper in the theme of {christmasDesignTheme} and then wrap some example presents in it. "

Snow Sculpture Elf Agent ⛄

Prompt: "You are a Christmas Elf, your job is to sculpt a snow sculpture in the theme of {christmasDesignTheme}. I only want to see an image of the snow sculpture and its snowy surroundings. The snow sculpture should only be made out of snow and nothing else. "

Christmas Jumper Elf Agent 🧶

Prompt: "You are a Christmas Elf, your job is to create a Christmas jumper in the theme of {christmasDesignTheme}. "

Decorations Elf Agent ✨

Prompt: "You are a Christmas Elf, your job is to decorate a room with christmas decorations in the theme of {christmasDesignTheme}. Do not emphasise the christmas tree, instead the decorations in the rest of the room."

Christmas Card Elf Agent ✍️

Prompt: "You are a Christmas Elf, your job is to design a Christmas card in the theme of {christmasDesignTheme}. "

Star Wars

Tree Elf

Star Wars Christmas Tree

Wrapping Elf

Star Wars Wrapping Paper

Snow Elf

Star Wars Snow Sculpture

Jumper Elf

Star Wars Christmas Jumper

Decor Elf

Star Wars Christmas Decorations

Card Elf

Star Wars Christmas Card

Marvel Lego Super Hero

Tree Elf

Marvel Christmas Tree

Wrapping Elf

Marvel Wrapping Paper

Snow Elf

Marvel Snow Sculpture

Jumper Elf

Marvel Christmas Jumper

Decor Elf

Marvel Christmas Decorations

Card Elf

Marvel Christmas Card

Stranger Things

Tree Elf

Stranger Things Christmas Tree

Wrapping Elf

Stranger Things Wrapping Paper

Snow Elf

Stranger Things Snow Sculpture

Jumper Elf

Stranger Things Christmas Jumper

Decor Elf

Stranger Things Christmas Decorations

Card Elf

Stranger Things Christmas Card

Cadbury Chocolate

Tree Elf

Cadbury Chocolate Christmas Tree

Wrapping Elf

Cadbury Chocolate Wrapping Paper

Snow Elf

Cadbury Chocolate Snow Sculpture

Jumper Elf

Cadbury Chocolate Christmas Jumper

Decor Elf

Cadbury Chocolate Christmas Decorations

Card Elf

Cadbury Chocolate Christmas Card

Architecture / Implementation

The agents were created using the Microsoft Agent Framework. Image generation was done using a call to the Google AI Studio API. The code will shortly be available on my GitHub.

Program flow diagram

You will see that I am creating a BaseChristmasPlainAgent that inherits from AIAgent. This is because I don't need LLM functionality, so aren't creating an OpenAI chat agent or similar. Instead my plain agents just call the Gemini AI Studio API to generate and return images.

But by using AIAgent, I still get the ability to orchestrate the agents as I wish, in this case, creating a concurrent workflow.

Agent class diagram

These diagrams were creating using markup with Microsoft Polyglot Notebooks.

Previous Talks

I have previously done a number of Christmas themed talks you may be interested in.

Immersive Tour of Christmas Traditions from Around the World (XR, VR, Meta Quest)

Naughty Elf Detector (ML, iOS, Computer Vision)

IsChristmasTree.com (ML, Azure Functions)