A new Python tool called slides just exploded on GitHub with 365 stars in just a few days (created 2026-03-24). Here's why developers are excited — and how to supercharge it with NexaAPI to build a complete AI content generation pipeline.
What Is 'slides'?
slides is an open-source tool that generates beautifully crafted prompts for AI-generated visual content in 10+ distinct expression styles:
- 🎨 Retro Pop Art — 1970s magazine aesthetic
- 💻 Cyberpunk Neon — Dark charcoal + neon glow
- 🏢 Minimalist Clean — Corporate, professional
- 🖼️ Neo-Brutalism — Raw, bold, stark contrast
- 📰 Dark Editorial — NYT Sunday Review style
- ✨ Acid Graphics Y2K — Chrome + holographic
- 🎯 Swiss International — Helvetica, asymmetric
- 📐 Design Blueprint — Figma documentation style
- ...and more!
Each style comes with precise color palettes, typography specs, and layout guidelines — perfect for AI image generation.
The Problem
slides is brilliant at generating the prompts. But you still need an AI API to generate the actual images. That's where most developers get stuck:
- DALL-E 3: $0.04–$0.08 per image 😬
- Midjourney: No API
- Self-hosted SD: Requires GPU + complex setup
The Solution: NexaAPI at $0.003/image
NexaAPI is the cheapest AI inference API in 2026:
- $0.003 per image (16x cheaper than competitors)
- 56+ models including Flux, SDXL, and more
- Zero setup — just an API key
- Free tier on RapidAPI
The Complete Pipeline
# pip install nexaapi
from nexaapi import NexaAPI
client = NexaAPI(api_key="YOUR_API_KEY")
# Prompts from slides (https://github.com/AAAAAAAJ/slides)
slides_prompts = [
"Retro pop art style PPT slide, 1970s magazine aesthetic, flat design with thick black outlines, "
"cream beige background, bold title text, Salmon pink #FF6B6B, sky blue #4ECDC4, "
"mustard yellow #FFD93D, Geometric decorations, Bold sans-serif typography, 16:9",
"Cyberpunk neon style PPT slide, Dark charcoal background, neon glow effects, "
"magenta #FF00FF, cyan #00FFFF, Tech grid patterns, Futuristic UI elements, 16:9",
"Minimalist clean design PPT slide, White background, generous whitespace, "
"Subtle gray and blue accents, Professional corporate presentation, 16:9",
]
for i, prompt in enumerate(slides_prompts):
response = client.image.generate(
model="flux",
prompt=prompt,
width=1024,
height=576 # 16:9 for slides
)
print(f"Image {i+1}: {response.url} | Cost: $0.003")
JavaScript version:
// npm install nexaapi
import NexaAPI from 'nexaapi';
const client = new NexaAPI({ apiKey: 'YOUR_API_KEY' });
const slidesPrompts = [
'Retro pop art style PPT slide, 1970s magazine aesthetic, flat design, cream background, 16:9',
'Cyberpunk neon style PPT slide, Dark charcoal background, neon glow effects, 16:9',
'Minimalist clean design PPT slide, White background, professional layout, 16:9',
];
for (const prompt of slidesPrompts) {
const response = await client.image.generate({
model: 'flux',
prompt,
width: 1024,
height: 576
});
console.log(`Generated: ${response.url} | Cost: $0.003`);
}
Cost Comparison
| Images | NexaAPI | Competitors | You Save |
|---|---|---|---|
| 100 | $0.30 | $5.00 | 94% |
| 1,000 | $3.00 | $50.00 | 94% |
| 10,000 | $30.00 | $500.00 | 94% |
Get Started
- ⭐ Star slides on GitHub
- Get a free NexaAPI key at nexa-api.com or RapidAPI
pip install nexaapi- Copy a prompt from slides' PROMPTS.md
- Generate!
Full code + GitHub repo: nexaapi/slides-plus-nexaapi-pipeline
What expression style would you generate first? Drop a comment below! 👇
Source: https://github.com/AAAAAAAJ/slides | Retrieved: 2026-03-27
Top comments (0)