Skip to content

dabit3/fleek-functions

Repository files navigation

Fleek Functions

Click here to get started building.

To learn more visit https://blog.fleek.network/post/fleek-network-phase-3-release/

To build this app, create a file named .env.local with an API key from Fal.ai

FAL_KEY="your-api-key"

Preview

Example code for function

const main = (params) => {
  return getPrompt()
}

function getPrompt() {
    return imagePrompts[Math.floor(Math.random() * imagePrompts.length)]
}

const imagePrompts = [
  // 1000 prompts
]