GitHub's Hottest New Tool + NexaAPI: Auto-Generate Prompts AND Images in One Pipeline
A new Python tool called slidesjust exploded on GitHub with 365 stars in days. 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 a trending open-source tool (⭐365 in days, created 2026-03-24) that generates beautifully crafted prompts for creating AI-generated presentation slides and visual content in multiple distinct expression styles.
| Style | Best For |
|---|---|
| Retro Pop Art | Creative presentations, brand campaigns |
| Minimalist Clean | Corporate reports, product introductions |
| Cyberpunk Neon | Tech themes, futuristic content |
| Neo-Brutalism | Personal expression, art exhibitions |
| Swiss International | Professional design, high-end presentations |
The Problem: slides Gives You Prompts, But Then What?
slides is brilliant at generating the prompts. But you still need an AI API to actually generate the images. Enter NexaAPI — the cheapest AI inference API in 2026, at just $0.003 per image (16x cheaper than most competitors), with 56+ models and zero setup required.
The Complete Pipeline: slides → NexaAPI
Python Implementation
# pip install nexaapi
from nexaapi import NexaAPI
client = NexaAPI(api_key="YOUR_API_KEY")
# Prompts generated by slides for different visual styles
slides_generated_prompts = [
"A futuristic cityscape in cyberpunk style, neon lights, rain-soaked streets",
"A minimalist corporate presentation slide with bold typography, clean layout",
"An impressionist painting of a mountain landscape at golden hour"
]
results = []
for prompt in slides_generated_prompts:
response = client.image.generate(
model="flux",
prompt=prompt,
width=1024,
height=1024
)
results.append(response)
print(f"Generated image URL: {response.url}")
print(f"Cost: $0.003 per image")
print(f"Total images: {len(results)}")
print(f"Total cost: ${len(results) * 0.003:.3f}")JavaScript Implementation
// npm install nexaapi
import NexaAPI from 'nexaapi';
const client = new NexaAPI({ apiKey: 'YOUR_API_KEY' });
const slidesGeneratedPrompts = [
'A futuristic cityscape in cyberpunk style, neon lights, rain-soaked streets',
'A minimalist corporate presentation slide with bold typography, clean layout',
'An impressionist painting of a mountain landscape at golden hour'
];
async function generateFromSlidesPrompts() {
const results = [];
for (const prompt of slidesGeneratedPrompts) {
const response = await client.image.generate({
model: 'flux',
prompt,
width: 1024,
height: 1024
});
results.push(response);
console.log(`Generated: ${response.url} | Cost: $0.003`);
}
console.log(`Total cost: $${(results.length * 0.003).toFixed(3)}`);
return results;
}
generateFromSlidesPrompts();