opencode-skills-collection 3.0.37 → 3.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +13 -1
- package/bundled-skills/2slides-ppt-generator/SKILL.md +786 -0
- package/bundled-skills/2slides-ppt-generator/references/api-reference.md +499 -0
- package/bundled-skills/2slides-ppt-generator/references/mcp-integration.md +282 -0
- package/bundled-skills/2slides-ppt-generator/references/pricing.md +195 -0
- package/bundled-skills/2slides-ppt-generator/scripts/api_constants.py +87 -0
- package/bundled-skills/2slides-ppt-generator/scripts/create_pdf_slides.py +159 -0
- package/bundled-skills/2slides-ppt-generator/scripts/download_slides_pages_voices.py +157 -0
- package/bundled-skills/2slides-ppt-generator/scripts/generate_narration.py +197 -0
- package/bundled-skills/2slides-ppt-generator/scripts/generate_slides.py +247 -0
- package/bundled-skills/2slides-ppt-generator/scripts/get_job_status.py +106 -0
- package/bundled-skills/2slides-ppt-generator/scripts/search_themes.py +137 -0
- package/bundled-skills/anti-sycophancy/README.md +86 -0
- package/bundled-skills/anti-sycophancy/SKILL.md +40 -0
- package/bundled-skills/antigravity-agent-manager/SKILL.md +112 -0
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/sources/sources.md +1 -0
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/getting-started.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +4 -4
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/event-staffing-compliance/SKILL.md +91 -0
- package/bundled-skills/event-staffing-ordering/SKILL.md +119 -0
- package/bundled-skills/examprep-ai/SKILL.md +446 -0
- package/bundled-skills/hasdata/SKILL.md +107 -0
- package/bundled-skills/hasdata/references/code-recipes.md +150 -0
- package/bundled-skills/hasdata/references/ecommerce.md +116 -0
- package/bundled-skills/hasdata/references/jobs.md +111 -0
- package/bundled-skills/hasdata/references/local-business.md +145 -0
- package/bundled-skills/hasdata/references/real-estate.md +84 -0
- package/bundled-skills/hasdata/references/scraper-jobs.md +252 -0
- package/bundled-skills/hasdata/references/search.md +154 -0
- package/bundled-skills/hasdata/references/travel.md +202 -0
- package/bundled-skills/hasdata/references/web-scraping.md +159 -0
- package/bundled-skills/hasdata/references/youtube.md +186 -0
- package/bundled-skills/hasdata-cli/SKILL.md +169 -0
- package/bundled-skills/hasdata-cli/references/all-commands.md +107 -0
- package/bundled-skills/hasdata-cli/references/ecommerce.md +106 -0
- package/bundled-skills/hasdata-cli/references/enrichment.md +227 -0
- package/bundled-skills/hasdata-cli/references/jobs.md +84 -0
- package/bundled-skills/hasdata-cli/references/local-business.md +123 -0
- package/bundled-skills/hasdata-cli/references/real-estate.md +126 -0
- package/bundled-skills/hasdata-cli/references/search.md +122 -0
- package/bundled-skills/hasdata-cli/references/travel.md +102 -0
- package/bundled-skills/hasdata-cli/references/web-scraping.md +181 -0
- package/bundled-skills/hasdata-cli/references/youtube.md +145 -0
- package/bundled-skills/linkedin-content-generator/SKILL.md +492 -0
- package/bundled-skills/linkedin-content-generator/scripts/generate_calendar.py +82 -0
- package/bundled-skills/linkedin-content-generator/scripts/generate_carousel.py +69 -0
- package/bundled-skills/linkedin-content-generator/scripts/generate_newsletter.py +64 -0
- package/bundled-skills/linkedin-content-generator/scripts/generate_post.py +77 -0
- package/bundled-skills/linkedin-content-generator/scripts/memory.md +49 -0
- package/bundled-skills/linkedin-content-generator/scripts/memory_manager.py +134 -0
- package/bundled-skills/linkedin-content-generator/scripts/utils.py +96 -0
- package/bundled-skills/permission-manager/README.md +22 -0
- package/bundled-skills/permission-manager/SKILL.md +54 -0
- package/bundled-skills/skill-suggester/README.md +14 -0
- package/bundled-skills/skill-suggester/SKILL.md +69 -0
- package/bundled-skills/smart-git-automation/README.md +31 -0
- package/bundled-skills/smart-git-automation/SKILL.md +96 -0
- package/bundled-skills/vercel-optimize/lib/cost-coverage.mjs +3 -1
- package/bundled-skills/vercel-optimize/lib/render-report.mjs +2 -2
- package/bundled-skills/vercel-optimize/lib/util.mjs +7 -0
- package/bundled-skills/vercel-optimize/lib/verify-claim.mjs +2 -7
- package/bundled-skills/vercel-optimize/lib/workspace-resolver.mjs +2 -1
- package/package.json +1 -1
- package/skills_index.json +268 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
# MCP Integration Guide
|
|
2
|
+
|
|
3
|
+
2slides provides an MCP (Model Context Protocol) server for seamless integration with Claude Desktop and other MCP-compatible AI agents.
|
|
4
|
+
|
|
5
|
+
## What is the MCP Server?
|
|
6
|
+
|
|
7
|
+
The 2slides MCP server exposes the same API functionality as direct API calls, but through a standardized tool interface that Claude can use directly without requiring script execution.
|
|
8
|
+
|
|
9
|
+
**Available Tools:**
|
|
10
|
+
1. `slides_generate` - Generate slides from content
|
|
11
|
+
2. `slides_create_like_this` - Generate slides from reference image
|
|
12
|
+
3. `slides_create_pdf_slides` - Generate custom-designed slides (NEW)
|
|
13
|
+
4. `slides_generate_narration` - Add AI voice narration (NEW)
|
|
14
|
+
5. `slides_download_pages_voices` - Export slides and voices as ZIP (NEW)
|
|
15
|
+
6. `themes_search` - Search available themes
|
|
16
|
+
7. `jobs_get` - Check job status
|
|
17
|
+
|
|
18
|
+
**Note:** New tools (3-5) may require MCP server update to latest version.
|
|
19
|
+
|
|
20
|
+
## Installation & Configuration
|
|
21
|
+
|
|
22
|
+
2slides MCP server supports two integration modes:
|
|
23
|
+
|
|
24
|
+
### Mode 1: Streamable HTTP Protocol (Recommended)
|
|
25
|
+
|
|
26
|
+
Simplest setup using HTTP endpoint. No local installation required.
|
|
27
|
+
|
|
28
|
+
**Step 1:** Get your API key from https://2slides.com/api
|
|
29
|
+
|
|
30
|
+
**Step 2:** Configure Claude Desktop
|
|
31
|
+
|
|
32
|
+
Edit: `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"mcpServers": {
|
|
37
|
+
"2slides": {
|
|
38
|
+
"url": "https://2slides.com/api/mcp?apikey=YOUR_2SLIDES_API_KEY"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Step 3:** Restart Claude Desktop completely
|
|
45
|
+
|
|
46
|
+
**Advantages:**
|
|
47
|
+
- ✅ No Node.js or npm required
|
|
48
|
+
- ✅ Always uses latest version
|
|
49
|
+
- ✅ Faster setup
|
|
50
|
+
- ✅ No local dependencies
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### Mode 2: NPM Package (stdio)
|
|
55
|
+
|
|
56
|
+
Uses local npm package for MCP server.
|
|
57
|
+
|
|
58
|
+
**Step 1:** Get your API key from https://2slides.com/api
|
|
59
|
+
|
|
60
|
+
**Step 2:** Configure Claude Desktop
|
|
61
|
+
|
|
62
|
+
Edit: `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"mcpServers": {
|
|
67
|
+
"2slides": {
|
|
68
|
+
"command": "npx",
|
|
69
|
+
"args": ["2slides-mcp"],
|
|
70
|
+
"env": {
|
|
71
|
+
"API_KEY": "YOUR_2SLIDES_API_KEY"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Step 3:** Restart Claude Desktop completely
|
|
79
|
+
|
|
80
|
+
**Requirements:**
|
|
81
|
+
- Node.js and npm installed
|
|
82
|
+
- Internet connection for first-time package download
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
### Verify Installation
|
|
87
|
+
|
|
88
|
+
After restart, the 2slides tools should be available. Test by asking:
|
|
89
|
+
"Search for business themes using 2slides"
|
|
90
|
+
|
|
91
|
+
## When to Use MCP vs Direct API
|
|
92
|
+
|
|
93
|
+
### Use MCP Server When:
|
|
94
|
+
- Working in Claude Desktop or other MCP-compatible environments
|
|
95
|
+
- Want seamless tool integration without script management
|
|
96
|
+
- Prefer Claude to handle API calls directly
|
|
97
|
+
- Need real-time interaction and feedback
|
|
98
|
+
|
|
99
|
+
### Use Direct API Scripts When:
|
|
100
|
+
- Working in Claude Code CLI
|
|
101
|
+
- MCP server is not configured or available
|
|
102
|
+
- Need more control over parameters and error handling
|
|
103
|
+
- Integrating into custom workflows or automation
|
|
104
|
+
- Need to batch process multiple requests
|
|
105
|
+
|
|
106
|
+
## MCP Tool Details
|
|
107
|
+
|
|
108
|
+
### slides_generate
|
|
109
|
+
|
|
110
|
+
Generate slides from user content.
|
|
111
|
+
|
|
112
|
+
**Parameters:**
|
|
113
|
+
- `userInput` (string, required): Content to convert
|
|
114
|
+
- `themeId` (string, required): Theme ID from themes_search
|
|
115
|
+
- `responseLanguage` (string, optional, default: "Auto"): Language name
|
|
116
|
+
- `mode` (string, optional, default: "sync"): "sync" or "async"
|
|
117
|
+
|
|
118
|
+
**Example:**
|
|
119
|
+
```
|
|
120
|
+
First search for a theme:
|
|
121
|
+
Use themes_search with:
|
|
122
|
+
- query: "business"
|
|
123
|
+
|
|
124
|
+
Then generate with the theme ID:
|
|
125
|
+
Use slides_generate with:
|
|
126
|
+
- userInput: "Introduction to Python: Variables, Functions, Classes"
|
|
127
|
+
- themeId: "theme_abc123"
|
|
128
|
+
- mode: "sync"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### slides_create_like_this
|
|
132
|
+
|
|
133
|
+
Generate slides matching a reference image.
|
|
134
|
+
|
|
135
|
+
**Parameters:**
|
|
136
|
+
- `userInput` (string, required): Content for slides
|
|
137
|
+
- `referenceImageUrl` (string, required): URL or base64 of reference image
|
|
138
|
+
- `responseLanguage` (string, optional, default: "Auto"): Language name
|
|
139
|
+
- `aspectRatio` (string, optional, default: "16:9"): width:height format
|
|
140
|
+
- `resolution` (string, optional, default: "2K"): "1K", "2K", or "4K"
|
|
141
|
+
- `page` (number, optional, default: 1): Number of slides (0 for auto-detection, max 100)
|
|
142
|
+
- `contentDetail` (string, optional, default: "concise"): "concise" or "standard"
|
|
143
|
+
|
|
144
|
+
**Example:**
|
|
145
|
+
```
|
|
146
|
+
Use slides_create_like_this with:
|
|
147
|
+
- userInput: "Sales Report Q4 2025"
|
|
148
|
+
- referenceImageUrl: "https://example.com/template.jpg"
|
|
149
|
+
- resolution: "2K"
|
|
150
|
+
- page: 0 # Auto-detect slide count
|
|
151
|
+
- contentDetail: "standard"
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### themes_search
|
|
155
|
+
|
|
156
|
+
Search for available themes.
|
|
157
|
+
|
|
158
|
+
**Parameters:**
|
|
159
|
+
- `query` (string, required): Search keyword
|
|
160
|
+
- `limit` (number, optional, default: 20, max: 100): Max results
|
|
161
|
+
|
|
162
|
+
**Example:**
|
|
163
|
+
```
|
|
164
|
+
Use themes_search with:
|
|
165
|
+
- query: "business"
|
|
166
|
+
- limit: 10
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**Note:** Query parameter is required. Search with keywords like "business", "professional", "creative", "education", "modern" to find appropriate themes.
|
|
170
|
+
|
|
171
|
+
### slides_create_pdf_slides
|
|
172
|
+
|
|
173
|
+
Generate custom-designed slides from text without a reference image.
|
|
174
|
+
|
|
175
|
+
**Parameters:**
|
|
176
|
+
- `userInput` (string, required): Content for slides
|
|
177
|
+
- `responseLanguage` (string, optional, default: "Auto"): Language name
|
|
178
|
+
- `aspectRatio` (string, optional, default: "16:9"): width:height format
|
|
179
|
+
- `resolution` (string, optional, default: "2K"): "1K", "2K", or "4K"
|
|
180
|
+
- `page` (number, optional, default: 1): Number of slides (0 for auto-detection, max 100)
|
|
181
|
+
- `contentDetail` (string, optional, default: "concise"): "concise" or "standard"
|
|
182
|
+
- `designSpec` (string, optional): Design specifications
|
|
183
|
+
|
|
184
|
+
**Example:**
|
|
185
|
+
```
|
|
186
|
+
Use slides_create_pdf_slides with:
|
|
187
|
+
- userInput: "Sales Report Q4 2025"
|
|
188
|
+
- designSpec: "modern minimalist, blue color scheme"
|
|
189
|
+
- resolution: "2K"
|
|
190
|
+
- page: 0 # Auto-detect slide count
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### slides_generate_narration
|
|
194
|
+
|
|
195
|
+
Add AI voice narration to completed slides.
|
|
196
|
+
|
|
197
|
+
**Parameters:**
|
|
198
|
+
- `jobId` (string, required): Job ID from slide generation (UUID format)
|
|
199
|
+
- `language` (string, optional, default: "Auto"): Language for narration
|
|
200
|
+
- `voice` (string, optional, default: "Puck"): Voice name (30 options available)
|
|
201
|
+
- `multiSpeaker` (boolean, optional, default: false): Enable multi-speaker mode
|
|
202
|
+
|
|
203
|
+
**Available Voices:**
|
|
204
|
+
Puck, Aoede, Charon, Kore, Fenrir, Phoebe, Asteria, Luna, Stella, Theia, Helios, Atlas, Clio, Melpomene, Calliope, Erato, Euterpe, Polyhymnia, Terpsichore, Thalia, Urania, Zeus, Hera, Poseidon, Athena, Apollo, Artemis, Ares, Aphrodite, Hephaestus
|
|
205
|
+
|
|
206
|
+
**Example:**
|
|
207
|
+
```
|
|
208
|
+
Use slides_generate_narration with:
|
|
209
|
+
- jobId: "abc-123-def-456"
|
|
210
|
+
- voice: "Aoede"
|
|
211
|
+
- multiSpeaker: true
|
|
212
|
+
- language: "English"
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**Note:** Job must be completed before adding narration. Cost: 210 credits per page.
|
|
216
|
+
|
|
217
|
+
### slides_download_pages_voices
|
|
218
|
+
|
|
219
|
+
Download slides as PNG images and voice files as WAV in a ZIP archive.
|
|
220
|
+
|
|
221
|
+
**Parameters:**
|
|
222
|
+
- `jobId` (string, required): Job ID from slide generation
|
|
223
|
+
|
|
224
|
+
**Example:**
|
|
225
|
+
```
|
|
226
|
+
Use slides_download_pages_voices with:
|
|
227
|
+
- jobId: "abc-123-def-456"
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
**Note:** Completely FREE (no credits). Download URL valid for 1 hour.
|
|
231
|
+
|
|
232
|
+
### jobs_get
|
|
233
|
+
|
|
234
|
+
Check status of async job.
|
|
235
|
+
|
|
236
|
+
**Parameters:**
|
|
237
|
+
- `jobId` (string, required): Job ID from async generation
|
|
238
|
+
|
|
239
|
+
**Response includes:**
|
|
240
|
+
- Slide generation status
|
|
241
|
+
- Narration status (if applicable)
|
|
242
|
+
- Download URLs (when completed)
|
|
243
|
+
|
|
244
|
+
**Example:**
|
|
245
|
+
```
|
|
246
|
+
Use jobs_get with:
|
|
247
|
+
- jobId: "abc123..."
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## Troubleshooting
|
|
251
|
+
|
|
252
|
+
### Tools Not Appearing
|
|
253
|
+
|
|
254
|
+
1. Verify configuration file syntax is valid JSON
|
|
255
|
+
2. For HTTP mode: Check API key is correctly in the URL
|
|
256
|
+
3. For npm mode: Ensure API key is correctly set in the `env` section
|
|
257
|
+
4. Restart Claude Desktop completely (quit fully, not just close window)
|
|
258
|
+
5. Check for error messages in Claude Desktop console
|
|
259
|
+
|
|
260
|
+
### API Key Issues
|
|
261
|
+
|
|
262
|
+
- Verify API key is active at https://2slides.com/api
|
|
263
|
+
- Check for typos in the configuration
|
|
264
|
+
- Ensure no extra quotes or spaces around the key
|
|
265
|
+
- For HTTP mode: API key must be in the URL query parameter
|
|
266
|
+
|
|
267
|
+
### HTTP Mode Issues
|
|
268
|
+
|
|
269
|
+
- Verify URL format: `https://2slides.com/api/mcp?apikey=YOUR_KEY`
|
|
270
|
+
- Check internet connectivity
|
|
271
|
+
- Ensure API key has no special characters that need URL encoding
|
|
272
|
+
|
|
273
|
+
### NPM Mode Issues
|
|
274
|
+
|
|
275
|
+
- Ensure `npx` is available (requires Node.js)
|
|
276
|
+
- Try running `npx 2slides-mcp` manually to check for errors
|
|
277
|
+
- Verify internet connection for package download
|
|
278
|
+
- Check Node.js version compatibility
|
|
279
|
+
|
|
280
|
+
## GitHub Repository
|
|
281
|
+
|
|
282
|
+
For more information, visit: https://github.com/2slides/mcp-2slides
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# 2slides Pricing & Credit Information
|
|
2
|
+
|
|
3
|
+
Complete pricing details and credit system information.
|
|
4
|
+
|
|
5
|
+
## Credit System Overview
|
|
6
|
+
|
|
7
|
+
2slides operates on a **pay-as-you-go credit system** with no monthly subscriptions or recurring charges.
|
|
8
|
+
|
|
9
|
+
### Key Benefits
|
|
10
|
+
|
|
11
|
+
- ✅ **Credits never expire** - Use them at your own pace
|
|
12
|
+
- ✅ **No subscriptions** - Pay only for what you use
|
|
13
|
+
- ✅ **Volume discounts** - Save up to 20% on larger packages
|
|
14
|
+
- ✅ **3-day refund window** - Risk-free purchase
|
|
15
|
+
- ✅ **500 free credits** - Free trial for new users
|
|
16
|
+
|
|
17
|
+
## Credit Packages
|
|
18
|
+
|
|
19
|
+
**Current Promotion:** Up to 20% off credits for a limited time.
|
|
20
|
+
|
|
21
|
+
| Credits | Original Price | Current Price | Discount | Cost per 1,000 |
|
|
22
|
+
|---------|----------------|---------------|----------|----------------|
|
|
23
|
+
| 2,000 | $5.00 | $5.00 | — | $2.50 |
|
|
24
|
+
| 4,000 | $10.00 | $9.50 | 5% | $2.38 |
|
|
25
|
+
| 10,000 | $25.00 | $22.50 | 10% | $2.25 |
|
|
26
|
+
| 20,000 | $50.00 | $42.50 | 15% | $2.13 |
|
|
27
|
+
| 40,000 | $100.00 | $80.00 | 20% | $2.00 |
|
|
28
|
+
|
|
29
|
+
**Purchase at:** https://2slides.com/pricing
|
|
30
|
+
|
|
31
|
+
## Credit Costs by Feature
|
|
32
|
+
|
|
33
|
+
| Feature | Credits per Page | Example (10 pages) |
|
|
34
|
+
|---------|-----------------|-------------------|
|
|
35
|
+
| Fast PPT (theme-based) | 10 | 100 credits |
|
|
36
|
+
| Nano Banana 1K/2K (image/custom) | 100 | 1,000 credits |
|
|
37
|
+
| Nano Banana 4K | 200 | 2,000 credits |
|
|
38
|
+
| Voice Narration | +210 | +2,100 credits |
|
|
39
|
+
| Download Export | FREE | 0 credits |
|
|
40
|
+
|
|
41
|
+
### Detailed Cost Breakdown
|
|
42
|
+
|
|
43
|
+
**Fast PPT Generation (Theme-Based)**
|
|
44
|
+
- 10 credits per page
|
|
45
|
+
- Uses pre-designed themes
|
|
46
|
+
- Fastest generation mode
|
|
47
|
+
- Cost example: 20-page presentation = 200 credits
|
|
48
|
+
|
|
49
|
+
**Nano Banana (Image Matching / Custom PDF)**
|
|
50
|
+
- **1K/2K resolution:** 100 credits per page
|
|
51
|
+
- **4K resolution:** 200 credits per page
|
|
52
|
+
- Matches reference image style or generates custom design
|
|
53
|
+
- Higher quality output
|
|
54
|
+
- Cost example: 10-page 2K presentation = 1,000 credits
|
|
55
|
+
|
|
56
|
+
**Voice Narration**
|
|
57
|
+
- 210 credits per page total
|
|
58
|
+
- 10 credits for text processing
|
|
59
|
+
- 200 credits for audio generation
|
|
60
|
+
- 30 voice options available
|
|
61
|
+
- Multi-speaker mode included
|
|
62
|
+
- Cost example: 5-page narration = 1,050 credits
|
|
63
|
+
|
|
64
|
+
**Download Export**
|
|
65
|
+
- Completely FREE (0 credits)
|
|
66
|
+
- Export slides as PNG images
|
|
67
|
+
- Export voice files as WAV
|
|
68
|
+
- Includes transcripts
|
|
69
|
+
|
|
70
|
+
## Free Trial
|
|
71
|
+
|
|
72
|
+
**New users receive 500 free credits** upon account creation.
|
|
73
|
+
|
|
74
|
+
**What you can do with 500 credits:**
|
|
75
|
+
- Create ~50 Fast PPT slide pages
|
|
76
|
+
- Create ~5 Nano Banana 2K pages
|
|
77
|
+
- Create ~2 Nano Banana 2K pages with full narration
|
|
78
|
+
- Mix and match features as needed
|
|
79
|
+
|
|
80
|
+
## Example Cost Calculations
|
|
81
|
+
|
|
82
|
+
### Scenario 1: Quick Business Presentation
|
|
83
|
+
- **Need:** 15-slide Fast PPT presentation
|
|
84
|
+
- **Credits required:** 150 credits (15 pages × 10 credits)
|
|
85
|
+
- **Cost with 2,000 package:** $0.38
|
|
86
|
+
- **Cost with 40,000 package:** $0.30
|
|
87
|
+
|
|
88
|
+
### Scenario 2: Branded Marketing Deck
|
|
89
|
+
- **Need:** 20-slide Nano Banana 2K matching brand image
|
|
90
|
+
- **Credits required:** 2,000 credits (20 pages × 100 credits)
|
|
91
|
+
- **Cost with 4,000 package:** $4.75
|
|
92
|
+
- **Cost with 40,000 package:** $4.00
|
|
93
|
+
|
|
94
|
+
### Scenario 3: Training Presentation with Audio
|
|
95
|
+
- **Need:** 30-slide 2K presentation with voice narration
|
|
96
|
+
- **Credits required:** 6,300 credits
|
|
97
|
+
- Slides: 3,000 credits (30 pages × 100 credits)
|
|
98
|
+
- Narration: 3,300 credits (30 pages × 110 credits - voice only)
|
|
99
|
+
- **Cost with 10,000 package:** $14.18
|
|
100
|
+
- **Cost with 40,000 package:** $12.60
|
|
101
|
+
|
|
102
|
+
### Scenario 4: High-Resolution Portfolio
|
|
103
|
+
- **Need:** 10-slide 4K Nano Banana presentation
|
|
104
|
+
- **Credits required:** 2,000 credits (10 pages × 200 credits)
|
|
105
|
+
- **Cost with 4,000 package:** $4.75
|
|
106
|
+
- **Cost with 40,000 package:** $4.00
|
|
107
|
+
|
|
108
|
+
### Scenario 5: Complete Package
|
|
109
|
+
- **Need:** 25-slide 2K presentation with narration, exported as PNG/WAV
|
|
110
|
+
- **Credits required:** 5,250 credits
|
|
111
|
+
- Slides: 2,500 credits (25 pages × 100 credits)
|
|
112
|
+
- Narration: 2,750 credits (25 pages × 110 credits - voice only)
|
|
113
|
+
- Export: 0 credits (FREE)
|
|
114
|
+
- **Cost with 10,000 package:** $11.81
|
|
115
|
+
- **Cost with 40,000 package:** $10.50
|
|
116
|
+
|
|
117
|
+
## Payment Methods
|
|
118
|
+
|
|
119
|
+
Accepted payment methods via Stripe:
|
|
120
|
+
- Major credit cards (Visa, Mastercard, American Express, Discover)
|
|
121
|
+
- Apple Pay
|
|
122
|
+
- Google Pay
|
|
123
|
+
|
|
124
|
+
## Refund Policy
|
|
125
|
+
|
|
126
|
+
- **3-day refund window** after purchase
|
|
127
|
+
- Contact support through https://2slides.com for refund requests
|
|
128
|
+
- Credits must not have been substantially used
|
|
129
|
+
|
|
130
|
+
## Enterprise & Team Plans
|
|
131
|
+
|
|
132
|
+
Currently in development. For high-volume or team needs, contact 2slides support through https://2slides.com.
|
|
133
|
+
|
|
134
|
+
## Checking Your Credit Balance
|
|
135
|
+
|
|
136
|
+
**Via Web:**
|
|
137
|
+
1. Visit https://2slides.com/api
|
|
138
|
+
2. Log in to your account
|
|
139
|
+
3. View your dashboard for current credit balance and usage history
|
|
140
|
+
|
|
141
|
+
**Via API:**
|
|
142
|
+
- Credit balance is returned in API error responses when insufficient
|
|
143
|
+
- Check account page for detailed usage tracking
|
|
144
|
+
|
|
145
|
+
## Credit Expiration
|
|
146
|
+
|
|
147
|
+
**Credits NEVER expire.** Purchase credits and use them at your own pace without time pressure.
|
|
148
|
+
|
|
149
|
+
## Best Practices for Credit Management
|
|
150
|
+
|
|
151
|
+
1. **Start with free credits** - Use your 500 free credits to test features
|
|
152
|
+
2. **Calculate needs** - Estimate your typical usage before purchasing
|
|
153
|
+
3. **Buy in bulk** - Larger packages offer better value (up to 20% off)
|
|
154
|
+
4. **Monitor usage** - Check your dashboard regularly to track consumption
|
|
155
|
+
5. **Plan ahead** - Buy credits before you need them to take advantage of promotions
|
|
156
|
+
|
|
157
|
+
## Rate Limits
|
|
158
|
+
|
|
159
|
+
Credit purchases do not affect API rate limits:
|
|
160
|
+
- Fast PPT: 10 requests per minute
|
|
161
|
+
- Nano Banana: 6 requests per minute
|
|
162
|
+
|
|
163
|
+
Rate limits are based on API tier, not credit balance.
|
|
164
|
+
|
|
165
|
+
## Common Questions
|
|
166
|
+
|
|
167
|
+
**Q: Do credits expire?**
|
|
168
|
+
A: No, credits never expire.
|
|
169
|
+
|
|
170
|
+
**Q: Can I get a refund?**
|
|
171
|
+
A: Yes, within 3 days of purchase if credits haven't been substantially used.
|
|
172
|
+
|
|
173
|
+
**Q: What happens if I run out of credits?**
|
|
174
|
+
A: API requests will return an INSUFFICIENT_CREDITS error. Purchase more credits to continue.
|
|
175
|
+
|
|
176
|
+
**Q: Can I share credits with my team?**
|
|
177
|
+
A: Currently, credits are tied to individual API keys. Team plans are in development.
|
|
178
|
+
|
|
179
|
+
**Q: Are there discounts for students or nonprofits?**
|
|
180
|
+
A: Contact 2slides support for special pricing inquiries.
|
|
181
|
+
|
|
182
|
+
**Q: How do I know how many credits I have left?**
|
|
183
|
+
A: Check your dashboard at https://2slides.com/api
|
|
184
|
+
|
|
185
|
+
## Resources
|
|
186
|
+
|
|
187
|
+
- **Purchase Credits:** https://2slides.com/pricing
|
|
188
|
+
- **API Dashboard:** https://2slides.com/api
|
|
189
|
+
- **Main Website:** https://2slides.com
|
|
190
|
+
- **API Documentation:** See api-reference.md
|
|
191
|
+
- **Skill Guide:** See SKILL.md
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
*Pricing information last updated: 2026-02-10*
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
2slides API allowed parameter values. Aligned with https://2slides.com/api.md
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
API_BASE_URL = "https://2slides.com/api/v1"
|
|
7
|
+
|
|
8
|
+
# responseLanguage (all endpoints that accept it)
|
|
9
|
+
RESPONSE_LANGUAGES = [
|
|
10
|
+
"Auto",
|
|
11
|
+
"English",
|
|
12
|
+
"Spanish",
|
|
13
|
+
"Arabic",
|
|
14
|
+
"Portuguese",
|
|
15
|
+
"Indonesian",
|
|
16
|
+
"Japanese",
|
|
17
|
+
"Russian",
|
|
18
|
+
"Hindi",
|
|
19
|
+
"French",
|
|
20
|
+
"German",
|
|
21
|
+
"Greek",
|
|
22
|
+
"Vietnamese",
|
|
23
|
+
"Turkish",
|
|
24
|
+
"Polish",
|
|
25
|
+
"Italian",
|
|
26
|
+
"Korean",
|
|
27
|
+
"Simplified Chinese",
|
|
28
|
+
"Traditional Chinese",
|
|
29
|
+
"Thai",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
# aspectRatio (create-like-this, create-pdf-slides)
|
|
33
|
+
ASPECT_RATIOS = [
|
|
34
|
+
"1:1",
|
|
35
|
+
"2:3",
|
|
36
|
+
"3:2",
|
|
37
|
+
"3:4",
|
|
38
|
+
"4:3",
|
|
39
|
+
"4:5",
|
|
40
|
+
"5:4",
|
|
41
|
+
"9:16",
|
|
42
|
+
"16:9",
|
|
43
|
+
"21:9",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
# resolution (create-like-this, create-pdf-slides)
|
|
47
|
+
RESOLUTIONS = ["1K", "2K", "4K"]
|
|
48
|
+
|
|
49
|
+
# contentDetail / contentMode
|
|
50
|
+
CONTENT_DETAILS = ["concise", "standard"]
|
|
51
|
+
|
|
52
|
+
# mode (generate, create-like-this, create-pdf-slides)
|
|
53
|
+
MODES = ["sync", "async"]
|
|
54
|
+
|
|
55
|
+
# generate-narration: Supported Voices (30 total, from API doc)
|
|
56
|
+
NARRATION_VOICES = [
|
|
57
|
+
"Puck",
|
|
58
|
+
"Aoede",
|
|
59
|
+
"Charon",
|
|
60
|
+
"Kore",
|
|
61
|
+
"Fenrir",
|
|
62
|
+
"Zephyr",
|
|
63
|
+
"Leda",
|
|
64
|
+
"Orus",
|
|
65
|
+
"Callirrhoe",
|
|
66
|
+
"Autonoe",
|
|
67
|
+
"Enceladus",
|
|
68
|
+
"Iapetus",
|
|
69
|
+
"Umbriel",
|
|
70
|
+
"Algieba",
|
|
71
|
+
"Despina",
|
|
72
|
+
"Erinome",
|
|
73
|
+
"Algenib",
|
|
74
|
+
"Rasalgethi",
|
|
75
|
+
"Laomedeia",
|
|
76
|
+
"Achernar",
|
|
77
|
+
"Alnilam",
|
|
78
|
+
"Schedar",
|
|
79
|
+
"Gacrux",
|
|
80
|
+
"Pulcherrima",
|
|
81
|
+
"Achird",
|
|
82
|
+
"Zubenelgenubi",
|
|
83
|
+
"Vindemiatrix",
|
|
84
|
+
"Sadachbia",
|
|
85
|
+
"Sadaltager",
|
|
86
|
+
"Sulafat",
|
|
87
|
+
]
|