<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aref</title>
    <description>The latest articles on DEV Community by Aref (@arefvc).</description>
    <link>https://dev.to/arefvc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3482684%2Fbc2f0192-8962-4142-ab36-f0ebeec05b9c.png</url>
      <title>DEV Community: Aref</title>
      <link>https://dev.to/arefvc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arefvc"/>
    <language>en</language>
    <item>
      <title>Animalette, nature's palettes, reimagined.</title>
      <dc:creator>Aref</dc:creator>
      <pubDate>Sat, 06 Sep 2025 00:22:55 +0000</pubDate>
      <link>https://dev.to/arefvc/animalette-natures-palettes-reimagined-4f0j</link>
      <guid>https://dev.to/arefvc/animalette-natures-palettes-reimagined-4f0j</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-ai-studio-2025-09-03"&gt;Google AI Studio Multimodal Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff0ggqgsdm6jnhmrb4ukv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff0ggqgsdm6jnhmrb4ukv.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Animalette is your window into the original design source: mother nature. Choose your animal or species and you'll get not just the color palette of that animal but also a suggested mockup using the same color palette. Save your palettes into your personal library, copy hex codes and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;CloudRun App: &lt;a href="https://animalette-988799610421.us-west1.run.app/" rel="noopener noreferrer"&gt;https://animalette-988799610421.us-west1.run.app/&lt;/a&gt;&lt;br&gt;
Demo: &lt;a href="https://share.cleanshot.com/jNHYKK0P" rel="noopener noreferrer"&gt;https://share.cleanshot.com/jNHYKK0P&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Google AI Studio
&lt;/h2&gt;

&lt;p&gt;This is a multimodal approach to Google AI capabilities, including Image Generation (Imagen and NanoBanana), Search, And Generative AI. User can choose an animal from existing library or search for a new one, Generative AI and Search provides a profile palette of that animal and the possibility to get a mockup design leveraging the color palette.&lt;/p&gt;

&lt;h2&gt;
  
  
  Multimodal Features
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Parallel Text-to-Image and Text-to-Structured-Data Generation
What I built: When a user provides the name of an animal (text input), the application makes two simultaneous API calls to different Gemini model endpoints:
Text-to-Image: It sends a carefully crafted descriptive prompt to the imagen-4.0-generate-001 model to generate a high-quality, photorealistic image of the animal. This provides immediate visual context.
Text-to-Structured-Data (JSON): Concurrently, it sends a more analytical prompt to the gemini-2.5-flash model. This prompt specifically requests a color palette analysis and, by defining a strict responseSchema, forces the model to return its findings as a clean, predictable JSON object. This object contains arrays of primary and secondary colors, each with a name, hex code, and a description of where it's found on the animal.
Why it enhances the UX:
Efficiency: Running these requests in parallel significantly reduces perceived latency. The user receives a complete, rich dataset (both image and data) in the time it takes the longest single request to complete.
Contextual Richness: This approach instantly connects the abstract (color data) with the concrete (the animal's image). Users can immediately see the "Vibrant Orange" in the clownfish's stripes or the "Deep Indigo" in a peacock's feather, making the palette more meaningful and memorable. It answers not just "what colors?" but also "why these colors?".&lt;/li&gt;
&lt;li&gt;AI-Generated Output as Creative Input for a Second AI Task
What I built: The "Palette in Action" feature is a prime example of a chained AI workflow.
First, we get the JSON color palette from Gemini as described above.
Then, the application uses this structured data to dynamically construct a new, highly specific prompt. This prompt instructs imagen-4.0-generate-001 to design a modern website UI mockup, explicitly commanding it to use the exact hex codes from the generated palette.
Why it enhances the UX:
Bridges Inspiration and Application: This is the most powerful feature for our target audience of designers and creatives. It takes the generated palette—which is still somewhat abstract—and immediately demonstrates its practical potential in a real-world context. It answers the user's next logical question: "This is a beautiful palette, but what can I do with it?"
Sparks Creativity: By providing a tangible design concept, it kickstarts the user's own creative process. It's a powerful tool for overcoming "creative block" and makes the entire experience feel more valuable and complete.&lt;/li&gt;
&lt;li&gt;Generative UI and Visualizations
What I built: Beyond static images, the application uses the generated color data to create dynamic, on-the-fly visualizations:
The "Blend" gradient is a simple but effective way to see how the colors interact.
The "Creative Canvas" component generates a unique, abstract piece of art using the palette. It algorithmically creates layered, flowing shapes filled with the palette's colors, ensuring a different artistic result every time.
Why it enhances the UX:
Aesthetic Delight: These features add a layer of polish and "magic" to the experience. They make the application feel more interactive and visually engaging than a simple swatch display.
Emotional Connection: The "Creative Canvas" in particular provides a more emotional, artistic interpretation of the color data, appealing directly to the creative sensibilities of the user base. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://share.cleanshot.com/SF8QTRtV" rel="noopener noreferrer"&gt;https://share.cleanshot.com/SF8QTRtV&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Submission: @aref_vc (Twitter)&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>googleaichallenge</category>
      <category>ai</category>
      <category>gemini</category>
    </item>
  </channel>
</rss>
