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 acc9740 commit 2ac40d3Copy full SHA for 2ac40d3
index.html
@@ -57,7 +57,10 @@ <h1 class="text-4xl font-bold mb-10">Image Generator</h1>
57
</div>
58
</body>
59
<script>
60
- const api = "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";
+ const api = "";
61
+ if (api === ""){
62
+ alert("Use your openAI API key");
63
+ }
64
const url = "https://api.openai.com/v1/images/generations";
65
const text = document.getElementById("text");
66
const image = document.getElementById("image");
0 commit comments