We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a41a98 commit 7869970Copy full SHA for 7869970
βwallpaper-generator/pages/api/generate.tsβ
@@ -10,7 +10,7 @@ export default async function handler(
10
const { description } = req.body;
11
12
const options = {
13
- prompt: description,
+ prompt: `Generate a wallpaper like ${description}`,
14
n: 1,
15
size: "1024x1024",
16
};
βwallpaper-generator/pages/index.tsxβ
@@ -6,7 +6,7 @@ import axios from "axios";
6
7
const Home: NextPage = () => {
8
const [description, setDescription] = useState<string>(
9
- "Generate milky way wallpaper"
+ "Milky way galaxy"
);
const buttonRef = useRef<HTMLButtonElement>(null);
const [wallpaper, setWallpaper] = useState<string | null>(null);
0 commit comments