Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-sites domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php on line 6131

Warning: include_once(/home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/includes/functions.php): Failed to open stream: No such file or directory in /home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/theai.php on line 118

Warning: include_once(): Failed opening '/home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/includes/functions.php' for inclusion (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/theai.php on line 118

Warning: include_once(/home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/includes/api-settings.php): Failed to open stream: No such file or directory in /home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/theai.php on line 119

Warning: include_once(): Failed opening '/home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/includes/api-settings.php' for inclusion (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/theai/theai.php on line 119

Warning: session_start(): Session cannot be started after headers have already been sent in /home/dpjrmkpe/taonga.nxfanz.com/wp-content/plugins/chatbot-ai-free-models/includes/class-chatbot-main.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/functions.php:6131) in /home/dpjrmkpe/taonga.nxfanz.com/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":676,"date":"2025-08-17T20:11:50","date_gmt":"2025-08-17T20:11:50","guid":{"rendered":"https:\/\/taonga.nxfanz.com\/?page_id=676"},"modified":"2025-08-17T20:11:50","modified_gmt":"2025-08-17T20:11:50","slug":"image","status":"publish","type":"page","link":"https:\/\/taonga.nxfanz.com\/?page_id=676","title":{"rendered":"image"},"content":{"rendered":"\n\n\n\n \n \n Advanced Image Generator<\/title>\n <style>\n body {\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 0;\n background-color: #f4f4f4;\n color: #333;\n }\n\n .container {\n width: 90%;\n max-width: 1200px;\n margin: 20px auto;\n background-color: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n }\n\n h1, h2 {\n color: #0056b3;\n }\n\n .input-section, .output-section, .api-section {\n margin-bottom: 20px;\n padding: 15px;\n border: 1px solid #ddd;\n border-radius: 5px;\n background-color: #f9f9f9;\n }\n\n label {\n display: block;\n margin-bottom: 5px;\n font-weight: bold;\n }\n\n input[type=\"text\"], input[type=\"number\"], select, textarea {\n width: 100%;\n padding: 8px;\n margin-bottom: 10px;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-sizing: border-box;\n }\n\n button {\n background-color: #007bff;\n color: white;\n padding: 10px 15px;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.3s ease;\n }\n\n button:hover {\n background-color: #0056b3;\n }\n\n .image-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 15px;\n }\n\n .image-container {\n border: 1px solid #ddd;\n border-radius: 5px;\n overflow: hidden;\n }\n\n .image-container img {\n width: 100%;\n height: auto;\n display: block;\n }\n\n .api-list {\n list-style: none;\n padding: 0;\n }\n\n .api-list li {\n padding: 8px 12px;\n border-bottom: 1px solid #eee;\n }\n\n .api-list li:last-child {\n border-bottom: none;\n }\n\n .custom-section-editor {\n width: 100%;\n height: 200px;\n padding: 8px;\n margin-bottom: 10px;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-sizing: border-box;\n font-family: monospace;\n }\n\n #guide-modal {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 1000;\n }\n\n #guide-modal-content {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: white;\n padding: 20px;\n border-radius: 5px;\n width: 80%;\n max-width: 800px;\n }\n\n .close-button {\n position: absolute;\n top: 10px;\n right: 10px;\n cursor: pointer;\n }\n\n <\/style>\n<\/head>\n<body>\n <div class=\"container\">\n <h1>Advanced Image Generator<\/h1>\n\n <div class=\"input-section\">\\n <h2>Image Generation Settings<\/h2>\n <label for=\"prompt\">Prompt:<\/label>\n <textarea id=\"prompt\" placeholder=\"Enter your image description here\" rows=\"4\"><\/textarea>\n\n <label for=\"numImages\">Number of Images:<\/label>\n <input type=\"number\" id=\"numImages\" value=\"1\" min=\"1\">\n\n <label for=\"model\">Model:<\/label>\n <select id=\"model\">\n <option value=\"flux\">Flux<\/option>\n <option value=\"flux-realism\">Flux Realism<\/option>\n <option value=\"any-dark\">Any Dark<\/option>\n <option value=\"flux-anime\">Flux Anime<\/option>\n <option value=\"flux-3d\">Flux 3D<\/option>\n <option value=\"turbo\">Turbo<\/option>\n <\/select>\n\n <label for=\"seed\">Seed (optional):<\/label>\n <input type=\"number\" id=\"seed\" placeholder=\"Enter a seed for reproducible results\">\n\n <label for=\"width\">Width:<\/label>\n <input type=\"number\" id=\"width\" value=\"1024\">\n\n <label for=\"height\">Height:<\/label>\n <input type=\"number\" id=\"height\" value=\"1024\">\n\n <button onclick=\"generateImages()\">Generate Images<\/button>\n <\/div>\n\n <div class=\"output-section\">\n <h2>Generated Images<\/h2>\n <div class=\"image-grid\" id=\"imageOutput\"><\/div>\n <\/div>\n\n <div class=\"api-section\">\n <h2>API Management<\/h2>\n <ul class=\"api-list\" id=\"apiList\">\n <li>Default API (Pollinations)<\/li>\n <!-- Additional APIs will be listed here -->\n <\/ul>\n <label for=\"newApi\">Add New API:<\/label>\n <input type=\"text\" id=\"newApi\" placeholder=\"Enter API endpoint\">\n <button onclick=\"addApi()\">Add API<\/button>\n <\/div>\n\n <div class=\"custom-section\">\n <h2>Custom Sections<\/h2>\n <textarea id=\"customSectionEditor\" class=\"custom-section-editor\" placeholder=\"Add your custom HTML here\"><\/textarea>\n <button onclick=\"saveCustomSection()\">Save Custom Section<\/button>\n <\/div>\n\n <button onclick=\"openGuide()\">Open Guide<\/button>\n\n <div id=\"guide-modal\">\n <div id=\"guide-modal-content\">\n <span class=\"close-button\" onclick=\"closeGuide()\">×<\/span>\n <h2>Image Generator Guide<\/h2>\n <p>Welcome to the Image Generator! Here’s a quick guide to help you get started:<\/p>\n <ul>\n <li><b>Prompt:<\/b> Enter a detailed description of the image you want to generate.<\/li>\n <li><b>Number of Images:<\/b> Specify how many images you want to create.<\/li>\n <li><b>Model:<\/b> Choose the image generation model that best suits your needs.<\/li>\n <li><b>Seed:<\/b> Use a seed value to create reproducible images. Keep the seed the same to generate similar images from the same prompt.<\/li>\n <li><b>Width\/Height:<\/b> Set the dimensions of the generated images.<\/li>\n <li><b>API Management:<\/b> Add or manage API endpoints for different image generation services.<\/li>\n <li><b>Custom Sections:<\/b> Add your own HTML sections to further customize the page.<\/li>\n <\/ul>\n <p>Happy generating!<\/p>\n <\/div>\n <\/div>\n\n <\/div>\n\n <script>\n let apiEndpoints = ['https:\/\/image.pollinations.ai\/prompt\/'];\n\n function generateImages() {\n const prompt = document.getElementById('prompt').value;\n const numImages = parseInt(document.getElementById('numImages').value);\n const model = document.getElementById('model').value;\n const seed = document.getElementById('seed').value;\n const width = document.getElementById('width').value;\n const height = document.getElementById('height').value;\n const imageOutput = document.getElementById('imageOutput');\n imageOutput.innerHTML = ''; \/\/ Clear previous images\n\n for (let i = 0; i < numImages; i++) {\n const imageUrl = `${apiEndpoints[0]}${encodeURIComponent(prompt)}?model=${model}&width=${width}&height=${height}${seed ? '&seed=' + seed : ''}`; \/\/ Use default API\n\n const imageContainer = document.createElement('div');\n imageContainer.classList.add('image-container');\n\n const img = document.createElement('img');\n img.src = imageUrl;\n img.alt = `Generated Image ${i + 1}`;\n\n imageContainer.appendChild(img);\n imageOutput.appendChild(imageContainer);\n }\n }\n\n function addApi() {\n const newApi = document.getElementById('newApi').value;\n if (newApi.trim() !== '') {\n apiEndpoints.push(newApi);\n updateApiList();\n document.getElementById('newApi').value = ''; \/\/ Clear input\n }\n }\n\n function updateApiList() {\n const apiList = document.getElementById('apiList');\n apiList.innerHTML = ''; \/\/ Clear existing list\n apiEndpoints.forEach(api => {\n const li = document.createElement('li');\n li.textContent = api;\n apiList.appendChild(li);\n });\n }\n\n function saveCustomSection() {\n const customSectionHTML = document.getElementById('customSectionEditor').value;\n \/\/ Implement saving logic here (e.g., store in local storage, send to server)\n alert('Custom section saved! Implement saving logic to persist the changes.');\n }\n\n function openGuide() {\n document.getElementById('guide-modal').style.display = 'block';\n }\n\n function closeGuide() {\n document.getElementById('guide-modal').style.display = 'none';\n }\n\n \/\/ Initialize API list on page load\n updateApiList();\n\n <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Advanced Image Generator Advanced Image Generator \\n Image Generation Settings Prompt: Number of Images: Model: FluxFlux RealismAny DarkFlux AnimeFlux 3DTurbo […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","pagelayer_contact_templates":[],"_pagelayer_content":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_kadence_starter_templates_imported_post":false,"footnotes":""},"class_list":["post-676","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Taonga Admin","author_link":"https:\/\/taonga.nxfanz.com\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"Advanced Image Generator Advanced Image Generator \\n Image Generation Settings Prompt: Number of Images: Model: FluxFlux RealismAny DarkFlux AnimeFlux 3DTurbo […]","_links":{"self":[{"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=\/wp\/v2\/pages\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=676"}],"version-history":[{"count":1,"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=\/wp\/v2\/pages\/676\/revisions"}],"predecessor-version":[{"id":677,"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=\/wp\/v2\/pages\/676\/revisions\/677"}],"wp:attachment":[{"href":"https:\/\/taonga.nxfanz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}