AI-powered presentation generation using 2slides API. Create slides from text content, match reference image styles, or summarize documents into presentations. Use when users request to "create a presentation", "make slides", "generate a deck", "create slides from this content/document/image", or any presentation creation task. Supports theme selection, multiple languages, and both synchronous and asynchronous generation modes.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Instruções da origem · Visualização somente leitura
name
2slides
description
AI-powered presentation generation using 2slides API. Create slides from text content, match reference image styles, or summarize documents into presentations. Use when users request to "create a presentation", "make slides", "generate a deck", "create slides from this content/document/image", or any presentation creation task. Supports theme selection, multiple languages, and both synchronous and asynchronous generation modes.
2slides Presentation Generation
Generate professional presentations using the 2slides AI API. Supports content-based generation, style matching from reference images, and document summarization.
Choose the appropriate approach based on the user's request:
User Request
│
├─ "Create slides from this content/text"
│ └─> Use Content-Based Generation (Section 1)
│
├─ "Create slides like this image"
│ └─> Use Reference Image Generation (Section 2)
│
├─ "Create custom designed slides" or "Create PDF slides"
│ └─> Use Custom PDF Generation (Section 3)
│
├─ "Create slides from this document"
│ └─> Use Document Summarization (Section 4)
│
├─ "Add voice narration" or "Generate audio for slides"
│ └─> Use Voice Narration (Section 5)
│
├─ "Download slides as images" or "Export slides and voices"
│ └─> Use Download Export (Section 6)
│
└─ "Search for themes" or "What themes are available?"
└─> Use Theme Search (Section 7)
1. Content-Based Generation
Generate slides from user-provided text content.
When to Use
User provides content directly in their message
User says "create a presentation about X"
User provides structured outline or bullet points
Workflow
Step 1: Prepare Content
Structure the content clearly for best results:
Title: [Main Topic]
Section 1: [Subtopic]
- Key point 1
- Key point 2
- Key point 3
Section 2: [Subtopic]
- Key point 1
- Key point 2
Step 2: Choose Theme (Required)
Search for an appropriate theme (themeId is required):
--aspect-ratio "16:9"# width:height format (e.g., "16:9", "4:3")
--resolution "2K"# "1K", "2K" (default), or "4K"
--page 5 # Number of slides (0 for auto-detection, max 100)
--content-detail "concise"# "concise" (brief) or "standard" (detailed)
Note: This uses Nano Banana Pro mode with credit costs:
1K/2K: 100 credits per page
4K: 200 credits per page
Step 3: Handle Results
This mode always runs synchronously and returns:
{"slideUrl":"https://2slides.com/workspace?jobId=...","pdfUrl":"https://...pdf...","status":"completed","message":"Successfully generated N slides","slidePageCount": N
}
Provide both URLs to the user:
slideUrl: View slides in 2slides workspace
pdfUrl: Direct PDF download (expires in 1 hour)
Processing time: ~30 seconds per page (30-60 seconds typical for 1-2 pages)
3. Custom PDF Generation
Generate custom-designed slides from text without needing a reference image.
When to Use
User wants custom design without providing a reference image
User requests "create PDF slides"
User wants to specify design characteristics
Alternative to theme-based generation with more design flexibility
Workflow
Step 1: Prepare Content
Structure the content clearly:
Title: [Main Topic]
Section 1: [Subtopic]
- Key point 1
- Key point 2
Section 2: [Subtopic]
- Key point 1
- Key point 2
Step 2: Generate Slides
Use the create_pdf_slides.py script:
# Basic generation
python scripts/create_pdf_slides.py --content "Your content here"# With design specifications
python scripts/create_pdf_slides.py \
--content "Sales Report Q4 2025" \
--design-spec "modern minimalist, blue color scheme"# High resolution with auto page detection
python scripts/create_pdf_slides.py \
--content "Marketing Plan" \
--resolution "4K" \
--page 0 \
--content-detail "standard"
Optional parameters:
--design-spec "text"# Design specifications (e.g., "corporate professional")
--aspect-ratio "16:9"# width:height format
--resolution "2K"# "1K", "2K" (default), or "4K"
--page 5 # Number of slides (0 for auto-detection, max 100)
--content-detail "concise"# "concise" (brief) or "standard" (detailed)
--language "Auto"# Language for content
Step 3: Handle Results
Returns same structure as create-like-this:
{"slideUrl":"https://2slides.com/workspace?jobId=...","pdfUrl":"https://...pdf...","status":"completed","message":"Successfully generated N slides","slidePageCount": N
}
Notes:
Same credit costs as create-like-this (100 credits/page for 1K/2K, 200 for 4K)
Processing time: ~30 seconds per page
Automatically generates PDF
Uses AI to create custom design based on content and specs
4. Document Summarization
Generate slides from document content.
When to Use
User uploads a document (PDF, DOCX, TXT, etc.)
User says "create slides from this document"
User wants to summarize long content into presentation format
Workflow
Step 1: Read Document
Use appropriate tool to read the document content:
PDF: Use PDF reading tools
DOCX: Use DOCX reading tools
TXT/MD: Use Read tool
Step 2: Extract Key Points
Analyze the document and extract:
Main topics and themes
Key points for each section
Important data, quotes, or examples
Logical flow and structure
Step 3: Structure Content
Format extracted information into presentation structure:
Title: [Document Main Topic]
Introduction
- Context
- Purpose
- Overview
[Section 1 from document]
- Key point 1
- Key point 2
- Supporting detail
[Section 2 from document]
- Key point 1
- Key point 2
- Supporting detail
Conclusion
- Summary
- Key takeaways
- Next steps
Step 4: Generate Slides
Use content-based generation workflow (Section 1). First search for a theme, then generate:
# Search for appropriate theme
python scripts/search_themes.py --query "business"# Generate with theme ID
python scripts/generate_slides.py --content "[Structured content from step 3]" --theme-id "theme123"
Tips:
Keep slides concise (3-5 points per slide)
Focus on key insights, not full text
Use document headings as slide titles
Include important statistics or quotes
Ask user if they want specific sections highlighted
5. Voice Narration
Add AI-generated voice narration to slides.
When to Use
User wants to add audio to slides
User requests "add voice narration" or "generate audio"
User wants presentations with spoken content
User needs multi-speaker narration
Prerequisites
IMPORTANT: The slide generation job must be completed before adding narration.
Generate slides first using any method (Section 1, 2, 3, or 4)
Get the job ID from the generation result
Ensure job status is "completed" before requesting narration