GFX-301b · Module 2

Prompt Engineering for Transfer

4 min read

Style transfer prompts have a specific structure: style instructions first, content instructions second. The model weights earlier tokens more heavily in the attention mechanism — which means the style parameters should anchor the prompt before any content-specific details appear.

The prompt template: "[Style specification summary — palette, composition, typography, texture, lighting]. [Content description — what this specific image should depict]. [Negative constraints — what this image should NOT include]." Example: "Dark background (#000000) with neon cyan (#00ffff) accent lighting. Centered composition with generous whitespace. Exo 2 typography, bold weight for headlines. Clean vector aesthetic with subtle glow effects. A data visualization showing quarterly revenue growth as an ascending bar chart with 4 bars. No photographic elements. No gradients on the bars. No 3D effects."

The negative constraints are as important as the positive instructions. Without them, the model fills gaps with its default aesthetic — which is almost certainly not your brand style. Every unspecified dimension is a dimension where the model will drift.