Skip to content
Back to Templates

AI Twitter Bio Generator

Generate your Twitter bio with OpenAI GPT-3 API (text-davinci-003) and Vercel Edge Functions with streaming.

Twitter Bio Generator

twitterbio.io

This project generates Twitter (X) bios for you using Together AI.

How it works

This project uses both Qwen 3.5 9B and GPT OSS 20B with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it to the Together.ai API, then streams the response back to the application. Qwen 3.5 9B has thinking disabled for fast direct responses. GPT OSS 20B is a reasoning model that thinks before responding, shown with a "Thinking..." indicator.

If you'd like to see how I built an older version of this app with GPT 3.5, check out the video or blog post.

Running Locally

  1. Create a .env file, make an account at Together.ai, and add your API key under TOGETHER_API_KEY
  2. Run the application with npm run dev and it will be available at http://localhost:3000.

One-Click Deploy

Deploy the example using Vercel:

Use Cases

Related Templates