openflarestack Star this repo
  1. Catalog
  2. AI tools
  3. FreeGen-2API
Ranked 213 of 234

FreeGen-2API

lza6/freegen-2api-cfwork

Wraps FreeGen as an OpenAI-compatible API for AI image generation, with a stylish WebUI.

A self-hosted alternative to OpenAI API.

What it sets up in your account

We didn’t find any bindings in its wrangler config. It may be a plain Worker, or set them up from its README.

Category
AI tools
Licence
Apache-2.0
Stars
12
Last commit
6 months ago

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/freegen-2api-cfwork.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/freegen-2api-cfwork.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/lza6/freegen-2api-cfwork.git
git pull upstream main
npx wrangler deploy

FreeGen-2API questions

What is FreeGen-2API?

Wraps FreeGen as an OpenAI-compatible API for AI image generation, with a stylish WebUI. It’s an open-source, self-hosted alternative to OpenAI API. It runs on Cloudflare Workers in your own account.

What does FreeGen-2API set up in my Cloudflare account?

We didn’t find any bindings in its wrangler config, so it may be a plain Worker. Check its README for setup steps.

How do I deploy FreeGen-2API?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is FreeGen-2API free and open source?

Yes. It’s published under the Apache-2.0 licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update FreeGen-2API?

Pull from the original repository and redeploy: add https://github.com/lza6/freegen-2api-cfwork.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.