dream-loop
achimala/dream-loop · MIT · 10 entries
An agent skill that first generates a picture of the finished scene, then builds toward it, checking a live screenshot against that picture round after round while a separate critic scores the gap.
- Get it
npx skills add achimala/dream-loop- Needs
An agent with image generation and image input. For generated 3D models: a Fal key and credit, about $0.30 for a large asset by the skill's own figures.
- Sends off your machine
Nothing by itself. When an agent follows it, the target picture and cut-outs of each object go to an image generator, and the chosen pictures go to fal.ai. Its capture server listens on your machine only, and serves the working folder to anything on that machine while it runs.
- We watched it run
Its helper's 9 tests passed with nothing leaving the machine.
Its capture server took a posted screenshot and saved it, and refused a file that was not an image.
- Not tried here
The loop itself. It needs an agent session with image generation, and a paid key for models.
- License
MIT
What the loop makes with outside services falls under those services' terms.
Everything in it
Agent skills
- dream-loopThe skill itself, 2,900 characters: first get a target picture (the user's, or one made with an image generator and prompted as a real…
- Fal bootstrap and batch generationThe working recipes for the two image-to-3D models on fal.ai, checked by the author against the official schemas on 2026-09-09…
- How to get 3D assets (Plus)The same sourcing order as the Pro page with the Blender step removed ('DO NOT use Blender for modeling') and a note that the image-to-3D…
- How to get 3D assets (Pro)A fixed order for sourcing a model: download one if the user allowed it; else generate it from an image with a paid image-to-3D service…
- Plus workflowThe cheaper loop with no judge: a smaller model orchestrates and, three times, starts a fresh sub-agent on the strongest model at its…
- Pro workflowThe loop with a judge: build a first pass, take a screenshot, give the screenshot and the target to a fresh sub-agent that scores…
- Vesper demo recordingLink onlyA 7 MB animated GIF of the author's example result: an isometric fantasy scene in three.js that the README says one model built from one…
Tools
- fal-batch.mjsA 172-line Node script with no dependencies that turns pictures into .glb models through fal.ai's queue: check validates a job file…
- fal-batch.test.mjsNine tests for the Fal helper that run against a mocked network: concurrency, resuming without paying twice, uncertain submissions never…
- preview-server.pyA 46-line Python web server for the loop's screenshots: it serves the working folder on this machine only and accepts a PNG posted to…