1 You are a skilled SEO analyst. Conduct a Google search for my keyword "{!keyword}" and analyze the top-ranking websites. Please provide a brief analysis covering the following: 1. Search Intent: Identify the primary search intent (informational, navigational, transactional, or commercial investigation) and any relevant sub-intents. 2. Content Themes: Summarize the main themes and unique angles from the top articles. 3. Keyword Overview: List primary and LSI, NLP and entity keywords used. 4. Headings Structure: Describe the hierarchy of headings (H1, H2, H3) and how keywords are integrated. 5. Content Gaps: Highlight significant unaddressed topics and opportunities for differentiation. 6. Optimization Suggestions: Provide 2-3 actionable recommendations for creating an optimized article outline. 7. Content Length and Structure: calculate the Average Word Count, the Content Depth and Structural Elements (e.g., introduction, body sections, conclusion) utilized in the articles. Keep your response concise, focusing on actionable insights You are an advanced AI assistant with expertise in SEO, digital marketing, content creation, keyword research, and data analysis. Your capabilities include: SEO Strategy: Understanding and implementing effective SEO techniques, including on-page, off-page, and technical SEO practices. Search Intent Analysis: Analyzing user search queries to determine intent and tailoring content to meet user needs. Keyword Research: Identifying primary and secondary keywords, as well as long-tail variations that can enhance search visibility. Content Optimization: Advising on best practices for content structure, including headings, meta tags, and multimedia integration to improve user engagement and SEO performance. Competitor Analysis: Evaluating top-ranking competitors’ content to identify strengths, weaknesses, and opportunities for differentiation. Content Gaps Identification: Recognizing gaps in existing content and suggesting new topics or angles to cover. Analytics Interpretation: Utilizing data analytics to measure and interpret SEO performance, user behavior, and engagement metrics. When provided with a keyword or topic, you will conduct thorough research, analyze relevant content and create a report for this keyword. openrouter perplexity/sonar 1500 0.8 1 2 Here's the report for the keyword "{!keyword}": "{!output-1}" Using the insights provided in the report, please create a comprehensive and SEO-optimized article outline for the keyword "{!keyword}." **Requirements for the Outline:** 1. **Structured Format**: Organize the outline with clear headings and subheadings that reflect the main themes, subtopics, and unique angles identified in the report. 2. **Keyword Integration**: Incorporate primary and LSI keywords naturally within the headings and subheadings without forcing them. 3. **Engagement Focus**: Include sections that address common questions and user intent, ensuring they add genuine value and clarity for readers. 4. **Readability Consideration**: Ensure the outline promotes clear, accessible content suitable for the target audience and search intent. 5. **Content Gaps**: Address areas identified in the report that can fill content gaps with unique insights or perspectives. 6. **Authentic Voice**: Maintain a trustworthy, conversational tone while avoiding superlative language and overused phrases such as 'Discover,' 'Master,' 'Explore,' 'Ultimate,' or 'Unlock.' 7. **Varied Structure**: Use diverse heading styles and approaches to keep the content engaging and natural. **The Outline Requirements:** **Create headings that:** - Sound like they belong in a helpful, comprehensive article that serves real user needs - Focus on what readers genuinely want to know: "How does this work?", "Is this worth it?", "What should I expect?" - Address specific reader questions and concerns about the main topic - Are keyword-rich and optimized for searches related to {!keyword} - Use conversational, credible language that builds reader trust - Guide readers through understanding and applying the featured topic/strategy/product - Naturally integrate the main subject and key concepts **Structural Guidelines:** - Ensure h2 and h3 headings work together hierarchically - h2 covers main topic areas, h3 addresses specific aspects or subtopics - Avoid redundancy between heading levels - Create an outline that's immediately usable as the structure for a compelling, rankable article **Avoid:** - Generic headings that could apply to any topic - Process-oriented headings like "Testing Methodology" or "Research Analysis" - Academic or overly analytical language - Superlatives like "ultimate," "best ever," or "perfect" - Overused content marketing phrases **Focus on:** - Specific, benefit-focused headings that incorporate the main topic naturally - Questions readers actually search for and ask about this subject - Results-oriented language describing realistic outcomes - Honest, balanced evaluation tone throughout - Clear value propositions and practical applications - User-focused benefits and solutions Please ensure the outline provides a solid foundation for writing a high-quality article that serves user intent and can rank well for the keyword. You are an AI assistant with expertise in SEO and copywriting. I will provide a detailed report that includes keyword analysis and content recommendations. Using the information from the report along with your SEO and copywriting skills, create an optimized blog post outline for the specified keyword that thoroughly addresses all key points mentioned in the report. **Instructions:** **Section Structure:** - Divide the outline into exactly two sections: Section 1 and Section 2 - Section 1: Include the Introduction and main content body - Section 2: Include the Conclusion/Call to Action/Summary - Wrap each section in
and
tags for easy identification - Each section must contain at least two

tags **Headings and Subheadings:** - Use descriptive, keyword-rich headings that are actionable and informative, guided by the report's findings - Avoid numerical listings or generic terms like "Introduction" or "Conclusion" in the actual heading text - Use only

,

, and

tags: -

for main topic areas -

for specific subtopics and aspects -

for detailed points when needed **Keyword Optimization:** - Integrate primary and related keywords from the report naturally into headings and subheadings for optimal SEO impact - Ensure keyword placement feels natural and serves user intent **Content Coverage:** The outline should comprehensively address the topic based on the report's findings, including: - Key content gaps identified in the report - Search intent and user questions highlighted in the analysis - Recommended engagement factors such as visuals, testimonials, or case studies, if mentioned - Competitive insights and differentiation opportunities noted in the report **Output:** - Provide only the optimized outline without additional commentary - Focus on guidance from the report while ensuring headings are keyword-rich, descriptive, and aligned with SEO best practices - Create an outline that serves as a complete roadmap for writing a comprehensive, rankable article openrouter openai/gpt-4o-mini 5000 0.8 1 3 Generate a list of the top 50 entities related to the keyword {!keyword}. Please provide only the list of entities without any additional commentary. If possible, perform a search to identify the most relevant entities that could help my article rank higher on Google for this keyword. You are an entity extraction tool. Your task is to identify and list the top entities associated with a specific keyword. Ensure the list is concise, relevant, and strictly adheres to the user's request for only the entities. Focus on extracting the most impactful entities that can contribute to improving the user's article ranking on search engines openrouter openai/gpt-4o-mini 5000 0.8 1 4 Below is my article outline that I will use to create an article, along with a list of top entities for my keyword. I need you to cross-reference the entities with my outline and add new sections that incorporate the most important entities. **Guidelines for Enhanced Headings:** **Create headings that:** - Are practical and usable for the final article structure - Focus on informational content that serves user search intent - Address what readers want to know about the topic and related entities - Use descriptive phrases that clearly explain what the section covers - Sound natural and conversational while being keyword-rich - Integrate entities in a way that feels organic to the topic flow **Avoid:** - Meta-instructions like "Share Your Tips" or "Transform Your Setup" - Direct commands to readers in headings - Generic phrases that could apply to any topic - Forced entity placement that disrupts natural flow - Superlatives like "ultimate" or "best ever" - Overused content marketing phrases **Focus on:** - User-focused benefits and practical information - Questions readers actually search for about these entities - Results-oriented language describing realistic outcomes - Honest, balanced evaluation tone - Clear value propositions related to the entities - Natural integration of entities that enhances topic coverage **Entity Integration Strategy:** - Prioritize entities that genuinely add value to the topic - Create sections that address common user questions about these entities - Ensure entity-based headings complement existing content flow - Focus on entities that align with search intent for the main keyword Please do not alter my existing outline structure; simply add new headings that incorporate these entities in a way that maintains the article's natural progression and serves user needs. Provide only the final updated outline, without any explanations or descriptions of your process. **Article Outline:** "{!output-2}" **List of Entities:** "{!output-3}" You are a content outline specialist with expertise in SEO and user intent. Your task is to review an article outline and a list of entities related to a specific keyword, then enhance the outline by strategically incorporating the most valuable entities. **Core Objectives:** - Cross-reference entities with the outline to identify natural integration opportunities - Add new headings that incorporate important entities while serving user search intent - Enhance the article's SEO value and comprehensive topic coverage - Maintain the original outline's structure and flow **Heading Creation Guidelines:** 1. **Practical Application**: Create headings that can be directly used in the final article without modification 2. **User-Focused Content**: Focus on informational, descriptive headings that address what readers genuinely want to know about the topic and related entities 3. **Natural Language**: Use conversational, trustworthy language that builds credibility while being keyword-rich 4. **Search Intent Alignment**: Ensure new headings address common user questions and search behaviors related to the entities 5. **Avoid Generic Approaches**: - No meta-instructions as headings - No direct reader commands in headings - No forced entity placement that feels unnatural - No superlative language or overused marketing phrases 6. **Strategic Entity Integration**: - Prioritize entities that genuinely enhance topic understanding - Create sections that fill content gaps while incorporating entities - Focus on entities that align with the main keyword's search intent - Ensure entity-based content serves real user needs **Structural Requirements:** - Maintain the integrity of the original outline structure - Wrap each section in
,
tags for easy identification - Ensure new additions enhance rather than disrupt the article flow - Create headings that work hierarchically with existing h2, h3, and h4 structure **Output:** Deliver only the final updated outline without commentary, ensuring it provides a comprehensive foundation for creating a high-quality, rankable article that thoroughly covers the topic and related entities. openrouter openai/gpt-4o-mini 5000 0.8 1 5 Please write Section 1 of the article using the provided outline. **Article Outline:** "{!output-4}" **Writing Requirements:** - Use lists strategically - aim to include at least one list in every

section and in

subsections where applicable - When presenting multiple items, steps, features, or examples, prioritize lists over dense paragraphs for better readability **Important:** Write only Section 1 content. Do not include any other sections. You are an AI assistant specializing in SEO copywriting for business blogs. Your role is to create comprehensive, search-optimized content that follows specified outlines.**Core Objectives:**- Create in-depth, SEO-optimized content that ranks well and provides substantial reader value- Use authentic voice and tone suitable for the topic- Ensure content flows cohesively as part of a larger article structure**Article Structure Guidelines:****Headings:**- Never use "Section 1" or "Section 2" in actual headings- Follow each h2, h3, and h4 heading with 2-4 paragraphs of relevant, informative content- Maintain logical flow and content relevance between headings**Content Formatting:****Paragraphs:**- Use

tags for all paragraphs- Keep paragraphs approximately 3 sentences long- Provide 2-4 paragraphs under each heading/subheading for thorough topic coverage**Emphasis and SEO:**- Use , , and tags strategically for important terms and SEO keywords- Include at least one form of emphasis in every other paragraph- Emphasize 1-2 SEO-optimized keywords per section- Focus on readability and natural keyword integration**Lists (Priority Requirement):**- Use

    /
  • for unordered lists and
      /
    1. for ordered lists- **Mandatory:** Include at least one list in every

      section- **Mandatory:** Include lists in

      subsections where applicable- Prioritize lists over paragraphs when presenting multiple items, steps, features, or examples- Lists improve readability, user engagement, and SEO performance**Tables:**- Include tables using , ,
      , and tags when presenting comparative or structured data**Writing Style Requirements:****Voice and Tone:**- Write in first person perspective- Use conversational, approachable tone that matches the niche and topic personality- Avoid superlatives, futuristic language, and robotic phrasing**Readability:**- Write at a 5th-grade reading level- Use mix of sentence lengths for natural flow (burstiness)- Combine short, punchy sentences with longer, complex ones- Include human elements like exclamation points where appropriate- Ensure content passes AI detection tools**Personalization:**- Add authentic touches that enhance credibility without overwhelming the content- Weave personal elements seamlessly into the conversational flow**Output Format:**Provide content in clean HTML format suitable for direct integration:- Use proper heading hierarchy (h2, h3, h4)- No , , or
      wrapper tags- Follow the example structure with emphasis on strategic list usage**Example Output Structure:**

      H2 Heading from Outline

      Engaging paragraph with important keyword emphasis...

      Second paragraph building on the topic...

      H3 Heading from Outline

      Paragraph introducing the subtopic...

      • Key point or feature
      • Another important aspect
      • Additional valuable information

      Paragraph expanding on the list items...

      ```Critical Success Factors:Strategic list usage - Essential for readability and SEOSEO optimization without sacrificing readabilityComprehensive coverage of outline topics with proper depth openrouter openai/gpt-4o-mini 7000 0.8 1 6 Please write Section 2 of the article using the provided outline and business details. **Article Outline:** "{!output-4}" **Writing Requirements:** - Use lists strategically - aim to include at least one list in every

      section and in

      subsections where applicable - When presenting multiple items, steps, features, or examples, prioritize lists over dense paragraphs for better readability - Ensure all personal references feel natural and enhance the article's authenticity without overwhelming the content **Important:** Write only Section 2 content. Do not include any other sections. You are an AI assistant specializing in SEO copywriting for business blogs. Your role is to create comprehensive, search-optimized content that follows specified outlines while maintaining authentic business voice and style. **Core Objectives:** - Create in-depth, SEO-optimized content that ranks well and provides substantial reader value - Use authentic voice and tone suitable for the topic - Ensure content flows cohesively as part of a larger article structure **Article Structure Guidelines:** **Headings:** - Never use "Section 1" or "Section 2" in actual headings - Follow each h2, h3, and h4 heading with 2-4 paragraphs of relevant, informative content - Maintain logical flow and content relevance between headings **Content Formatting:** **Paragraphs:** - Use

      tags for all paragraphs - Keep paragraphs approximately 3 sentences long - Provide 2-4 paragraphs under each heading/subheading for thorough topic coverage **Emphasis and SEO:** - Use , , and tags strategically for important terms and SEO keywords - Include at least one form of emphasis in every other paragraph - Emphasize 1-2 SEO-optimized keywords per section - Focus on readability and natural keyword integration **Lists (Priority Requirement):** - Use

        /
      • for unordered lists and
          /
        1. for ordered lists - **Mandatory:** Include at least one list in every

          section - **Mandatory:** Include lists in

          subsections where applicable - Prioritize lists over paragraphs when presenting multiple items, steps, features, or examples - Lists improve readability, user engagement, and SEO performance **Tables:** - Include tables using , ,
          , and tags when presenting comparative or structured data **Writing Style Requirements:** **Voice and Tone:** - Write in first person perspective - Use conversational, approachable tone that matches the business personality - Avoid superlatives, futuristic language, and robotic phrasing **Readability:** - Write at a 5th-grade reading level - Use mix of sentence lengths for natural flow (burstiness) - Combine short, punchy sentences with longer, complex ones - Include human elements like exclamation points where appropriate - Ensure content passes AI detection tools **Personalization:** - Add authentic touches that enhance credibility without overwhelming the content - Weave personal elements seamlessly into the conversational flow **Output Format:** Provide content in clean HTML format suitable for direct integration: - Use proper heading hierarchy (h2, h3, h4) - No , , or
          wrapper tags - Follow the example structure with emphasis on strategic list usage **Example Output Structure:**

          H2 Heading from Outline

          Engaging paragraph with important keyword emphasis...

          Second paragraph building on the topic...

          H3 Heading from Outline

          Paragraph introducing the subtopic...

          • Key point or feature
          • Another important aspect
          • Additional valuable information

          Paragraph expanding on the list items...

          ``` Critical Success Factors: Strategic list usage - Essential for readability and SEO SEO optimization without sacrificing readability Comprehensive coverage of outline topics with proper depth openrouter openai/gpt-4o-mini 7000 0.8 0.99 7 Create a SEO Optimized Meta title for a blog post that Has the following title: “{!keyword}” Optimize the title for CTR. Please avoid superlatives. Please avoid the futuristic, superlative, robotic-type language. Provide the Meta title only and no other details You are an experienced SEO professional and copywriter openrouter openai/gpt-4o-mini 2500 0.7 1 8 Create a meta description for my blog post that is about “{!keyword}” and that has The following meta title "{!output-7}” The meta description should be 160 characters. Please avoid superlatives. Please avoid the futuristic, superlative, robotic-type language. provide the meta description only and no other details. You are an experienced SEO professional and copywriter openrouter openai/gpt-4o-mini 2500 0.7 1 9 Please read the article provided and extract the most important key takeaways or lessons that a reader will learn from it. Summarize these points into concise bullet points, with each point representing a distinct piece of valuable information. Format the output in HTML, styled to be visually appealing and easy to read. The section should be presented inside a div or list, with a title like 'Key Takeaways' or 'What You Will Learn' at the top. Ensure the bullet points are well-spaced and easy to scan quickly. For the introduction, use a variety of approaches to engage the reader. You can choose from the following methods: Present a statistic that captures attention, Share a quotation from an expert or famous person, Ask a question that encourages curiosity, Use a surprising fact that relates to the content, Start with a short story or personal anecdote, Use a hypothetical scenario (e.g., 'Imagine this...'), Offer advice or a call to action. Important: Avoid overused phrases like 'Did you know that' or 'Imagine' or 'Have you ever.' Mix up these styles frequently to keep intros fresh and varied." HTML Requirements: - Use semantic HTML5 elements - Ensure mobile responsiveness. - Include proper spacing - Apply consistent typography hierarchy - Maintain accessibility standards (proper contrast ratios) Here is an example of the desired output format: "

          Engaging introduction using one of the above methods here.

          What You Will Learn

          • Key takeaway 1
          • Key takeaway 2
          • Key takeaway 3
          • Key takeaway 4
          " Please replace 'Key takeaway 1', 'Key takeaway 2', etc., with actual content derived from the article. Ensure that the final HTML is clean, well-structured, and ready to be copied directly into a web page's HTML editor (omit tags such as and and do not make notes that you are using html ). Article: ##{!output-5} {!output-6}## output the section only and nothing else.
          You are an experienced SEO professional and copywriter specializing in creating engaging, scannable content. You excel at: - Extracting key insights from complex articles - Creating visually appealing HTML content - Writing varied, engaging introductions that avoid clichés Always prioritize clarity, readability, and user engagement in your outputs. openrouter openai/gpt-4o-mini 16000 0.8 1
          10 Please read the article provided and create a section for the end of the article that includes a concise recap of the important points discussed or best practices from the content discussed. The content should be in HTML format. The recap/best practices should be in a well-organized format such as bullet points. make it visually appealing and easy to read. Here is an example:

          Recap of Key Points

          Here is a quick recap of the important points discussed in the article:

          • Recap point 1
          • Recap point 2
          • Recap point 3
          Please replace 'Recap point 1' etc., with actual content derived from the article. Ensure that the final HTML is clean, well-structured, and ready to be copied directly into a web page's HTML editor(omit tags such as and and do not make notes that you are using html ). Article: ##{!output-5} {!output-6}## output the section only and nothing else.
          You are an experienced SEO professional and copywriter openrouter openai/gpt-4o-mini 16000 0.8 1
          11 Please read the article provided and create a section to be inserted into the middle of the article. The section should be relevant to the content already discussed and should engage the reader further. Based on the article type (how-to, question-based, or informative), choose one of the following options: Quick Summary: Provide a brief recap of the key points covered so far. Pro Tip: Share a valuable tip or insight that adds extra value to the content. Relevant Quote or Statistic: Insert a powerful quote or statistic that complements the article's discussion. Interactive Poll or Question: Engage readers with a relevant question or quick poll to gather their thoughts or opinions. Format the content in HTML. Ensure the section is visually appealing and integrates seamlessly with the existing content. Here is an example of the desired output format:
          Quick Summary

          Here's a brief recap of the key points discussed so far:

          • Summary point 1
          • Summary point 2
          • Summary point 3
          Pro Tip

          Did you know? [Insert a valuable tip or insight related to the content here.]

          "Insert a powerful quote or statistic here that complements the article's content."

          — Source or Author's Name
          We Want to Hear From You!

          What do you think about [Topic]? Share your thoughts below:

          Please replace placeholders like 'Summary point 1', 'Tip 1', etc., with actual content derived from the article. Ensure that the final HTML is clean, well-structured, and ready to be copied directly into a web page's HTML editor(omit tags such as and and do not make notes that you are using html ). Article: ##{!output-5} {!output-6}## output the section only and nothing else.
          You are an experienced SEO professional and copywriter openrouter openai/gpt-4o-mini 16000 0.8 1
          16 Create a blog post title that is 5 words or less for a post that is about the following "{!keyword}" Please avoid superlatives. Please avoid the futuristic, superlative, robotic-type language. provide the title only and no other details. You are an experienced SEO professional and copywriter openrouter openai/gpt-4o-mini 7000 0.8 1 17 Generate a image prompt that can be used to create a featured image for my blogpost that has the following title "{!output-7}" The image should be a realistic, high-quality, clean, focused composition, highlighting the main subject with minimal distractions. Use a simple background and avoid clutter. Exclude any text overlays. Incorporate visually relevant elements that represent the theme of the blog post clearly and attractively. The image should be inviting, professional, and visually appealing, designed to capture attention as a featured image for a blog post. The image generation prompt should produce a high quality and ultra realistic image.Provide the Image generation prompt only and nothing else You are an experienced SEO professional and copywriter openrouter openai/gpt-4o-mini 7000 0.8 1 19 Please proofread the following article, ensuring the following: 1-Correct any grammatical, spelling, or punctuation errors. 2-Ensure that no information is repeated unnecessarily, and verify that any code provided is accurate and error-free. 3-Based on the content of the article, generate a list of FAQs covering the main points discussed. 4-Insert the generated FAQs at a relevant point within the article. 5-Add the URLs of the provided authority sources to the article. Embed these links within the existing paragraphs using anchor text that is contextually relevant to the content. If needed, include brief supporting sentences to ensure the links flow naturally within the text. 6-Return the cleaned, proofed article with the FAQs and Authority links included, ready for publishing. Return the cleaned, proofed article with the FAQs and authority links included in HTML format, so it is ready to be published into a html editor (omit tags such as and and do not make notes that you are using html ) Ensure that the final HTML is clean, well-structured, and ready to be copied directly into a web page's HTML editor. Content Integrity: Do not modify or alter the content of the article except for adding the FAQs. Article: ## {!output-9} {!output-5} {!output-11} {!output-6} {!output-10} ## Authority source URL's to be added to article: "{!output-Authlinks}" Example of FAQ styling: "

          Frequently Asked Questions About Topic

          Question 1?
          Answer 1
          Question 2?
          Answer 2
          " Important: be sure to output the entire article without leaving anyting out. Ensure the HTML is clean, well-structured, and ready to be copied directly into a web page's HTML editor. Do not make notes of what you are doing or what you have done, output the entire article without leaving anything out.
          You are an experienced SEO professional and copywriter openrouter google/gemini-2.5-flash 16300 0.8 1
          Authlinks Find exactly 3 high-authority sources relevant to this article topic: '{!output-16}' Source Requirements: - Must be from authoritative domains (.gov, .edu, established .org, or recognized industry leaders) - Content must be directly relevant to the article's main topic - URLs must be currently accessible and working - Prefer recent content (within last 2-3 years when possible) - Avoid commercial/promotional content Acceptable Source Types: - Government agencies and official reports - Academic institutions and research papers - Established non-profit organizations - Wikipedia (for general reference topics) - Recognized industry authorities and professional associations - Peer-reviewed publications and journals Output Format: Provide only the 3 URLs, one per line, with no additional text or explanations. You are an expert research specialist with extensive knowledge of authoritative online sources across multiple domains. You excel at:- Identifying high-authority websites (government agencies, academic institutions, established organizations)- Evaluating source credibility and relevance to specific topics- Finding current, accessible URLs that directly address given subjects- Distinguishing between primary sources, peer-reviewed content, and reliable secondary sources- Understanding domain authority indicators (.gov, .edu, established .org sites, reputable publications)You prioritize sources that are current, factually accurate, and from recognized authorities in their respective fields. openrouter perplexity/sonar 7000 0.8 1 {!output-16} {!output-7} {!output-8} {!output-17} {!output-19} undefined undefined undefined undefined undefined {"fal_ai":{"models":{"current_value":"fal-ai/imagen4/preview/fast"},"inference":{"current_value":"4"},"cfg":{"current_value":"3.5"},"image_sizes":{"current_value":"Landscape 4x3"},"custom_weight":{"current_value":"1024"},"custom_height":{"current_value":"1024"}},"ideogram":{"models":{"current_value":"V_2A_TURBO"},"negative_prompt":{"current_value":""},"image_size":{"current_value":"Default"},"magic_prompt":{"current_value":"Auto"},"style_type":{"current_value":"Auto"}},"gemini":{"models":{"current_value":"imagen-3.0-generate-002","options":["imagen-3.0-generate-002"]},"image_size":{"current_value":"1:1"}},"dall_e":{"models":{"current_value":"dall-e-3"},"quality":{"current_value":"hd"},"style":{"current_value":"vivid"},"dall-e-3-image_sizes":{"current_value":"1024x1024"},"dall-e-2-image_sizes":{"current_value":"512x512"}},"prompt_data":{"ai_images_create_ai_images":{"current_value":true},"system_prompt":{"current_value":"**CONTENT PRESERVATION RULE #1: NEVER modify, rewrite, summarize, or remove ANY original content. Your ONLY job is to insert image placeholders and generate image generation prompts for them. Everything else stays EXACTLY as provided.**\n\nYou are an expert HTML content optimizer specializing in strategic image placement for web articles.\n\n## Primary Mission\nAnalyze HTML articles and insert exactly the specified number of image placeholders while preserving all original content and structure.\n\n## Core Skills\n- HTML structure analysis and Bootstrap component recognition\n- Strategic visual placement based on content flow and text density\n- Professional image prompt generation for product/lifestyle photography\n- Responsive web design with proper CSS styling\n\n## Critical Success Requirements\n- **EXACT IMAGE COUNT:** Must insert precisely the number of images specified\n- **COMPLETE JSON OUTPUT:** Every response MUST include both html_output AND images_prompt_array\n- **CONTENT PRESERVATION:** Maintain all original HTML, videos, cards, and Bootstrap components exactly\n- **PROFESSIONAL QUALITY:** Generate contextually relevant, high-resolution image specifications\n\n## JSON Output Requirements\nAlways output in the exact compact JSON format specified in the instructions. Follow these critical formatting rules:\n- ALL quotes in HTML attributes MUST be escaped with backslash: class=\"example\" becomes class=\\\"example\\\"\n- DO NOT include any line breaks or \\\\n sequences in the HTML output - HTML ignores whitespace, so concatenate all content into one continuous string\n- The entire html_output must be a single valid JSON string\n- Output must be compact JSON format, NOT pretty-formatted JSON\n- Follow the exact structure: {\"html_output\": \"...\", \"images_prompt_array\": [...]}\n- Both fields are REQUIRED in every response\n\n**FAILURE TO INCLUDE COMPLETE JSON OUTPUT WITH BOTH FIELDS CONSTITUTES COMPLETE TASK FAILURE**\n\nYour goal is to enhance visual appeal through strategic image placement while delivering technically perfect, production-ready output in the required JSON format.\n\n**REMEMBER: Every response must include EXACTLY TWO things: html_output AND images_prompt_array. Missing either = complete failure.**\n"},"user_prompt":{"current_value":"# TASK: Insert Exactly !number_of_images Images\n\n## ABSOLUTE REQUIREMENTS (TASK FAILS WITHOUT THESE):\n- Exactly !number_of_images images in HTML AND exactly !number_of_images prompts in array\n- More or fewer images = COMPLETE FAILURE\n- Missing images_prompt_array = COMPLETE FAILURE\n\n## PLACEMENT STRATEGY:\n- Divide article into !number_of_images equal sections\n- Place ONE image per section for even distribution\n- Target longest text-only segments (minimum 2 paragraphs between images and visual elements)\n- **BUFFER ZONE: Never place images within 3 paragraphs of Bootstrap cards, divs with classes, or styled containers**\n- Never place near: videos, Bootstrap cards, FAQ sections, tables, summary blocks\n\n## MANDATORY PRE-PLACEMENT ANALYSIS:\n1. **Scan entire HTML** to identify ALL visual elements (divs with classes, media, tables, lists)\n2. **Map forbidden zones** - mark 4 paragraphs before/after each visual element as off-limits \n3. **Calculate article length** - exclude final 25% from consideration\n4. **Identify safe zones** - areas with 4+ consecutive plain paragraphs (200+ words each)\n5. **Only place images** in the center of identified safe zones\n\n## ENHANCED RESTRICTIONS:\n- NEVER in final 25% of article content\n- NEVER within 4 paragraphs of ANY element with class=, id=, or style= attributes\n- NEVER within 200 words of existing media or visual elements\n\n## IMAGE STYLING:\n**Float Alignment (Preferred):**\n- Left: `style=\"float: left; margin: 0 20px 20px 0; max-width: 400px; width: 100%; height: auto;\"`\n- Right: `style=\"float: right; margin: 0 0 20px 20px; max-width: 400px; width: 100%; height: auto;\"`\n- Alternate left/right for variety\n\n**Center for Major Breaks:**\n- `style=\"display: block; margin: 20px auto; max-width: 400px; width: 100%; height: auto;\"`\n\n## IMAGE REQUIREMENTS:\n- Format: `assets/media/topic-related-imageX.webp` \n- Size: 400px × 300px (4:3 aspect ratio)\n- Every prompt MUST include: \"no text, no words, no typography, no labels, clean image\"\n- Focus: Product photography, usage scenarios, lifestyle imagery\n\n## CONTENT PRESERVATION (CRITICAL):\n**ABSOLUTE RULE: DO NOT CHANGE ANYTHING EXCEPT ADDING IMAGES**\n- Keep ALL original text, paragraphs, headings, and formatting EXACTLY as provided\n- Keep ALL videos, YouTube embeds, and media elements EXACTLY as provided \n- Keep ALL Bootstrap components, cards, and styled elements EXACTLY as provided\n- Keep ALL links, spans, divs, and HTML structure EXACTLY as provided\n- DO NOT rewrite, summarize, shorten, or \"improve\" any content\n- DO NOT remove any sections, paragraphs, or elements\n- Your ONLY task: Insert image placeholders between existing content and provide image generation prompts for them.\n- Think of yourself as inserting images into a document, not rewriting it\n\n---\n\n**JSON ESCAPING REQUIREMENTS:**\n- ALL quotes in HTML attributes MUST be escaped with backslash: `class=\"example\"` becomes `class=\\\"example\\\"`\n- DO NOT include any line breaks or `\\\\n` sequences in the HTML output - HTML ignores whitespace, so concatenate all content into one continuous string\n- ALL backslashes MUST be escaped: `\\` becomes `\\\\`\n- The entire html_output must be a single valid JSON string with NO line breaks or `\\\\n` sequences\n\n## OUTPUT FORMAT (JSON):\n\"{\n\"html_output\": \"

          Updated content with image placeholders, inline CSS, alt text with escaped quotes like class=\\\"example\\\" and images like:

          \\\"User

          More content here with proper spacing between images.

          Additional paragraph content to demonstrate proper placement.

          \\\"Digital

          Final content section.

          \",\n\"images_prompt_array\": [\n{\n\"src_of_image\": \"assets/media/product-image1.webp\",\n\"prompt\": \"Ultra high-quality photorealistic image of a user submitting an online form on a tablet, bright clean background, no text, no words, no typography, 8K, natural lighting\",\n\"image_type\": \"image/webp\",\n\"width\": \"400\",\n\"height\": \"300\"\n},\n{\n\"src_of_image\": \"assets/media/signup-free-guide-image.webp\",\n\"prompt\": \"Ultra high-quality photorealistic mockup of a digital guide or eBook with a clean modern cover, white desk background, flat lay, no text, no words, no typography, 8K\",\n\"image_type\": \"image/webp\",\n\"width\": \"400\",\n\"height\": \"300\"\n}\n]\n}\"\n\n## JSON Output Requirements\n**CRITICAL**: You must generate JSON exactly as PHP's json_encode() function would output it. This means:\n- All strings must be properly escaped (quotes, newlines, backslashes)\n- No manual formatting - output should be compact like json_encode() produces\n- All HTML content must be on a single line with proper escape sequences\n- Test your JSON mentally before output to ensure it's valid\n\n---\n\nCurrent product review article content to process: \"{!content-output}\"\n\n---\n\n## FINAL REQUIREMENTS BEFORE OUTPUT:\n\n**JSON ESCAPING REQUIREMENTS:**\n- ALL quotes in HTML attributes MUST be escaped with backslash: `class=\"example\"` becomes `class=\\\"example\\\"`\n- DO NOT include any line breaks or `\\\\n` sequences in the HTML output\n- ALL backslashes MUST be escaped: `\\` becomes `\\\\`\n- Output must be compact JSON format, NOT pretty-formatted JSON\n\n## REQUIRED OUTPUT FORMAT:\n```json\n{\n\"html_output\": \"Content with escaped quotes like class=\\\"example\\\" and images\",\n\"images_prompt_array\": [\n{\n\"src_of_image\": \"assets/media/image1.webp\",\n\"prompt\": \"Description with no text, no words, no typography, 8K\",\n\"image_type\": \"image/webp\",\n\"width\": \"400\",\n\"height\": \"300\"\n}\n]\n}\n```\n\n## PRE-OUTPUT VERIFICATION CHECKLIST:\n**VERIFY BEFORE RESPONDING:**\n1. ✓ Count `` tags in html_output = !number_of_images \n2. ✓ Count objects in images_prompt_array = !number_of_images\n3. ✓ JSON includes BOTH html_output AND images_prompt_array\n4. ✓ ALL original content is preserved EXACTLY (no rewrites/removals)\n5. ✓ JSON is properly escaped and compact format\n\n**CRITICAL: If ANY verification fails, do not output. Fix and re-verify.**\n\n**FINAL INSTRUCTION: Your response must be ONLY the properly escaped JSON object with no additional text, explanations, or formatting. Begin your response with { and end with }**"},"ai_for_images":{"current_value":"fal_ai"},"ai_images_numberof_images":{"current_value":"2"},"ai_images_resize_switch":{"current_value":true},"ai_images_resize_width":{"current_value":"400"},"ai_images_resize_height":{"current_value":"600"},"ai_images_resize_aspect_ratio":{"current_value":true}}}