Skip to content
AI Primer
workflow

Tencent Hy4 turns sketches and app screenshots into code in Hasantoxr tests

Hasantoxr shared tests in which Tencent Hy4 turns sketches into games or HTML pages and app screenshots into code. The thread includes WorkBuddy access steps, API pricing and a November 15 cutoff for the limited free quota.

2 min read
Tencent Hy4 turns sketches and app screenshots into code in Hasantoxr tests
Tencent Hy4 turns sketches and app screenshots into code in Hasantoxr tests

TL;DR

  • Tencent Hy4 now accepts images and can operate a computer, as hasantoxr's introduction describes.
  • Four demos cover sketch-to-game, screenshot rebuilding, sketch-to-HTML and handwriting transcription, with the game brief specifying three playable levels.
  • WorkBuddy offers a limited free Hy4 quota through November 15, per the access walkthrough; the follow-up lists OpenRouter and TokenHub as API alternatives.

Tencent's November 4 announcement says Hy4 received specialized training on Blender and CAD. A welcome detail in hasantoxr's screenshot prompt is the requirement to list anything the model couldn't reproduce.

Sketch to platformer

Hasantoxr pairs a hand-drawn level with a game screenshot used as an art-style reference. The browser-platformer brief requests:

  • A start screen.
  • Win and lose states.
  • A restart.
  • Three levels.

Screenshot to web page

An app screenshot becomes the specification for a working web page. Hasantoxr calls for the original image and generated result to be placed side by side for comparison.

Sketch to HTML

The second sketch workflow targets one working HTML page, with the drawn layout preserved. The prompt asks Hy4 to replace drawn text placeholders with realistic copy.

Handwriting to to-do list

The non-coding test starts with a photo of messy handwritten notes and asks for a clean, organized to-do list. Its explicit uncertainty rule: “Mark any words you couldn't read instead of guessing.”

WorkBuddy and API access

WorkBuddy setup follows four steps in hasantoxr's walkthrough:

  1. Download WorkBuddy.
  2. Sign up and log in.
  3. Open the model picker.
  4. Select Hy4.

The limited free Hy4 quota runs through November 15. Paid API options include tencent/hy4 on OpenRouter and Hy4 through Tencent Cloud TokenHub:

Weights were still pending in the thread. Tencent's launch announcement says model weights and system cards will follow “in the coming days.”

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 2 threads
TL;DR2 posts
WorkBuddy and API access1 post
Share on X