import os import urllib.request from datetime import datetime, timezone import json def create_article(): title = "Amazon Secures $17.5 Billion Loan for AI Infrastructure" safe_title = "Amazon_Secures_17_5_Billion_Loan_for_AI_Infrastructure" root_dir = r"C:\ComfyUI\Articles" article_dir = os.path.join(root_dir, safe_title) images_dir = os.path.join(article_dir, "images") sources_dir = os.path.join(article_dir, "sources") os.makedirs(images_dir, exist_ok=True) os.makedirs(sources_dir, exist_ok=True) # Download Unsplash images (Business theme) img_urls = [ "https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?q=80&w=1000", "https://images.unsplash.com/photo-1507679799987-c73779587ccf?q=80&w=1000" ] img_paths = [] for i, url in enumerate(img_urls, 1): dest = os.path.join(images_dir, f"{safe_title}_img{i}.jpg") req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'}) try: with urllib.request.urlopen(req, timeout=30) as response: with open(dest, 'wb') as f: f.write(response.read()) img_paths.append(dest.replace('\\', '/')) except Exception as e: print(f"Failed to download image {url}: {e}") img_paths.append("IMAGE_DOWNLOAD_FAILED") date_str = datetime.now(timezone.utc).strftime('%a, %d %b %Y %H:%M:%S GMT') md_content = f"""# {title} {date_str} ```carousel ![Visual Theme 1]({img_paths[0]}) ![Visual Theme 2]({img_paths[1]}) ``` As of June 12, 2026, major developments in the AI industry are centered on massive infrastructure investment, strategic partnerships in content creation, and ongoing geopolitical and regulatory debates. ## Amazon's Massive AI Investment Amazon has finalized a $17.5 billion loan facility with a consortium of major lenders, including Citibank, JPMorgan Chase, and Bank of America. This move underscores the industry-wide trend of "Big Tech" tapping into debt markets to fund the aggressive expansion of data centers and computing capacity required for generative AI, with combined industry capital expenditure now projected to exceed $700 billion this year. ## "AI+IP" Strategic Partnership in China Volcano Engine has launched an in-depth partnership with Bingo Group, integrating Seedance 2.0 video generation technology with classic film intellectual property (IP), such as Stephen Chow’s *The King of Comedy* and *The God of Cookery*. This initiative aims to provide compliant AI content creation tools across multiple Chinese platforms. ## OpenAI Report on Foreign Influence OpenAI recently published a report detailing how Chinese propaganda groups have attempted to use its AI models to influence U.S. political discourse, including efforts to foment dissent regarding trade policies and data center regulations. While the company noted the efforts had little impact, it highlights the increasing role of generative AI in digital influence operations. ## Ongoing Industry Trends Analysts note that the current phase of the AI boom has shifted away from simple "model launches" toward building robust platforms—encompassing AI chips, runtimes, and control planes—which are becoming "stickier", multi-year investments for enterprises. Oracle has also rolled out its June 2026 AI updates, including expanded multimodal capabilities and the integration of Cohere Rerank 4 to improve enterprise search and agentic AI performance. --- **Images & Figures:** - ![Visual Theme 1]({img_paths[0]}) - ![Visual Theme 2]({img_paths[1]}) **Author:** AntigravityAI News Collector (Perplexity Source) **Sources & Citations:** - [{title}](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQHP6OOJS5VfJxEl-sM5nkfqGVyuYPQn3GKLJ-nPoElAHqPPcOs-fRVNulH1Vc_iA-E9c_sRuJsXjw2Xc0QmME5GiFa2igHOy9sRw4wD17x1dEO9J9QtNVMJLcdQWfJCsCehTrA0-BtWJXDqsdKPjF4HdTQ94ncCPdqYuIdRKZJ13h430edofAz2ca1v5tqPhKt0F4M4v-iqRUis9ui2EmeU2L1LM73cUvoJJFQOwYh1JEfTdAzOz4qWAVhuJaj34DaR) - [Volcano Engine AI+IP](https://asianews.network) - [OpenAI Report on Influence](https://taipeitimes.com) """ dest_md = os.path.join(article_dir, f"{safe_title}.md") with open(dest_md, "w", encoding="utf-8") as f: f.write(md_content) print(f"SUCCESS: Article created at {dest_md}") # Optionally update history.json history_file = os.path.join(root_dir, "history.json") if os.path.exists(history_file): try: with open(history_file, 'r', encoding='utf-8') as f: history = json.load(f) history["perplexity_ai_news_june2026"] = { "title": title, "collected_at": datetime.now().isoformat(), "category": "Business" } with open(history_file, 'w', encoding='utf-8') as f: json.dump(history, f, indent=4, ensure_ascii=False) print("Updated history.json") except Exception as e: print(f"Error updating history: {e}") if __name__ == "__main__": create_article()