whatisgithub

What is candycraft?

saito-sakuya/candycraft — explained in plain English

Analysis updated 2026-05-18

26JavaScriptAudience · designerComplexity · 2/5LicenseSetup · easy

In one sentence

A visual canvas tool for composing scenes and lighting, then exporting a polished prompt for AI image generators.

Mindmap

mindmap
  root((CandyCraft))
    What it does
      Visual prompt builder
      Style radar chart
      Lighting preview
    Tech stack
      JavaScript
      Cloudflare Pages
    Use cases
      Compose scenes
      Export prompts
      Deploy to Cloudflare
    Audience
      AI image creators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Arrange scene elements on a canvas to build a structured AI image prompt visually.

USE CASE 2

Balance eight style dimensions using a radar chart before generating a prompt.

USE CASE 3

Position lighting and camera angles with a 3D preview before exporting the prompt.

USE CASE 4

Deploy your own copy to Cloudflare Pages with no build step required.

What is it built with?

JavaScriptHTMLCloudflare Pages

How does it compare?

saito-sakuya/candycraftjohunsang/tauri-dev-screen-clileeshark21/video_portfolio
Stars262626
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasymoderateeasy
Complexity2/52/51/5
Audiencedesignerdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

No build step, deploying the backend-hosted mode requires pushing to GitHub and connecting Cloudflare Pages.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

Candy Craft is a visual tool for building and refining prompts used with AI image generation services. Rather than writing a prompt entirely by hand, you use a canvas-based interface to arrange scene elements, adjust composition, configure lighting, and then export a polished prompt you can paste into an image generator. The canvas works like a simple diagram editor: you drag elements around, set which ones appear in the foreground versus background, establish links between them, and specify any text that must appear exactly as written in the final image. The tool tracks eight adjustable style dimensions and shows them as a radar chart so you can see the balance visually. A composition panel lets you set the aspect ratio and final pixel size. A lighting and camera panel lets you position light sources from three views (top, front, side) and see a 3D preview of the scene layout. Once the canvas is set up, you click a button to analyze the current state and generate an optimized prompt. The tool sends the canvas data to an AI model, which writes the final prompt in a structured format and returns it for you to copy. All the AI output goes through a versioned schema internally, which means the tool validates the response before showing it to you and falls back gracefully if something goes wrong. The project comes in two operating modes. A backend-hosted mode routes AI calls through server-side functions on Cloudflare Pages, keeping your API keys private. A user-configured mode lets you point the tool at any OpenAI-compatible API endpoint using keys you store in your own browser. The project is entirely static HTML and JavaScript with no build step required. Deployment to Cloudflare Pages requires pushing the repository to GitHub and connecting it in the Cloudflare dashboard. No build command is needed. The tool comes with two visual themes (Candy and Pro) that can each be used in light or dark mode. The project is licensed under the MIT license.

Copy-paste prompts

Prompt 1
Show me how to arrange a scene on CandyCraft's canvas and export an image prompt.
Prompt 2
Explain how CandyCraft's radar chart controls the eight style dimensions.
Prompt 3
Deploy CandyCraft to Cloudflare Pages using backend-hosted mode.
Prompt 4
Configure CandyCraft to use my own OpenAI-compatible API endpoint.

Frequently asked questions

What is candycraft?

A visual canvas tool for composing scenes and lighting, then exporting a polished prompt for AI image generators.

What language is candycraft written in?

Mainly JavaScript. The stack also includes JavaScript, HTML, Cloudflare Pages.

What license does candycraft use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is candycraft to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is candycraft for?

Mainly designer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.