img <- "artwork.jpeg"
# Gemini analysis
gem_styles <- art_style_ai(img, provider = "gemini", temp = 0)
gem_desc <- art_about_ai(img, provider = "gemini", temp = 0.7)
# OpenAI analysis
oai_styles <- art_style_ai(img, provider = "openai", temp = 0)
oai_desc <- art_about_ai(img, provider = "openai", temp = 0.7)
# Compare style tags
cat("=== GEMINI ===\n")
print(gem_styles[, .(tag, tag_norm)])
tag tag_norm
<char> <char>
1: Cubist-Inspired Figuration cubist-inspired figuration
2: Vibrant, Saturated Color Palette vibrant, saturated color palette
3: Bold Black Outlines bold black outlines
4: Dense, Overlapping Composition dense, overlapping composition
5: Stylized, Prominent Eyes stylized, prominent eyes
6: Textured Surface textured surface
7: Scientific and Textual Collage scientific and textual collage
cat("\n=== OPENAI ===\n")
print(oai_styles[, .(tag, tag_norm)])
tag tag_norm
<char> <char>
1: Fragmented cubist faces fragmented cubist faces
2: Vivid high-contrast palette vivid high-contrast palette
3: Bold black contour lines bold black contour lines
4: Asymmetrical eye emphasis asymmetrical eye emphasis
5: Text and chemical notation text and chemical notation
6: Layered textures and impasto layered textures and impasto
7: Dynamic compositional crowding dynamic compositional crowding
8: Geometric-organic interplay geometric-organic interplay
9: Symbolic color zoning symbolic color zoning
10: Surreal anatomical distortion surreal anatomical distortion
# Compare descriptions
cat("\n=== GEMINI DESCRIPTION ===\n", gem_desc, "\n")
=== GEMINI DESCRIPTION ===
This artwork is a vibrant, abstract composition featuring a collage of fragmented faces. Executed in a style influenced by Cubism, the piece uses bold black outlines to separate geometric planes and present multiple viewpoints at once. The palette is electric, dominated by saturated blues, reds, pinks, and oranges, creating a high-contrast and energetic visual field. Interspersed throughout the painting are scientific references to the element Zinc, including its chemical symbol (Zn), atomic number (30), atomic mass (65.38), and molecular diagrams. The overall mood is one of dynamic complexity, merging expressive human features with cool, factual scientific data.
cat("\n=== OPENAI DESCRIPTION ===\n", oai_desc, "\n")
=== OPENAI DESCRIPTION ===
This artwork presents a dense cluster of overlapping faces, each fragmented into bold geometric shapes and outlined in black. The style is strongly influenced by Cubism and abstract expressionism, with distorted proportions, multiple viewpoints, and graphic linear details. A vivid palette of electric blues, reds, yellows, oranges, and greens dominates the composition, contrasted by smaller areas of white and black. Scientific notations and chemical structures, including references to zinc, are integrated into the imagery, adding a conceptual and experimental layer. The overall mood is energetic and slightly chaotic, suggesting heightened emotion, complexity of identity, and an analytical gaze turned inward.