{"id":27000487,"url":"https://github.com/darrylschaefer/dalle-starter","last_synced_at":"2026-02-28T15:01:07.150Z","repository":{"id":163582815,"uuid":"587005865","full_name":"darrylschaefer/dalle-starter","owner":"darrylschaefer","description":"Node-based starter application for interacting with Dall-E 3 / Dall-E 2 (OpenAI) API in the browser.","archived":false,"fork":false,"pushed_at":"2024-01-15T16:30:50.000Z","size":323,"stargazers_count":10,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T03:28:47.490Z","etag":null,"topics":["art","dall-e-api","dalle2","deep-learning","expessjs","generative-art","nodejs","openai","text-to-image"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darrylschaefer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-09T18:36:10.000Z","updated_at":"2024-10-18T07:08:08.000Z","dependencies_parsed_at":"2024-01-15T18:18:32.422Z","dependency_job_id":"f0f20aad-6fe9-476d-9edf-0dfec90df423","html_url":"https://github.com/darrylschaefer/dalle-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darrylschaefer/dalle-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrylschaefer%2Fdalle-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrylschaefer%2Fdalle-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrylschaefer%2Fdalle-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrylschaefer%2Fdalle-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darrylschaefer","download_url":"https://codeload.github.com/darrylschaefer/dalle-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrylschaefer%2Fdalle-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29938962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["art","dall-e-api","dalle2","deep-learning","expessjs","generative-art","nodejs","openai","text-to-image"],"created_at":"2025-04-04T03:27:12.492Z","updated_at":"2026-02-28T15:01:07.094Z","avatar_url":"https://github.com/darrylschaefer.png","language":"CSS","readme":"# Dall-E Starter\n\n\u003ch3\u003eWho is this for?\u003c/h3\u003e\n\nThis starter application is for developers, artists or anyone routinely interacting with the Dall-E 2 / Dall-E 3 API from OpenAI. It provides a quick and easy way to interact with the API through a web browser without needing to write code.\n\nYou can add your OpenAI API Key and request image generations, variations, or edits. You can manually adjust the generation quantity and resolution, and automatically save the resulting images locally.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/119073511/219451667-83b28137-5334-4ef2-95e8-d69b4b210ccb.gif\" style=\"width:500px; border: 1px solid rgba(0,0,0,.3);\" title=\"image showing browser interface\"\u003e\n\n\u003ch3\u003eFeatures\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eAccess Dall-E 3 generation using API with Generation functionality (Variation and Edit currently unsupported by OpenAI for Dall-E-3).\n\u003cli\u003eAccess Dall-E 2 generation using API with Generation, Variation, or Edit endpoints.\u003c/li\u003e\n\u003cli\u003eGenerate images without corner logo.\u003c/li\u003e\n\u003cli\u003eGenerate images using API pricing.\u003c/li\u003e\n\u003cli\u003eMask images for Edit endpoints in-browser using canvas editor.\u003c/li\u003e\n\u003cli\u003eSave image generations locally, automatically.\u003c/li\u003e\n\u003cli\u003eAdjust generation quantity and resolution (style and quality options available for dall-e-3).\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eStarting the server\u003c/h3\u003e\n\n```bash\n# Clone repository\ngit clone https://github.com/darrylschaefer/dalle2-starter/ sampleproject\n\n# Change directory\ncd sampleproject\n\n# Install dependencies\nnpm install\n\n# Add API key to environment.env in root folder\nOPENAI_API_KEY=\"\"\n\n# Start app\nnpm run build\n\n# Open client\nStart your internet browser, and type in the address: http://localhost:3000\n```\n\n\u003ch3\u003eRequesting Generations\u003c/h3\u003e\n\nTo request image generations, visit http://localhost:3000 in your web browser after the server has started. Enter the desired prompt, resolution (default is 1024x1024), and quantity (default is 1), then click 'submit' to send the API request. If 'save locally' is checked (by default it is), the file will save to the /generations folder in the root of your application.\n\nIf you're requesting generations with Dall-E-3, you can set the quality and style parameters. You cannot request more than 1 image at a time using Dall-E-3.\n\nFor image variations and edits, the image data is pulled from their respective canvas elements (set at 1024x1024). Make sure there's transparency if you're requesting an edit, you can make transparency using the eraser tool (example in video section). Keep in mind that this functionality is not supported with Dall-E-3. If you switch over to these features, your options will update to avoid conflicts.\n\n\u003ch3\u003eBuilt using\u003c/h3\u003e\n\n\u003cul\u003e\n\u003cli\u003eNode / Express\u003c/li\u003e\n\u003cli\u003eJade\u003c/li\u003e\n\u003cli\u003eTailwindCSS / Flowbite\u003c/li\u003e\n\u003cli\u003eFabric.JS (canvas element)\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eImages / Video\u003c/h3\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/119073511/219452995-1abde8b6-e21a-4956-b230-00f87b47e7fd.png\" width=\"45%\"\u003e\u003c/img\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/119073511/219453164-5e1b0449-1298-40a8-b77e-f7cd17860efc.jpg\" width=\"45%\"\u003e\u003c/img\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrylschaefer%2Fdalle-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarrylschaefer%2Fdalle-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrylschaefer%2Fdalle-starter/lists"}