replicate_starter
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
index.ts
https://zeke--2bfe6c2eab9e4557b298445b048f83cf.web.val.run
This is a template for a simple web app using Hono, and Replicate to generate images using Flux Schnell, a fast and high-quality open-source image generation model.
- Create a Val Town account
- Fork this project
- Create a Replicate API token.
- Click on Environment variables on the Val Town project and add your token.
- Click on the name of the project at the top of the page.
- Your app is running! Generate some images.
- Hono is a minimalist web framework for building serverless applications. It's built and maintained by Cloudflare.
- Replicate is a platform for building and running machine learning models.
- Flux Schnell is a fast and high-quality open-source image generation model, made by the original creators of Stable Diffusion.