Skip to content

Instantly share code, notes, and snippets.

@mamolli
mamolli / nanobanana-2-prompt.md
Last active May 6, 2026 11:59
[clean up gpt texturing] gpt-image-2 -> nanobanana-2

Generate a new image from scratch based on this reference.

The reference image contains unwanted AI artifacting: checker texture, speckled noise, stippling, blotchy micro-patterns, and artificial over-texturing. Treat those artifacts as defects, not as part of the style.

Match the reference image’s subject, identity, pose, framing, composition, lighting, colors, outfit, background, and art direction as closely as possible, but rebuild every surface cleanly. Do not copy the reference image’s pixel texture or artifact pattern.

Output a clean first-generation version of the same image with natural surfaces and continuous tones.

@mamolli
mamolli / test.clj
Last active October 8, 2024 14:50
tracking-map.clj
(ns test
(:require [clojure.pprint :refer [pprint]]))
(declare tracking-map)
(defn wrap-value [v path]
(cond
(map? v) (tracking-map v path)
(vector? v) (mapv #(wrap-value % (conj path %2)) v (range))
:else v))