Training Qwen with RL to Paint Watercolors via Code

zsakib_ · x · 2026-08-24

Surya Narreddy demonstrated using Reinforcement Learning to fine-tune Qwen 3.5 35B to generate watercolor paintings by writing p5.js code, rather than generating images directly.

How it works:

Reward Checks:

This approach makes the generated image editable code, addressing the limitation of traditional generative models where outputs cannot be directly modified.

Related event: RL-Trained Coding Model Paints Watercolors with JavaScript(3 posts)→

Original post →

More from coding & agent

coding & agent channel →