Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ECCV 2026

๐ŸŽฉ CoCo: Code as CoT for Text-to-Image Preview and Rare Concept Generation

Official repository for the paper "CoCo: Code as CoT for Text-to-Image Preview and Rare Concept Generation".

[๐Ÿ“– Paper] [๐Ÿค— Model]


๐Ÿ’ฅ News

๐Ÿช„ Draft Before Generation


We propose CoCo-as-CoT (CoCo), a novel interleaved reasoning paradigm that fully leverages both textual and visual contents in CoT for better planning and verification.

Our method ๐ŸŽจ first generates Python MatPlotlib Code and render by sandbox as a preview, providing more concrete and structural visual planning and guidance.

Then, we ๐Ÿ”Ž employ the modelโ€™s inherent understanding capability to verify potential semantic misalignments between the draft and input prompt, and ๐Ÿ–ผ๏ธ achieve higher fidelity and stronger semantic alignment.

๐Ÿง  Related Work

Explore our additional research on Autoregressive Text-to-Image Generation and CoT Reasoning

About

CoCo: Code as CoT for Text-to-Image Preview and Rare Concept Generation

Resources

Stars

55 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages