Giter Site home page Giter Site logo

gporceban / leap-ai-cover-images Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leap-ai/leap-ai-cover-images

0.0 0.0 0.0 238 KB

Home Page: https://ai-cover-images.vercel.app/

License: MIT License

JavaScript 0.82% TypeScript 98.25% CSS 0.92%

leap-ai-cover-images's Introduction

Leap AI Cover Images ๐ŸŽ†

Welcome! This repo has a working implementation of how to generate AI cover images using Leap AI. โœจ

Try it out here!

Get started by forking this repository (button top right), and downloading it to your computer. From there follow the below :)

Getting started

  1. Learn more about AI Backgrounds with Leap
  2. Read our AI Backgrounds Guide
  3. Visit the Leap Developer Hub

Setup

  1. Add your credentials in .env, following the .envExample file
  2. Head to pages/index.tsx for editing text, prompts, and colors to match your theme
  3. Adjust image prompts in helpers/prompts.ts
  4. Adjust the number of images generated w/ the numberOfImages parameter in /pages/api/generate

Run it locally

  1. Open the terminal
  2. Run npm install to grab the necessary packages
  3. Hit npm run dev to start your server on http://localhost:3000
  4. Enter a prompt or choose a style to generate
  5. Click the Generate Cover Button

Deploy to the world

  1. Push all your changes to Github (or another git provider)
  2. Head to vercel.app, import your repo, and hit deploy
  3. note: you will need vercel pro plan or /pages/api/generate call will likely timeout after 10 sec. You can also deploy on Zeet to avoid this issue.

Deploy with Vercel

You've got off localhost ๐Ÿ‘

This is huge! You've got an AI image app running on the web, and you can share it with the world.

if you got value from this -- plz give us a star ๐Ÿ™‚โญ

built w/ โค๏ธ by alex with Leap AI

leap-ai-cover-images's People

Contributors

alexschachne avatar atbe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.