Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "Erstellen Sie PowerPoint-Präsentationen aus Themen, Zusammenfassungen oder YouTube-Videos mit AI.",
|
||||
"Access ID": "Zugangs-ID",
|
||||
"Email": "E-Mail",
|
||||
"Enter your MagicSlides Access ID": "Geben Sie Ihre MagicSlides Access-ID ein",
|
||||
"Enter your registered email address.": "Geben Sie Ihre registrierte E-Mail-Adresse ein.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Gib deine MagicSlides Access ID (API-Schlüssel) ein.**\n---\n### Wie du deinen API-Schlüssel\nerhältst. Melden Sie sich an oder melden Sie sich bei [magicslides.app]an (https://www.magicslides.app/).\n2. Gehen Sie zu **Dashboard → API**.\n3. Kopieren Sie Ihre **Access ID** und fügen Sie sie hier ein.\n4. Kopieren Sie Ihre registrierte E-Mail-Adresse und fügen Sie sie hier ein.\n",
|
||||
"Create PPT from Topic": "PPT aus Thema erstellen",
|
||||
"Create PPT from Text/Summary": "PPT aus Text/Zusammenfassung erstellen",
|
||||
"Create PPT from YouTube Video": "PPT aus YouTube-Video erstellen",
|
||||
"Generates a PPT presentation from a given topic.": "Erzeugt eine PPT-Präsentation aus einem bestimmten Thema.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Erzeugt eine PPT-Präsentation aus der übergebenen Text- oder Zusammenfassung.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Erzeugt eine PPT-Präsentation aus einem YouTube-Video-Link.",
|
||||
"Topic": "Thema",
|
||||
"Number of slides": "Anzahl der Folien",
|
||||
"Language": "Sprache",
|
||||
"Template": "Vorlage",
|
||||
"AI Model": "KI-Modell",
|
||||
"Extra Information Source": "Zusätzliche Informationsquelle",
|
||||
"Use AI Images": "KI-Bilder verwenden",
|
||||
"Image for Each Slide": "Bild für jede Folie",
|
||||
"Use Google Images": "Google Bilder verwenden",
|
||||
"Use Google Text": "Google Text verwenden",
|
||||
"Include images": "Bilder einschließen",
|
||||
"Presentation For (Audience)": "Präsentation für (Ziel)",
|
||||
"Watermark": "Wasserzeichen",
|
||||
"Summary Text": "Zusammenfassung Text",
|
||||
"Number of Slides": "Anzahl der Folien",
|
||||
"YouTube Video URL": "YouTube-Video-URL",
|
||||
"Enable AI Images": "AI-Bilder aktivieren",
|
||||
"Include Image on Every Slide": "Bild auf jeder Folie einbeziehen",
|
||||
"Enhance Content with Google Search": "Inhalte mit Google-Suche verbessern",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Geben Sie eine URL oder einen Text an, um einen zusätzlichen Kontext für die Präsentation zu geben.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Füge ein Wasserzeichen zur Präsentation hinzu. Beispiel: {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "Optionales Wasserzeichen z.B. {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"Unten rechts\"}",
|
||||
"English": "Englisch",
|
||||
"Hindi": "Hannah",
|
||||
"Spanish": "Spanisch",
|
||||
"French": "Französisch",
|
||||
"German": "Deutsch",
|
||||
"Chinese": "Chinesisch",
|
||||
"Bullet Point 1 (default)": "Kugelpunkt 1 (Standard)",
|
||||
"Bullet Point 2": "Kugelpunkt 2",
|
||||
"Bullet Point 4": "Kugelpunkt Punkt 4",
|
||||
"Bullet Point 5": "Kugelpunkt 5",
|
||||
"Bullet Point 6": "Kugel Punkt 6",
|
||||
"Bullet Point 7": "Kugelpunkt Punkt 7",
|
||||
"Bullet Point 8": "Kugelpunkt 8",
|
||||
"Bullet Point 9": "Kugelpunkt 9",
|
||||
"Bullet Point 10": "Kugelpunkt 10",
|
||||
"Pitch Deck Original": "Tonstapel Original",
|
||||
"Pitch Deck 2": "Neigungstapel 2",
|
||||
"Pitch Deck 3": "Neigungstapel 3",
|
||||
"Custom 2": "Eigene 2",
|
||||
"Custom 3": "Eigene 3",
|
||||
"Vertical Bullet Point 1": "Vertikale Kugel Punkt 1",
|
||||
"Vertical Custom 1": "Vertikaler Benutzerdefiniert 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Kugelpunkt 1",
|
||||
"Custom Dark 1": "Eigenes Dunkles 1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "Crea presentaciones de PowerPoint a partir de temas, resúmenes o vídeos de YouTube usando AI.",
|
||||
"Access ID": "ID de acceso",
|
||||
"Email": "E-mail",
|
||||
"Enter your MagicSlides Access ID": "Introduzca su ID de acceso de MagicSlides",
|
||||
"Enter your registered email address.": "Introduzca su dirección de correo electrónico registrada.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n",
|
||||
"Create PPT from Topic": "Crear PPT desde el tema",
|
||||
"Create PPT from Text/Summary": "Crear PPT desde Texto/Resumen",
|
||||
"Create PPT from YouTube Video": "Crear PPT desde vídeo de YouTube",
|
||||
"Generates a PPT presentation from a given topic.": "Genera una presentación PPT a partir de un tema determinado.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Genera una presentación PPT a partir del texto o resumen proporcionados.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Genera una presentación PPT a partir de un enlace de vídeo de YouTube.",
|
||||
"Topic": "Tema",
|
||||
"Number of slides": "Número de diapositivas",
|
||||
"Language": "Idioma",
|
||||
"Template": "Plantilla",
|
||||
"AI Model": "Modelo AI",
|
||||
"Extra Information Source": "Fuente de información adicional",
|
||||
"Use AI Images": "Usar Imágenes IA",
|
||||
"Image for Each Slide": "Imagen para cada diapositiva",
|
||||
"Use Google Images": "Usar imágenes de Google",
|
||||
"Use Google Text": "Usar Google Text",
|
||||
"Include images": "Incluye imágenes",
|
||||
"Presentation For (Audience)": "Presencia para (audiencia)",
|
||||
"Watermark": "Marca de agua",
|
||||
"Summary Text": "Texto del resumen",
|
||||
"Number of Slides": "Número de diapositivas",
|
||||
"YouTube Video URL": "URL del vídeo de YouTube",
|
||||
"Enable AI Images": "Activar Imágenes IA",
|
||||
"Include Image on Every Slide": "Incluye imagen en cada diapositiva",
|
||||
"Enhance Content with Google Search": "Mejorar contenido con Google Search",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Proporciona una URL o un texto para dar contexto adicional para la presentación.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Añadir una marca de agua a la presentación. ej., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight \"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "Marca de agua opcional, por ejemplo, {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight \"}",
|
||||
"English": "Inglés",
|
||||
"Hindi": "Hindú",
|
||||
"Spanish": "Español",
|
||||
"French": "Francés",
|
||||
"German": "Alemán",
|
||||
"Chinese": "Chino",
|
||||
"Bullet Point 1 (default)": "Punto de bala 1 (por defecto)",
|
||||
"Bullet Point 2": "Punto de bala 2",
|
||||
"Bullet Point 4": "Punto de bala 4",
|
||||
"Bullet Point 5": "Punto 5 de bala",
|
||||
"Bullet Point 6": "Punto de bala 6",
|
||||
"Bullet Point 7": "Punto de bala 7",
|
||||
"Bullet Point 8": "Punto de bala 8",
|
||||
"Bullet Point 9": "Punto de bala 9",
|
||||
"Bullet Point 10": "Punto 10 de bala",
|
||||
"Pitch Deck Original": "Mazo de tono original",
|
||||
"Pitch Deck 2": "Maceta de tono 2",
|
||||
"Pitch Deck 3": "Maceta de tono 3",
|
||||
"Custom 2": "Personalizado 2",
|
||||
"Custom 3": "Personalizado 3",
|
||||
"Vertical Bullet Point 1": "Punto de bala vertical 1",
|
||||
"Vertical Custom 1": "Personalizado vertical 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Punto de bala 1",
|
||||
"Custom Dark 1": "Personalizado oscuro 1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "Créez des présentations PowerPoint à partir de sujets, de résumés ou de vidéos YouTube à l'aide d'AI.",
|
||||
"Access ID": "ID d'accès",
|
||||
"Email": "Courriel",
|
||||
"Enter your MagicSlides Access ID": "Entrez votre ID d'accès MagicSlides",
|
||||
"Enter your registered email address.": "Entrez votre adresse e-mail enregistrée.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n",
|
||||
"Create PPT from Topic": "Créer un PPT à partir du sujet",
|
||||
"Create PPT from Text/Summary": "Créer un PPT à partir du texte/résumé",
|
||||
"Create PPT from YouTube Video": "Créer un PPT depuis une vidéo YouTube",
|
||||
"Generates a PPT presentation from a given topic.": "Génère une présentation PPT à partir d'un sujet donné.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Génère une présentation PPT à partir du texte ou du résumé fourni.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Génère une présentation PPT à partir d'un lien vidéo YouTube.",
|
||||
"Topic": "Sujet",
|
||||
"Number of slides": "Nombre de diapositives",
|
||||
"Language": "Langue",
|
||||
"Template": "Gabarit",
|
||||
"AI Model": "Modèle IA",
|
||||
"Extra Information Source": "Source d'information supplémentaire",
|
||||
"Use AI Images": "Utiliser les images AI",
|
||||
"Image for Each Slide": "Image pour chaque diapositive",
|
||||
"Use Google Images": "Utiliser Google Images",
|
||||
"Use Google Text": "Utiliser le texte Google",
|
||||
"Include images": "Inclure les images",
|
||||
"Presentation For (Audience)": "Présentation pour (audience)",
|
||||
"Watermark": "Filigrane",
|
||||
"Summary Text": "Texte de résumé",
|
||||
"Number of Slides": "Nombre de diapositives",
|
||||
"YouTube Video URL": "URL de la vidéo YouTube",
|
||||
"Enable AI Images": "Activer les images IA",
|
||||
"Include Image on Every Slide": "Inclure l'image sur chaque diapositive",
|
||||
"Enhance Content with Google Search": "Améliorer le contenu avec la recherche Google",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Fournir une URL ou un texte pour donner un contexte supplémentaire à la présentation.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Ajouter un filigrane à la présentation. Par exemple, {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"Bas-Droite\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "filigrane optionnel ex : {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"Bas Droite\"}",
|
||||
"English": "Anglais",
|
||||
"Hindi": "Hindi",
|
||||
"Spanish": "Espagnol",
|
||||
"French": "Français",
|
||||
"German": "Allemand",
|
||||
"Chinese": "Chinois",
|
||||
"Bullet Point 1 (default)": "Balle Point 1 (par défaut)",
|
||||
"Bullet Point 2": "Balle point 2",
|
||||
"Bullet Point 4": "Balle Pointe 4",
|
||||
"Bullet Point 5": "Balle point 5",
|
||||
"Bullet Point 6": "Balle Point 6",
|
||||
"Bullet Point 7": "Balle Pointe 7",
|
||||
"Bullet Point 8": "Balle Point 8",
|
||||
"Bullet Point 9": "Balle point 9",
|
||||
"Bullet Point 10": "Balle Pointe 10",
|
||||
"Pitch Deck Original": "Pitch Deck Original",
|
||||
"Pitch Deck 2": "Paquet de Pitch 2",
|
||||
"Pitch Deck 3": "Paquet de Pitch 3",
|
||||
"Custom 2": "Personnalisé 2",
|
||||
"Custom 3": "Personnalisé 3",
|
||||
"Vertical Bullet Point 1": "Balle verticale Point 1",
|
||||
"Vertical Custom 1": "Personnalisation verticale 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Balle point 1",
|
||||
"Custom Dark 1": "Noir personnalisé 1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "AIを使用してトピック、サマリー、YouTubeビデオからPowerPointプレゼンテーションを作成します。",
|
||||
"Access ID": "アクセス ID",
|
||||
"Email": "Eメールアドレス",
|
||||
"Enter your MagicSlides Access ID": "MagicSlidesアクセスIDを入力してください",
|
||||
"Enter your registered email address.": "登録したメールアドレスを入力してください。",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n",
|
||||
"Create PPT from Topic": "トピックからPPTを作成",
|
||||
"Create PPT from Text/Summary": "テキスト/サマリーからPPTを作成",
|
||||
"Create PPT from YouTube Video": "YouTubeビデオからPPTを作成",
|
||||
"Generates a PPT presentation from a given topic.": "特定のトピックからPPTプレゼンテーションを生成します。",
|
||||
"Generates a PPT presentation from provided text or summary.": "提供されたテキストまたは要約からPPTプレゼンテーションを生成します。",
|
||||
"Generates a PPT presentation from a YouTube video link.": "YouTube 動画リンクからプレゼンテーションを生成します。",
|
||||
"Topic": "トピック",
|
||||
"Number of slides": "スライドの数",
|
||||
"Language": "言語",
|
||||
"Template": "テンプレート",
|
||||
"AI Model": "AIモデル",
|
||||
"Extra Information Source": "追加情報 ソース",
|
||||
"Use AI Images": "AI画像を使用",
|
||||
"Image for Each Slide": "各スライドの画像",
|
||||
"Use Google Images": "Google画像を使用",
|
||||
"Use Google Text": "Googleテキストを使用する",
|
||||
"Include images": "画像を含める",
|
||||
"Presentation For (Audience)": "プレゼンテーション (オーディエンス)",
|
||||
"Watermark": "ウォーターマーク",
|
||||
"Summary Text": "サマリーテキスト",
|
||||
"Number of Slides": "スライドの数",
|
||||
"YouTube Video URL": "YouTube 動画の URL",
|
||||
"Enable AI Images": "AI画像を有効にする",
|
||||
"Include Image on Every Slide": "すべてのスライドに画像を含める",
|
||||
"Enhance Content with Google Search": "Google 検索でコンテンツを強化",
|
||||
"Provide a URL or text to give additional context for the presentation.": "プレゼンテーションに追加のコンテキストを与えるためにURLまたはテキストを入力します。",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "プレゼンテーションに透かしを追加します。例えば、{\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "オプションの透かし例えば、{\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}",
|
||||
"English": "日本語",
|
||||
"Hindi": "ヒンディー語",
|
||||
"Spanish": "スペイン語",
|
||||
"French": "フランス語",
|
||||
"German": "ドイツ語",
|
||||
"Chinese": "中国語",
|
||||
"Bullet Point 1 (default)": "弾丸ポイント1(デフォルト)",
|
||||
"Bullet Point 2": "弾丸pt2",
|
||||
"Bullet Point 4": "弾丸pt4",
|
||||
"Bullet Point 5": "弾丸pt5",
|
||||
"Bullet Point 6": "弾丸pt6",
|
||||
"Bullet Point 7": "弾丸pt7",
|
||||
"Bullet Point 8": "弾丸pt8",
|
||||
"Bullet Point 9": "弾丸pt9",
|
||||
"Bullet Point 10": "弾丸pt10",
|
||||
"Pitch Deck Original": "ピッチデッキオリジナル",
|
||||
"Pitch Deck 2": "ピッチデッキ 2",
|
||||
"Pitch Deck 3": "ピッチデッキ 3",
|
||||
"Custom 2": "カスタム 2",
|
||||
"Custom 3": "カスタム 3",
|
||||
"Vertical Bullet Point 1": "垂直方向の箇条書きポイント 1",
|
||||
"Vertical Custom 1": "縦方向のカスタム 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "弾丸pt1",
|
||||
"Custom Dark 1": "カスタムダーク1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "PowerPoint presentaties maken van topics, samenvattingen of YouTube video's met behulp van AI.",
|
||||
"Access ID": "Toegang ID",
|
||||
"Email": "E-mail",
|
||||
"Enter your MagicSlides Access ID": "Voer je MagicSlides toegangs-ID in",
|
||||
"Enter your registered email address.": "Voer uw geregistreerde e-mailadres in.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Voer je MagicSlides Access ID (API sleutel).**\n---\n### Hoe je je API key\n1 kunt verkrijgen. Registreer of log in bij [magicslides.app](https://www.magicslides.app/).\n2. Ga naar **Dashboard → API**.\n3. Kopieer je **Toegang-ID** en plak het hier.\n4. Kopieer en plak hier je geregistreerde e-mailadres en plak het hier.\n",
|
||||
"Create PPT from Topic": "Maak PPT van onderwerp",
|
||||
"Create PPT from Text/Summary": "PPT aanmaken vanuit Tekst/samenvatting",
|
||||
"Create PPT from YouTube Video": "Maak PPT aan vanuit YouTube Video",
|
||||
"Generates a PPT presentation from a given topic.": "Genereert een PPT-presentatie van een bepaald topic.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Genereert een PPT-presentatie van de geleverde tekst of samenvatting.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Genereert een PPT-presentatie vanuit een YouTube-videolink.",
|
||||
"Topic": "Onderwerp",
|
||||
"Number of slides": "Aantal dia's",
|
||||
"Language": "Taal",
|
||||
"Template": "Sjabloon",
|
||||
"AI Model": "AI model",
|
||||
"Extra Information Source": "Extra informatie bron",
|
||||
"Use AI Images": "Gebruik AI Afbeeldingen",
|
||||
"Image for Each Slide": "Afbeelding voor elke slide",
|
||||
"Use Google Images": "Gebruik Google Afbeeldingen",
|
||||
"Use Google Text": "Gebruik Google Text",
|
||||
"Include images": "Afbeeldingen opnemen",
|
||||
"Presentation For (Audience)": "Presentatie voor (Audience)",
|
||||
"Watermark": "Watermerk",
|
||||
"Summary Text": "Samenvatting tekst",
|
||||
"Number of Slides": "Aantal dia's",
|
||||
"YouTube Video URL": "YouTube Video URL",
|
||||
"Enable AI Images": "AI afbeeldingen inschakelen",
|
||||
"Include Image on Every Slide": "Afbeelding op elke slide weergeven",
|
||||
"Enhance Content with Google Search": "Verbeter inhoud met Google zoeken",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Geef een URL of tekst op om extra context te geven voor de presentatie.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Voeg een watermerk toe aan de presentatie. Bijvoorbeeld: {\"width\": \"48\", \"hoogte\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "Optioneel watermerk, bijvoorbeeld: {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}",
|
||||
"English": "Nederlands",
|
||||
"Hindi": "Hindoestani",
|
||||
"Spanish": "Spaans",
|
||||
"French": "Frans",
|
||||
"German": "Duits",
|
||||
"Chinese": "Chinees",
|
||||
"Bullet Point 1 (default)": "Kogel punt 1 (standaard)",
|
||||
"Bullet Point 2": "Kogelpunt 2",
|
||||
"Bullet Point 4": "Kogelpunt 4",
|
||||
"Bullet Point 5": "Kogelpunt 5",
|
||||
"Bullet Point 6": "Kogelpunt 6",
|
||||
"Bullet Point 7": "Kogelpunt 7",
|
||||
"Bullet Point 8": "Kogelpunt 8",
|
||||
"Bullet Point 9": "Kogelpunt 9",
|
||||
"Bullet Point 10": "Kogelpunt 10",
|
||||
"Pitch Deck Original": "Pitch Deck Origineel",
|
||||
"Pitch Deck 2": "Pitch dek 2",
|
||||
"Pitch Deck 3": "Pitch dek 3",
|
||||
"Custom 2": "Vrij veld 2",
|
||||
"Custom 3": "Vrij veld 3",
|
||||
"Vertical Bullet Point 1": "Verticale kogel punt 1",
|
||||
"Vertical Custom 1": "Verticaal Aangepast 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Kogelpunt 1",
|
||||
"Custom Dark 1": "Eigen donker 1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "Crie apresentações PowerPoint a partir de tópicos, resumos ou vídeos do YouTube usando AI.",
|
||||
"Access ID": "ID de acesso",
|
||||
"Email": "e-mail",
|
||||
"Enter your MagicSlides Access ID": "Digite seu ID de Acesso ao MagicSlides",
|
||||
"Enter your registered email address.": "Insira seu endereço de e-mail registrado.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Digite seu ID de Acesso MagicSlides (chave de API).**\n---\n### Como obter a sua chave de API\n1. Registre-se ou faça login no [magicslides.app](https://www.magicslides.app/).\n2. Vá para **Dashboard → API**.\n3. Copie seu **ID de acesso** e cole-o aqui.\n4. E copie o seu endereço de e-mail registrado e cole aqui.\n",
|
||||
"Create PPT from Topic": "Criar PPT do Tópico",
|
||||
"Create PPT from Text/Summary": "Criar PPT de Texto/Resumo",
|
||||
"Create PPT from YouTube Video": "Criar PPT a partir do vídeo do YouTube",
|
||||
"Generates a PPT presentation from a given topic.": "Gera uma apresentação PPT de um determinado tópico.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Gera uma apresentação PPT a partir do texto ou resumo fornecido.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Gera uma apresentação PPT a partir de um link de vídeo do YouTube.",
|
||||
"Topic": "Tópico",
|
||||
"Number of slides": "Número de slides",
|
||||
"Language": "IDIOMA",
|
||||
"Template": "Modelo",
|
||||
"AI Model": "Modelo IA",
|
||||
"Extra Information Source": "Fonte da informação extra",
|
||||
"Use AI Images": "Usar imagens IA",
|
||||
"Image for Each Slide": "Imagem para cada slide",
|
||||
"Use Google Images": "Usar Imagens do Google",
|
||||
"Use Google Text": "Usar texto do Google",
|
||||
"Include images": "Incluir imagens",
|
||||
"Presentation For (Audience)": "Apresentação para (audiência)",
|
||||
"Watermark": "Marca d'água",
|
||||
"Summary Text": "Texto do Resumo",
|
||||
"Number of Slides": "Número de slides",
|
||||
"YouTube Video URL": "URL do Vídeo do YouTube",
|
||||
"Enable AI Images": "Ativar imagens IA",
|
||||
"Include Image on Every Slide": "Incluir imagem em cada slide",
|
||||
"Enhance Content with Google Search": "Melhore o Conteúdo com o Google Search",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Forneça uma URL ou texto para fornecer um contexto adicional para a apresentação.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Adicione uma marca d'água na apresentação. Por exemplo, {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "Marca d'água opcional, por exemplo, {\"largura\":\"48\",\"altura\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}",
|
||||
"English": "Portuguese-Brazil",
|
||||
"Hindi": "hindi",
|
||||
"Spanish": "espanhol",
|
||||
"French": "francês",
|
||||
"German": "alemão",
|
||||
"Chinese": "chinês",
|
||||
"Bullet Point 1 (default)": "Ponto de Bala 1 (padrão)",
|
||||
"Bullet Point 2": "Ponto de Bala 2",
|
||||
"Bullet Point 4": "Ponto de Bala 4",
|
||||
"Bullet Point 5": "Bullet Ponto 5",
|
||||
"Bullet Point 6": "Ponto de Bala 6",
|
||||
"Bullet Point 7": "Bullet Ponto 7",
|
||||
"Bullet Point 8": "Ponto de Bala 8",
|
||||
"Bullet Point 9": "Bullet Ponto 9",
|
||||
"Bullet Point 10": "Bullet Ponto 10",
|
||||
"Pitch Deck Original": "Deck de Tom Original",
|
||||
"Pitch Deck 2": "Deck de Tom 2",
|
||||
"Pitch Deck 3": "Deck de Tom 3",
|
||||
"Custom 2": "Personalizado 2",
|
||||
"Custom 3": "Personalizado 3",
|
||||
"Vertical Bullet Point 1": "Ponto de Bala Vertical 1",
|
||||
"Vertical Custom 1": "Personalizado Vertical 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Ponto de Bala 1",
|
||||
"Custom Dark 1": "Personalizado escuro 1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.",
|
||||
"Access ID": "Access ID",
|
||||
"Email": "Email",
|
||||
"Enter your MagicSlides Access ID": "Enter your MagicSlides Access ID",
|
||||
"Enter your registered email address.": "Enter your registered email address.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n",
|
||||
"Create PPT from Topic": "Create PPT from Topic",
|
||||
"Create PPT from Text/Summary": "Create PPT from Text/Summary",
|
||||
"Create PPT from YouTube Video": "Create PPT from YouTube Video",
|
||||
"Generates a PPT presentation from a given topic.": "Generates a PPT presentation from a given topic.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Generates a PPT presentation from provided text or summary.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Generates a PPT presentation from a YouTube video link.",
|
||||
"Topic": "Topic",
|
||||
"Number of slides": "Number of slides",
|
||||
"Language": "Language",
|
||||
"Template": "Template",
|
||||
"AI Model": "AI Model",
|
||||
"Extra Information Source": "Extra Information Source",
|
||||
"Use AI Images": "Use AI Images",
|
||||
"Image for Each Slide": "Image for Each Slide",
|
||||
"Use Google Images": "Use Google Images",
|
||||
"Use Google Text": "Use Google Text",
|
||||
"Include images": "Include images",
|
||||
"Presentation For (Audience)": "Presentation For (Audience)",
|
||||
"Watermark": "Watermark",
|
||||
"Summary Text": "Summary Text",
|
||||
"Number of Slides": "Number of Slides",
|
||||
"YouTube Video URL": "YouTube Video URL",
|
||||
"Enable AI Images": "Enable AI Images",
|
||||
"Include Image on Every Slide": "Include Image on Every Slide",
|
||||
"Enhance Content with Google Search": "Enhance Content with Google Search",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Provide a URL or text to give additional context for the presentation.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}",
|
||||
"English": "English",
|
||||
"Hindi": "Hindi",
|
||||
"Spanish": "Spanish",
|
||||
"French": "French",
|
||||
"German": "German",
|
||||
"Chinese": "Chinese",
|
||||
"Bullet Point 1 (default)": "Bullet Point 1 (default)",
|
||||
"Bullet Point 2": "Bullet Point 2",
|
||||
"Bullet Point 4": "Bullet Point 4",
|
||||
"Bullet Point 5": "Bullet Point 5",
|
||||
"Bullet Point 6": "Bullet Point 6",
|
||||
"Bullet Point 7": "Bullet Point 7",
|
||||
"Bullet Point 8": "Bullet Point 8",
|
||||
"Bullet Point 9": "Bullet Point 9",
|
||||
"Bullet Point 10": "Bullet Point 10",
|
||||
"Pitch Deck Original": "Pitch Deck Original",
|
||||
"Pitch Deck 2": "Pitch Deck 2",
|
||||
"Pitch Deck 3": "Pitch Deck 3",
|
||||
"Custom 2": "Custom 2",
|
||||
"Custom 3": "Custom 3",
|
||||
"Vertical Bullet Point 1": "Vertical Bullet Point 1",
|
||||
"Vertical Custom 1": "Vertical Custom 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Bullet Point 1",
|
||||
"Custom Dark 1": "Custom Dark 1"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.": "Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.",
|
||||
"Access ID": "Access ID",
|
||||
"Email": "电子邮件地址",
|
||||
"Enter your MagicSlides Access ID": "Enter your MagicSlides Access ID",
|
||||
"Enter your registered email address.": "Enter your registered email address.",
|
||||
"**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n": "**Enter your MagicSlides Access ID (API key).**\n---\n### How to obtain your API key\n1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).\n2. Go to **Dashboard → API**.\n3. Copy your **Access ID** and paste it here.\n4. And copy your registered email address and paste it here.\n",
|
||||
"Create PPT from Topic": "Create PPT from Topic",
|
||||
"Create PPT from Text/Summary": "Create PPT from Text/Summary",
|
||||
"Create PPT from YouTube Video": "Create PPT from YouTube Video",
|
||||
"Generates a PPT presentation from a given topic.": "Generates a PPT presentation from a given topic.",
|
||||
"Generates a PPT presentation from provided text or summary.": "Generates a PPT presentation from provided text or summary.",
|
||||
"Generates a PPT presentation from a YouTube video link.": "Generates a PPT presentation from a YouTube video link.",
|
||||
"Topic": "Topic",
|
||||
"Number of slides": "Number of slides",
|
||||
"Language": "Language",
|
||||
"Template": "模板",
|
||||
"AI Model": "AI Model",
|
||||
"Extra Information Source": "Extra Information Source",
|
||||
"Use AI Images": "Use AI Images",
|
||||
"Image for Each Slide": "Image for Each Slide",
|
||||
"Use Google Images": "Use Google Images",
|
||||
"Use Google Text": "Use Google Text",
|
||||
"Include images": "Include images",
|
||||
"Presentation For (Audience)": "Presentation For (Audience)",
|
||||
"Watermark": "Watermark",
|
||||
"Summary Text": "Summary Text",
|
||||
"Number of Slides": "Number of Slides",
|
||||
"YouTube Video URL": "YouTube Video URL",
|
||||
"Enable AI Images": "Enable AI Images",
|
||||
"Include Image on Every Slide": "Include Image on Every Slide",
|
||||
"Enhance Content with Google Search": "Enhance Content with Google Search",
|
||||
"Provide a URL or text to give additional context for the presentation.": "Provide a URL or text to give additional context for the presentation.",
|
||||
"Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}": "Add a watermark to the presentation. e.g., {\"width\": \"48\", \"height\": \"48\", \"brandURL\": \"https://...png\", \"position\": \"BottomRight\"}",
|
||||
"Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}": "Optional watermark e.g., {\"width\":\"48\",\"height\":\"48\",\"brandURL\":\"https://...png\",\"position\":\"BottomRight\"}",
|
||||
"English": "English",
|
||||
"Hindi": "Hindi",
|
||||
"Spanish": "Spanish",
|
||||
"French": "French",
|
||||
"German": "German",
|
||||
"Chinese": "Chinese",
|
||||
"Bullet Point 1 (default)": "Bullet Point 1 (default)",
|
||||
"Bullet Point 2": "Bullet Point 2",
|
||||
"Bullet Point 4": "Bullet Point 4",
|
||||
"Bullet Point 5": "Bullet Point 5",
|
||||
"Bullet Point 6": "Bullet Point 6",
|
||||
"Bullet Point 7": "Bullet Point 7",
|
||||
"Bullet Point 8": "Bullet Point 8",
|
||||
"Bullet Point 9": "Bullet Point 9",
|
||||
"Bullet Point 10": "Bullet Point 10",
|
||||
"Pitch Deck Original": "Pitch Deck Original",
|
||||
"Pitch Deck 2": "Pitch Deck 2",
|
||||
"Pitch Deck 3": "Pitch Deck 3",
|
||||
"Custom 2": "Custom 2",
|
||||
"Custom 3": "Custom 3",
|
||||
"Vertical Bullet Point 1": "Vertical Bullet Point 1",
|
||||
"Vertical Custom 1": "Vertical Custom 1",
|
||||
"GPT-4": "GPT-4",
|
||||
"GPT-3.5": "GPT-3.5",
|
||||
"Bullet Point 1": "Bullet Point 1",
|
||||
"Custom Dark 1": "Custom Dark 1"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { createPptFromTopic } from './lib/actions/create-ppt-from-topic';
|
||||
import { createPptFromSummary } from './lib/actions/create-ppt-from-summary';
|
||||
import { createPptFromYoutubeVideo } from './lib/actions/create-ppt-from-youtube-video';
|
||||
import { MagicSlidesAuth } from './lib/common/auth';
|
||||
|
||||
export const magicslides = createPiece({
|
||||
displayName: 'MagicSlides',
|
||||
auth: MagicSlidesAuth,
|
||||
description: 'Create PowerPoint presentations from topics, summaries, or YouTube videos using AI.',
|
||||
minimumSupportedRelease: '0.36.1',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/magicslides.png',
|
||||
authors: ['Niket2035'],
|
||||
actions: [
|
||||
createPptFromTopic,
|
||||
createPptFromSummary,
|
||||
createPptFromYoutubeVideo,
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
@@ -0,0 +1,145 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { makeRequest } from '../common/client';
|
||||
import { HttpMethod } from '@activepieces/pieces-common';
|
||||
import { MagicSlidesAuth } from '../common/auth';
|
||||
|
||||
|
||||
export const createPptFromSummary = createAction({
|
||||
auth: MagicSlidesAuth,
|
||||
name: 'createPptFromText',
|
||||
displayName: 'Create PPT from Text/Summary',
|
||||
description: 'Generates a PPT presentation from provided text or summary.',
|
||||
props: {
|
||||
msSummaryText: Property.LongText({
|
||||
displayName: "Summary Text",
|
||||
required: true,
|
||||
}),
|
||||
slideCount: Property.Number({
|
||||
displayName: "Number of Slides",
|
||||
required: false,
|
||||
defaultValue: 10,
|
||||
}),
|
||||
language: Property.StaticDropdown({
|
||||
displayName: "Language",
|
||||
required: false,
|
||||
defaultValue: "en",
|
||||
options: {
|
||||
options: [
|
||||
{ label: "English", value: "en" },
|
||||
{ label: "Hindi", value: "hi" },
|
||||
{ label: "Spanish", value: "es" },
|
||||
{ label: "French", value: "fr" },
|
||||
{ label: "German", value: "de" },
|
||||
{ label: "Chinese", value: "zh" },
|
||||
],
|
||||
},
|
||||
}),
|
||||
template: Property.StaticDropdown({
|
||||
displayName: "Template",
|
||||
required: false,
|
||||
defaultValue: "bullet-point1",
|
||||
options: {
|
||||
options: [
|
||||
{ label: "Bullet Point 1 (default)", value: "bullet-point1" },
|
||||
{ label: "Bullet Point 2", value: "bullet-point2" },
|
||||
{ label: "Bullet Point 4", value: "bullet-point4" },
|
||||
{ label: "Bullet Point 5", value: "bullet-point5" },
|
||||
{ label: "Bullet Point 6", value: "bullet-point6" },
|
||||
{ label: "Bullet Point 7", value: "bullet-point7" },
|
||||
{ label: "Bullet Point 8", value: "bullet-point8" },
|
||||
{ label: "Bullet Point 9", value: "bullet-point9" },
|
||||
{ label: "Bullet Point 10", value: "bullet-point10" },
|
||||
{ label: "Pitch Deck Original", value: "pitchdeckorignal" },
|
||||
{ label: "Pitch Deck 2", value: "pitch-deck-2" },
|
||||
{ label: "Pitch Deck 3", value: "pitch-deck-3" },
|
||||
{ label: "Custom 2", value: "custom2" },
|
||||
{ label: "Custom 3", value: "custom3" },
|
||||
{ label: "Vertical Bullet Point 1", value: "verticalBulletPoint1" },
|
||||
{ label: "Vertical Custom 1", value: "verticalCustom1" },
|
||||
],
|
||||
},
|
||||
}),
|
||||
model: Property.StaticDropdown({
|
||||
displayName: "AI Model",
|
||||
required: false,
|
||||
defaultValue: "gpt-4",
|
||||
options: {
|
||||
options: [
|
||||
{ label: "GPT-4", value: "gpt-4" },
|
||||
{ label: "GPT-3.5", value: "gpt-3.5" },
|
||||
],
|
||||
},
|
||||
}),
|
||||
aiImages: Property.Checkbox({
|
||||
displayName: "Use AI Images",
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
imageForEachSlide: Property.Checkbox({
|
||||
displayName: "Image for Each Slide",
|
||||
required: false,
|
||||
defaultValue: true,
|
||||
}),
|
||||
googleImage: Property.Checkbox({
|
||||
displayName: "Use Google Images",
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
googleText: Property.Checkbox({
|
||||
displayName: "Use Google Text",
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
presentationFor: Property.ShortText({
|
||||
displayName: "Presentation For (Audience)",
|
||||
required: false,
|
||||
}),
|
||||
watermark: Property.Json({
|
||||
displayName: 'Watermark',
|
||||
description:
|
||||
'Optional watermark e.g., {"width":"48","height":"48","brandURL":"https://...png","position":"BottomRight"}',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const {
|
||||
msSummaryText,
|
||||
|
||||
slideCount,
|
||||
language,
|
||||
template,
|
||||
model,
|
||||
aiImages,
|
||||
imageForEachSlide,
|
||||
googleImage,
|
||||
googleText,
|
||||
presentationFor,
|
||||
watermark,
|
||||
} = context.propsValue;
|
||||
|
||||
const payload: any = {
|
||||
accessId: context.auth.props.accessId,
|
||||
email: context.auth.props.email,
|
||||
msSummaryText,
|
||||
slideCount,
|
||||
language,
|
||||
template,
|
||||
model,
|
||||
aiImages,
|
||||
imageForEachSlide,
|
||||
googleImage,
|
||||
googleText,
|
||||
presentationFor,
|
||||
watermark,
|
||||
};
|
||||
|
||||
const result = await makeRequest(
|
||||
|
||||
HttpMethod.POST,
|
||||
'/ppt_from_summery',
|
||||
payload
|
||||
);
|
||||
|
||||
return result;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,156 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { MagicSlidesAuth } from '../common/auth';
|
||||
import { makeRequest } from '../common/client';
|
||||
import { HttpMethod } from '@activepieces/pieces-common';
|
||||
|
||||
export const createPptFromTopic = createAction({
|
||||
auth: MagicSlidesAuth,
|
||||
name: 'createPptFromTopic',
|
||||
displayName: 'Create PPT from Topic',
|
||||
description: 'Generates a PPT presentation from a given topic.',
|
||||
props: {
|
||||
topic: Property.ShortText({
|
||||
displayName: 'Topic',
|
||||
required: true,
|
||||
}),
|
||||
slideCount: Property.Number({
|
||||
displayName: 'Number of slides',
|
||||
required: false,
|
||||
defaultValue: 10,
|
||||
}),
|
||||
language: Property.StaticDropdown({
|
||||
displayName: 'Language',
|
||||
required: false,
|
||||
defaultValue: 'en',
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'English', value: 'en' },
|
||||
{ label: 'Hindi', value: 'hi' },
|
||||
{ label: 'Spanish', value: 'es' },
|
||||
{ label: 'French', value: 'fr' },
|
||||
{ label: 'German', value: 'de' },
|
||||
{ label: 'Chinese', value: 'zh' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
template: Property.StaticDropdown({
|
||||
displayName: 'Template',
|
||||
required: false,
|
||||
defaultValue: 'bullet-point1',
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Bullet Point 1 (default)', value: 'bullet-point1' },
|
||||
{ label: 'Bullet Point 2', value: 'bullet-point2' },
|
||||
{ label: 'Bullet Point 4', value: 'bullet-point4' },
|
||||
{ label: 'Bullet Point 5', value: 'bullet-point5' },
|
||||
{ label: 'Bullet Point 6', value: 'bullet-point6' },
|
||||
{ label: 'Bullet Point 7', value: 'bullet-point7' },
|
||||
{ label: 'Bullet Point 8', value: 'bullet-point8' },
|
||||
{ label: 'Bullet Point 9', value: 'bullet-point9' },
|
||||
{ label: 'Bullet Point 10', value: 'bullet-point10' },
|
||||
{ label: 'Pitch Deck Original', value: 'pitchdeckorignal' },
|
||||
{ label: 'Pitch Deck 2', value: 'pitch-deck-2' },
|
||||
{ label: 'Pitch Deck 3', value: 'pitch-deck-3' },
|
||||
{ label: 'Custom 2', value: 'custom2' },
|
||||
{ label: 'Custom 3', value: 'custom3' },
|
||||
{ label: 'Vertical Bullet Point 1', value: 'verticalBulletPoint1' },
|
||||
{ label: 'Vertical Custom 1', value: 'verticalCustom1' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
model: Property.StaticDropdown({
|
||||
displayName: 'AI Model',
|
||||
required: false,
|
||||
defaultValue: 'gpt-4',
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'GPT-4', value: 'gpt-4' },
|
||||
{ label: 'GPT-3.5', value: 'gpt-3.5' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
extraInfoSource: Property.ShortText({
|
||||
displayName: 'Extra Information Source',
|
||||
description:
|
||||
'Provide a URL or text to give additional context for the presentation.',
|
||||
required: false,
|
||||
}),
|
||||
aiImages: Property.Checkbox({
|
||||
displayName: 'Use AI Images',
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
imageForEachSlide: Property.Checkbox({
|
||||
displayName: 'Image for Each Slide',
|
||||
required: false,
|
||||
defaultValue: true,
|
||||
}),
|
||||
googleImage: Property.Checkbox({
|
||||
displayName: 'Use Google Images',
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
googleText: Property.Checkbox({
|
||||
displayName: 'Use Google Text',
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
include_images: Property.Checkbox({
|
||||
displayName: 'Include images',
|
||||
required: false,
|
||||
defaultValue: true,
|
||||
}),
|
||||
presentationFor: Property.ShortText({
|
||||
displayName: 'Presentation For (Audience)',
|
||||
required: false,
|
||||
}),
|
||||
watermark: Property.Json({
|
||||
displayName: 'Watermark',
|
||||
description:
|
||||
'Add a watermark to the presentation. e.g., {"width": "48", "height": "48", "brandURL": "https://...png", "position": "BottomRight"}',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const {
|
||||
topic,
|
||||
|
||||
slideCount,
|
||||
language,
|
||||
template,
|
||||
model,
|
||||
aiImages,
|
||||
imageForEachSlide,
|
||||
googleImage,
|
||||
googleText,
|
||||
presentationFor,
|
||||
watermark,
|
||||
extraInfoSource,
|
||||
} = context.propsValue;
|
||||
|
||||
const payload: any = {
|
||||
topic,
|
||||
accessId: context.auth.props.accessId,
|
||||
email: context.auth.props.email,
|
||||
slideCount,
|
||||
language,
|
||||
template,
|
||||
model,
|
||||
aiImages,
|
||||
imageForEachSlide,
|
||||
googleImage,
|
||||
googleText,
|
||||
presentationFor,
|
||||
watermark,
|
||||
extraInfoSource,
|
||||
};
|
||||
|
||||
const result = await makeRequest(
|
||||
HttpMethod.POST,
|
||||
'/ppt_from_topic',
|
||||
payload
|
||||
);
|
||||
|
||||
return result;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,117 @@
|
||||
import { HttpMethod } from '@activepieces/pieces-common';
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { MagicSlidesAuth } from '../common/auth';
|
||||
import { makeRequest } from '../common/client';
|
||||
|
||||
export const createPptFromYoutubeVideo = createAction({
|
||||
auth: MagicSlidesAuth,
|
||||
name: 'createPptFromYoutube',
|
||||
displayName: 'Create PPT from YouTube Video',
|
||||
description: 'Generates a PPT presentation from a YouTube video link.',
|
||||
props: {
|
||||
youtubeURL: Property.ShortText({
|
||||
displayName: 'YouTube Video URL',
|
||||
required: true,
|
||||
}),
|
||||
|
||||
template: Property.StaticDropdown({
|
||||
displayName: 'Template',
|
||||
required: false,
|
||||
defaultValue: 'bullet-point1',
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Bullet Point 1', value: 'bullet-point1' },
|
||||
{ label: 'Bullet Point 2', value: 'bullet-point2' },
|
||||
{ label: 'Bullet Point 4', value: 'bullet-point4' },
|
||||
{ label: 'Pitch Deck 3', value: 'pitch-deck-3' },
|
||||
{ label: 'Pitch Deck 2', value: 'pitch-deck-2' },
|
||||
{ label: 'Custom Dark 1', value: 'custom Dark 1' },
|
||||
{ label: 'Vertical Bullet Point 1', value: 'verticalBulletPoint1' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
language: Property.ShortText({
|
||||
displayName: 'Language',
|
||||
required: false,
|
||||
defaultValue: 'en',
|
||||
}),
|
||||
slideCount: Property.Number({
|
||||
displayName: 'Number of slides',
|
||||
required: false,
|
||||
defaultValue: 10,
|
||||
}),
|
||||
aiImages: Property.Checkbox({
|
||||
displayName: 'Enable AI Images',
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
imageForEachSlide: Property.Checkbox({
|
||||
displayName: 'Include Image on Every Slide',
|
||||
required: false,
|
||||
defaultValue: true,
|
||||
}),
|
||||
googleImage: Property.Checkbox({
|
||||
displayName: 'Use Google Images',
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
googleText: Property.Checkbox({
|
||||
displayName: 'Enhance Content with Google Search',
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
model: Property.StaticDropdown({
|
||||
displayName: 'AI Model',
|
||||
required: false,
|
||||
defaultValue: 'gpt-4',
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'GPT-4', value: 'gpt-4' },
|
||||
{ label: 'GPT-3.5', value: 'gpt-3.5' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
presentationFor: Property.ShortText({
|
||||
displayName: 'Presentation For (Audience)',
|
||||
required: false,
|
||||
}),
|
||||
watermark: Property.Json({
|
||||
displayName: 'Watermark',
|
||||
description:
|
||||
'Optional watermark e.g., {"width":"48","height":"48","brandURL":"https://...png","position":"BottomRight"}',
|
||||
required: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const {
|
||||
youtubeURL,
|
||||
template,
|
||||
language,
|
||||
slideCount,
|
||||
aiImages,
|
||||
imageForEachSlide,
|
||||
googleImage,
|
||||
googleText,
|
||||
model,
|
||||
presentationFor,
|
||||
watermark,
|
||||
} = context.propsValue;
|
||||
|
||||
const payload: any = {
|
||||
youtubeURL,
|
||||
accessId: context.auth.props.accessId,
|
||||
email: context.auth.props.email,
|
||||
template,
|
||||
language,
|
||||
slideCount,
|
||||
aiImages,
|
||||
imageForEachSlide,
|
||||
googleImage,
|
||||
googleText,
|
||||
model,
|
||||
presentationFor,
|
||||
watermark,
|
||||
};
|
||||
return await makeRequest(HttpMethod.POST, '/ppt_from_youtube', payload);
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,26 @@
|
||||
import { PieceAuth, Property } from '@activepieces/pieces-framework';
|
||||
|
||||
export const MagicSlidesAuth = PieceAuth.CustomAuth({
|
||||
|
||||
description: `**Enter your MagicSlides Access ID (API key).**
|
||||
---
|
||||
### How to obtain your API key
|
||||
1. Sign up or log in at [magicslides.app](https://www.magicslides.app/).
|
||||
2. Go to **Dashboard → API**.
|
||||
3. Copy your **Access ID** and paste it here.
|
||||
4. And copy your registered email address and paste it here.
|
||||
`,
|
||||
required: true,
|
||||
props: {
|
||||
accessId: Property.ShortText({
|
||||
displayName: 'Access ID',
|
||||
description: 'Enter your MagicSlides Access ID',
|
||||
required: true,
|
||||
}),
|
||||
email: Property.ShortText({
|
||||
displayName: 'Email',
|
||||
description: 'Enter your registered email address.',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,23 @@
|
||||
import { HttpMethod, httpClient } from '@activepieces/pieces-common';
|
||||
|
||||
export const BASE_URL = `https://api.magicslides.app/public/api`;
|
||||
|
||||
export async function makeRequest(
|
||||
method: HttpMethod,
|
||||
path: string,
|
||||
body?: unknown
|
||||
) {
|
||||
try {
|
||||
const response = await httpClient.sendRequest({
|
||||
method,
|
||||
url: `${BASE_URL}${path}`,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body,
|
||||
});
|
||||
return response.body;
|
||||
} catch (error: any) {
|
||||
throw new Error(`Unexpected error: ${error.message || String(error)}`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user