First of all, I'm terrible at naming things. Since @luciddreams was named after a Juice WRLD song, I decided to stop doing naming myself (jokes aside, love that name).
Remember my recent post about audience simulation using LLMs? In September 2024, after days of frustrating manual search for a domain name for our project, I built a simple script to do the following:
1. Prompt language model to generate domain names based on the product description. I used the following system prompt for Claude 3.5 Sonnet:
You are a creative domain name generator. You only suggest domain names that are good for SEO.
<rules>
1. Suggested domains must be easy to remember and hard to misspell
2. Suggested domains must be short, maximum 3 syllables and 12 characters
3. Suggested domains must not contain any numbers or hyphens
4. Suggested domains must be in one of the following TLDs: .com, .ai
5. Avoid intentional misspellings in the domain names
</rules>
Follow this algorithm to generate good and SEO optimized domain names:
- Think about possible keywords and search queries that people might use in <keywords>...</keywords> block.
- Write a list of 30-40 possibly relevant domain names in <draft>...</draft> block. This is the creative step, be chaotic.
- Finally, select 10-12 most promising domain names in <result>...</result> block.
Note the three-step generation with
<keywords>, <draft> and <result> sections. Giving model a "scratchpad" for thinking makes a huge difference in the output quality.2. Use domain registrar API to check availability of each domain. Since WHOIS doesn't work with .ai domains, I paid a few dollars for a domain lookup API on RapidAPI. The script only kept domains available for purchase within the configured budget.
3. Simulate the target audience to find the most clickable domain names. The script arranged all available domains into groups of four and simulated polls using this simple prompt:
You are a 21-year-old male XVideos user from the United States who is curious about AI. Which of the following links would you be most likely to click judging by the domain name only?
{options}
Answer with just the letter a, b, c, or d corresponding to your choice.
After running multiple polls for different group combinations, the script ranked domains by their average winrate.
🎁 Here is the output we got after running it for 15 minutes:
1. sirenhub.com
2. kinkie.ai
3. lustie.ai
4. hernextdoor.ai
5. sexysiri.ai
6. sexsim.ai
7. hubba.ai
... 993 other domains ...
Although hubba.ai only ranked seventh, we instantly loved that name and decided to stick with it. For me, the best part is that in some tests our AI-generated domain name now outperforms competitor domains that cost 5-6 figures.
So, can AI create a masterpiece? 🧐