diff --git a/app/views/Posts/edit.asp b/app/views/Posts/edit.asp index d47b2b3..d8e448a 100644 --- a/app/views/Posts/edit.asp +++ b/app/views/Posts/edit.asp @@ -74,7 +74,7 @@ aiButton.addEventListener('click', function () { var prompt = window.prompt('Describe the image to generate with AI'); if (!prompt) return; - var url = 'https://gen.pollinations.ai/image/' + encodeURIComponent(prompt); + var url = 'https://pollinations.ai/p/' + encodeURIComponent(prompt); var range = quill.getSelection(true) || { index: quill.getLength() }; quill.insertEmbed(range.index, 'image', url, Quill.sources.USER); quill.insertText(range.index + 1, '\n', Quill.sources.SILENT);